Skip to content

Instantly share code, notes, and snippets.

@mwhahaha
Created January 29, 2015 04:10
Show Gist options
  • Save mwhahaha/df649fa9e687acff3d6d to your computer and use it in GitHub Desktop.
Save mwhahaha/df649fa9e687acff3d6d to your computer and use it in GitHub Desktop.
yum exclude task
---
- hosts: all
sudo: yes
remote_user: root
tasks:
- name: "update all"
yum: name=* exclude=kernel state=latest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment