Skip to content

Instantly share code, notes, and snippets.

@briner
briner / test.ipynb
Last active December 11, 2015 17:39
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
{% 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 %}
@briner
briner / gist:2ee8cec75d451f797790d8c4e193dc52
Created March 9, 2017 15:12
output of "ansible-playbook -i inventory/inventory.cfg cluster.yml"
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"
}