meta: add own inventory, add vault-unlock with GPG

This commit is contained in:
2020-04-26 11:07:25 +02:00
committed by transcaffeine
parent 985740e89d
commit 6ccd014cef
13 changed files with 590 additions and 1 deletions

View File

@@ -104,6 +104,18 @@
when: "item.src is not none"
register: matrix_client_element_support_files_result
- name: Copy Element costum files
copy:
src: "{{ item.src }}"
dest: "{{ matrix_client_element_data_path }}/{{ item.name }}"
mode: 0644
owner: "{{ matrix_user_username }}"
group: "{{ matrix_user_groupname }}"
with_items:
- {src: "{{ role_path }}/files/background.jpg", name: "background.jpg"}
- {src: "{{ role_path }}/files/antifa_coffee_cups.png", name: "logo.png"}
when: "matrix_client_element_enabled|bool and item.src is not none"
- name: Ensure Element Web nginx.conf file is removed
ansible.builtin.file:
path: "{{ matrix_client_element_data_path }}/nginx.conf"