mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-04-22 18:31:25 -07:00
[PR #9393/84655b0d backport][stable-10] i[b-n]*.py: normalize docs (#9412)
i[b-n]*.py: normalize docs (#9393)
* i[b-n]*.py: normalize docs
* Update plugins/modules/ilo_redfish_command.py
Co-authored-by: Felix Fontein <felix@fontein.de>
---------
Co-authored-by: Felix Fontein <felix@fontein.de>
(cherry picked from commit 84655b0d0f
)
Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
This commit is contained in:
parent
0df708b15a
commit
05ba79c5fe
25 changed files with 1036 additions and 1100 deletions
|
@ -8,8 +8,7 @@ from __future__ import absolute_import, division, print_function
|
|||
__metaclass__ = type
|
||||
|
||||
|
||||
DOCUMENTATION = r'''
|
||||
---
|
||||
DOCUMENTATION = r"""
|
||||
module: influxdb_write
|
||||
short_description: Write data points into InfluxDB
|
||||
description:
|
||||
|
@ -37,34 +36,33 @@ options:
|
|||
extends_documentation_fragment:
|
||||
- community.general.influxdb
|
||||
- community.general.attributes
|
||||
"""
|
||||
|
||||
'''
|
||||
|
||||
EXAMPLES = r'''
|
||||
EXAMPLES = r"""
|
||||
- name: Write points into database
|
||||
community.general.influxdb_write:
|
||||
hostname: "{{influxdb_ip_address}}"
|
||||
database_name: "{{influxdb_database_name}}"
|
||||
data_points:
|
||||
- measurement: connections
|
||||
tags:
|
||||
host: server01
|
||||
region: us-west
|
||||
time: "{{ ansible_date_time.iso8601 }}"
|
||||
fields:
|
||||
value: 2000
|
||||
- measurement: connections
|
||||
tags:
|
||||
host: server02
|
||||
region: us-east
|
||||
time: "{{ ansible_date_time.iso8601 }}"
|
||||
fields:
|
||||
value: 3000
|
||||
'''
|
||||
hostname: "{{influxdb_ip_address}}"
|
||||
database_name: "{{influxdb_database_name}}"
|
||||
data_points:
|
||||
- measurement: connections
|
||||
tags:
|
||||
host: server01
|
||||
region: us-west
|
||||
time: "{{ ansible_date_time.iso8601 }}"
|
||||
fields:
|
||||
value: 2000
|
||||
- measurement: connections
|
||||
tags:
|
||||
host: server02
|
||||
region: us-east
|
||||
time: "{{ ansible_date_time.iso8601 }}"
|
||||
fields:
|
||||
value: 3000
|
||||
"""
|
||||
|
||||
RETURN = r'''
|
||||
RETURN = r"""
|
||||
# only defaults
|
||||
'''
|
||||
"""
|
||||
|
||||
from ansible.module_utils.basic import AnsibleModule
|
||||
from ansible.module_utils.common.text.converters import to_native
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue