diff --git a/privfrontends/docker-tasks.yaml b/privfrontends/docker-tasks.yaml index 43fad35..bae0cd9 100644 --- a/privfrontends/docker-tasks.yaml +++ b/privfrontends/docker-tasks.yaml @@ -1,6 +1,6 @@ --- - name: Copy docker-compose templates for the service - ansible.builtin.template: + template: src: ../compose/{{item}}/compose.yml.j2 dest: /opt/docker/{{item}}/compose.yml backup: yes @@ -10,7 +10,7 @@ local_action: stat path=../compose/{{item}}/extras.conf.j2 register: file - name: Copy extras file - ansible.builtin.template: + template: src: ../compose/{{item}}/extras.conf.j2 dest: /opt/docker/{{item}}/extras.conf backup: yes diff --git a/privfrontends/playbook.yaml b/privfrontends/playbook.yaml index fdb6797..09dab11 100644 --- a/privfrontends/playbook.yaml +++ b/privfrontends/playbook.yaml @@ -11,11 +11,11 @@ caddy_url_base: "https://cb.projectsegfau.lt/api/download" tasks: - name: Copy per-server caddy extras - ansible.builtin.copy: + copy: src: "../{{ caddy_extras_config }}" dest: /etc/caddy/extras.caddy - name: Setup docker compose for privacy frontends - hosts: all + hosts: privfrontends vars: docker_services: - anonymousoverflow