Would like to move to to https://github.com/rug-cit-hpc/pg-playbooks but has large files...
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

18 lines
452 B

# Usage: $ ansible-playbook update.yml
# update all packages
---
- name: update all packages excluding the kernel and lustre
hosts: pg-lab01
tasks:
- name: remove dependencies
yum:
name:
- infiniband-diags
- ganglia-gmond
- compat-openmpi16-1.6.4-10.7.el7
state: absent
- name: update
yum:
name: '*'
state: latest
exclude: kernel*,firmware*,lustre-client*,kmod-lustre-client,kmod-mlnx-ofa_*