Skip to content

Commit

Permalink
Update: Removal of unnecessary with_items loop
Browse files Browse the repository at this point in the history
  • Loading branch information
Taylor Kimball authored and Taylor Kimball committed Mar 25, 2018
1 parent e9f06fc commit 6f382e2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tasks/elrepo_repository.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,9 @@
disablerepo: "{{ elrepo_disablerepo|join(',') }}"
enable_plugin: "{{ elrepo_enable_plugin|join(',') }}"
enablerepo: "{{ elrepo_enablerepo|join(',') }}"
name: "{{ item }}"
name: "{{ elrepo_tempfile.path }}"
state: present
register: elrepo_yum
with_items: "{{ elrepo_tempfile.path }}"
when: elrepo_get_url is success

- name: Purging temporary package from filesystem
Expand Down

0 comments on commit 6f382e2

Please sign in to comment.