mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
zabbix_maintenance examples fixes
This commit is contained in:
parent
851efe0413
commit
edebadc305
1 changed files with 14 additions and 4 deletions
|
@ -119,8 +119,18 @@ EXAMPLES = '''
|
|||
user=ansible
|
||||
passwd=pAsSwOrD
|
||||
|
||||
# Create maintenance window named "update"
|
||||
# for host www1.example.com and without data collection.
|
||||
- zabbix_maintenance: name=update
|
||||
host=www1.example.com
|
||||
state=present
|
||||
collect_data=false
|
||||
server=https://monitoring.example.com
|
||||
user=ansible
|
||||
passwd=pAsSwOrD
|
||||
|
||||
# Remove maintenance window named "Test1"
|
||||
- zabbix_maintenance: name=Test1"
|
||||
- zabbix_maintenance: name=Test1
|
||||
state=absent
|
||||
server=https://monitoring.example.com
|
||||
user=ansible
|
||||
|
|
Loading…
Reference in a new issue