Apply prettier formatting
This commit is contained in:
parent
6b4c4ccde4
commit
c498b3ced8
76 changed files with 123 additions and 202 deletions
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
|
||||
whoami_version: latest
|
||||
|
||||
whoami_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack.name }}"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ whoami_upstream_file_dir }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
mode: "0755"
|
||||
become: true
|
||||
listen: "update whoami upstream"
|
||||
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
community.docker.docker_container_exec:
|
||||
container: "{{ caddy_container_id }}"
|
||||
command: >
|
||||
curl -X POST -H "Content-Type: application/json" -d @{{ whoami_upstream_file_dir }}/upstream.json localhost:2019/config/apps/http/servers/{{ (whoami_use_https == True) | ternary(caddy_https_server_name, caddy_http_server_name) }}/routes/0/
|
||||
curl -X POST -H "Content-Type: application/json" -d @{{ whoami_upstream_file_dir }}/upstream.json localhost:2019/config/apps/http/servers/{{ (whoami_use_https == True) | ternary(caddy_https_server_name, caddy_http_server_name) }}/routes/0/
|
||||
become: true
|
||||
listen: "update whoami upstream"
|
||||
|
||||
|
|
@ -50,4 +50,3 @@
|
|||
state: absent
|
||||
become: true
|
||||
listen: "update whoami upstream"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
|
||||
dependencies:
|
||||
- docker-swarm
|
||||
- caddy_id
|
||||
|
|
|
|||
|
|
@ -22,4 +22,3 @@
|
|||
tags:
|
||||
- docker-swarm
|
||||
notify: "update whoami upstream"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
---
|
||||
|
||||
|
||||
stack:
|
||||
name: whoami
|
||||
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue