Skip to content

Commit 0f83fad

Browse files
author
Colin Hoglund
committed
allow gid to be created dynamically
1 parent 985f069 commit 0f83fad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
- name: Creating groups
3-
group: name="{{item.name}}" gid="{{item.gid}}"
3+
group: name="{{item.name}}" gid="{{item.gid | default(omit)}}"
44
with_items: "{{groups_to_create}}"
55
tags: ['users','groups','configuration']
66

0 commit comments

Comments
 (0)