Merge "Fix bootstrap ansible_fact" into stable/train

This commit is contained in:
Zuul 2021-03-02 22:56:19 +00:00 committed by Gerrit Code Review
commit eb4fd05aa1
1 changed files with 1 additions and 1 deletions

View File

@ -98,7 +98,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"