Open michael-conway opened 8 years ago
Mike, try it now?
better, fails here with undefined variable?
TASK: [iptables | insert iptables template] ***********************************
fatal: [dfc-test-desrvc2.edc.renci.org] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'net_dmz' is undefined", 'failed': True}
fatal: [dfc-test-desrvc2.edc.renci.org] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'net_dmz' is undefined", 'failed': True}
fatal: [dfc-test-condor2.edc.renci.org] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'net_dmz' is undefined", 'failed': True}
fatal: [dfc-test-condor2.edc.renci.org] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'net_dmz' is undefined", 'failed': True}
fatal: [dfc-test-de2.edc.renci.org] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'net_dmz' is undefined", 'failed': True}
fatal: [dfc-test-de2.edc.renci.org] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'net_dmz' is undefined", 'failed': True}
fatal: [dfc-test-cas2.edc.renci.org] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'net_dmz' is undefined", 'failed': True}
fatal: [dfc-test-cas2.edc.renci.org] => {'msg': "AnsibleUndefinedVariable: One or more undefined variables: 'net_dmz' is undefined", 'failed': True}
FATAL: all hosts have already failed -- aborting
yes, i was selfish/greedy/lazy and defined some firewalld-style network ranges that we would want at Odum:
net_campus: net_dmz: net_trust: net_vpn: net_wifi:
we could eventually glom some of them together (or I could find a smarter way to break Odum's out using Ansible loops/conditionals). I imagine treating RENCI's class B as net_campus would allow everything else to fall into place, though?
TODO: s/ansible_os_distribution/ansible_os_family/ globally
Ansible recommends systems groups but I think the cleanest way (for now) would be for us to check for os_family instead of distro, and break out debian commands as needed.
in bootstrap.yaml get this failure at RENCI
Make those tasks sensitive to whether that service is actually running