From e8013466114b6b9b3ded448084b1dc2bd22c240e Mon Sep 17 00:00:00 2001 From: Ahmed AbdelHalim Date: Sat, 24 Jan 2026 16:41:43 +0100 Subject: Revert "Fix PATH environment in testing and playbook to avoid ansible_facts" This reverts commit 773eae0f1f3a41742708c070487d52f2e99da980. --- molecule/raspberrypi/converge.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'molecule/raspberrypi') diff --git a/molecule/raspberrypi/converge.yml b/molecule/raspberrypi/converge.yml index 1ff02fde..da683edc 100644 --- a/molecule/raspberrypi/converge.yml +++ b/molecule/raspberrypi/converge.yml @@ -3,7 +3,7 @@ hosts: "raspberrypi" gather_facts: true environment: - PATH: "{{ '~/.local/bin:$PATH' }}" + PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" vars: ansible_become_method: su user_public_keys: @@ -29,7 +29,7 @@ gather_facts: true remote_user: "{{ username }}" environment: - PATH: "{{ '~/.local/bin:$PATH' }}" + PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" vars: ansible_become_method: sudo locales: -- cgit v1.2.3