Skip to content
Snippets Groups Projects
Commit 5d688efb authored by Jörg Sachse's avatar Jörg Sachse
Browse files

fix: remove warning when using 'append' without 'groups'

parent 27cdfbd4
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
uid: "{{ item.uid }}" uid: "{{ item.uid }}"
group: "{{ item.primary_group }}" group: "{{ item.primary_group }}"
groups: "{{ item.groups | default(omit) }}" groups: "{{ item.groups | default(omit) }}"
append: true append: "{{ true if item.groups is defined else false }}"
create_home: "{{ item.create_home }}" create_home: "{{ item.create_home }}"
home: "{{ item.home }}" home: "{{ item.home }}"
password: "{{ item.password }}" password: "{{ item.password }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment