fix ipv6 addr resolution issue, now I'm resolving it myself, dammit
This commit is contained in:
parent
b58865cf88
commit
09e2be2ab7
@ -6,8 +6,8 @@
|
||||
user: root
|
||||
roles:
|
||||
- role: reachable
|
||||
- role: server
|
||||
- role: network
|
||||
- role: server
|
||||
- role: firewall
|
||||
- role: ssh
|
||||
- role: jails
|
||||
|
||||
@ -57,7 +57,7 @@ bastille_network_pf_ext_if="ext_if" ## default
|
||||
bastille_network_pf_table="jails" ## default: "jails"
|
||||
bastille_network_shared="" ## default: ""
|
||||
bastille_network_gateway="" ## default: ""
|
||||
bastille_network_gateway6="{{ ansible_default_ipv6.address }}" ## default: ""
|
||||
bastille_network_gateway6="{{ primaryip.stdout }}" ## default: ""
|
||||
|
||||
## Default Templates
|
||||
bastille_template_base="default/base" ## default: "default/base"
|
||||
|
||||
@ -6,3 +6,7 @@
|
||||
- name: determine ipv6 net
|
||||
shell: ifconfig {{ netif.primary }} inet6 | awk '{ if (/2a01/) { sub(/::.$/, "::", $2); print $2"/64" }}'
|
||||
register: jailnet
|
||||
|
||||
- name: determine primary ipv6 address
|
||||
shell: ifconfig {{ netif.primary }} inet6 | awk '{ if (/2a01/) { print $2 }}'
|
||||
register: primaryip
|
||||
|
||||
@ -1,3 +1,5 @@
|
||||
CP etc /
|
||||
|
||||
PKG {{ jails.pubnix.pkgs | join(' ') }}
|
||||
|
||||
SYSRC sshd_enable=YES
|
||||
@ -11,7 +13,6 @@ CMD mkdir -p /home
|
||||
|
||||
FSTAB /home home nullfs rw 0 0
|
||||
|
||||
CP etc /
|
||||
|
||||
# FIXME: fails for now, see: https://github.com/BastilleBSD/bastille/issues/743
|
||||
#CP usr/share/skel /usr/share/skel
|
||||
|
||||
@ -1,2 +1,2 @@
|
||||
nameserver {{ ansible_default_ipv6.address }}
|
||||
nameserver {{ primaryip.stdout }}
|
||||
options edns0
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user