Skip to content

Commit

Permalink
corrected package docs
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoca committed Oct 31, 2017
1 parent 710d1f0 commit 43714a0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/ansible/modules/packaging/os/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
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:
Expand All @@ -47,10 +47,10 @@
- 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
Expand Down

0 comments on commit 43714a0

Please sign in to comment.