mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Remove unused quotes (#19207)
This commit is contained in:
parent
4b9a65fd7c
commit
470d1e3aea
1 changed files with 13 additions and 16 deletions
|
@ -124,48 +124,45 @@ notes:
|
||||||
'''
|
'''
|
||||||
|
|
||||||
EXAMPLES = '''
|
EXAMPLES = '''
|
||||||
# Create maintenance window named "Update of www1"
|
- name: Create a named maintenance window for host www1 for 90 minutes
|
||||||
# for host www1.example.com for 90 minutes
|
zabbix_maintenance:
|
||||||
- zabbix_maintenance:
|
|
||||||
name: Update of www1
|
name: Update of www1
|
||||||
host_name: www1.example.com
|
host_name: www1.example.com
|
||||||
state: present
|
state: present
|
||||||
minutes: 90
|
minutes: 90
|
||||||
server_url: 'https://monitoring.example.com'
|
server_url: https://monitoring.example.com
|
||||||
login_user: ansible
|
login_user: ansible
|
||||||
login_password: pAsSwOrD
|
login_password: pAsSwOrD
|
||||||
|
|
||||||
# Create maintenance window named "Mass update"
|
- name: Create a named maintenance window for host www1 and host groups Office and Dev
|
||||||
# for host www1.example.com and host groups Office and Dev
|
zabbix_maintenance:
|
||||||
- zabbix_maintenance:
|
|
||||||
name: Update of www1
|
name: Update of www1
|
||||||
host_name: www1.example.com
|
host_name: www1.example.com
|
||||||
host_groups:
|
host_groups:
|
||||||
- Office
|
- Office
|
||||||
- Dev
|
- Dev
|
||||||
state: present
|
state: present
|
||||||
server_url: 'https://monitoring.example.com'
|
server_url: https://monitoring.example.com
|
||||||
login_user: ansible
|
login_user: ansible
|
||||||
login_password: pAsSwOrD
|
login_password: pAsSwOrD
|
||||||
|
|
||||||
# Create maintenance window named "update"
|
- name: Create a named maintenance window for hosts www1 and db1, without data collection.
|
||||||
# for hosts www1.example.com and db1.example.com and without data collection.
|
zabbix_maintenance:
|
||||||
- zabbix_maintenance:
|
|
||||||
name: update
|
name: update
|
||||||
host_names:
|
host_names:
|
||||||
- www1.example.com
|
- www1.example.com
|
||||||
- db1.example.com
|
- db1.example.com
|
||||||
state: present
|
state: present
|
||||||
collect_data: false
|
collect_data: False
|
||||||
server_url: 'https://monitoring.example.com'
|
server_url: https://monitoring.example.com
|
||||||
login_user: ansible
|
login_user: ansible
|
||||||
login_password: pAsSwOrD
|
login_password: pAsSwOrD
|
||||||
|
|
||||||
# Remove maintenance window named "Test1"
|
- name: Remove maintenance window by name
|
||||||
- zabbix_maintenance:
|
zabbix_maintenance:
|
||||||
name: Test1
|
name: Test1
|
||||||
state: absent
|
state: absent
|
||||||
server_url: 'https://monitoring.example.com'
|
server_url: https://monitoring.example.com
|
||||||
login_user: ansible
|
login_user: ansible
|
||||||
login_password: pAsSwOrD
|
login_password: pAsSwOrD
|
||||||
'''
|
'''
|
||||||
|
|
Loading…
Reference in a new issue