Monty Taylor e8716e742e Move base roles into a base subdir
If we move these into a subdir, it cleans up the number of things
we nave to files match on.

Stop running disable-puppet-agent in base. We run it in run-puppet
which should be fine.

Change-Id: Ia16adb96b11d25a097490882c4c59a50a0b7b23d
2020-05-27 16:28:37 -05:00

20 lines
551 B
YAML

- name: Reload iptables (Debian)
command: '{{ reload_command }}'
when:
- not ansible_facts.is_chroot
- ansible_facts.os_family == 'Debian'
listen: "Reload iptables"
- name: Reload iptables (RedHat)
command: 'systemctl reload iptables'
when:
- not ansible_facts.is_chroot
- ansible_facts.os_family == 'RedHat'
listen: "Reload iptables"
- name: Reload ip6tables (Red Hat)
command: 'systemctl reload ip6tables'
when:
- not ansible_facts.is_chroot
- ansible_facts.os_family == 'RedHat'
listen: "Reload iptables"