Skip to content

Commit

Permalink
chore(ansible/update): update also the ansible venv
Browse files Browse the repository at this point in the history
using dev lock file
  • Loading branch information
andros21 committed Mar 2, 2024
1 parent 50f78ca commit bb9def5
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion ansible/.ansible/dwm/playbooks/update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,17 @@
- name: Pip update
tags: pip
block:
- name: Pip upgrade
- name: Pip upgrade local
ansible.builtin.shell:
cmd: |
{{ pkg_py }} -m pip install --upgrade -r requirements/pip/pip.in -c requirements/pip/pip.txt
{{ pkg_py }} -m pip install --upgrade -r roles/pkg/requirements/local.in -c roles/pkg/requirements/local.txt
vars:
pkg_py: '{{ ansible_user_dir }}/.local/share/venv/py{{ ansible_python.version.major }}{{ ansible_python.version.minor }}/local/bin/python3'
- name: Pip upgrade ansible
ansible.builtin.shell:
cmd: |
{{ pkg_py }} -m pip install --upgrade -r requirements/pip/pip.in -c requirements/pip/pip.txt
{{ pkg_py }} -m pip install --upgrade -r requirements/ansible/ansible-dev.in -c requirements/ansible/ansible-dev.txt
vars:
pkg_py: '{{ ansible_user_dir }}/.local/share/venv/py{{ ansible_python.version.major }}{{ ansible_python.version.minor }}/ansible/bin/python3'

0 comments on commit bb9def5

Please sign in to comment.