mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-04-16 18:23:40 +02:00
20 lines
672 B
YAML
20 lines
672 B
YAML
---
|
|
|
|
- import_tasks: ../includes/get_rand_pass.yml
|
|
vars:
|
|
- pass_file: /etc/zabbix/ansible_db_pass
|
|
when: zabbix_server_db_pass is not defined
|
|
tags: zabbix
|
|
- set_fact: zabbix_server_db_pass={{ rand_pass }}
|
|
when: zabbix_server_db_pass is not defined
|
|
tags: zabbix
|
|
|
|
- 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
|