mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 13:52:54 +00:00
[PR #11719/66886d08 backport][stable-12] integration tests: remove CentOS conditionals - part 2 (#11730)
integration tests: remove CentOS conditionals - part 2 (#11719)
* test(integration): remove CentOS references - part 2
* adjustments from review
(cherry picked from commit 66886d08f5)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
@@ -13,8 +13,6 @@
|
||||
when:
|
||||
- ansible_facts.system != 'FreeBSD'
|
||||
- ansible_facts.distribution != 'MacOSX'
|
||||
- ansible_facts.distribution != 'RedHat' or ansible_facts.distribution_version is version('8.0', '>=')
|
||||
- ansible_facts.distribution != 'CentOS' or ansible_facts.distribution_version is version('7.0', '>=')
|
||||
- ansible_facts.distribution != 'Ubuntu' or ansible_facts.distribution_version is version('18', '>=')
|
||||
|
||||
- block:
|
||||
@@ -38,5 +36,3 @@
|
||||
command: /tmp/sh.rustup.rs -y
|
||||
- set_fact:
|
||||
rustup_cargo_bin: "{{ lookup('env', 'HOME') }}/.cargo/bin/cargo"
|
||||
when:
|
||||
- ansible_facts.distribution != 'CentOS' or ansible_facts.distribution_version is version('7.0', '>=')
|
||||
|
||||
Reference in New Issue
Block a user