Use PluginLoader for module docs fragments
This commit is contained in:
parent
681c5aea3a
commit
aaf766595b
11 changed files with 33 additions and 11 deletions
|
@ -14,6 +14,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# This is a DOCUMENTATION stub specific to this module, it extends
|
||||||
|
# a documentation fragment located in ansible.utils.module_docs_fragments
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: rax
|
module: rax
|
||||||
|
@ -129,7 +131,7 @@ options:
|
||||||
- how long before wait gives up, in seconds
|
- how long before wait gives up, in seconds
|
||||||
default: 300
|
default: 300
|
||||||
author: Jesse Keating, Matt Martz
|
author: Jesse Keating, Matt Martz
|
||||||
extends_documentation_fragment: RACKSPACE_AND_OPENSTACK
|
extends_documentation_fragment: rackspace.openstack
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# This is a DOCUMENTATION stub specific to this module, it extends
|
||||||
|
# a documentation fragment located in ansible.utils.module_docs_fragments
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: rax_clb
|
module: rax_clb
|
||||||
|
@ -102,7 +104,7 @@ options:
|
||||||
- how long before wait gives up, in seconds
|
- how long before wait gives up, in seconds
|
||||||
default: 300
|
default: 300
|
||||||
author: Christopher H. Laco, Matt Martz
|
author: Christopher H. Laco, Matt Martz
|
||||||
extends_documentation_fragment: RACKSPACE
|
extends_documentation_fragment: rackspace
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# This is a DOCUMENTATION stub specific to this module, it extends
|
||||||
|
# a documentation fragment located in ansible.utils.module_docs_fragments
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: rax_clb_nodes
|
module: rax_clb_nodes
|
||||||
|
@ -84,7 +86,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Weight of node
|
- Weight of node
|
||||||
author: Lukasz Kawczynski
|
author: Lukasz Kawczynski
|
||||||
extends_documentation_fragment: RACKSPACE
|
extends_documentation_fragment: rackspace
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# This is a DOCUMENTATION stub specific to this module, it extends
|
||||||
|
# a documentation fragment located in ansible.utils.module_docs_fragments
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: rax_dns
|
module: rax_dns
|
||||||
|
@ -43,7 +45,7 @@ options:
|
||||||
- Time to live of domain in seconds
|
- Time to live of domain in seconds
|
||||||
default: 3600
|
default: 3600
|
||||||
author: Matt Martz
|
author: Matt Martz
|
||||||
extends_documentation_fragment: RACKSPACE
|
extends_documentation_fragment: rackspace
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# This is a DOCUMENTATION stub specific to this module, it extends
|
||||||
|
# a documentation fragment located in ansible.utils.module_docs_fragments
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: rax_dns_record
|
module: rax_dns_record
|
||||||
|
@ -66,7 +68,7 @@ options:
|
||||||
- TXT
|
- TXT
|
||||||
default: A
|
default: A
|
||||||
author: Matt Martz
|
author: Matt Martz
|
||||||
extends_documentation_fragment: RACKSPACE
|
extends_documentation_fragment: rackspace
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# This is a DOCUMENTATION stub specific to this module, it extends
|
||||||
|
# a documentation fragment located in ansible.utils.module_docs_fragments
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: rax_facts
|
module: rax_facts
|
||||||
|
@ -34,7 +36,7 @@ options:
|
||||||
- Server name to retrieve facts for
|
- Server name to retrieve facts for
|
||||||
default: null
|
default: null
|
||||||
author: Matt Martz
|
author: Matt Martz
|
||||||
extends_documentation_fragment: RACKSPACE_AND_OPENSTACK
|
extends_documentation_fragment: rackspace.openstack
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# This is a DOCUMENTATION stub specific to this module, it extends
|
||||||
|
# a documentation fragment located in ansible.utils.module_docs_fragments
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: rax_files
|
module: rax_files
|
||||||
|
@ -75,7 +77,7 @@ options:
|
||||||
description:
|
description:
|
||||||
- Sets an object to be presented as the HTTP index page when accessed by the CDN URL
|
- Sets an object to be presented as the HTTP index page when accessed by the CDN URL
|
||||||
author: Paul Durivage
|
author: Paul Durivage
|
||||||
extends_documentation_fragment: RACKSPACE
|
extends_documentation_fragment: rackspace
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -17,6 +17,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# This is a DOCUMENTATION stub specific to this module, it extends
|
||||||
|
# a documentation fragment located in ansible.utils.module_docs_fragments
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: rax_files_objects
|
module: rax_files_objects
|
||||||
|
@ -91,7 +93,7 @@ options:
|
||||||
- meta
|
- meta
|
||||||
default: file
|
default: file
|
||||||
author: Paul Durivage
|
author: Paul Durivage
|
||||||
extends_documentation_fragment: RACKSPACE
|
extends_documentation_fragment: rackspace
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# This is a DOCUMENTATION stub specific to this module, it extends
|
||||||
|
# a documentation fragment located in ansible.utils.module_docs_fragments
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: rax_keypair
|
module: rax_keypair
|
||||||
|
@ -41,7 +43,7 @@ author: Matt Martz
|
||||||
notes:
|
notes:
|
||||||
- Keypairs cannot be manipulated, only created and deleted. To "update" a
|
- Keypairs cannot be manipulated, only created and deleted. To "update" a
|
||||||
keypair you must first delete and then recreate.
|
keypair you must first delete and then recreate.
|
||||||
extends_documentation_fragment: RACKSPACE_AND_OPENSTACK
|
extends_documentation_fragment: rackspace.openstack
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# This is a DOCUMENTATION stub specific to this module, it extends
|
||||||
|
# a documentation fragment located in ansible.utils.module_docs_fragments
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: rax_network
|
module: rax_network
|
||||||
|
@ -38,7 +40,7 @@ options:
|
||||||
- cidr of the network being created
|
- cidr of the network being created
|
||||||
default: null
|
default: null
|
||||||
author: Christopher H. Laco, Jesse Keating
|
author: Christopher H. Laco, Jesse Keating
|
||||||
extends_documentation_fragment: RACKSPACE_AND_OPENSTACK
|
extends_documentation_fragment: rackspace.openstack
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
|
@ -14,6 +14,8 @@
|
||||||
# You should have received a copy of the GNU General Public License
|
# You should have received a copy of the GNU General Public License
|
||||||
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
|
||||||
|
|
||||||
|
# This is a DOCUMENTATION stub specific to this module, it extends
|
||||||
|
# a documentation fragment located in ansible.utils.module_docs_fragments
|
||||||
DOCUMENTATION = '''
|
DOCUMENTATION = '''
|
||||||
---
|
---
|
||||||
module: rax_queue
|
module: rax_queue
|
||||||
|
@ -34,7 +36,7 @@ options:
|
||||||
- absent
|
- absent
|
||||||
default: present
|
default: present
|
||||||
author: Christopher H. Laco, Matt Martz
|
author: Christopher H. Laco, Matt Martz
|
||||||
extends_documentation_fragment: RACKSPACE
|
extends_documentation_fragment: rackspace
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
|
|
Loading…
Reference in a new issue