mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-13 08:05:19 +01:00
Skipping tests for CentOS 6
This commit is contained in:
parent
8788d4d103
commit
c7d610b662
1 changed files with 85 additions and 81 deletions
|
|
@ -29,6 +29,8 @@
|
|||
## at
|
||||
##
|
||||
|
||||
- name: Run At tests
|
||||
block:
|
||||
- name: define distros to attempt installing at on
|
||||
set_fact:
|
||||
package_distros:
|
||||
|
|
@ -98,7 +100,6 @@
|
|||
that:
|
||||
- at_add is changed
|
||||
- at_removal is changed
|
||||
when: (ansible_facts['distribution'] == "CentOS" and ansible_facts['distribution_major_version'] != "6") or (ansible_facts['distribution'] not in ('Ubuntu','FreeBSD'))
|
||||
|
||||
- name: Create an at command with chdir with valid value
|
||||
at:
|
||||
|
|
@ -125,3 +126,6 @@
|
|||
that:
|
||||
- at_chdir_valid is changed
|
||||
- at_chdir_invalid is changed
|
||||
when:
|
||||
- not (ansible_facts['distribution'] in ('Ubuntu','FreeBSD'))
|
||||
- not (ansible_distribution == "CentOS" and ansible_distribution_version is version('6', '=='))
|
||||
Loading…
Reference in a new issue