Need masher and ftpsync for bodhi-backend
This commit is contained in:
parent
0309289a8c
commit
15fc0fd248
1 changed files with 16 additions and 0 deletions
|
@ -2,6 +2,22 @@
|
||||||
# tasklist for setting up bodhi/masher (requires bodhi/base)
|
# tasklist for setting up bodhi/masher (requires bodhi/base)
|
||||||
# This is the base set of files needed for bodhi/masher
|
# This is the base set of files needed for bodhi/masher
|
||||||
|
|
||||||
|
- name: add ftpsync group
|
||||||
|
group: name=ftpsync gid=263 system=yes state=present
|
||||||
|
|
||||||
|
- name: add ftpsync user
|
||||||
|
user: name=ftpsync uid=263 group=ftpsync createhome=yes system=yes state=present
|
||||||
|
|
||||||
|
- name: add the ftpsync update-fullfilelist script
|
||||||
|
copy: src=update-fullfilelist dest=/usr/local/bin/update-fullfilelist owner=ftpsync group=ftpsync mode=555
|
||||||
|
|
||||||
|
- name: add masher group
|
||||||
|
group: name=masher gid=751 system=yes state=present
|
||||||
|
|
||||||
|
# masher user 751
|
||||||
|
- name: add masher user as 751 - and group
|
||||||
|
user: name=masher uid=751 group=masher home=/home/masher groups=mock,ftpsync
|
||||||
|
|
||||||
- name: install needed packages
|
- name: install needed packages
|
||||||
yum: pkg={{ item }} state=present
|
yum: pkg={{ item }} state=present
|
||||||
with_items:
|
with_items:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue