33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
---
|
|
# ── SSH connection ─────────────────────────────────────────────────────────────
|
|
ansible_user: "{{ lookup('env', 'ANSIBLE_SSH_USER') | mandatory }}"
|
|
ansible_password: "{{ lookup('env', 'ANSIBLE_SSH_PASS') | mandatory }}"
|
|
ansible_become: true
|
|
ansible_become_method: sudo
|
|
ansible_become_pass: "{{ lookup('env', 'ANSIBLE_BECOME_PASS') | default(lookup('env', 'ANSIBLE_SSH_PASS'), true) }}"
|
|
|
|
ansible_ssh_common_args: "-o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null"
|
|
|
|
# Zabbix Agent2
|
|
agent_major_version: "7.0"
|
|
agent_variant: "2"
|
|
agent_param_server:
|
|
- 10.203.0.50
|
|
agent_param_serveractive:
|
|
- 10.203.0.50
|
|
agent_param_listenport: 10050
|
|
# agent_2_plugin_list: ['named'] # set in inventory vars
|
|
agent_param_tlsconnect: unencrypted
|
|
agent_param_tlsaccept:
|
|
- unencrypted
|
|
|
|
# Chrony NTP Client settings
|
|
chrony_log_enable: true
|
|
chrony_log: measurements statistics tracking
|
|
chrony_logdir: /var/log/chrony/
|
|
chrony_ntp_servers:
|
|
- 10.203.2.11
|
|
- 10.203.2.12
|
|
chrony_rtcsync: true
|
|
chrony_timezone: Europe/Moscow
|