updates to speed up yum
diff --git a/tasks/main.yml b/tasks/main.yml index ea03121..ba514e7 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -52,12 +52,6 @@ when: ansible_distribution_major_version is defined and ansible_distribution_major_version | version_compare('7', '>=') -#- name: Update yum -# yum: -# name: '*' -# state: latest -# update_cache: true - #- name: Proactively remove qpid packages that cause yum update failures, ignore errors # become: yes # yum: @@ -69,20 +63,20 @@ # - python-qpid* # - libqpid* -#- name: Keep yum downloads small -# become: yes -# yum: -# name: "{{ item }}" -# state: present -# with_items: -# - deltarpm +- name: Keep yum downloads small + become: yes + yum: + name: "{{ item }}" + state: present + with_items: + - deltarpm -#- name: Speed up yum -# become: yes -# shell: yum makecache {{ item }} -# with_items: -# - yum-presto -# - fast +- name: Speed up yum + become: yes + shell: yum makecache {{ item }} + with_items: + - yum-presto + - fast - name: Update basic yum os packages become: yes