Merge "Fix bootstrap ansible_fact"

This commit is contained in:
Zuul 2021-02-24 16:19:36 +00:00 committed by Gerrit Code Review
commit bebf097582
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@
- name: Create empty ruleset in /etc/sysconfig/iptables and /etc/sysconfig/ip6tables - name: Create empty ruleset in /etc/sysconfig/iptables and /etc/sysconfig/ip6tables
become: true 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: copy:
dest: "{{ item }}" dest: "{{ item }}"
content: "# empty ruleset created by deployed-server bootstrap" content: "# empty ruleset created by deployed-server bootstrap"