From 2cd060aa7f4603d98fc92eca9b2b7b5c92d409e0 Mon Sep 17 00:00:00 2001 From: Andrii Date: Wed, 4 Dec 2024 14:55:48 +0200 Subject: [PATCH] fix --- ansible1/roles/packages/tasks/main.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ansible1/roles/packages/tasks/main.yml b/ansible1/roles/packages/tasks/main.yml index ab90d289d..d88b0dc6e 100644 --- a/ansible1/roles/packages/tasks/main.yml +++ b/ansible1/roles/packages/tasks/main.yml @@ -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: |