Slavi Pantaleev преди 2 години
родител
ревизия
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" 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


+ 2
- 1
roles/custom/matrix-bot-honoroit/tasks/setup_install.yml Целия файл

@@ -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


Зареждане…
Отказ
Запис