add bashrc

This commit is contained in:
vvzvlad 2024-09-28 03:30:42 +03:00
parent 26323e9c41
commit 1a775c6b87

View File

@ -26,6 +26,17 @@
marker: "" marker: ""
mode: '0644' mode: '0644'
- name: Append command to .bash_rc
ansible.builtin.blockinfile:
path: "~/.bashrc"
create: true
insertafter: EOF
block: |
cd /root/ritual
marker: ""
mode: '0644'
- name: Update /etc/bash.bashrc - name: Update /etc/bash.bashrc
ansible.builtin.blockinfile: ansible.builtin.blockinfile:
path: /etc/bash.bashrc path: /etc/bash.bashrc