variables.yml - ansible-roles - A collection of ansible roles I have created over the years.
(HTM) git clone git://jay.scot/ansible-roles
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
variables.yml (652B)
---
1 ---
2 - name: Include OS-specific variables (Debian).
3 include_vars: "{{ ansible_distribution }}-{{ ansible_distribution_version.split('.')[0] }}.yml"
4 when: ansible_os_family == 'Debian'
5
6 - name: Include OS-specific variables (RedHat).
7 include_vars: "{{ ansible_os_family }}-{{ ansible_distribution_version.split('.')[0] }}.yml"
8 when:
9 - ansible_os_family == 'RedHat'
10
11 - name: Define searx_dependencies.
12 set_fact:
13 searx_dependencies: "{{ __searx_dependencies }}"
14 when: searx_dependencies is not defined
15
16 - name: Define nginx_vhost_path.
17 set_fact:
18 nginx_vhost_path: "{{ __nginx_vhost_path }}"
19 when: nginx_vhost_path is not defined