From 7b7428a31ee0f940f826dfb7e6c2c114209f96da Mon Sep 17 00:00:00 2001 From: Tim Bielawa Date: Fri, 20 Apr 2012 14:26:45 -0400 Subject: [PATCH] Fix yum example --- rst/modules.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rst/modules.rst b/rst/modules.rst index c0e74f878a7..22483c0129e 100644 --- a/rst/modules.rst +++ b/rst/modules.rst @@ -542,9 +542,9 @@ Will install, upgrade, remove, and list packages with the yum package manager. Example action from Ansible :doc:`playbooks`:: - yum pkg=httpd ensure=latest - yum pkg=httpd ensure=removed - yum pkg=httpd ensure=installed + yum pkg=httpd state=latest + yum pkg=httpd state=removed + yum pkg=httpd state=installed Writing your own modules