corrected package docs

(cherry picked from commit 43714a0091)
pull/32447/head
Brian Coca 8 years ago
parent f79cd6c846
commit 5398d653ca

@ -100,6 +100,8 @@ Ansible Changes By Release
https://github.com/ansible/ansible/pull/32276
* Correct options for luseradd in user module
https://github.com/ansible/ansible/pull/32262
* Clarified package docs on 'latest' state
https://github.com/ansible/ansible/pull/32397
<a id="2.4.1"></a>

@ -32,7 +32,7 @@ options:
required: true
state:
description:
- Whether to install (C(present), C(latest)), or remove (C(absent)) a package.
- Whether to install (C(present), or remove (C(absent)) a package. Other states depend on the underlying package module, i.e C(latest).
required: true
use:
description:
@ -47,10 +47,10 @@ notes:
- For Windows targets, use the M(win_package) module instead.
'''
EXAMPLES = '''
- name: install the latest version of ntpdate
- name: install ntpdate
package:
name: ntpdate
state: latest
state: present
# This uses a variable as this changes per distribution.
- name: remove the apache package

Loading…
Cancel
Save