On 09.05.16 17:29 Tim Griffin wrote: > Ah, okay. Good point, Johannes. > > And, on RHEL, turning of the GPG check wouldn't be a good plan anyways!
On CentOS-machines I use this snippet to install the epel-release
package and import the rpm-key:
- name: CentOS - install epel-release
yum: name=epel-release state=latest
when: ansible_os_family == "RedHat"
- name: CentOS - install epel-release Key
rpm_key: key="/etc/pki/rpm-gpg/RPM-GPG-KEY-EPEL-{{
ansible_distribution_major_version }}" state=present
when: ansible_os_family == "RedHat"
Johannes
--
You received this message because you are subscribed to the Google Groups
"Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/ansible-project/5730E393.7050908%40ojkastl.de.
For more options, visit https://groups.google.com/d/optout.
signature.asc
Description: OpenPGP digital signature
