From 76f2f7bdf2a4c8e1b4d8e76ea6adf830ad3cdb47 Mon Sep 17 00:00:00 2001 From: Andrey Bulava Date: Thu, 19 Nov 2015 18:52:47 +0300 Subject: [PATCH] Allow to create an alternative admin group. --- tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tasks/main.yml b/tasks/main.yml index 386c4f0..9765ffa 100644 --- a/tasks/main.yml +++ b/tasks/main.yml @@ -3,6 +3,10 @@ - name: include os specific variables include_vars: '{{ ansible_os_family }}.yml' +- name: create admin group + group: + name: '{{admin_users_sudo_group}}' + - name: create admin users user: name: '{{item.username}}'