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
| ... | ... |
@@ -50,7 +50,7 @@ |
| 50 | 50 |
with_items: "{{ redhat_apache_deref_logs.results }}"
|
| 51 | 51 |
when: |
| 52 | 52 |
- item.stat.isreg or item.stat.islnk |
| 53 |
- when: ansible_os_family == 'Redhat' |
|
| 53 |
+ when: ansible_os_family == 'RedHat' |
|
| 54 | 54 |
no_log: true |
| 55 | 55 |
|
| 56 | 56 |
- name: Ensure {{ stage_dir }}/apache_config apache_config exists
|