First create the directory than apply selinux changes.

This commit is contained in:
Adrian Reber 2015-06-22 20:49:22 +00:00
parent d1856573fc
commit 950eef038d

View file

@ -56,6 +56,12 @@
- mm2_frontend
- config
- name: create /var/log/mirrormanager/crawler
file: path=/var/log/mirrormanager/crawler state=directory owner=mirrormanager group=mirrormanager mode=0755
tags:
- mm2_frontend
- config
- name: apply selinux type to crawler log files
file: >
dest=/var/log/mirrormanager/crawler
@ -71,12 +77,6 @@
tags:
- mm2_frontend
- name: create /var/log/mirrormanager/crawler
file: path=/var/log/mirrormanager/crawler state=directory owner=mirrormanager group=mirrormanager mode=0755
tags:
- mm2_frontend
- config
- name: install the cron job
template: src=frontend.cron dest=/etc/cron.d/mm2_frontend.cron
tags: