Fix bootstrap ansible_fact
Missed the distribution_major_version switch. Change-Id: I51b71a2c74f954e9a50fb7008f460aee6a74734f
This commit is contained in:
parent
fa59fc28ca
commit
20a1a4c39e
|
@ -110,7 +110,7 @@
|
|||
|
||||
- name: Create empty ruleset in /etc/sysconfig/iptables and /etc/sysconfig/ip6tables
|
||||
become: true
|
||||
ignore_errors: "{{ (((ansible_facts['os_family'] | lower) ~ '-' ~ ansible_distribution_major_version) == 'redhat-7') | bool }}"
|
||||
ignore_errors: "{{ (((ansible_facts['os_family'] | lower) ~ '-' ~ ansible_facts['distribution_major_version']) == 'redhat-7') | bool }}"
|
||||
copy:
|
||||
dest: "{{ item }}"
|
||||
content: "# empty ruleset created by deployed-server bootstrap"
|
||||
|
|
Loading…
Reference in New Issue