This commit is contained in:
timtoum 2017-07-05 14:39:37 +02:00
parent aaf22d26bd
commit 0a9d08488c

View file

@ -1,3 +1,4 @@
---
- name: Weave seed | Set seed if first time - name: Weave seed | Set seed if first time
set_fact: set_fact:
seed: '{% for host in groups["k8s-cluster"] %}{{ hostvars[host]["ansible_default_ipv4"]["macaddress"] }}{% if not loop.last %},{% endif %}{% endfor %}' seed: '{% for host in groups["k8s-cluster"] %}{{ hostvars[host]["ansible_default_ipv4"]["macaddress"] }}{% if not loop.last %},{% endif %}{% endfor %}'