Again the wrong order, first create the user, then chown.

This commit is contained in:
Adrian Reber 2015-06-22 20:59:39 +00:00
parent f557808f7e
commit 11d95b33d8

View file

@ -56,6 +56,12 @@
- mm2_frontend
- config
- name: Create mirrormanager user
user: name=mirrormanager state=present home=/var/lib/mirrormanager createhome=yes shell=/sbin/nologin
tags:
- mm2_frontend
- config
- name: create /var/log/mirrormanager/crawler
file: path=/var/log/mirrormanager/crawler state=directory owner=mirrormanager group=mirrormanager mode=0755
tags:
@ -72,12 +78,6 @@
- mm2_frontend
- config
- name: Create mirrormanager user
user: name=mirrormanager state=present home=/var/lib/mirrormanager createhome=yes shell=/sbin/nologin
tags:
- mm2_frontend
- config
- name: install crawler log sync
template: src=sync-crawler-logs.sh dest=/usr/local/bin/sync-crawler-logs.sh mode=0755
tags: