mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-25 06:10:22 -07:00
[PR #10043/2a5abab7 backport][stable-10] Remove blanket skips for Python 3 in CI (#10048)
Remove blanket skips for Python 3 in CI (#10043)
* Remove blanket skips for Python 3 in CI.
* Try to fix hg tests.
* Disable hg tests.
* Drop restriction of supervisor to <4.0.0.
This was introduced in https://github.com/ansible/ansible/pull/54935.
* Make tests work with supervisorctl 4.0.0.
According to https://supervisord.org/changes.html#id12,
"supervisorctl will now set its exit code to a non-zero value when an error condition occurs."
I'm not sure why a stopped service in 'status' constitutes an error condition,
but whatever 🤷...
* Use correct Python executable.
* Skip RHEL/macOS; diff on config write.
* Skip CentOS 7 and OpenSuSE on ansible-core 2.16.
(cherry picked from commit 2a5abab738
)
Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
42aeeb975b
commit
0090af8cfb
10 changed files with 83 additions and 48 deletions
|
@ -26,6 +26,12 @@
|
|||
shell: apt-get -y update && apt-get -y install mercurial
|
||||
when: ansible_facts.pkg_mgr == 'apt'
|
||||
|
||||
- name: install packages (apk)
|
||||
package:
|
||||
name: mercurial
|
||||
state: present
|
||||
when: ansible_facts.pkg_mgr in ['apk', 'community.general.apk']
|
||||
|
||||
- name: install mercurial (dnf)
|
||||
dnf:
|
||||
name: mercurial
|
||||
|
@ -36,6 +42,11 @@
|
|||
name: mercurial
|
||||
when: ansible_facts.pkg_mgr == 'yum'
|
||||
|
||||
- name: install mercurial (pacman)
|
||||
package:
|
||||
name: mercurial
|
||||
when: ansible_facts.pkg_mgr in ['pacman', 'community.general.pacman']
|
||||
|
||||
- name: install mercurial (pkgng)
|
||||
package:
|
||||
name: mercurial
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue