We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4c0344e commit 8f6dadaCopy full SHA for 8f6dada
tasks/main.yml
@@ -21,10 +21,12 @@
21
- name: Include tasks
22
ansible.builtin.include_tasks: '{{ ansible_os_family | lower }}/main.yml'
23
24
-- name: Install python | Upgrade tools # noqa no-changed-when
+- name: Install python | Upgrade tools
25
ansible.builtin.command: >
26
/opt/python/{{ item }}/bin/pip install --upgrade \
27
pip setuptools wheel
28
loop: "{{ python_versions }}"
29
+ register: command_result
30
+ changed_when: "'Successfully installed' in command_result.stdout"
31
tags:
32
- python-install-upgrade-tools
0 commit comments