Move Jinja2 template files into templates directory #137

Closed
samsapti wants to merge 9 commits from move_templates into main
10 changed files with 6 additions and 6 deletions
Showing only changes of commit 6c529bed31 - Show all commits

View file

@ -19,7 +19,7 @@
- name: Upload vhost config for root domain - name: Upload vhost config for root domain
copy: copy:
src: configs/mastodon/vhost-mastodon src: configs/vhost/mastodon
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.mastodon.domain }}" dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.mastodon.domain }}"
- name: Copy PostgreSQL config - name: Copy PostgreSQL config

View file

@ -38,17 +38,17 @@
- name: upload vhost config for root domain - name: upload vhost config for root domain
copy: copy:
src: configs/matrix/vhost-root src: configs/vhost/root
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ base_domain }}" dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ base_domain }}"
- name: upload vhost config for matrix domain - name: upload vhost config for matrix domain
copy: copy:
src: configs/matrix/vhost-matrix src: configs/vhost/matrix
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.matrix.domain }}" dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.matrix.domain }}"
- name: upload vhost config for riot domains - name: upload vhost config for riot domains
copy: copy:
src: configs/matrix/vhost-riot src: configs/vhost/riot
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ item }}" dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ item }}"
loop: "{{ services.riot.domains }}" loop: "{{ services.riot.domains }}"

View file

@ -1,7 +1,7 @@
--- ---
- name: upload vhost config for cloud.data.coop - name: upload vhost config for cloud.data.coop
copy: copy:
src: configs/nextcloud/vhost src: configs/vhost/nextcloud
dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.nextcloud.domain }}" dest: "{{ services.nginx_proxy.volume_folder }}/vhost/{{ services.nextcloud.domain }}"
notify: "restart nginx" notify: "restart nginx"

View file

@ -12,7 +12,7 @@
- name: upload privatebin config - name: upload privatebin config
copy: copy:
src: configs/privatebin-conf.php src: configs/privatebin/conf.php
dest: "{{ services.privatebin.volume_folder }}/cfg/conf.php" dest: "{{ services.privatebin.volume_folder }}/cfg/conf.php"
- name: privatebin app container - name: privatebin app container