Move static files into files/ and Jinja2 templates into templates/ #169

Merged
samsapti merged 7 commits from move_stuff_around into main 2023-09-29 21:09:08 +00:00
14 changed files with 8 additions and 8 deletions
Showing only changes of commit 4e6f18311d - Show all commits

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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