Browse Source

Merge "Fix bootstrap ansible_fact" into stable/train

changes/44/778244/1
Zuul 2 months ago
committed by Gerrit Code Review
parent
commit
eb4fd05aa1
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

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


Loading…
Cancel
Save