mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
library/apt: consistently use underscores in examples.
To be consistent with the table showing available options, use underscores in the example tasks, not hyphens, as the table doesn't list hyphenated versions of option names, so it looks like the examples could have typos in them.
This commit is contained in:
parent
b0ab81b237
commit
811c711328
1 changed files with 3 additions and 3 deletions
|
@ -70,7 +70,7 @@ options:
|
|||
author: Matthew Williams
|
||||
notes: []
|
||||
examples:
|
||||
- code: "apt: pkg=foo update-cache=yes"
|
||||
- code: "apt: pkg=foo update_cache=yes"
|
||||
description: Update repositories cache and install C(foo) package
|
||||
- code: "apt: pkg=foo state=removed"
|
||||
description: Remove C(foo) package
|
||||
|
@ -78,9 +78,9 @@ examples:
|
|||
description: Install the package C(foo)
|
||||
- code: "apt: pkg=foo=1.00 state=installed"
|
||||
description: Install the version '1.00' of package C(foo)
|
||||
- code: "apt: pkg=nginx state=latest default-release=squeeze-backports update-cache=yes"
|
||||
- code: "apt: pkg=nginx state=latest default_release=squeeze-backports update_cache=yes"
|
||||
description: Update the repository cache and update package C(ngnix) to latest version using default release C(squeeze-backport)
|
||||
- code: "apt: pkg=openjdk-6-jdk state=latest install-recommends=no"
|
||||
- code: "apt: pkg=openjdk-6-jdk state=latest install_recommends=no"
|
||||
description: Install latest version of C(openjdk-6-jdk) ignoring C(install-reccomends)
|
||||
'''
|
||||
|
||||
|
|
Loading…
Reference in a new issue