Skip to content

Commit

Permalink
Merge pull request #11 from vozerov/create-group
Browse files Browse the repository at this point in the history
Create group
  • Loading branch information
mivok committed Dec 26, 2014
2 parents f8ab337 + 8ce2587 commit db443a2
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,4 @@ users_create_homedirs: true
# Lists of users to create and delete
users: []
users_deleted: []
groups_to_create: []
5 changes: 5 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,9 @@
---
- name: Creating groups
group: name="{{item}}"
with_items: groups_to_create
tags: ['users','groups','configuration']

- name: Per-user group creation
group: name="{{item.username}}" gid="{{item.uid}}"
with_items: users
Expand Down

0 comments on commit db443a2

Please sign in to comment.