adding dnf support to fas_client role
This commit is contained in:
parent
1cd3b30d6e
commit
61ba7862bb
1 changed files with 12 additions and 1 deletions
|
@ -8,7 +8,7 @@
|
|||
# fas-clients is in the infrastructure repo.
|
||||
# nss_db is needed to store user/group info.
|
||||
#
|
||||
- name: install package needed for fas-client
|
||||
- name: install package needed for fas-client (yum)
|
||||
yum: state=present name={{ item }}
|
||||
with_items:
|
||||
- fas-clients
|
||||
|
@ -16,6 +16,17 @@
|
|||
tags:
|
||||
- packages
|
||||
- fas_client
|
||||
when: ansible_distribution_major_version|int < 22
|
||||
|
||||
- name: install package needed for fas-client (dnf)
|
||||
dnf: state=present name={{ item }}
|
||||
with_items:
|
||||
- fas-clients
|
||||
- cronie
|
||||
tags:
|
||||
- packages
|
||||
- fas_client
|
||||
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
|
||||
|
||||
- name: install nss_db on rhel hosts only
|
||||
yum: state=present name=nss_db
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue