Feat: create_user var
This commit is contained in:
parent
76e20fd505
commit
dd2e1e67a2
@ -15,7 +15,7 @@
|
|||||||
- include: tasks/pacman_cache_server.yml
|
- include: tasks/pacman_cache_server.yml
|
||||||
- include: tasks/arch_CLI_packages.yml
|
- include: tasks/arch_CLI_packages.yml
|
||||||
- include: tasks/prompt.yml
|
- include: tasks/prompt.yml
|
||||||
# - include: tasks/users.yml
|
- include: tasks/users.yml
|
||||||
- include: tasks/sudo.yml
|
- include: tasks/sudo.yml
|
||||||
- include: tasks/ssh.yml
|
- include: tasks/ssh.yml
|
||||||
- include: tasks/arch_programming.yml
|
- include: tasks/arch_programming.yml
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
shell: "{{ prompt_place['stdout'] }}"
|
shell: "{{ prompt_place['stdout'] }}"
|
||||||
state: present
|
state: present
|
||||||
with_items: "{{ deploy_users }}"
|
with_items: "{{ deploy_users }}"
|
||||||
|
when: create_user
|
||||||
|
|
||||||
- name: Add me
|
- name: Add me
|
||||||
user:
|
user:
|
||||||
@ -24,3 +25,4 @@
|
|||||||
shell: "{{ prompt_place['stdout'] }}"
|
shell: "{{ prompt_place['stdout'] }}"
|
||||||
state: present
|
state: present
|
||||||
with_items: "{{ me }}"
|
with_items: "{{ me }}"
|
||||||
|
when: create_user
|
||||||
|
@ -17,4 +17,5 @@ prompt: 'fish'
|
|||||||
|
|
||||||
minimal: false
|
minimal: false
|
||||||
server: false
|
server: false
|
||||||
|
create_user: false
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user