Commit debfaf17 by Fred Smith

make the create user play also remove users

parent f0ace371
......@@ -15,6 +15,7 @@
CUSTOM_USER_INFO:
- name: "{{ user }}"
github: true
state: "{{ state | default('present') }}"
when: give_sudo is not defined
- name: give access with sudo
set_fact:
......@@ -22,6 +23,7 @@
- name: "{{ user }}"
type: admin
github: true
state: "{{ state | default('present') }}"
when: give_sudo is defined
roles:
- role: user
......
Markdown is supported
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