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
(cherry picked from commit a9e946471e
)
This commit is contained in:
parent
3152bdf0d7
commit
72e80739bc
|
@ -45,7 +45,7 @@
|
|||
with_items: "{{ redhat_apache_deref_logs.results }}"
|
||||
when:
|
||||
- item.stat.isreg or item.stat.islnk
|
||||
when: ansible_os_family == 'Redhat'
|
||||
when: ansible_os_family == 'RedHat'
|
||||
|
||||
- name: Ensure {{ stage_dir }}/apache_config apache_config exists
|
||||
file:
|
||||
|
|
Loading…
Reference in New Issue