Initial commit
This commit is contained in:
@@ -0,0 +1,44 @@
|
||||
ANSIBLE_METADATA = {'metadata_version': '1.0',
|
||||
'status': ['stableinterface'],
|
||||
'supported_by': 'tower'}
|
||||
|
||||
|
||||
DOCUMENTATION = '''
|
||||
---
|
||||
module: insights
|
||||
short_description: gather all maintenance plan playbooks for an insights account
|
||||
description:
|
||||
- Supply insights Credentials to download all playbooks for all maintenance plans.
|
||||
The totality of the plans are versioned based on the http ETag response.
|
||||
version_added: "2.3"
|
||||
options:
|
||||
insights_url:
|
||||
description:
|
||||
- The base url of the insights api. Most likely https://insights.redhat.com
|
||||
required: true
|
||||
username:
|
||||
description:
|
||||
- Insights basic auth username.
|
||||
required: true
|
||||
password:
|
||||
description:
|
||||
- Insights basic auth password.
|
||||
required: true
|
||||
project_path:
|
||||
description:
|
||||
- Directory to write all playbooks and the special .version to.
|
||||
required: true
|
||||
|
||||
notes:
|
||||
- Returns version
|
||||
author:
|
||||
- "Chris Meyers"
|
||||
'''
|
||||
|
||||
EXAMPLES = '''
|
||||
- insights:
|
||||
insights_url: "https://insights.redhat.com"
|
||||
username: "cmoney"
|
||||
password: "get_paid"
|
||||
project_path: "/var/lib/awx/projects/_5_insights"
|
||||
'''
|
||||
@@ -0,0 +1,40 @@
|
||||
ANSIBLE_METADATA = {
|
||||
"metadata_version": "1.0",
|
||||
"status": ["stableinterface"],
|
||||
"supported_by": "community",
|
||||
}
|
||||
|
||||
|
||||
DOCUMENTATION = """
|
||||
---
|
||||
module: project_archive
|
||||
short_description: unpack a project archive
|
||||
description:
|
||||
- Unpacks an archive that contains a project, in order to support handling versioned
|
||||
artifacts from (for example) GitHub Releases or Artifactory builds.
|
||||
- Handles projects in the archive root, or in a single base directory of the archive.
|
||||
version_added: "2.9"
|
||||
options:
|
||||
src:
|
||||
description:
|
||||
- The source archive of the project artifact
|
||||
required: true
|
||||
project_path:
|
||||
description:
|
||||
- Directory to write the project archive contents
|
||||
required: true
|
||||
force:
|
||||
description:
|
||||
- Files in the project_path will be overwritten by matching files in the archive
|
||||
default: False
|
||||
|
||||
author:
|
||||
- "Philip Douglass" @philipsd6
|
||||
"""
|
||||
|
||||
EXAMPLES = """
|
||||
- project_archive:
|
||||
src: "{{ project_path }}/.archive/project.tar.gz"
|
||||
project_path: "{{ project_path }}"
|
||||
force: "{{ scm_clean }}"
|
||||
"""
|
||||
Reference in New Issue
Block a user