Use subfolders for templates as well

This commit is contained in:
Sam A. 2023-08-05 19:35:55 +02:00
parent f9946e72ca
commit 4e6f18311d
Signed by untrusted user: samsapti
GPG key ID: CBBBE7371E81C4EA
14 changed files with 8 additions and 8 deletions

View file

@ -7,7 +7,7 @@
- name: Create env file
template:
src: byro.env.j2
src: byro/env.j2
dest: "{{ services.byro.volume_folder }}/env"
- name: Deploy entrypoint file

View file

@ -25,7 +25,7 @@
- name: upload mailu.env file
template:
src: mailu.env.j2
src: mailu/env.j2
dest: "{{ services.mailu.volume_folder }}/mailu.env"
- name: hard link to Let's Encrypt TLS certificate

View file

@ -31,7 +31,7 @@
- name: Copy mastodon environment file
template:
src: mastodon.env.j2
src: mastodon/env.j2
dest: "{{ services.mastodon.volume_folder }}/env_file"
- name: Upload vhost config for root domain

View file

@ -29,7 +29,7 @@
- name: Upload Element config.json
template:
src: element.config.json.j2
src: element/config.json.j2
dest: "{{ services.element.volume_folder }}/data/config.json"
- name: Upload Element riot.im.conf
@ -50,7 +50,7 @@
- name: Upload homeserver.yaml
template:
src: matrix.homeserver.yaml.j2
src: matrix/homeserver.yaml.j2
dest: "{{ services.matrix.volume_folder }}/data/homeserver.yaml"
- name: upload matrix logging config

View file

@ -7,7 +7,7 @@
- name: Copy Rallly environment file
template:
src: rallly.env.j2
src: rallly/env.j2
dest: "{{ services.rallly.volume_folder }}/env_file"
- name: Set up Rallly

View file

@ -33,7 +33,7 @@
- name: Create SSH config
template:
src: restic.ssh.config.j2
src: restic/ssh.config.j2
dest: "{{ services.restic.volume_folder }}/ssh/config"
owner: root
group: root
@ -41,7 +41,7 @@
- name: Create SSH known_hosts file
template:
src: restic.ssh.known_hosts.j2
src: restic/ssh.known_hosts.j2
dest: "{{ services.restic.volume_folder }}/ssh/known_hosts"
owner: root
group: root