diff --git a/roles/bodhi/backend/tasks/main.yml b/roles/bodhi/backend/tasks/main.yml index 83e6a62586..225fd65505 100644 --- a/roles/bodhi/backend/tasks/main.yml +++ b/roles/bodhi/backend/tasks/main.yml @@ -18,12 +18,6 @@ - name: add masher user as 751 - and group user: name=masher uid=751 group=masher home=/home/masher groups=mock,ftpsync -- name: add nrpe to the masher group so it can talk to the monitoring socket - user: name=nrpe groups=masher append=yes - tags: - - fedmsgdmonitor - - nagios_client - - name: install needed packages yum: pkg={{ item }} state=present with_items: diff --git a/roles/bodhi2/backend/tasks/main.yml b/roles/bodhi2/backend/tasks/main.yml index 6db4372638..2968fef92e 100644 --- a/roles/bodhi2/backend/tasks/main.yml +++ b/roles/bodhi2/backend/tasks/main.yml @@ -42,6 +42,12 @@ tags: - bodhi +- name: add nrpe to the masher group so it can talk to the monitoring socket + user: name=nrpe groups=masher append=yes + tags: + - fedmsgdmonitor + - nagios_client + - name: change owner and group attributes of bodhi.pem file file: > path="/etc/pki/bodhi/bodhi.pem"