Feat: create_user var

This commit is contained in:
Bertrand Benjamin 2020-02-24 06:35:41 +01:00
parent 76e20fd505
commit dd2e1e67a2
3 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -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

View File

@ -17,4 +17,5 @@ prompt: 'fish'
minimal: false
server: false
create_user: false