Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AndriiKhomik committed Dec 4, 2024
1 parent 10ca230 commit 2cd060a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ansible1/roles/packages/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,14 +21,16 @@
path: ~/.bashrc
line: 'export PATH="$HOME/.rbenv/bin:$PATH"'
state: present
notify: Reload shell

- name: Add rbenv init to shell
lineinfile:
path: ~/.bashrc
line: 'eval "$(rbenv init -)"'
state: present
notify: Reload shell

- name: Reload shell
shell: |
source ~/.bashrc
- name: Install rbenv dependencies
shell: |
Expand Down

0 comments on commit 2cd060a

Please sign in to comment.