Created
January 29, 2015 04:10
-
-
Save mwhahaha/df649fa9e687acff3d6d to your computer and use it in GitHub Desktop.
yum exclude task
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
- 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