28 lines
1.0 KiB
YAML
Raw Normal View History

2021-12-01 19:13:34 +01:00
---
2024-09-04 10:00:14 +02:00
- include_vars: "{{ item }}"
with_first_found:
- "{{ role_path }}/vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml"
- "{{ role_path }}/vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml"
- "{{ role_path }}/vars/{{ ansible_distribution }}.yml"
- "{{ role_path }}/vars/{{ ansible_os_family }}.yml"
2021-12-01 19:13:34 +01:00
tags: zabbix
2024-09-04 10:00:14 +02:00
# Create a random app secret if needed
- block:
- import_tasks: ../includes/get_rand_pass.yml
vars:
- pass_file: "/etc/zabbix/ansible_db_pass"
- set_fact: zabbix_server_db_pass={{ rand_pass }}
2021-12-01 19:13:34 +01:00
when: zabbix_server_db_pass is not defined
tags: zabbix
2024-03-21 11:01:04 +01:00
- include_vars: "{{ item }}"
with_first_found:
- ../httpd_php/vars/{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yml
- ../httpd_php/vars/{{ ansible_os_family }}-{{ ansible_distribution_major_version }}.yml
- ../httpd_php/vars/{{ ansible_distribution }}.yml
- ../httpd_php/vars/{{ ansible_os_family }}.yml
- ../httpd_php/vars/defaults.yml
tags: zabbix