22 lines
517 B
YAML
Raw Normal View History

2022-05-26 01:24:56 +02:00
- 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: '*'