|
|
@ -1,6 +1,6 @@
|
|
|
|
#!/usr/bin/python
|
|
|
|
#!/usr/bin/python
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
# -*- coding: utf-8 -*-
|
|
|
|
|
|
|
|
#
|
|
|
|
# (c) 2013-2014, Epic Games, Inc.
|
|
|
|
# (c) 2013-2014, Epic Games, Inc.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# This file is part of Ansible
|
|
|
|
# This file is part of Ansible
|
|
|
@ -17,7 +17,7 @@
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# 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/>.
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
DOCUMENTATION = '''
|
|
|
|
---
|
|
|
|
---
|
|
|
@ -27,9 +27,13 @@ description:
|
|
|
|
- Create host groups if they don't exist.
|
|
|
|
- Create host groups if they don't exist.
|
|
|
|
- Delete existing host groups if they exist.
|
|
|
|
- Delete existing host groups if they exist.
|
|
|
|
version_added: "1.9"
|
|
|
|
version_added: "1.9"
|
|
|
|
author: Tony Minfei Ding, Harrison Gu
|
|
|
|
author:
|
|
|
|
|
|
|
|
- "(@cove)"
|
|
|
|
|
|
|
|
- "Tony Minfei Ding"
|
|
|
|
|
|
|
|
- "Harrison Gu (@harrisongu)"
|
|
|
|
requirements:
|
|
|
|
requirements:
|
|
|
|
- zabbix-api python module
|
|
|
|
- "python >= 2.6"
|
|
|
|
|
|
|
|
- zabbix-api
|
|
|
|
options:
|
|
|
|
options:
|
|
|
|
server_url:
|
|
|
|
server_url:
|
|
|
|
description:
|
|
|
|
description:
|
|
|
|