commit | c3e9c1f322d27b8c89143579b8dea4e26fd45287 | [log] [tgz] |
---|---|---|
author | Zack Williams <zdw@opennetworking.org> | Mon Nov 30 09:21:56 2020 -0700 |
committer | Zack Williams <zdw@opennetworking.org> | Mon Nov 30 09:21:56 2020 -0700 |
tree | 59577c09592506bd872122dc2f726539b5a26655 | |
parent | 00108f26664e68286cf8dc5a6f592d3f714b9e0a [diff] [blame] |
Add the ability to create groups Change-Id: Ia3afd1751bf822a7efd706aa029dbed079e7c026
diff --git a/tasks/main.yml b/tasks/main.yml index c0b2b39..befc0dc 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -10,6 +10,11 @@ - name: include OS-specific tasks include_tasks: "{{ ansible_os_family }}.yml" +- name: Create groups + group: + name: "{{ item }}" + with_items: "{{ users_groups }}" + - name: Create user accounts user: name: "{{ item.username }}"