mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
[PR #8103/1c4197aa backport][stable-6] Skip cloud_init_data_facts tests on OpenSuSE Leap 15 (#8107)
Skip cloud_init_data_facts tests on OpenSuSE Leap 15 (#8103)
Skip cloud_init_data_facts tests on OpenSuSE Leap 15.5.
(cherry picked from commit 1c4197aa23
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
fa865a19a5
commit
db28a2e94a
1 changed files with 10 additions and 1 deletions
|
@ -8,6 +8,14 @@
|
||||||
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
# GNU General Public License v3.0+ (see LICENSES/GPL-3.0-or-later.txt or https://www.gnu.org/licenses/gpl-3.0.txt)
|
||||||
# SPDX-License-Identifier: GPL-3.0-or-later
|
# SPDX-License-Identifier: GPL-3.0-or-later
|
||||||
|
|
||||||
|
- name: Help debugging
|
||||||
|
debug:
|
||||||
|
msg: >-
|
||||||
|
distribution={{ ansible_distribution }},
|
||||||
|
distribution major version={{ ansible_distribution_major_version }},
|
||||||
|
os_family={{ ansible_os_family }},
|
||||||
|
Python version={{ ansible_python.version.major }}
|
||||||
|
|
||||||
- name: test cloud-init
|
- name: test cloud-init
|
||||||
# TODO: check for a workaround
|
# TODO: check for a workaround
|
||||||
# install 'cloud-init'' failed: dpkg-divert: error: `diversion of /etc/init/ureadahead.conf
|
# install 'cloud-init'' failed: dpkg-divert: error: `diversion of /etc/init/ureadahead.conf
|
||||||
|
@ -19,6 +27,7 @@
|
||||||
when:
|
when:
|
||||||
- not (ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int == 14)
|
- not (ansible_distribution == "Ubuntu" and ansible_distribution_major_version|int == 14)
|
||||||
- not (ansible_os_family == "Suse" and ansible_distribution_major_version|int != 42 and ansible_python.version.major != 3)
|
- not (ansible_os_family == "Suse" and ansible_distribution_major_version|int != 42 and ansible_python.version.major != 3)
|
||||||
|
- not (ansible_os_family == "Suse" and ansible_distribution_major_version|int == 15)
|
||||||
- not (ansible_distribution == "CentOS" and ansible_distribution_major_version|int == 8) # TODO: cannot start service
|
- not (ansible_distribution == "CentOS" and ansible_distribution_major_version|int == 8) # TODO: cannot start service
|
||||||
- not (ansible_distribution == 'Archlinux') # TODO: package seems to be broken, cannot be downloaded from mirrors?
|
- not (ansible_distribution == 'Archlinux') # TODO: package seems to be broken, cannot be downloaded from mirrors?
|
||||||
- not (ansible_distribution == 'Alpine') # TODO: not sure what's wrong here, the module doesn't return what the tests expect
|
- not (ansible_distribution == 'Alpine') # TODO: not sure what's wrong here, the module doesn't return what the tests expect
|
||||||
|
|
Loading…
Reference in a new issue