
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
20 lines
551 B
YAML
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" |