diff options
| author | Ahmed Abdelhalim <[email protected]> | 2026-01-24 16:41:43 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2026-01-24 16:41:43 +0100 |
| commit | 45c2dbc9c9a9e3e8822187e23e7f787ef602663e (patch) | |
| tree | b5e3475c4127b58b4d15dd88d32a6fc27da3804b | |
| parent | 6d927c0f20f95dfb1ece8766dfaf34805bc2f820 (diff) | |
Revert "Fix PATH environment in testing and playbook to avoid ansible_facts"
This reverts commit 773eae0f1f3a41742708c070487d52f2e99da980.
| -rw-r--r-- | configure.yml | 4 | ||||
| -rw-r--r-- | molecule/archlinux-gnome/converge.yml | 4 | ||||
| -rw-r--r-- | molecule/archlinux/converge.yml | 4 | ||||
| -rw-r--r-- | molecule/debian/converge.yml | 4 | ||||
| -rw-r--r-- | molecule/raspberrypi/converge.yml | 4 | ||||
| -rw-r--r-- | molecule/ubuntu/converge.yml | 4 |
6 files changed, 12 insertions, 12 deletions
diff --git a/configure.yml b/configure.yml index 993cd4ff..ceb92852 100644 --- a/configure.yml +++ b/configure.yml @@ -4,7 +4,7 @@ hosts: - archlinux.local environment: - PATH: "{{ '~/.local/bin:$PATH' }}" + PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" roles: - role: "locales" - role: "timezone" @@ -41,7 +41,7 @@ hosts: - ubuntu.local environment: - PATH: "{{ '~/.local/bin:$PATH' }}" + PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" roles: - role: "locales" - role: "timezone" diff --git a/molecule/archlinux-gnome/converge.yml b/molecule/archlinux-gnome/converge.yml index cc56859d..e7e34480 100644 --- a/molecule/archlinux-gnome/converge.yml +++ b/molecule/archlinux-gnome/converge.yml @@ -3,7 +3,7 @@ hosts: "archlinux-gnome" 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: diff --git a/molecule/archlinux/converge.yml b/molecule/archlinux/converge.yml index 799057de..e9cd7439 100644 --- a/molecule/archlinux/converge.yml +++ b/molecule/archlinux/converge.yml @@ -3,7 +3,7 @@ hosts: "archlinux" 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: diff --git a/molecule/debian/converge.yml b/molecule/debian/converge.yml index 39134c65..4e08cac7 100644 --- a/molecule/debian/converge.yml +++ b/molecule/debian/converge.yml @@ -3,7 +3,7 @@ hosts: "debian" 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: 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: diff --git a/molecule/ubuntu/converge.yml b/molecule/ubuntu/converge.yml index 6a1037a3..7af37d38 100644 --- a/molecule/ubuntu/converge.yml +++ b/molecule/ubuntu/converge.yml @@ -3,7 +3,7 @@ hosts: "ubuntu" 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: |
