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