Enable at, patch and synchronize tests (#5)

* Enable at, patch and synchronize tests

* Remove commented out tasks

* Skip currently unsupported platforms

* Skip AIX on at
This commit is contained in:
Matt Martz
2020-03-20 07:37:05 -05:00
committed by GitHub
parent ce9ec16375
commit 27482c25f9
6 changed files with 57 additions and 19 deletions

View File

@@ -1,7 +1,18 @@
- debug:
msg: >-
Skipping {{ ansible_distribution }} as ansible-base does not contain
the packaging module ({{ ansible_pkg_mgr }}) for this operating system
when: ansible_pkg_mgr not in ['apt', 'dnf', 'yum']
- name: stop executing on hosts that we don't have package manager modules for
meta: end_host
when: ansible_pkg_mgr not in ['apt', 'dnf', 'yum']
- name: install rsync
package:
name: rsync
when: ansible_distribution != "MacOSX"
when: ansible_pkg_mgr in ['apt', 'dnf', 'yum']
- name: cleanup old files
shell: rm -rf {{output_dir}}/*
- name: create test new files