Commit edebadc3 by Alexander Bulimov Committed by Michael DeHaan

zabbix_maintenance examples fixes

parent 851efe04
...@@ -119,8 +119,18 @@ EXAMPLES = ''' ...@@ -119,8 +119,18 @@ EXAMPLES = '''
user=ansible user=ansible
passwd=pAsSwOrD 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" # Remove maintenance window named "Test1"
- zabbix_maintenance: name=Test1" - zabbix_maintenance: name=Test1
state=absent state=absent
server=https://monitoring.example.com server=https://monitoring.example.com
user=ansible user=ansible
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment