Fix ansible-lint errors
This commit is contained in:
parent
04f224e634
commit
1aff2ca247
@ -69,14 +69,14 @@
|
|||||||
when: "not matrix_nginx_proxy_proxy_dendrite_enabled | bool"
|
when: "not matrix_nginx_proxy_proxy_dendrite_enabled | bool"
|
||||||
|
|
||||||
- name: Ensure Matrix nginx-proxy configuration for matrix-conduit exists
|
- name: Ensure Matrix nginx-proxy configuration for matrix-conduit exists
|
||||||
template:
|
ansible.builtin.template:
|
||||||
src: "{{ role_path }}/templates/nginx/conf.d/matrix-conduit.conf.j2"
|
src: "{{ role_path }}/templates/nginx/conf.d/matrix-conduit.conf.j2"
|
||||||
dest: "{{ matrix_nginx_proxy_confd_path }}/matrix-conduit.conf"
|
dest: "{{ matrix_nginx_proxy_confd_path }}/matrix-conduit.conf"
|
||||||
mode: 0644
|
mode: 0644
|
||||||
when: matrix_nginx_proxy_proxy_conduit_enabled | bool
|
when: matrix_nginx_proxy_proxy_conduit_enabled | bool
|
||||||
|
|
||||||
- name: Ensure Matrix nginx-proxy configuration for matrix-conduit deleted
|
- name: Ensure Matrix nginx-proxy configuration for matrix-conduit deleted
|
||||||
file:
|
ansible.builtin.file:
|
||||||
path: "{{ matrix_nginx_proxy_confd_path }}/matrix-conduit.conf"
|
path: "{{ matrix_nginx_proxy_confd_path }}/matrix-conduit.conf"
|
||||||
state: absent
|
state: absent
|
||||||
when: "not matrix_nginx_proxy_proxy_conduit_enabled | bool"
|
when: "not matrix_nginx_proxy_proxy_conduit_enabled | bool"
|
||||||
|
Loading…
Reference in New Issue
Block a user