diff --git a/tasks/yumrepos.yml b/tasks/yumrepos.yml index 37ab3d04d6..7e9cb02d4c 100644 --- a/tasks/yumrepos.yml +++ b/tasks/yumrepos.yml @@ -57,7 +57,7 @@ - name: add aarch64 server rpms repo copy: src="{{ files }}/common/rhel-7-aarch64-server-rpms.repo" dest="/etc/yum.repos.d/rhel-7-aarch64-server-rpms.repo" - when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and inventory_hostname.startswith('aarch64-c' + when: (ansible_distribution == 'RedHat' or ansible_distribution == 'CentOS') and inventory_hostname.startswith('aarch64-c') tags: - config - packages