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 - name: Copy docker-compose templates for the service
ansible.builtin.template: template:
src: ../compose/{{item}}/compose.yml.j2 src: ../compose/{{item}}/compose.yml.j2
dest: /opt/docker/{{item}}/compose.yml dest: /opt/docker/{{item}}/compose.yml
backup: yes backup: yes
@ -10,7 +10,7 @@
local_action: stat path=../compose/{{item}}/extras.conf.j2 local_action: stat path=../compose/{{item}}/extras.conf.j2
register: file register: file
- name: Copy extras file - name: Copy extras file
ansible.builtin.template: template:
src: ../compose/{{item}}/extras.conf.j2 src: ../compose/{{item}}/extras.conf.j2
dest: /opt/docker/{{item}}/extras.conf dest: /opt/docker/{{item}}/extras.conf
backup: yes backup: yes

View File

@ -11,11 +11,11 @@
caddy_url_base: "https://cb.projectsegfau.lt/api/download" caddy_url_base: "https://cb.projectsegfau.lt/api/download"
tasks: tasks:
- name: Copy per-server caddy extras - name: Copy per-server caddy extras
ansible.builtin.copy: copy:
src: "../{{ caddy_extras_config }}" src: "../{{ caddy_extras_config }}"
dest: /etc/caddy/extras.caddy dest: /etc/caddy/extras.caddy
- name: Setup docker compose for privacy frontends - name: Setup docker compose for privacy frontends
hosts: all hosts: privfrontends
vars: vars:
docker_services: docker_services:
- anonymousoverflow - anonymousoverflow