Skip to content

Commit

Permalink
Overwrite apple-app-site-association for myconext
Browse files Browse the repository at this point in the history
  • Loading branch information
phavekes committed Nov 29, 2024
1 parent a2f05f3 commit 6cfc49e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions roles/myconext/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@
notify:
- "restart myconextserver"

- name: Copy apple-app-site-association from inventory
ansible.builtin.copy:
src: "{{ inventory_dir }}/files/myconext/apple-app-site-association"
dest: "/opt/openconext/myconext/apple-app-site-association"
owner: "root"
group: "root"
mode: "0640"

- name: Copy / create APNS certificate
ansible.builtin.copy:
content: "{{ myconext_apns }}"
Expand Down Expand Up @@ -153,6 +161,9 @@
- source: /opt/openconext/common/favicon.ico
target: /var/www/favicon.ico
type: bind
- source: /opt/openconext/myconext/apple-app-site-association
target: /var/www/.well-known/apple-app-site-association
type: bind
env:
HTTPD_CSP: "{{ httpd_csp.lenient_with_static_img }}"
HTTPD_SERVERNAME: "mijn.{{ myconext_base_domain }}"
Expand Down

0 comments on commit 6cfc49e

Please sign in to comment.