user: group creation require root privilege

Only the user creation was done with the root privilege.

Change-Id: If632ecd21471d6d073a4cc3136d38388a8e522e0
This commit is contained in:
Gonéri Le Bouder 2017-03-20 12:11:50 -04:00
parent e9771041a8
commit 0f37788d4d
1 changed files with 1 additions and 0 deletions

View File

@ -4,6 +4,7 @@
group:
name: "{{ non_root_group }}"
state: present
become: true
- name: Create non-root user
user: