Przeglądaj źródła

Merge branch 'cactus-comments' of https://github.com/moan0s/matrix-docker-ansible-deploy into cactus-comments

pull/2089/head
Julian-Samuel Gebühr 3 lat temu
rodzic
commit
d3eca47388
2 zmienionych plików z 3 dodań i 3 usunięć
  1. +1
    -1
      roles/matrix-cactus-comments/tasks/setup_install.yml
  2. +2
    -2
      roles/matrix-cactus-comments/templates/cactus_appservice.yaml.j2

+ 1
- 1
roles/matrix-cactus-comments/tasks/setup_install.yml Wyświetl plik

@@ -10,7 +10,7 @@
with_items: with_items:
- {path: "{{ matrix_cactus_comments_base_path }}", when: true} - {path: "{{ matrix_cactus_comments_base_path }}", when: true}
- {path: "{{ matrix_cactus_comments_container_tmp_path }}", when: true} - {path: "{{ matrix_cactus_comments_container_tmp_path }}", when: true}
- {path: "{{ matrix_cactus_comments_docker_src_files_path }}", when: true}
- {path: "{{ matrix_cactus_comments_docker_src_files_path }}", when: matrix_cactus_comments_container_image_self_build}
when: "item.when | bool" when: "item.when | bool"


- name: Ensure cactus comments environment file created - name: Ensure cactus comments environment file created


+ 2
- 2
roles/matrix-cactus-comments/templates/cactus_appservice.yaml.j2 Wyświetl plik

@@ -7,8 +7,8 @@ url: "http://matrix-cactus-comments:{{ matrix_cactus_comments_container_port }}"
# Unique tokens used to authenticate requests between our service and the # Unique tokens used to authenticate requests between our service and the
# homeserver (and the other way). Use the sha256 hashes of something random. # homeserver (and the other way). Use the sha256 hashes of something random.
# CHANGE THESE VALUES. # CHANGE THESE VALUES.
as_token: "{{ matrix_cactus_comments_as_token }}"
hs_token: "{{ matrix_cactus_comments_hs_token }}"
as_token: {{ matrix_cactus_comments_as_token | to_json }}
hs_token: {{ matrix_cactus_comments_hs_token | to_json }}


# User associated with our service. In this case "@cactusbot:example.com" # User associated with our service. In this case "@cactusbot:example.com"
sender_localpart: "{{ matrix_cactus_comments_user_id }}" sender_localpart: "{{ matrix_cactus_comments_user_id }}"


Ładowanie…
Anuluj
Zapisz