This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@lunipoulpetst1:~/kargo# ansible-playbook -i inventory/inventory.cfg cluster.yml | |
PLAY [localhost] *************************************************************** | |
TASK [kargo-defaults : Configure defaults] ************************************* | |
Thursday 09 March 2017 15:22:21 +0100 (0:00:00.026) 0:00:00.026 ******** | |
ok: [localhost] => { | |
"msg": "Check roles/kargo-defaults/defaults/main.yml" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{% set ipv6_enabled = False %} | |
{% for ip in grains["ipv6"] %} | |
{% if ip[:12] in ["fd69:620:600", "2001:620:600"] %} | |
{% set ipv6_enabled = True %} | |
{% endif %} | |
{% endfor %} | |
/etc/salt/minion.d/central-it_master.conf: | |
file.managed: | |
{% if ipv6_enabled %} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.