From 329340c8cf24eb44edc36f5b8da62d76a4629951 Mon Sep 17 00:00:00 2001 From: Luke Macken Date: Wed, 22 Jul 2015 18:55:54 +0000 Subject: [PATCH] bodhi2: Change the ordering of some tasks --- roles/bodhi2/backend/tasks/main.yml | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml index 67c94ff813..fc5ae24ed1 100644 --- a/roles/bodhi2/backend/tasks/main.yml +++ b/roles/bodhi2/backend/tasks/main.yml @@ -11,13 +11,6 @@ - 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: @@ -27,6 +20,13 @@ tags: - packages +- 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 bodhi-masher /etc/httpd/conf.d/bodhi.conf file copy: > src="bodhi-masher.conf"