diff options
| -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 | ||||
| -rw-r--r-- | roles/python/tasks/main.yml | 7 |
7 files changed, 7 insertions, 24 deletions
diff --git a/configure.yml b/configure.yml index b766678c..82675756 100644 --- a/configure.yml +++ b/configure.yml @@ -3,8 +3,6 @@ gather_facts: true hosts: - archlinux.local - environment: - PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" roles: - role: "locales" - role: "timezone" @@ -50,8 +48,6 @@ gather_facts: true hosts: - ubuntu.local - environment: - 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 02849f6f..f57b7344 100644 --- a/molecule/archlinux-gnome/converge.yml +++ b/molecule/archlinux-gnome/converge.yml @@ -2,8 +2,6 @@ - name: "Bootstrap" hosts: "archlinux-gnome" gather_facts: true - environment: - PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" vars: ansible_become_method: su user_public_keys: @@ -36,8 +34,6 @@ hosts: "archlinux-gnome" gather_facts: true remote_user: "{{ username }}" - environment: - 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 dfbb7d95..2e623bb0 100644 --- a/molecule/archlinux/converge.yml +++ b/molecule/archlinux/converge.yml @@ -2,8 +2,6 @@ - name: "Bootstrap" hosts: "archlinux" gather_facts: true - environment: - PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" vars: ansible_become_method: su user_public_keys: @@ -36,8 +34,6 @@ hosts: "archlinux" gather_facts: true remote_user: "{{ username }}" - environment: - 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 8a6bc066..0de69b4d 100644 --- a/molecule/debian/converge.yml +++ b/molecule/debian/converge.yml @@ -2,8 +2,6 @@ - name: "Bootstrap" hosts: "debian" gather_facts: true - environment: - PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" vars: ansible_become_method: su user_public_keys: @@ -36,8 +34,6 @@ hosts: "debian" gather_facts: true remote_user: "{{ username }}" - environment: - 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 d187a091..9766108c 100644 --- a/molecule/raspberrypi/converge.yml +++ b/molecule/raspberrypi/converge.yml @@ -2,8 +2,6 @@ - name: "Bootstrap" hosts: "raspberrypi" gather_facts: true - environment: - PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" vars: ansible_become_method: su user_public_keys: @@ -36,8 +34,6 @@ hosts: "raspberrypi" gather_facts: true remote_user: "{{ username }}" - environment: - 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 d2725f93..e6864ebb 100644 --- a/molecule/ubuntu/converge.yml +++ b/molecule/ubuntu/converge.yml @@ -2,8 +2,6 @@ - name: "Bootstrap" hosts: "ubuntu" gather_facts: true - environment: - PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" vars: ansible_become_method: su user_public_keys: @@ -36,8 +34,6 @@ hosts: "ubuntu" gather_facts: true remote_user: "{{ username }}" - environment: - PATH: "{{ ansible_env.HOME }}/.local/bin:{{ ansible_env.PATH }}" vars: ansible_become_method: sudo locales: diff --git a/roles/python/tasks/main.yml b/roles/python/tasks/main.yml index d272b9f6..e721e931 100644 --- a/roles/python/tasks/main.yml +++ b/roles/python/tasks/main.yml @@ -21,6 +21,13 @@ creates: "{{ ansible_facts['env']['HOME'] }}/.local/bin/uv" when: not python_uv_binary.stat.exists +- name: "Symlink uv to /usr/local/bin" + become: true + ansible.builtin.file: + src: "{{ ansible_facts['env']['HOME'] }}/.local/bin/uv" + dest: "/usr/local/bin/uv" + state: "link" + - name: "Add uv to shell profile" ansible.builtin.blockinfile: path: "{{ ansible_facts['env']['HOME'] }}/.bashrc" |
