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 340e675 commit 4c7681eCopy full SHA for 4c7681e
tasks/install_package.yml
@@ -18,6 +18,7 @@
18
shell: "apt-cache show {{python_package_name}} | grep 'Version:' | awk '{print $2}' | cut -d. -f1"
19
check_mode: no
20
register: python_version_output
21
+ changed_when: False #This just polls the system for information and doesn't change system information
22
23
- name: Set python_major_version
24
set_fact:
@@ -27,6 +28,7 @@
27
28
command: "which python{{python_major_version}}"
29
30
register: python_location_output
31
32
33
- name: Set python_path
34
0 commit comments