Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Christian Rebischke
infrastructure
Commits
fb236cdb
Commit
fb236cdb
authored
Oct 21, 2018
by
Jelle van der Waa
🚧
Browse files
users: remove user from servers
parent
b9768e6e
Changes
1
Hide whitespace changes
Inline
Side-by-side
roles/users/tasks/main.yml
View file @
fb236cdb
...
...
@@ -5,3 +5,14 @@
state
:
absent
path
:
"
{{
playbook_dir
}}/../pubkeys/{{
username
}}.pub"
delegate_to
:
localhost
-
name
:
remove home directory
file
:
state
:
absent
path
:
"
/home/{{
username
}}"
-
name
:
remove user from server
user
:
name
:
"
{{
username
}}"
state
:
absent
remove
:
yes
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment