Apply prettier formatting
This commit is contained in:
parent
6b4c4ccde4
commit
c498b3ced8
76 changed files with 123 additions and 202 deletions
|
|
@ -19,7 +19,7 @@ The on-target directory where the proxy configuration file should be stashed.
|
|||
ntfy_use_https: true
|
||||
```
|
||||
|
||||
Whether the service should be reachable through http (port 80) or through https (port 443) and provision an https certificate.
|
||||
Whether the service should be reachable through http (port 80) or through https (port 443) and provision an https certificate.
|
||||
Usually you will want this to stay `true`,
|
||||
especially on the public facing web.
|
||||
|
||||
|
|
@ -33,8 +33,8 @@ The docker image version to be used in stack creation.
|
|||
subdomain_alias: push
|
||||
```
|
||||
|
||||
If the deployed container should be served over a uri that is not the stack name.
|
||||
By default, it will be set to `push.yourdomain.com` -
|
||||
If the deployed container should be served over a uri that is not the stack name.
|
||||
By default, it will be set to `push.yourdomain.com` -
|
||||
if this option is not set it will be served on `ntfy.yourdomain.com` instead.
|
||||
|
||||
The individual `ntfy` options to be changed are very well described on
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ ntfy_upstream_file_dir }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
mode: "0755"
|
||||
become: true
|
||||
listen: "update ntfy upstream"
|
||||
|
||||
|
|
@ -40,7 +40,6 @@
|
|||
community.docker.docker_container_exec:
|
||||
container: "{{ caddy_container_id }}"
|
||||
command: >
|
||||
curl -X POST -H "Content-Type: application/json" -d @{{ ntfy_upstream_file_dir }}/upstream.json localhost:2019/config/apps/http/servers/{{ (ntfy_use_https == True) | ternary(caddy_https_server_name, caddy_http_server_name) }}/routes/0/
|
||||
curl -X POST -H "Content-Type: application/json" -d @{{ ntfy_upstream_file_dir }}/upstream.json localhost:2019/config/apps/http/servers/{{ (ntfy_use_https == True) | ternary(caddy_https_server_name, caddy_http_server_name) }}/routes/0/
|
||||
become: true
|
||||
listen: "update ntfy upstream"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
|
||||
galaxy_info:
|
||||
author: Marty Oehme
|
||||
description: Installs a self-hosted push notification service through docker-swarm.
|
||||
|
|
@ -7,7 +6,6 @@ galaxy_info:
|
|||
min_ansible_version: "2.9"
|
||||
galaxy_tags: []
|
||||
|
||||
|
||||
dependencies:
|
||||
- docker-swarm
|
||||
- caddy_id
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ ntfy_upstream_file_dir }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
mode: "0755"
|
||||
become: true
|
||||
|
||||
- name: Move ntfy configuration file to target dir
|
||||
|
|
@ -35,4 +35,3 @@
|
|||
tags:
|
||||
- docker-swarm
|
||||
notify: "update ntfy upstream"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
|
||||
stack_name: ntfy
|
||||
|
||||
stack_image: "binwiederhier/ntfy"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue