Fix deprecated includes
This commit is contained in:
parent
6705256abc
commit
cd66cef7ad
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,8 +23,8 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: pre.yaml
|
- ansible.builtin.include_tasks: pre.yaml
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
skeleton: /dev/null
|
skeleton: /dev/null
|
||||||
|
|
||||||
- name: "manage keys {{ item }}"
|
- name: "manage keys {{ item }}"
|
||||||
include: keys.yaml
|
ansible.builtin.include_tasks: keys.yaml
|
||||||
loop:
|
loop:
|
||||||
- id_dsa
|
- id_dsa
|
||||||
- id_ecdsa
|
- id_ecdsa
|
||||||
@ -33,7 +33,7 @@
|
|||||||
state: "{{ autossh_package_state }}"
|
state: "{{ autossh_package_state }}"
|
||||||
|
|
||||||
- name: manage keys "{{ item }}"
|
- name: manage keys "{{ item }}"
|
||||||
include: keys.yaml
|
ansible.builtin.include_tasks: keys.yaml
|
||||||
loop:
|
loop:
|
||||||
- id_dsa
|
- id_dsa
|
||||||
- id_ecdsa
|
- id_ecdsa
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,8 +23,8 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: pre.yaml
|
- ansible.builtin.include_tasks: pre.yaml
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -37,7 +37,7 @@
|
|||||||
mode: 0755
|
mode: 0755
|
||||||
|
|
||||||
- name: request certificates
|
- name: request certificates
|
||||||
include_tasks: "issue.yaml"
|
ansible.builtin.include_tasks: "issue.yaml"
|
||||||
loop: "{{ certbot_certificates }}"
|
loop: "{{ certbot_certificates }}"
|
||||||
|
|
||||||
- name: configure systemd timer
|
- name: configure systemd timer
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: gather OS specific variables
|
- name: gather OS specific variables
|
||||||
include_vars: "{{ item }}"
|
ansible.builtin.include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
- "{{ ansible_os_family }}.yaml"
|
- "{{ ansible_os_family }}.yaml"
|
||||||
|
@ -1,15 +1,27 @@
|
|||||||
---
|
---
|
||||||
- name: gather OS specific variables
|
- name: gather OS specific variables
|
||||||
include_vars: "{{ item }}"
|
ansible.builtin.include_vars: "{{ lookup('ansible.builtin.first_found', params) }}"
|
||||||
with_first_found:
|
vars:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
params:
|
||||||
- "{{ ansible_distribution }}.yaml"
|
files:
|
||||||
- "{{ ansible_os_family }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
- "{{ ansible_os_family }}.yaml"
|
||||||
|
- "default.yaml"
|
||||||
|
paths:
|
||||||
|
- vars
|
||||||
|
|
||||||
- name: run os specific tasks
|
- name: run os specific tasks
|
||||||
include: "{{ item }}"
|
ansible.builtin.include_tasks: "{{ lookup('ansible.builtin.first_found', params) }}"
|
||||||
with_first_found:
|
vars:
|
||||||
- "{{ ansible_os_family }}.yaml"
|
params:
|
||||||
|
files:
|
||||||
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
- "{{ ansible_os_family }}.yaml"
|
||||||
|
- "default.yaml"
|
||||||
|
paths:
|
||||||
|
- tasks
|
||||||
|
|
||||||
- name: set hostname
|
- name: set hostname
|
||||||
hostname:
|
hostname:
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -43,5 +43,5 @@
|
|||||||
state: "{{ consul_service_state | default('started') }}"
|
state: "{{ consul_service_state | default('started') }}"
|
||||||
enabled: "{{ consul_service_enabled | default(true) }}"
|
enabled: "{{ consul_service_enabled | default(true) }}"
|
||||||
|
|
||||||
- include: forward-unbound.yaml
|
- ansible.builtin.include_tasks: forward-unbound.yaml
|
||||||
when: consul_unbound_enabled
|
when: consul_unbound_enabled
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,6 +23,6 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: gather OS specific variables
|
- name: gather OS specific variables
|
||||||
include_vars: "{{ item }}"
|
ansible.builtin.include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,13 +23,13 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: pre.yaml
|
- ansible.builtin.include_tasks: pre.yaml
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
when:
|
when:
|
||||||
- gitea_version is version(gitea_local_version, '>')
|
- gitea_version is version(gitea_local_version, '>')
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
|
||||||
- include: nginx.yaml
|
- ansible.builtin.include_tasks: nginx.yaml
|
||||||
when: '"nginx" in ansible_play_role_names'
|
when: '"nginx" in ansible_play_role_names'
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather architecture specific variables
|
- name: gather architecture specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_userspace_architecture }}.yaml"
|
- "{{ ansible_userspace_architecture }}.yaml"
|
||||||
- "default.yaml"
|
- "default.yaml"
|
||||||
@ -21,9 +21,9 @@
|
|||||||
when: st.stat.exists is defined and st.stat.exists
|
when: st.stat.exists is defined and st.stat.exists
|
||||||
|
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,9 +23,9 @@
|
|||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- name: include os family specific tasks
|
- name: include os family specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_os_family }}.yaml"
|
- "{{ ansible_os_family }}.yaml"
|
||||||
- "default.yaml"
|
- "default.yaml"
|
||||||
@ -93,5 +93,5 @@
|
|||||||
enabled: "{{ grafana_service_enabled }}"
|
enabled: "{{ grafana_service_enabled }}"
|
||||||
|
|
||||||
- name: configure nginx
|
- name: configure nginx
|
||||||
include: nginx.yaml
|
ansible.builtin.include_tasks: nginx.yaml
|
||||||
when: "'nginx' in ansible_play_role_names"
|
when: "'nginx' in ansible_play_role_names"
|
||||||
|
@ -1,12 +1,24 @@
|
|||||||
---
|
---
|
||||||
- name: gather OS specific variables
|
- name: gather OS specific variables
|
||||||
include_vars: "{{ item }}"
|
ansible.builtin.include_vars: "{{ lookup('ansible.builtin.first_found', params) }}"
|
||||||
with_first_found:
|
vars:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
params:
|
||||||
- "{{ ansible_distribution }}.yaml"
|
files:
|
||||||
- "{{ ansible_os_family }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
- "{{ ansible_os_family }}.yaml"
|
||||||
|
- "default.yaml"
|
||||||
|
paths:
|
||||||
|
- vars
|
||||||
|
|
||||||
- name: run os specific tasks
|
- name: run os specific tasks
|
||||||
include: "{{ item }}"
|
ansible.builtin.include_tasks: "{{ lookup('ansible.builtin.first_found', params) }}"
|
||||||
with_first_found:
|
vars:
|
||||||
- "{{ ansible_os_family }}.yaml"
|
params:
|
||||||
|
files:
|
||||||
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
- "{{ ansible_os_family }}.yaml"
|
||||||
|
- "default.yaml"
|
||||||
|
paths:
|
||||||
|
- tasks
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,8 +23,8 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: pre.yaml
|
- ansible.builtin.include_tasks: pre.yaml
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,8 +23,8 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: pre.yaml
|
- ansible.builtin.include_tasks: pre.yaml
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,8 +23,8 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: pre.yaml
|
- ansible.builtin.include_tasks: pre.yaml
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,8 +23,8 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: pre.yaml
|
- ansible.builtin.include_tasks: pre.yaml
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
@ -1,12 +1,12 @@
|
|||||||
---
|
---
|
||||||
- name: gather OS distribution version specific variables
|
- name: gather OS distribution version specific variables
|
||||||
include_vars: "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
ansible.builtin.include_vars: "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
|
|
||||||
- name: gather OS distribution specific variables
|
- name: gather OS distribution specific variables
|
||||||
include_vars: "{{ ansible_distribution }}.yaml"
|
ansible.builtin.include_vars: "{{ ansible_distribution }}.yaml"
|
||||||
|
|
||||||
- name: gather OS family specific variables
|
- name: gather OS family specific variables
|
||||||
include_vars: "{{ ansible_os_family }}.yaml"
|
ansible.builtin.include_vars: "{{ ansible_os_family }}.yaml"
|
||||||
|
|
||||||
- name: manage mysql package
|
- name: manage mysql package
|
||||||
package:
|
package:
|
||||||
|
@ -1,10 +1,27 @@
|
|||||||
---
|
---
|
||||||
- name: gather OS specific variables
|
- name: gather OS specific variables
|
||||||
include_vars: "{{ item }}"
|
ansible.builtin.include_vars: "{{ lookup('ansible.builtin.first_found', params) }}"
|
||||||
with_first_found:
|
vars:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
params:
|
||||||
- "{{ ansible_distribution }}.yaml"
|
files:
|
||||||
- "{{ ansible_os_family }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
- "{{ ansible_os_family }}.yaml"
|
||||||
|
- "default.yaml"
|
||||||
|
paths:
|
||||||
|
- vars
|
||||||
|
|
||||||
|
- name: run os specific tasks
|
||||||
|
ansible.builtin.include_tasks: "{{ lookup('ansible.builtin.first_found', params) }}"
|
||||||
|
vars:
|
||||||
|
params:
|
||||||
|
files:
|
||||||
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
- "{{ ansible_os_family }}.yaml"
|
||||||
|
- "default.yaml"
|
||||||
|
paths:
|
||||||
|
- tasks
|
||||||
|
|
||||||
- name: systemd-networkd
|
- name: systemd-networkd
|
||||||
include: systemd-networkd.yml
|
include: systemd-networkd.yml
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -46,7 +46,7 @@
|
|||||||
notify: reload nginx
|
notify: reload nginx
|
||||||
|
|
||||||
- name: configure virtual hosts
|
- name: configure virtual hosts
|
||||||
include_tasks: vhost.yaml
|
ansible.builtin.include_tasks: vhost.yaml
|
||||||
loop: "{{ nginx_vhosts | dict2items }}"
|
loop: "{{ nginx_vhosts | dict2items }}"
|
||||||
|
|
||||||
- name: manage service
|
- name: manage service
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,10 +23,10 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: pre.yaml
|
- ansible.builtin.include_tasks: pre.yaml
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
when:
|
when:
|
||||||
- node_exporter_version is version(node_exporter_local_version, '>')
|
- node_exporter_version is version(node_exporter_local_version, '>')
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: gather OS specific variables
|
- name: gather OS specific variables
|
||||||
include_vars: "{{ item }}"
|
ansible.builtin.include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
- "{{ ansible_os_family }}.yaml"
|
- "{{ ansible_os_family }}.yaml"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -30,7 +30,7 @@
|
|||||||
|
|
||||||
|
|
||||||
- name: "manage instances {{ item }}"
|
- name: "manage instances {{ item }}"
|
||||||
include: instances.yaml
|
ansible.builtin.include_tasks: instances.yaml
|
||||||
loop: "{{ openvpn_config.keys() | list }}"
|
loop: "{{ openvpn_config.keys() | list }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: instance
|
loop_var: instance
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
- name: gather OS specific variables
|
- name: gather OS specific variables
|
||||||
include_vars: "{{ item }}"
|
ansible.builtin.include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,12 +23,11 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: pre.yaml
|
- ansible.builtin.include_tasks: pre.yaml
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
notify: restart prometheus
|
|
||||||
|
|
||||||
- include: nginx.yaml
|
- ansible.builtin.include_tasks: nginx.yaml
|
||||||
when: '"nginx" in ansible_play_role_names'
|
when: '"nginx" in ansible_play_role_names'
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,8 +23,8 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: pre.yaml
|
- ansible.builtin.include_tasks: pre.yaml
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,11 +23,11 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: pre.yaml
|
- ansible.builtin.include_tasks: pre.yaml
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
|
||||||
#- include: nginx.yaml
|
#- ansible.builtin.include_tasks: nginx.yaml
|
||||||
# when: '"nginx" in ansible_play_role_names'
|
# when: '"nginx" in ansible_play_role_names'
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -29,7 +29,7 @@
|
|||||||
state: "{{ rabbitmq_package_state }}"
|
state: "{{ rabbitmq_package_state }}"
|
||||||
|
|
||||||
- name: configure
|
- name: configure
|
||||||
include: configure.yaml
|
ansible.builtin.include_tasks: configure.yaml
|
||||||
|
|
||||||
- name: manage service
|
- name: manage service
|
||||||
service:
|
service:
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
---
|
---
|
||||||
- name: gather OS specific variables
|
- name: gather OS specific variables
|
||||||
include_vars: "{{ item }}"
|
ansible.builtin.include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
- "{{ ansible_os_family }}.yaml"
|
- "{{ ansible_os_family }}.yaml"
|
||||||
|
|
||||||
- name: OS specific tasks
|
- name: OS specific tasks
|
||||||
include: "{{ item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -86,9 +86,9 @@
|
|||||||
- restic-job.sh
|
- restic-job.sh
|
||||||
|
|
||||||
- name: manage repos
|
- name: manage repos
|
||||||
include: repo.yaml
|
ansible.builtin.include_tasks: repo.yaml
|
||||||
loop: "{{ restic_repos | default([]) }}"
|
loop: "{{ restic_repos | default([]) }}"
|
||||||
|
|
||||||
- name: manage jobs
|
- name: manage jobs
|
||||||
include: job.yaml
|
ansible.builtin.include_tasks: job.yaml
|
||||||
loop: "{{ restic_jobs | default([]) }}"
|
loop: "{{ restic_jobs | default([]) }}"
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
- name: gather OS specific variables
|
- name: gather OS specific variables
|
||||||
include_vars: "{{ item }}"
|
ansible.builtin.include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -21,7 +21,7 @@
|
|||||||
notify: restart rsyslog
|
notify: restart rsyslog
|
||||||
|
|
||||||
- name: configure archival format
|
- name: configure archival format
|
||||||
include: archival.yaml
|
ansible.builtin.include_tasks: archival.yaml
|
||||||
|
|
||||||
- name: configure default rules
|
- name: configure default rules
|
||||||
template:
|
template:
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
---
|
---
|
||||||
#- name: gather OS specific variables
|
#- name: gather OS specific variables
|
||||||
# include_vars: "{{ item }}"
|
# ansible.builtin.include_vars: "{{ item }}"
|
||||||
# with_first_found:
|
# with_first_found:
|
||||||
# - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
# - "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
# - "{{ ansible_distribution }}.yaml"
|
# - "{{ ansible_distribution }}.yaml"
|
||||||
# - "{{ ansible_os_family }}.yaml"
|
# - "{{ ansible_os_family }}.yaml"
|
||||||
|
|
||||||
- name: run os specific tasks
|
- name: run os specific tasks
|
||||||
include: "{{ item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ ansible_os_family }}.yaml"
|
- "{{ ansible_os_family }}.yaml"
|
||||||
|
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather architecture specific variables
|
- name: gather architecture specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_userspace_architecture }}.yaml"
|
- "{{ ansible_userspace_architecture }}.yaml"
|
||||||
- "default.yaml"
|
- "default.yaml"
|
||||||
@ -10,9 +10,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -22,9 +22,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -59,5 +59,5 @@
|
|||||||
notify: restart thanos query frontend
|
notify: restart thanos query frontend
|
||||||
|
|
||||||
- name: configure thanos components
|
- name: configure thanos components
|
||||||
include: configure-component.yaml
|
ansible.builtin.include_tasks: configure-component.yaml
|
||||||
loop: "{{ thanos_services }}"
|
loop: "{{ thanos_services }}"
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,8 +23,8 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: pre.yaml
|
- ansible.builtin.include_tasks: pre.yaml
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
|
|
||||||
- include: configure.yaml
|
- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
|
@ -1,17 +1,17 @@
|
|||||||
---
|
---
|
||||||
- name: gather OS specific variables
|
- name: gather OS specific variables
|
||||||
include_vars: "{{ item }}"
|
ansible.builtin.include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_major_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
- "{{ ansible_os_family }}.yaml"
|
- "{{ ansible_os_family }}.yaml"
|
||||||
|
|
||||||
- name: gather virtualization specific variables
|
- name: gather virtualization specific variables
|
||||||
include_vars: "{{ item }}"
|
ansible.builtin.include_vars: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
"{{ ansible_virtualization_type }}.yaml"
|
"{{ ansible_virtualization_type }}.yaml"
|
||||||
|
|
||||||
- name: run virtualization specific tasks
|
- name: run virtualization specific tasks
|
||||||
include: "{{ item }}"
|
ansible.builtin.include_tasks: "{{ item }}"
|
||||||
with_first_found:
|
with_first_found:
|
||||||
"{{ ansible_virtualization_type }}.yaml"
|
"{{ ansible_virtualization_type }}.yaml"
|
||||||
|
@ -1,8 +1,8 @@
|
|||||||
---
|
---
|
||||||
- name: gather os specific variables
|
- name: gather os specific variables
|
||||||
include_vars: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_vars: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -12,9 +12,9 @@
|
|||||||
- vars
|
- vars
|
||||||
|
|
||||||
- name: include os specific tasks
|
- name: include os specific tasks
|
||||||
include_tasks: "{{ lookup('first_found', possible_files) }}"
|
ansible.builtin.include_tasks: "{{ lookup('first_found', params) }}"
|
||||||
vars:
|
vars:
|
||||||
possible_files:
|
params:
|
||||||
files:
|
files:
|
||||||
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
- "{{ ansible_distribution }}-{{ ansible_distribution_version }}.yaml"
|
||||||
- "{{ ansible_distribution }}.yaml"
|
- "{{ ansible_distribution }}.yaml"
|
||||||
@ -23,11 +23,11 @@
|
|||||||
paths:
|
paths:
|
||||||
- tasks
|
- tasks
|
||||||
|
|
||||||
- include: install.yaml
|
- ansible.builtin.include_tasks: install.yaml
|
||||||
|
|
||||||
#- include: configure.yaml
|
#- ansible.builtin.include_tasks: configure.yaml
|
||||||
|
|
||||||
- include: configure-interface.yaml
|
- ansible.builtin.include_tasks: configure-interface.yaml
|
||||||
loop: "{{ wireguard_interfaces.keys() | list }}"
|
loop: "{{ wireguard_interfaces.keys() | list }}"
|
||||||
loop_control:
|
loop_control:
|
||||||
loop_var: _wireguard_interface
|
loop_var: _wireguard_interface
|
||||||
|
Loading…
Reference in New Issue
Block a user