set aliases for root (#611)

Reviewed-on: #611
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
This commit is contained in:
Michael Grote 2023-11-24 14:32:26 +01:00 committed by mg
parent 4a507b9dc6
commit 3e23d1e62e
1 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,5 @@
---
- name: install acl package
- name: Ensure package acl is installed
become: true
ansible.builtin.package:
name: acl
@ -55,3 +55,9 @@
path: /home/{{ dotfiles_owner }}/.bashrc
line: "source {{ dotfiles_repo_path }}/.bash_extra"
state: present
- name: root - add .bash_extra to .bashrc
ansible.builtin.lineinfile:
path: /root/.bashrc
line: "source {{ dotfiles_repo_path }}/.bash_extra"
state: present