From cf4ac3b6b2c156820eb3cd1d7c210c60e4c354e0 Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Mon, 12 Mar 2012 19:23:58 -0400 Subject: [PATCH] Add yum latest to docs and examples --- rst/modules.rst | 2 +- rst/playbooks.rst | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/rst/modules.rst b/rst/modules.rst index 70de65ca44..f19f6249df 100644 --- a/rst/modules.rst +++ b/rst/modules.rst @@ -200,7 +200,7 @@ Will install, upgrade, remove, and list packages with the yum package manager. *state*: -* Can be either 'installed' or 'removed' +* Can be either 'installed', 'latest', or 'removed' *list*: diff --git a/rst/playbooks.rst b/rst/playbooks.rst index dbbc27db84..f1523ad095 100644 --- a/rst/playbooks.rst +++ b/rst/playbooks.rst @@ -42,8 +42,8 @@ server group, then more commands back on the webservers group, etc:: user: root tasks: - include: base.yml somevar=3 othervar=4 - - name: ensure apache is installed - action: yum pkg=httpd state=installed + - name: ensure apache is at the latest version + action: yum pkg=httpd state=latest - name: write the apache config file action: template src=/srv/httpd.j2 dest=/etc/httpd.conf notify: