13 lines
478 B
YAML
13 lines
478 B
YAML
|
---
|
||
|
# Password needs to be encrypted. Use the following command to change password
|
||
|
# python3 -c 'import crypt,getpass;pw=getpass.getpass();print(crypt.crypt(pw) if (pw==getpass.getpass("Confirm: ")) else exit())'
|
||
|
- name: Add the user 'debian'
|
||
|
ansible.builtin.user:
|
||
|
name: debian
|
||
|
password: '$6$7SKND.wc64QSchcm$eGS36vIXypLHSd.PQM0gIq6ILx9QiRQxWNej3Gb32sKk2MuLrRlceXCJmidYATNZeJTbBXNf3c5qTmm7BB.EA1'
|
||
|
shell: /bin/bash
|
||
|
state: present
|
||
|
update_password: always
|
||
|
|
||
|
#
|