Skip to content

Commit

Permalink
Merge pull request #3 from Cleming/master
Browse files Browse the repository at this point in the history
patch to support users without secondary group
  • Loading branch information
leucos authored Mar 20, 2018
2 parents 718a51d + 7f6c909 commit ab5dc07
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/baseline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
name: "{{ item.name }}"
password: "{{ item.password | default(omit) }}"
group: "{{ item.group | default(item.name) }}"
groups: "{{ item.groups }}"
groups: "{{ item.groups | default([]) | union([item.group | default(item.name)]) | unique }}"
append: yes
shell: /bin/bash
update_password: on_create
Expand Down

0 comments on commit ab5dc07

Please sign in to comment.