Last active
August 18, 2016 12:57
-
-
Save ChristopherDavenport/db841acbb7b2003bc53aa586839d9df5 to your computer and use it in GitHub Desktop.
Do different stuff with Yum
This file contains hidden or 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
- name: Install Something and Uninstall something else | |
yum: | |
name={{ item.name }} | |
state={{ item.state | default(present) }} | |
with_items: | |
- { name: 'program1', state: 'latest' } | |
- { name: 'program2'} | |
- { name: 'program3', state: 'absent' } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment