mirror of https://github.com/ansible/ansible.git
Fix integration tests on debian (#84379)
* Simplify conditional for service_facts integration test This test requires systemd, so just test for that. Also fixes running this on Debian testing/unstable releases, where ansible_distribution_version is "n/a". * Clean up after service_facts integration test * Simplify set_fact in interpreter_discovery_python test Those vars are always set, either to something discovered, or "n/a". There are no evaluations against the value "unknown". * interpreter_discovery_python: Fix Debian test Debian doesn't set VERSION_ID in /etc/os-release on pre-releases, see https://bugs.debian.org/1008735 ansible 2.17 onwards does not support python 2.7 anyway. * fix deb822_repository integration test failure on Debian * Fix integration test hostname for Debian * Fix integration test mount_facts Some VMs might only have a single mount point, so they only have a single UUID. * Add package deps for integration test subversion /usr/bin/htpasswd is shipped in apache2-utils and needed by the main playbook. * Fix integration test "service" on Debian sid Debian sid does not set ansible_distribution_version, as such any tests assuming it's a numeric value will fail. Since this is ancient test code that predates ansible_service_mgr, remove the error-prone heuristic and rely on that var instead. * Fix service integration tests not running on *BSD --------- Co-authored-by: Lee Garrett <lgarrett@rocketjump.eu>pull/84730/head
parent
7a091bf486
commit
d21788a9b4
@ -0,0 +1,2 @@
|
||||
- name: clean up service_facts
|
||||
include_tasks: systemd_cleanup.yml
|
||||
Loading…
Reference in New Issue