add bashrc
This commit is contained in:
parent
26323e9c41
commit
1a775c6b87
11
playbook.yml
11
playbook.yml
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user