Skip to content

Commit

Permalink
yum_repos | default({}) added to GPG import
Browse files Browse the repository at this point in the history
  • Loading branch information
VilleS1 authored Nov 27, 2018
1 parent e54580a commit faf2cf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
- name: import GPG key for repos
rpm_key:
key: "{{ item.gpgkey }}"
with_items: "{{ yum_repos }}"
with_items: "{{ yum_repos | default({}) }}"
when: item.gpgkey is defined

- name: always install libselinux-python without it ansible facts cannot tell if selinux is enabled
Expand Down

0 comments on commit faf2cf3

Please sign in to comment.