1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2026-07-08 11:39:02 +00:00
community.general/tests/integration/targets/systemd_info/tasks/main.yml
patchback[bot] 4ad4642bb8
[PR #12281/b2a8fbe9 backport][stable-13] integration tests: remove test setup for Ubuntu <16.04 (#12283)
filesystem: remove test setup for Ubuntu <16.04 (#12281)

* filesystem: remove test setup for Ubuntu <16.04

* more Ubuntu 16.04 refs

* and more old Ubuntu refs in tests

* and yet more truisms in tests conditionals

(cherry picked from commit b2a8fbe9c7)

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
2026-06-15 06:21:20 +02:00

22 lines
655 B
YAML

---
# Copyright (c) Ansible Project
# 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
- name: skip Alpine
meta: end_host
when: ansible_facts.distribution == 'Alpine'
- name: check ansible_facts.service_mgr
ansible.builtin.assert:
that: ansible_facts.service_mgr == 'systemd'
- name: Test systemd_facts
block:
- name: Run tests
import_tasks: tests.yml
when: >
ansible_facts.distribution in ['RedHat', 'CentOS', 'ScientificLinux', 'Fedora', 'Ubuntu', 'Debian', 'Archlinux'] or
ansible_facts.os_family == 'Suse'