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:
Ian Wienand 2018-02-06 08:03:03 +11:00 committed by Slawek Kaplonski
parent 3152bdf0d7
commit 72e80739bc
1 changed files with 1 additions and 1 deletions

View File

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