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/arch_CLI_packages.yml
|
||||
- include: tasks/prompt.yml
|
||||
# - include: tasks/users.yml
|
||||
- include: tasks/users.yml
|
||||
- include: tasks/sudo.yml
|
||||
- include: tasks/ssh.yml
|
||||
- include: tasks/arch_programming.yml
|
||||
|
@ -14,6 +14,7 @@
|
||||
shell: "{{ prompt_place['stdout'] }}"
|
||||
state: present
|
||||
with_items: "{{ deploy_users }}"
|
||||
when: create_user
|
||||
|
||||
- name: Add me
|
||||
user:
|
||||
@ -24,3 +25,4 @@
|
||||
shell: "{{ prompt_place['stdout'] }}"
|
||||
state: present
|
||||
with_items: "{{ me }}"
|
||||
when: create_user
|
||||
|
@ -17,4 +17,5 @@ prompt: 'fish'
|
||||
|
||||
minimal: false
|
||||
server: false
|
||||
create_user: false
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user