Role apache-logs-conf: fix redhat matching
Ansible complains: The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'RedHat' which is just a mismatch on the "Redhat" string Change-Id: I447038256561740c224c68388fa5b6a068cc8fed
This commit is contained in:
parent
a7a8675cc1
commit
a9e946471e
@ -50,7 +50,7 @@
|
|||||||
with_items: "{{ redhat_apache_deref_logs.results }}"
|
with_items: "{{ redhat_apache_deref_logs.results }}"
|
||||||
when:
|
when:
|
||||||
- item.stat.isreg or item.stat.islnk
|
- item.stat.isreg or item.stat.islnk
|
||||||
when: ansible_os_family == 'Redhat'
|
when: ansible_os_family == 'RedHat'
|
||||||
no_log: true
|
no_log: true
|
||||||
|
|
||||||
- name: Ensure {{ stage_dir }}/apache_config apache_config exists
|
- name: Ensure {{ stage_dir }}/apache_config apache_config exists
|
||||||
|
Loading…
Reference in New Issue
Block a user