Fix ansible-lint-reported errors

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2654
This commit is contained in:
Slavi Pantaleev 2023-04-21 15:22:03 +03:00
parent 5489f8d832
commit 15884b64c8
2 changed files with 4 additions and 2 deletions

View File

@ -41,7 +41,7 @@
when: "item.when | bool" when: "item.when | bool"
- name: Determine basicauth filename - name: Determine basicauth filename
set_fact: ansible.builtin.set_fact:
matrix_bot_buscarron_basicauth_file_tmp: "{{ matrix_bot_buscarron_basicauth_file }}_{{ inventory_hostname }}" matrix_bot_buscarron_basicauth_file_tmp: "{{ matrix_bot_buscarron_basicauth_file }}_{{ inventory_hostname }}"
when: matrix_bot_buscarron_basicauth_enabled | bool when: matrix_bot_buscarron_basicauth_enabled | bool
@ -50,6 +50,7 @@
path: "{{ matrix_bot_buscarron_basicauth_file }}" path: "{{ matrix_bot_buscarron_basicauth_file }}"
name: "{{ matrix_bot_buscarron_basicauth_user }}" name: "{{ matrix_bot_buscarron_basicauth_user }}"
password: "{{ matrix_bot_buscarron_basicauth_password }}" password: "{{ matrix_bot_buscarron_basicauth_password }}"
mode: 0640
become: false become: false
delegate_to: 127.0.0.1 delegate_to: 127.0.0.1
when: matrix_bot_buscarron_basicauth_enabled | bool when: matrix_bot_buscarron_basicauth_enabled | bool

View File

@ -41,7 +41,7 @@
when: "item.when | bool" when: "item.when | bool"
- name: Determine basicauth filename - name: Determine basicauth filename
set_fact: ansible.builtin.set_fact:
matrix_bot_honoroit_basicauth_file_tmp: "{{ matrix_bot_honoroit_basicauth_file }}_{{ inventory_hostname }}" matrix_bot_honoroit_basicauth_file_tmp: "{{ matrix_bot_honoroit_basicauth_file }}_{{ inventory_hostname }}"
when: matrix_bot_honoroit_basicauth_enabled | bool when: matrix_bot_honoroit_basicauth_enabled | bool
@ -50,6 +50,7 @@
path: "{{ matrix_bot_honoroit_basicauth_file }}" path: "{{ matrix_bot_honoroit_basicauth_file }}"
name: "{{ matrix_bot_honoroit_basicauth_user }}" name: "{{ matrix_bot_honoroit_basicauth_user }}"
password: "{{ matrix_bot_honoroit_basicauth_password }}" password: "{{ matrix_bot_honoroit_basicauth_password }}"
mode: 0640
become: false become: false
delegate_to: 127.0.0.1 delegate_to: 127.0.0.1
when: matrix_bot_honoroit_basicauth_enabled | bool when: matrix_bot_honoroit_basicauth_enabled | bool