Remove various init.yml files - initialize systemd services, etc., statically (not at runtime)

This commit is contained in:
Slavi Pantaleev
2022-11-22 21:36:49 +02:00
parent 97ee2230a9
commit 0ea7cb5d18
118 changed files with 281 additions and 1212 deletions

View File

@ -1,9 +0,0 @@
---
- ansible.builtin.set_fact:
matrix_systemd_services_list: "{{ matrix_systemd_services_list + ['matrix-nginx-proxy.service'] }}"
when: matrix_nginx_proxy_enabled | bool
- ansible.builtin.set_fact:
matrix_systemd_services_list: "{{ matrix_systemd_services_list + [item.name] }}"
when: "item.applicable | bool and item.enableable | bool"
with_items: "{{ matrix_ssl_renewal_systemd_units_list }}"

View File

@ -1,7 +1,4 @@
---
- ansible.builtin.import_tasks: "{{ role_path }}/tasks/init.yml"
tags:
- always
# Always validating the configuration, even if `matrix_nginx_proxy: false`.
# This role performs actions even if the role is disabled, so we need