Browse Source

Merge "Fix bootstrap ansible_fact"

changes/54/777454/1
Zuul 8 months ago
committed by Gerrit Code Review
parent
commit
bebf097582
  1. 2
      tripleo_ansible/roles/tripleo_bootstrap/tasks/main.yml

2
tripleo_ansible/roles/tripleo_bootstrap/tasks/main.yml

@ -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…
Cancel
Save