瀏覽代碼

Fix ansible-lint-reported errors

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2654
pull/2655/head
Slavi Pantaleev 3 年之前
父節點
當前提交
15884b64c8
共有 2 個檔案被更改,包括 4 行新增2 行删除
  1. +2
    -1
      roles/custom/matrix-bot-buscarron/tasks/setup_install.yml
  2. +2
    -1
      roles/custom/matrix-bot-honoroit/tasks/setup_install.yml

+ 2
- 1
roles/custom/matrix-bot-buscarron/tasks/setup_install.yml 查看文件

@@ -41,7 +41,7 @@
when: "item.when | bool"

- name: Determine basicauth filename
set_fact:
ansible.builtin.set_fact:
matrix_bot_buscarron_basicauth_file_tmp: "{{ matrix_bot_buscarron_basicauth_file }}_{{ inventory_hostname }}"
when: matrix_bot_buscarron_basicauth_enabled | bool

@@ -50,6 +50,7 @@
path: "{{ matrix_bot_buscarron_basicauth_file }}"
name: "{{ matrix_bot_buscarron_basicauth_user }}"
password: "{{ matrix_bot_buscarron_basicauth_password }}"
mode: 0640
become: false
delegate_to: 127.0.0.1
when: matrix_bot_buscarron_basicauth_enabled | bool


+ 2
- 1
roles/custom/matrix-bot-honoroit/tasks/setup_install.yml 查看文件

@@ -41,7 +41,7 @@
when: "item.when | bool"

- name: Determine basicauth filename
set_fact:
ansible.builtin.set_fact:
matrix_bot_honoroit_basicauth_file_tmp: "{{ matrix_bot_honoroit_basicauth_file }}_{{ inventory_hostname }}"
when: matrix_bot_honoroit_basicauth_enabled | bool

@@ -50,6 +50,7 @@
path: "{{ matrix_bot_honoroit_basicauth_file }}"
name: "{{ matrix_bot_honoroit_basicauth_user }}"
password: "{{ matrix_bot_honoroit_basicauth_password }}"
mode: 0640
become: false
delegate_to: 127.0.0.1
when: matrix_bot_honoroit_basicauth_enabled | bool


Loading…
取消
儲存