Browse Source

Merge "Fix bootstrap ansible_fact"

changes/54/777454/1
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
bebf097582
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      tripleo_ansible/roles/tripleo_bootstrap/tasks/main.yml

+ 1
- 1
tripleo_ansible/roles/tripleo_bootstrap/tasks/main.yml View File

@ -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