Make sure we append mock group to the ansible user.

This make sure we don't drop important groups like docker from the
ansible user.

Change-Id: Ife79266566af23a0d8aa6af92ec8b59875ca8ad6
Closes-Bug: #1775209
This commit is contained in:
Sofer Athlan-Guyot 2018-06-07 15:17:03 +02:00
parent 91e5aceaac
commit de06a05f69
1 changed files with 1 additions and 0 deletions

View File

@ -25,6 +25,7 @@
user:
name: '{{ ansible_user }}'
groups: mock
append: yes
- name: Remove data files from previous runs
file: