Fix mock PAM config on arm-packager machines

Checks for packager group must be early, before prompting user for
root password.
This commit is contained in:
Mikolaj Izdebski 2016-05-04 15:17:41 +02:00 committed by Kevin Fenzi
parent 10d5884bd5
commit 9251b80822

View file

@ -35,6 +35,7 @@
- name: allow packagers to use mock
lineinfile: dest=/etc/pam.d/mock line="{{ item }} sufficient pam_succeed_if.so user ingroup packager use_uid quiet"
insertbefore: BOF
with_items:
- account
- auth