mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Set pkg_mgr facts manually for FreeBSD and OpenSUSE (#60)
* Set pkg_mgr facts manually for FreeBSD and OpenSUSE. ci_complete * Make pkg_mgr fact work everywhere.
This commit is contained in:
parent
8c76619799
commit
775ab35ddd
26 changed files with 53 additions and 0 deletions
|
@ -1,2 +1,3 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
- prepare_tests
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
- setup_openssl
|
||||
|
|
2
tests/integration/targets/etcd3/meta/main.yml
Normal file
2
tests/integration/targets/etcd3/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
|
@ -1,2 +1,3 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
- setup_remote_tmp_dir
|
||||
|
|
2
tests/integration/targets/firewalld/meta/main.yml
Normal file
2
tests/integration/targets/firewalld/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
|
@ -1,2 +1,3 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
- prepare_tests
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
- prepare_tests
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
- prepare_tests
|
||||
- setup_epel
|
||||
|
|
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
|
@ -1,2 +1,3 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
- setup_remote_tmp_dir
|
||||
|
|
2
tests/integration/targets/npm/meta/main.yml
Normal file
2
tests/integration/targets/npm/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
|
@ -1,2 +1,3 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
- setup_postgresql_db
|
||||
|
|
2
tests/integration/targets/sefcontext/meta/main.yml
Normal file
2
tests/integration/targets/sefcontext/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
2
tests/integration/targets/setup_cron/meta/main.yml
Normal file
2
tests/integration/targets/setup_cron/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
2
tests/integration/targets/setup_mysql_db/meta/main.yml
Normal file
2
tests/integration/targets/setup_mysql_db/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
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"
|
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
|
@ -1,2 +1,3 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
||||
- setup_remote_tmp_dir
|
||||
|
|
2
tests/integration/targets/supervisorctl/meta/main.yml
Normal file
2
tests/integration/targets/supervisorctl/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
2
tests/integration/targets/ufw/meta/main.yml
Normal file
2
tests/integration/targets/ufw/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
2
tests/integration/targets/xattr/meta/main.yml
Normal file
2
tests/integration/targets/xattr/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
2
tests/integration/targets/xml/meta/main.yml
Normal file
2
tests/integration/targets/xml/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
2
tests/integration/targets/yarn/meta/main.yml
Normal file
2
tests/integration/targets/yarn/meta/main.yml
Normal file
|
@ -0,0 +1,2 @@
|
|||
dependencies:
|
||||
- setup_pkg_mgr
|
Loading…
Reference in a new issue