First create the directory than apply selinux changes.
This commit is contained in:
parent
d1856573fc
commit
950eef038d
1 changed files with 6 additions and 6 deletions
|
@ -56,6 +56,12 @@
|
||||||
- mm2_frontend
|
- mm2_frontend
|
||||||
- config
|
- 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
|
- name: apply selinux type to crawler log files
|
||||||
file: >
|
file: >
|
||||||
dest=/var/log/mirrormanager/crawler
|
dest=/var/log/mirrormanager/crawler
|
||||||
|
@ -71,12 +77,6 @@
|
||||||
tags:
|
tags:
|
||||||
- mm2_frontend
|
- 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
|
- name: install the cron job
|
||||||
template: src=frontend.cron dest=/etc/cron.d/mm2_frontend.cron
|
template: src=frontend.cron dest=/etc/cron.d/mm2_frontend.cron
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue