ansible.builtin prefix is un-necessary

This commit is contained in:
Arya 2023-05-14 18:26:43 +08:00
parent 42dd491b95
commit 53b6a53168
Signed by: arya
GPG Key ID: 842D12BDA50DF120
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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