Again the wrong order, first create the user, then chown.
This commit is contained in:
parent
f557808f7e
commit
11d95b33d8
1 changed files with 6 additions and 6 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue