Skip to content

Commit 4c7681e

Browse files
committed
ignore changes from python verion lookups
1 parent 340e675 commit 4c7681e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tasks/install_package.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
shell: "apt-cache show {{python_package_name}} | grep 'Version:' | awk '{print $2}' | cut -d. -f1"
1919
check_mode: no
2020
register: python_version_output
21+
changed_when: False #This just polls the system for information and doesn't change system information
2122

2223
- name: Set python_major_version
2324
set_fact:
@@ -27,6 +28,7 @@
2728
command: "which python{{python_major_version}}"
2829
check_mode: no
2930
register: python_location_output
31+
changed_when: False #This just polls the system for information and doesn't change system information
3032

3133
- name: Set python_path
3234
set_fact:

0 commit comments

Comments
 (0)