From 779c6cb7f8d35a884c0380a43e54e38da06d3564 Mon Sep 17 00:00:00 2001 From: George Yoshida Date: Wed, 25 Jun 2014 23:21:43 +0900 Subject: [PATCH] In the yum module example, use present/absent instead of installed/removed --- library/packaging/yum | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/library/packaging/yum b/library/packaging/yum index b547f14834..245d3b8020 100644 --- a/library/packaging/yum +++ b/library/packaging/yum @@ -107,10 +107,10 @@ EXAMPLES = ''' yum: name=httpd state=latest - name: remove the Apache package - yum: name=httpd state=removed + yum: name=httpd state=absent - name: install the latest version of Apache from the testing repo - yum: name=httpd enablerepo=testing state=installed + yum: name=httpd enablerepo=testing state=present - name: upgrade all packages yum: name=* state=latest