add other repo of rhel7 aarch64 rpms that has updates

This commit is contained in:
Kevin Fenzi 2017-06-20 22:52:56 +00:00
parent 959b34e8ae
commit 810d93c7e7
2 changed files with 12 additions and 0 deletions

View file

@ -55,6 +55,14 @@
- packages
- yumrepos
- 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'
tags:
- config
- packages
- yumrepos
- name: add infrastructure repo
copy: src="{{ files }}/common/{{ item }}" dest="/etc/yum.repos.d/{{ item }}"
with_items: