updating taskotron roles to use dnf for f22+, variable for repos
This commit is contained in:
parent
3f3709c369
commit
bdbf4f8615
11 changed files with 98 additions and 35 deletions
|
@ -1,7 +1,14 @@
|
|||
- name: ensure ssl related packages are installed
|
||||
action: yum name={{ item }} state=latest
|
||||
yum: name={{ item }} state=latest enablerepo={{ extra_enablerepos }}
|
||||
with_items:
|
||||
- mod_ssl
|
||||
when: ansible_distribution_major_version|int < 22
|
||||
|
||||
- name: ensure ssl related packages are installed
|
||||
dnf: name={{ item }} state=latest enablerepo={{ extra_enablerepos }}
|
||||
with_items:
|
||||
- mod_ssl
|
||||
when: ansible_distribution_major_version|int > 21 and ansible_cmdline.ostree is not defined
|
||||
|
||||
- name: copy ssl key
|
||||
copy: src={{ private }}/files/taskotron/certs/{{ inventory_hostname }}/{{ inventory_hostname }}.key dest=/etc/pki/tls/private/{{ inventory_hostname }}.key
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue