瀏覽代碼

Ensure matrix_appservice_irc_docker_src_files_path created when self-building

The git module will create it anyway, but that would likely use `root:root`.
pull/810/head
Slavi Pantaleev 5 年之前
committed by GitHub
父節點
當前提交
3051655d21
沒有發現已知的金鑰在資料庫的簽署中 GPG Key ID: 4AEE18F83AFDEB23
共有 1 個文件被更改,包括 6 次插入4 次删除
  1. +6
    -4
      roles/matrix-bridge-appservice-irc/tasks/setup_install.yml

+ 6
- 4
roles/matrix-bridge-appservice-irc/tasks/setup_install.yml 查看文件

@@ -2,15 +2,17 @@

- name: Ensure Appservice IRC paths exist
file:
path: "{{ item }}"
path: "{{ item.path }}"
state: directory
mode: 0750
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
with_items:
- "{{ matrix_appservice_irc_base_path }}"
- "{{ matrix_appservice_irc_config_path }}"
- "{{ matrix_appservice_irc_data_path }}"
- { path: "{{ matrix_appservice_irc_base_path }}", when: true }
- { path: "{{ matrix_appservice_irc_config_path }}", when: true }
- { path: "{{ matrix_appservice_irc_data_path }}", when: true }
- { path: "{{ matrix_appservice_irc_docker_src_files_path }}", when: "{{ matrix_appservice_irc_container_self_build }}" }
when: item.when|bool

- name: Check if an old passkey file already exists
stat:


Loading…
取消
儲存