Need masher and ftpsync for bodhi-backend

This commit is contained in:
Kevin Fenzi 2015-05-05 22:38:14 +00:00
parent 0309289a8c
commit 15fc0fd248

View file

@ -2,6 +2,22 @@
# tasklist for setting up bodhi/masher (requires bodhi/base)
# 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
yum: pkg={{ item }} state=present
with_items: