aboutsummaryrefslogtreecommitdiff
path: root/ansible/roles/lxc-host/tasks/per-host.yml
diff options
context:
space:
mode:
Diffstat (limited to 'ansible/roles/lxc-host/tasks/per-host.yml')
-rw-r--r--ansible/roles/lxc-host/tasks/per-host.yml5
1 files changed, 4 insertions, 1 deletions
diff --git a/ansible/roles/lxc-host/tasks/per-host.yml b/ansible/roles/lxc-host/tasks/per-host.yml
index ca33685..0acd1b5 100644
--- a/ansible/roles/lxc-host/tasks/per-host.yml
+++ b/ansible/roles/lxc-host/tasks/per-host.yml
@@ -2,6 +2,9 @@
msg: "LXC HOST: {{ name }}"
tags: lxc-host
+- debug:
+ var: lan
+
- when: new
tags: lxc-host
become: yes
@@ -59,10 +62,10 @@
{% endif %}
{% if lan.ipv6 is defined %}
lxc.net.0.ipv6.address = {{ lan.ipv6.address }}/{{ lan.ipv6.netmask }}
- {% endif %}
{% if lan.ipv6.gateway is defined %}
lxc.net.0.ipv6.gateway = {{ lan.ipv6.gateway }}
{% endif %}
+ {% endif %}
# 0 = trace, 1 = debug, 2 = info, 3 = notice, 4 = warn, 5 = error, 6 = critical, 7 = alert, and 8 = fatal.
lxc.log.level = 1