Added 'change_when: false' to Python version checks

This commit is contained in:
2026-04-05 09:20:50 -04:00
parent b693daec8b
commit c5217c1a0f

View File

@@ -5,6 +5,7 @@
ansible.builtin.shell:
cmd: python --version | grep -Po '\d+\.\d+'
register: orig_python
changed_when: false
- name: Full repository upgrade
become: true
community.general.pacman:
@@ -13,6 +14,7 @@
- name: Get new Python minor version
ansible.builtin.shell:
cmd: python --version | grep -Po '\d+\.\d+'
changed_when: false
register: new_python
- name: AUR upgrade
aur: