ansible/roles/root_account/tasks/main.yml
jeltz 8dca876bbc
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Add a very simple bashrc for root
2021-12-16 05:48:39 +01:00

16 lines
261 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=
...