From 90a56ab59d6fbc4a224fe76c9f60ebda0b03a088 Mon Sep 17 00:00:00 2001 From: clime Date: Thu, 23 Feb 2017 17:21:12 +0100 Subject: [PATCH] copr-dist-git: set groups for copr-service user at the point of its creation --- roles/copr/dist_git/tasks/main.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/roles/copr/dist_git/tasks/main.yml b/roles/copr/dist_git/tasks/main.yml index f5b4cefa08..f011ab0927 100644 --- a/roles/copr/dist_git/tasks/main.yml +++ b/roles/copr/dist_git/tasks/main.yml @@ -12,7 +12,7 @@ user: name="copr-dist-git" group=copr-dist-git groups=cvsadmin,packager uid=1001 - name: create user for copr-dist-git service - user: name="copr-service" group=copr-service groups=packager,docker generate_ssh_key=yes ssh_key_bits=2048 ssh_key_file=.ssh/id_rsa uid=1002 + user: name="copr-service" group=copr-service groups=packager,docker,apache,mock generate_ssh_key=yes ssh_key_bits=2048 ssh_key_file=.ssh/id_rsa uid=1002 - name: enable copr dist-git repo shell: "dnf -y copr enable clime/dist-git" @@ -35,8 +35,6 @@ - rdiff-backup - tmpwatch -- user: append=yes name="copr-service" groups=apache,mock - - name: install copr-dist-git dnf: state=latest name={{ item }} with_items: