Skip to content
Snippets Groups Projects
Commit 7e1941a4 authored by Chris Hines's avatar Chris Hines
Browse files

tweaking the extra packages. Make sure our experimental mellanox repo is...

tweaking the extra packages. Make sure our experimental mellanox repo is disabled. Clean the cache before installation (as disks may fill up)
parent f6fac19a
No related branches found
No related tags found
1 merge request!64tweaking the extra packages. Make sure our experimental mellanox repo is disable…
......@@ -23,6 +23,7 @@
- CentOS-Media.repo
- CentOS-OpenStack-kilo.repo
- epel.repo
- monashhpc_mellanox.repo
when: ansible_os_family == 'RedHat' and ansible_distribution_major_version == "7"
- name: add our repos
......
......@@ -3,6 +3,16 @@
include_vars: "{{ ansible_distribution }}_{{ ansible_distribution_major_version }}.yml"
when: extra_packages is not defined
- name: "Clear yum cache"
command: yum clean all
sudo: true
when: ansible_os_family == 'RedHat'
- name: "Make yum cache"
command: yum makecache
sudo: true
when: ansible_os_family == 'RedHat'
- name: "Install extra packages"
yum: "name={{ item }} exclude={{ excludes|join(',') }} update_cache=yes state=present"
with_items: "{{ extra_packages }}"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment