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:
Ian Wienand 2018-02-06 08:03:03 +11:00
parent a7a8675cc1
commit a9e946471e

View File

@ -50,7 +50,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'
no_log: true
- name: Ensure {{ stage_dir }}/apache_config apache_config exists