updated path to yum-config-manager
diff --git a/tasks/with_no_proxy.yml b/tasks/with_no_proxy.yml index 84f7cf4..ab2eb2a 100644 --- a/tasks/with_no_proxy.yml +++ b/tasks/with_no_proxy.yml
@@ -1,7 +1,7 @@ --- # tasks file for apigee-opdk-setup-os - name: Configure AWS AMI OS package manager repositories for Apigee - shell: "yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional" + 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', '>') # TODO: Look up the ansible_distribution name for RHEL systems
diff --git a/tasks/with_proxy.yml b/tasks/with_proxy.yml index 41150fc..952cf39 100644 --- a/tasks/with_proxy.yml +++ b/tasks/with_proxy.yml
@@ -1,7 +1,7 @@ --- - name: Configure AWS AMI OS package manager repositories for Apigee - shell: "yum-config-manager --enable rhui-REGION-rhel-server-extras rhui-REGION-rhel-server-optional" + 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', '>') # TODO: Look up the ansible_distribution name for RHEL systems