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

Merge branch 'extra_packages' into 'master'

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

…d. Clean the cache before installation (as disks may fill up)

See merge request !64


Former-commit-id: 1ad4bef5
parents 39afeb7f 3f39c9fd
No related branches found
No related tags found
No related merge requests found
......@@ -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