blob: 2f1d003ffa0fe8f2c7857936567013a83880bb75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/usr/bin/ansible-playbook
---
- hosts: localhost
gather_facts: no
connection: local
become: no
vars:
g_server: http://localhost/zabbix/api_jsonrpc.php
g_user: Admin
g_password: zabbix
g_zbx_scriptrunner_user: scriptrunner
g_zbx_scriptrunner_bastion_host: specialhost.example.com
roles:
- role: os_zabbix
ozb_server: "{{ g_server }}"
ozb_user: "{{ g_user }}"
ozb_password: "{{ g_password }}"
ozb_scriptrunner_user: "{{ g_zbx_scriptrunner_user }}"
ozb_scriptrunner_bastion_host: "{{ g_zbx_scriptrunner_bastion_host }}"
|