Skip to content

Commit

Permalink
Merge pull request #4 from clouddrove/AL-8
Browse files Browse the repository at this point in the history
Al 8
  • Loading branch information
anmolnagpal committed Jan 7, 2020
2 parents 9338003 + ac9742f commit b16792d
Show file tree
Hide file tree
Showing 2 changed files with 2 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 @@ -6,5 +6,6 @@ users:
use_sudo: true # flag to give user sudo access

# users list to remove
rm_user_flag: false # flag to run remove user or not
# rm_users:
# - username: user # username
1 change: 1 addition & 0 deletions tasks/users.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,5 @@
state: absent
remove: true
ignore_errors: true
when: rm_user_flag
with_items: '{{ rm_users }}'

0 comments on commit b16792d

Please sign in to comment.