ansible/roles/root_account/tasks/main.yml

16 lines
261 B
YAML
Raw Permalink Normal View History

---
- name: Set root password
user:
name: root
shell: "{{ root_shell }}"
password: "{{ root_password }}"
2021-12-16 05:48:39 +01:00
- name: Setup bashrc for root
template:
src: bashrc.j2
dest: /root/.bashrc
owner: root
group: root
mode: u=r,g=,o=
...