mirror of
https://github.com/ansible-collections/community.crypto.git
synced 2026-03-26 21:33:25 +00:00
Work around not yet complete package manager detection for ACD. (#5)
This commit is contained in:
2
tests/integration/targets/setup_openssl/meta/main.yml
Normal file
2
tests/integration/targets/setup_openssl/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
12
tests/integration/targets/setup_pkg_mgr/tasks/main.yml
Normal file
12
tests/integration/targets/setup_pkg_mgr/tasks/main.yml
Normal file
@@ -0,0 +1,12 @@
|
||||
---
|
||||
- set_fact:
|
||||
pkg_mgr: community.general.pkgng
|
||||
ansible_pkg_mgr: community.general.pkgng
|
||||
cacheable: yes
|
||||
when: ansible_os_family == "FreeBSD"
|
||||
|
||||
- set_fact:
|
||||
pkg_mgr: community.general.zypper
|
||||
ansible_pkg_mgr: community.general.zypper
|
||||
cacheable: yes
|
||||
when: ansible_os_family == "Suse"
|
||||
2
tests/integration/targets/setup_ssh_keygen/meta/main.yml
Normal file
2
tests/integration/targets/setup_ssh_keygen/meta/main.yml
Normal file
@@ -0,0 +1,2 @@
|
||||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
@@ -1,3 +1,4 @@
|
||||
---
|
||||
- name: Include OS-specific variables
|
||||
include_vars: '{{ ansible_os_family }}.yml'
|
||||
when: not ansible_os_family == "Darwin" and not ansible_os_family == "FreeBSD"
|
||||
|
||||
Reference in New Issue
Block a user