updated use of yum
diff --git a/tasks/main.yml b/tasks/main.yml index 8f2c953..7df59b9 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -15,7 +15,7 @@ - block: - - name: Add yum centos-releas-SCL repository for CentOS 6 + - name: Add yum centos-release-SCL repository for CentOS 6 become: yes yum: name: "{{ item }}" @@ -52,16 +52,22 @@ when: ansible_distribution_major_version is defined and ansible_distribution_major_version | version_compare('7', '>=') -- name: Proactively remove qpid packages that cause yum update failures, ignore errors - become: yes +- name: Update yum yum: - name: '{{ item }}' - state: absent - with_items: - - apigee-qpidd-* - - qpid-* - - python-qpid* - - libqpid* + name: '*' + state: latest + update_cache: true + +#- name: Proactively remove qpid packages that cause yum update failures, ignore errors +# become: yes +# yum: +# name: '{{ item }}' +# state: absent +# with_items: +# - apigee-qpidd-* +# - qpid-* +# - python-qpid* +# - libqpid* #- name: Keep yum downloads small # become: yes