Fix yum/dnf here.
This commit is contained in:
parent
c011dc8376
commit
90df49dff3
1 changed files with 7 additions and 0 deletions
|
@ -3,6 +3,13 @@
|
|||
yum: name=pam_url state=present
|
||||
tags:
|
||||
- packages
|
||||
when: ansible_distribution_major_version|int < 22
|
||||
|
||||
- name: install pam_url
|
||||
dnf: name=pam_url state=present
|
||||
tags:
|
||||
- packages
|
||||
when: ansible_distribution_major_version|int > 21
|
||||
|
||||
- name: /etc/pki/tls/private/totpcgi.pem
|
||||
copy: src="{{ private }}/files/2fa-certs/keys/{{ inventory_hostname }}.pem" dest=/etc/pki/tls/private/totpcgi.pem mode=0400
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue