Work around not yet complete package manager detection for ACD. (#5)
parent
e91849d1d8
commit
de5b514629
|
@ -0,0 +1,2 @@
|
||||||
|
dependencies:
|
||||||
|
- setup_pkg_mgr
|
|
@ -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,3 +1,4 @@
|
||||||
|
---
|
||||||
- name: Include OS-specific variables
|
- name: Include OS-specific variables
|
||||||
include_vars: '{{ ansible_os_family }}.yml'
|
include_vars: '{{ ansible_os_family }}.yml'
|
||||||
when: not ansible_os_family == "Darwin" and not ansible_os_family == "FreeBSD"
|
when: not ansible_os_family == "Darwin" and not ansible_os_family == "FreeBSD"
|
||||||
|
|
Loading…
Reference in New Issue