mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-06-10 02:25:54 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user