Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unixPB: Add changed_when fields to shell modules, in gcc roles #2424

Merged
merged 1 commit into from
Jan 17, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
shell: /usr/bin/gcc-4.8 >/dev/null 2>&1
ignore_errors: yes
register: gcc_installed
changed_when: false
tags:
- gcc-4.8
# TODO: write a condition when NOT to run this step
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
ignore_errors: yes
register: gcc7_installed
when: ansible_distribution == "RedHat" or ansible_distribution == "CentOS" or ansible_distribution == "openSUSE" or (ansible_architecture == "armv7l" and ((ansible_distribution == "Ubuntu" and ansible_distribution_major_version == "16") or ansible_distribution == "Debian"))
changed_when: false
tags: gcc_7

- name: Configure gcc75 tarball extension on non-armv7l
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
when:
- (ansible_distribution == "RedHat" or ansible_distribution == "CentOS" )
- (ansible_architecture == "x86_64" or ansible_architecture == "aarch64")
changed_when: false
tags: gcc_9

# Unable to check the checksum of the binary as it'll be different for each architecture's tar.xz file
Expand Down