diff --git a/roles/bodhi/backend/tasks/main.yml b/roles/bodhi/backend/tasks/main.yml index 71df8ecd93..2131c211fc 100644 --- a/roles/bodhi/backend/tasks/main.yml +++ b/roles/bodhi/backend/tasks/main.yml @@ -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: