mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-07-08 11:39:02 +00:00
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>
22 lines
655 B
YAML
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'
|