Commit fb236cdb authored by Jelle van der Waa's avatar Jelle van der Waa 🚧
Browse files

users: remove user from servers

parent b9768e6e
......@@ -5,3 +5,14 @@
state: absent
path: "{{ playbook_dir }}/../pubkeys/{{ username }}.pub"
delegate_to: localhost
- name: remove home directory
state: absent
path: "/home/{{ username }}"
- name: remove user from server
name: "{{ username }}"
state: absent
remove: yes
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment