Browse Source

only do user groups when defined

master
parent
commit
a86c8d7f48
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      tasks/main.yml

+ 1
- 0
tasks/main.yml View File

@@ -6,6 +6,7 @@
gid: "{{ user_groups[item].gid }}" gid: "{{ user_groups[item].gid }}"
state: present state: present
with_items: "{{ user_groups.keys() }}" with_items: "{{ user_groups.keys() }}"
when: user_groups is defined


- name: users primary group - name: users primary group
group: group:


Loading…
Cancel
Save