mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-24 11:21:25 -07:00
[ab]*.py: normalize docs (#9421)
* [ab]*.py: normalize docs * Update plugins/modules/atomic_image.py Co-authored-by: Felix Fontein <felix@fontein.de> --------- Co-authored-by: Felix Fontein <felix@fontein.de>
This commit is contained in:
parent
43599c6850
commit
2a2a9661d9
36 changed files with 1931 additions and 2013 deletions
|
@ -9,12 +9,11 @@ from __future__ import absolute_import, division, print_function
|
|||
__metaclass__ = type
|
||||
|
||||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
DOCUMENTATION = r"""
|
||||
module: bower
|
||||
short_description: Manage bower packages with bower
|
||||
short_description: Manage bower packages with C(bower)
|
||||
description:
|
||||
- Manage bower packages with bower
|
||||
- Manage bower packages with C(bower).
|
||||
author: "Michael Warkentin (@mwarkentin)"
|
||||
extends_documentation_fragment:
|
||||
- community.general.attributes
|
||||
|
@ -27,39 +26,39 @@ options:
|
|||
name:
|
||||
type: str
|
||||
description:
|
||||
- The name of a bower package to install
|
||||
- The name of a bower package to install.
|
||||
offline:
|
||||
description:
|
||||
- Install packages from local cache, if the packages were installed before
|
||||
- Install packages from local cache, if the packages were installed before.
|
||||
type: bool
|
||||
default: false
|
||||
production:
|
||||
description:
|
||||
- Install with --production flag
|
||||
- Install with C(--production) flag.
|
||||
type: bool
|
||||
default: false
|
||||
path:
|
||||
type: path
|
||||
description:
|
||||
- The base path where to install the bower packages
|
||||
- The base path where to install the bower packages.
|
||||
required: true
|
||||
relative_execpath:
|
||||
type: path
|
||||
description:
|
||||
- Relative path to bower executable from install path
|
||||
- Relative path to bower executable from install path.
|
||||
state:
|
||||
type: str
|
||||
description:
|
||||
- The state of the bower package
|
||||
- The state of the bower package.
|
||||
default: present
|
||||
choices: [ "present", "absent", "latest" ]
|
||||
choices: ["present", "absent", "latest"]
|
||||
version:
|
||||
type: str
|
||||
description:
|
||||
- The version to be installed
|
||||
'''
|
||||
- The version to be installed.
|
||||
"""
|
||||
|
||||
EXAMPLES = '''
|
||||
EXAMPLES = r"""
|
||||
- name: Install "bootstrap" bower package.
|
||||
community.general.bower:
|
||||
name: bootstrap
|
||||
|
@ -91,7 +90,8 @@ EXAMPLES = '''
|
|||
- community.general.bower:
|
||||
path: /app/location
|
||||
relative_execpath: node_modules/.bin
|
||||
'''
|
||||
"""
|
||||
|
||||
import json
|
||||
import os
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue