mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-10-05 16:04:09 -07:00
Fix Ansible documentation in part of example formatting. Part 2 (#333)
* Fix Ansible documentation in part of example formatting * fix * Revert osx_defaults.py
This commit is contained in:
parent
328319b926
commit
327832dcbb
30 changed files with 299 additions and 268 deletions
|
@ -61,33 +61,33 @@ options:
|
|||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
# Install a package from an already copied file
|
||||
- svr4pkg:
|
||||
- name: 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: Install a package directly from an http site
|
||||
svr4pkg:
|
||||
name: CSWpkgutil
|
||||
src: 'http://get.opencsw.org/now'
|
||||
state: present
|
||||
zone: current
|
||||
|
||||
# Install a package with a response file
|
||||
- svr4pkg:
|
||||
- name: Install a package with a response file
|
||||
svr4pkg:
|
||||
name: CSWggrep
|
||||
src: /tmp/third-party.pkg
|
||||
response_file: /tmp/ggrep.response
|
||||
state: present
|
||||
|
||||
# Ensure that a package is not installed.
|
||||
- svr4pkg:
|
||||
- name: Ensure that a package is not installed
|
||||
svr4pkg:
|
||||
name: SUNWgnome-sound-recorder
|
||||
state: absent
|
||||
|
||||
# Ensure that a category is not installed.
|
||||
- svr4pkg:
|
||||
- name: Ensure that a category is not installed
|
||||
svr4pkg:
|
||||
name: FIREFOX
|
||||
state: absent
|
||||
category: true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue