updated path to command
diff --git a/tasks/main.yml b/tasks/main.yml index f65b159..a93204b 100644 --- a/tasks/main.yml +++ b/tasks/main.yml
@@ -2,7 +2,6 @@ # tasks file for apigee-opdk-setup-os - name: Configure AWS AMI OS package manager repositories for Apigee - ignore_errors: yes shell: "/usr/bin/yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional" when: ansible_bios_version | lower | search('amazon') and ansible_os_family | lower == 'redhat' and ansible_distribution_major_version | version_compare('6', '>') @@ -13,7 +12,7 @@ - name: Yum clean become: yes - shell: yum clean all + shell: /usr/bin/yum clean all - name: Do not use proxy definitions include: with_no_proxy.yml