Apply prettier formatting
This commit is contained in:
parent
6b4c4ccde4
commit
c498b3ced8
76 changed files with 123 additions and 202 deletions
|
|
@ -1,10 +1,10 @@
|
|||
# landingpage
|
||||
|
||||
The public face of my server.
|
||||
The public face of my server.
|
||||
Not much to see here honestly,
|
||||
just a few simple lines of html explaining what this server is about and how to contact me.
|
||||
|
||||
I don't see anybody else benefiting massively from this role but me,
|
||||
I don't see anybody else benefiting massively from this role but me,
|
||||
but if you want the same web presence go for it I suppose 😉
|
||||
|
||||
## Defaults
|
||||
|
|
@ -31,7 +31,6 @@ The docker image version to be used in stack creation.
|
|||
subdomain_alias: www
|
||||
```
|
||||
|
||||
If the deployed container should be served over a uri that is not the stack name.
|
||||
By default, it will be set to `www.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 `www.yourdomain.com` -
|
||||
if this option is not set it will be served on `landingpage.yourdomain.com` instead.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
|
||||
landingpage_version: latest
|
||||
|
||||
landingpage_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
ansible.builtin.file:
|
||||
path: "{{ landingpage_upstream_file_dir }}"
|
||||
state: directory
|
||||
mode: '0755'
|
||||
mode: "0755"
|
||||
become: true
|
||||
listen: "update landingpage upstream"
|
||||
|
||||
|
|
@ -40,7 +40,7 @@
|
|||
community.docker.docker_container_exec:
|
||||
container: "{{ caddy_container_id }}"
|
||||
command: >
|
||||
curl -X POST -H "Content-Type: application/json" -d @{{ landingpage_upstream_file_dir }}/upstream.json localhost:2019/config/apps/http/servers/{{ (landingpage_use_https == True) | ternary(caddy_https_server_name, caddy_http_server_name) }}/routes/0/
|
||||
curl -X POST -H "Content-Type: application/json" -d @{{ landingpage_upstream_file_dir }}/upstream.json localhost:2019/config/apps/http/servers/{{ (landingpage_use_https == True) | ternary(caddy_https_server_name, caddy_http_server_name) }}/routes/0/
|
||||
become: true
|
||||
listen: "update landingpage upstream"
|
||||
|
||||
|
|
@ -50,4 +50,3 @@
|
|||
state: absent
|
||||
become: true
|
||||
listen: "update landingpage upstream"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
|
||||
galaxy_info:
|
||||
author: Marty Oehme
|
||||
description: Installs my personal public facing landing page as a docker stack service
|
||||
|
|
@ -7,7 +6,6 @@ galaxy_info:
|
|||
min_ansible_version: "2.9"
|
||||
galaxy_tags: []
|
||||
|
||||
|
||||
dependencies:
|
||||
- docker-swarm
|
||||
- caddy_id
|
||||
|
|
|
|||
|
|
@ -21,4 +21,3 @@
|
|||
tags:
|
||||
- docker-swarm
|
||||
notify: "update landingpage upstream"
|
||||
|
||||
|
|
|
|||
|
|
@ -1,5 +1,4 @@
|
|||
---
|
||||
|
||||
stack_name: landingpage
|
||||
|
||||
stack_image: "martyo/cloudserve-landing"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue