diff --git a/playbook.yml b/playbook.yml index c0f0489..24fd962 100644 --- a/playbook.yml +++ b/playbook.yml @@ -26,6 +26,17 @@ marker: "" 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 ansible.builtin.blockinfile: path: /etc/bash.bashrc