mirror of
https://github.com/ansible-collections/ansible.posix.git
synced 2026-01-11 23:25:28 +01:00
Skip currently unsupported platforms
This commit is contained in:
parent
e335f63c87
commit
81fca40521
2 changed files with 18 additions and 0 deletions
|
|
@ -1,3 +1,12 @@
|
|||
- debug:
|
||||
msg: >-
|
||||
Skipping {{ ansible_distribution }} as ansible-base does not contain
|
||||
the packaging module ({{ ansible_pkg_mgr }}) for this operating system
|
||||
|
||||
- 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: ensure idempotency installed
|
||||
package:
|
||||
name: patch
|
||||
|
|
|
|||
|
|
@ -1,3 +1,12 @@
|
|||
- debug:
|
||||
msg: >-
|
||||
Skipping {{ ansible_distribution }} as ansible-base does not contain
|
||||
the packaging module ({{ ansible_pkg_mgr }}) for this operating system
|
||||
|
||||
- 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
|
||||
|
|
|
|||
Loading…
Reference in a new issue