prompt for pass
This commit is contained in:
parent
0865f50691
commit
b9656b2247
@ -18,13 +18,20 @@
|
||||
- arya
|
||||
- devrand
|
||||
- midou
|
||||
vars_prompt:
|
||||
- name: password
|
||||
prompt: What is password to be used for all accs?
|
||||
encrypt: sha512_crypt
|
||||
confirm: true
|
||||
salt_size: 6
|
||||
|
||||
tasks:
|
||||
- name: Add user
|
||||
ansible.builtin.user:
|
||||
name: "{{ item }}"
|
||||
group: users
|
||||
groups: users,sudo
|
||||
password: $1$cGVmF3CO$CoJyouR8KHiol1xm8zF3l.
|
||||
password: "{{ password }}"
|
||||
shell: /bin/bash
|
||||
update_password: on_create
|
||||
with_items:
|
||||
|
Loading…
Reference in New Issue
Block a user