Merge "iptables save fix for centos 7"
This commit is contained in:
commit
6811c82290
@ -28,11 +28,10 @@
|
|||||||
ignore_errors: yes
|
ignore_errors: yes
|
||||||
when: ansible_os_family == 'Debian'
|
when: ansible_os_family == 'Debian'
|
||||||
|
|
||||||
- name: save iptables rules (CentOS & RHEL)
|
- name: save iptables rules (CentOS)
|
||||||
command: service iptables save
|
shell: iptables-save > /etc/sysconfig/iptables
|
||||||
args:
|
when:
|
||||||
warn: False # since we use save service module doesn't apply
|
- ansible_distribution == 'CentOS'
|
||||||
when: ansible_distribution == 'CentOS' or ansible_distribution == 'Red Hat Enterprise Linux'
|
|
||||||
|
|
||||||
- name: Create certs directory
|
- name: Create certs directory
|
||||||
file: path=/etc/octavia/certs/ state=directory
|
file: path=/etc/octavia/certs/ state=directory
|
||||||
|
Loading…
Reference in New Issue
Block a user