Skip to content

Commit

Permalink
fix deprecation warning for undefined error. #99
Browse files Browse the repository at this point in the history
  • Loading branch information
Sebastian Gumprich committed Oct 3, 2016
1 parent ef9d3d8 commit 5f116f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks/yum.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
- name: activate gpg-check for yum-repos
replace: dest='{{item}}' regexp='^\s*gpgcheck=0' replace='gpgcheck=1'
with_items:
- '{{ yum_repos.stdout_lines }}'
- '/etc/yum.conf'
- '{{ yum_repos.stdout_lines| default([]) }}'

- name: activate gpg-check for yum rhn if it exists
replace: dest='/etc/yum/pluginconf.d/rhnplugin.conf' regexp='^\s*gpgcheck=0' replace='gpgcheck=1'
Expand Down

0 comments on commit 5f116f8

Please sign in to comment.