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
|
- mm2_frontend
|
||||||
- config
|
- 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
|
- name: create /var/log/mirrormanager/crawler
|
||||||
file: path=/var/log/mirrormanager/crawler state=directory owner=mirrormanager group=mirrormanager mode=0755
|
file: path=/var/log/mirrormanager/crawler state=directory owner=mirrormanager group=mirrormanager mode=0755
|
||||||
tags:
|
tags:
|
||||||
|
@ -72,12 +78,6 @@
|
||||||
- mm2_frontend
|
- mm2_frontend
|
||||||
- config
|
- 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
|
- name: install crawler log sync
|
||||||
template: src=sync-crawler-logs.sh dest=/usr/local/bin/sync-crawler-logs.sh mode=0755
|
template: src=sync-crawler-logs.sh dest=/usr/local/bin/sync-crawler-logs.sh mode=0755
|
||||||
tags:
|
tags:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue