Skipping tests for CentOS 6

This commit is contained in:
Mandar Kulkarni 2021-07-06 11:53:09 -07:00
parent 8788d4d103
commit c7d610b662

View file

@ -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', '=='))