ansible/roles/root_account/tasks/main.yml

15 lines
263 B
YAML

---
- name: Set root password
user:
name: root
shell: "{{ root__shell }}"
password: "{{ root__password }}"
- name: Setup bashrc for root
template:
src: bashrc.j2
dest: /root/.bashrc
owner: root
group: root
mode: u=r,g=,o=
...