22 lines
517 B
YAML
22 lines
517 B
YAML
- include_vars: ../vars/users.yml
|
|
# Atmen : slave, servant
|
|
- name: Add provisioning user "atmen" for ansible
|
|
ansible.builtin.user:
|
|
name: atmen
|
|
comment: Ansible provisioner
|
|
groups: sudo
|
|
append: yes
|
|
|
|
- name: Add maintainer user
|
|
ansible.builtin.user:
|
|
name: "{{ maintainer_user }}"
|
|
comment: Maintainer user
|
|
groups: sudo
|
|
append: yes
|
|
password: "{{ maintainer_password | password_hash('sha512') }}"
|
|
|
|
- name: Disable root login
|
|
ansible.builtin.user:
|
|
name: root
|
|
password: '*'
|