mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-08-16 02:51:43 -07:00
DOCS: standardize on EXAMPLES (a.k.a. Docs-JumboPatch JetLag Edition)
Migrated all examples: in DOCUMENTATION=''' string to standalone EXAMPLES=''' string Added deprecation warning to moduledev.rst and remove deprecated example from it Fixed up a few typos and uppercased some acronyms. add consistency to how EXAMPLES are formatted
This commit is contained in:
parent
39aa5e5eac
commit
5c69918d53
88 changed files with 914 additions and 628 deletions
|
@ -53,15 +53,20 @@ options:
|
|||
proxy:
|
||||
description:
|
||||
- HTTP[s] proxy to be used if C(src) is a URL.
|
||||
|
||||
examples:
|
||||
- code: svr4pkg name=CSWcommon src=/tmp/cswpkgs.pkg state=present
|
||||
description: Install a package from an already copied file
|
||||
- code: 'svr4pkg name=CSWpkgutil src=http://get.opencsw.org/now state=present'
|
||||
description: Install a package directly from an http site
|
||||
- code: svr4pkg name=SUNWgnome-sound-recorder state=absent
|
||||
description: Ensure that a package is not installed.
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# Install a package from an already copied file
|
||||
- svr4pkg: name=CSWcommon src=/tmp/cswpkgs.pkg state=present
|
||||
|
||||
# Install a package directly from an http site
|
||||
- svr4pkg: name=CSWpkgutil src=http://get.opencsw.org/now state=present
|
||||
|
||||
# Ensure that a package is not installed.
|
||||
- svr4pkg: name=SUNWgnome-sound-recorder state=absent
|
||||
'''
|
||||
|
||||
|
||||
import os
|
||||
import tempfile
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue