From 7b40f63a4da4696892e905372e3f175862d47006 Mon Sep 17 00:00:00 2001 From: AlejandroF Date: Wed, 28 Jan 2015 11:29:29 -0300 Subject: [PATCH] Example added How to define specific version of the package we need... --- packaging/os/yum.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/os/yum.py b/packaging/os/yum.py index 65d5b43b07c..744fc1179fe 100644 --- a/packaging/os/yum.py +++ b/packaging/os/yum.py @@ -122,6 +122,9 @@ EXAMPLES = ''' - name: install the latest version of Apache from the testing repo yum: name=httpd enablerepo=testing state=present +- name: install one specific version of Apache + yum: name=httpd-2.2.29-1.4.amzn1 state=present + - name: upgrade all packages yum: name=* state=latest