Apply prettier formatting
This commit is contained in:
parent
6b4c4ccde4
commit
c498b3ced8
76 changed files with 123 additions and 202 deletions
|
|
@ -32,7 +32,6 @@ simply by executing `ansible-playbook site.yml`.
|
||||||
You can of course pick and choose what should be executed with host limits, tags, group variables, and so on,
|
You can of course pick and choose what should be executed with host limits, tags, group variables, and so on,
|
||||||
but this should provide an easy way to see if a) the playbook is working as intended and b) what it does is useful.
|
but this should provide an easy way to see if a) the playbook is working as intended and b) what it does is useful.
|
||||||
|
|
||||||
|
|
||||||
## Deployment
|
## Deployment
|
||||||
|
|
||||||
Most variables to be changed should be set either through `group_variables` or `host_variables`.
|
Most variables to be changed should be set either through `group_variables` or `host_variables`.
|
||||||
|
|
|
||||||
|
|
@ -1,22 +1,21 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
docker_swarm_advertise_addr: eth1
|
docker_swarm_advertise_addr: eth1
|
||||||
|
|
||||||
caddy_use_debug: yes
|
caddy_use_debug: yes
|
||||||
caddy_tls_use_staging: yes
|
caddy_tls_use_staging: yes
|
||||||
|
|
||||||
blog_use_https: no
|
blog_use_https: no
|
||||||
caddy_use_https: no
|
caddy_use_https: no
|
||||||
forgejo_use_https: no
|
forgejo_use_https: no
|
||||||
landingpage_use_https: no
|
landingpage_use_https: no
|
||||||
miniflux_use_https: no
|
miniflux_use_https: no
|
||||||
monica_use_https: no
|
monica_use_https: no
|
||||||
nextcloud_use_https: no
|
nextcloud_use_https: no
|
||||||
ntfy_use_https: no
|
ntfy_use_https: no
|
||||||
searx_use_https: no
|
searx_use_https: no
|
||||||
shaarli_use_https: no
|
shaarli_use_https: no
|
||||||
traggo_use_https: no
|
traggo_use_https: no
|
||||||
wallabag_use_https: no
|
wallabag_use_https: no
|
||||||
whoami_use_https: no
|
whoami_use_https: no
|
||||||
|
|
||||||
server_domain: ansible.test
|
server_domain: ansible.test
|
||||||
|
|
|
||||||
|
|
@ -48,13 +48,12 @@ caddy_version: alpine
|
||||||
|
|
||||||
Sets the docker image version to be used.
|
Sets the docker image version to be used.
|
||||||
|
|
||||||
|
|
||||||
## Internal variables
|
## Internal variables
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
caddy_stack:
|
caddy_stack:
|
||||||
name: caddy
|
name: caddy
|
||||||
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
||||||
```
|
```
|
||||||
|
|
||||||
Defines the actual docker stack which will later run on the target.
|
Defines the actual docker stack which will later run on the target.
|
||||||
|
|
@ -64,12 +63,12 @@ The compose option defines which template to use for the `docker-stack.yml` file
|
||||||
or directly here like the following:
|
or directly here like the following:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
compose:
|
compose:
|
||||||
- "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
- "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
||||||
- version: '3'
|
- version: "3"
|
||||||
services:
|
services:
|
||||||
another-container:
|
another-container:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
# ...
|
# ...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
caddy_version: alpine
|
caddy_version: alpine
|
||||||
caddy_caddyfile_dir: "{{ docker_stack_files_dir }}/caddy"
|
caddy_caddyfile_dir: "{{ docker_stack_files_dir }}/caddy"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
caddy_stack:
|
caddy_stack:
|
||||||
name: caddy
|
name: caddy
|
||||||
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
||||||
|
|
|
||||||
|
|
@ -48,13 +48,12 @@ caddy_version: alpine
|
||||||
|
|
||||||
Sets the docker image version to be used.
|
Sets the docker image version to be used.
|
||||||
|
|
||||||
|
|
||||||
## Internal variables
|
## Internal variables
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
caddy_stack:
|
caddy_stack:
|
||||||
name: caddy
|
name: caddy
|
||||||
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
||||||
```
|
```
|
||||||
|
|
||||||
Defines the actual docker stack which will later run on the target.
|
Defines the actual docker stack which will later run on the target.
|
||||||
|
|
@ -64,12 +63,12 @@ The compose option defines which template to use for the `docker-stack.yml` file
|
||||||
or directly here like the following:
|
or directly here like the following:
|
||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
compose:
|
compose:
|
||||||
- "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
- "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
||||||
- version: '3'
|
- version: "3"
|
||||||
services:
|
services:
|
||||||
another-container:
|
another-container:
|
||||||
image: nginx:latest
|
image: nginx:latest
|
||||||
# ...
|
# ...
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,3 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
docker_stack_files_dir: /stacks
|
docker_stack_files_dir: /stacks
|
||||||
docker_swarm_public_network_name: public
|
docker_swarm_public_network_name: public
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker
|
- docker
|
||||||
|
|
|
||||||
|
|
@ -28,7 +28,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ docker_stack_files_dir }}"
|
path: "{{ docker_stack_files_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
tags:
|
tags:
|
||||||
- fs
|
- fs
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
forgejo_version: 7
|
forgejo_version: 7
|
||||||
|
|
||||||
forgejo_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
forgejo_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Marty Oehme
|
author: Marty Oehme
|
||||||
description: Light-weight git hosting
|
description: Light-weight git hosting
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,3 @@
|
||||||
- apt
|
- apt
|
||||||
- download
|
- download
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "/app/forgejo/"
|
path: "/app/forgejo/"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0770'
|
mode: "0770"
|
||||||
owner: "{{ git_user['uid'] }}"
|
owner: "{{ git_user['uid'] }}"
|
||||||
group: "{{ git_user['group'] }}"
|
group: "{{ git_user['group'] }}"
|
||||||
become: true
|
become: true
|
||||||
|
|
@ -47,7 +47,7 @@
|
||||||
dest: "/app/forgejo/forgejo"
|
dest: "/app/forgejo/forgejo"
|
||||||
owner: "{{ git_user['uid'] }}"
|
owner: "{{ git_user['uid'] }}"
|
||||||
group: "{{ git_user['group'] }}"
|
group: "{{ git_user['group'] }}"
|
||||||
mode: '0750'
|
mode: "0750"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Host machine forgejo command points to passthrough command
|
- name: Host machine forgejo command points to passthrough command
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
stack_name: forgejo
|
stack_name: forgejo
|
||||||
|
|
||||||
stack_image: "codeberg.org/forgejo/forgejo"
|
stack_image: "codeberg.org/forgejo/forgejo"
|
||||||
|
|
|
||||||
|
|
@ -34,4 +34,3 @@ subdomain_alias: www
|
||||||
If the deployed container should be served over a uri that is not the stack name.
|
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` -
|
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.
|
if this option is not set it will be served on `landingpage.yourdomain.com` instead.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
landingpage_version: latest
|
landingpage_version: latest
|
||||||
|
|
||||||
landingpage_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
landingpage_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ landingpage_upstream_file_dir }}"
|
path: "{{ landingpage_upstream_file_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
listen: "update landingpage upstream"
|
listen: "update landingpage upstream"
|
||||||
|
|
||||||
|
|
@ -50,4 +50,3 @@
|
||||||
state: absent
|
state: absent
|
||||||
become: true
|
become: true
|
||||||
listen: "update landingpage upstream"
|
listen: "update landingpage upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Marty Oehme
|
author: Marty Oehme
|
||||||
description: Installs my personal public facing landing page as a docker stack service
|
description: Installs my personal public facing landing page as a docker stack service
|
||||||
|
|
@ -7,7 +6,6 @@ galaxy_info:
|
||||||
min_ansible_version: "2.9"
|
min_ansible_version: "2.9"
|
||||||
galaxy_tags: []
|
galaxy_tags: []
|
||||||
|
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
- caddy_id
|
- caddy_id
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,3 @@
|
||||||
tags:
|
tags:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
notify: "update landingpage upstream"
|
notify: "update landingpage upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
stack_name: landingpage
|
stack_name: landingpage
|
||||||
|
|
||||||
stack_image: "martyo/cloudserve-landing"
|
stack_image: "martyo/cloudserve-landing"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
miniflux_version: latest
|
miniflux_version: latest
|
||||||
|
|
||||||
miniflux_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
miniflux_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ miniflux_upstream_file_dir }}"
|
path: "{{ miniflux_upstream_file_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
listen: "update miniflux upstream"
|
listen: "update miniflux upstream"
|
||||||
|
|
||||||
|
|
@ -50,4 +50,3 @@
|
||||||
state: absent
|
state: absent
|
||||||
become: true
|
become: true
|
||||||
listen: "update miniflux upstream"
|
listen: "update miniflux upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Marty Oehme
|
author: Marty Oehme
|
||||||
description: Installs miniflux as a docker stack service
|
description: Installs miniflux as a docker stack service
|
||||||
|
|
@ -7,7 +6,6 @@ galaxy_info:
|
||||||
min_ansible_version: "2.9"
|
min_ansible_version: "2.9"
|
||||||
galaxy_tags: []
|
galaxy_tags: []
|
||||||
|
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
- caddy_id
|
- caddy_id
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,3 @@
|
||||||
tags:
|
tags:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
notify: "update miniflux upstream"
|
notify: "update miniflux upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
stack_name: miniflux
|
stack_name: miniflux
|
||||||
|
|
||||||
stack_image: "miniflux/miniflux"
|
stack_image: "miniflux/miniflux"
|
||||||
|
|
|
||||||
|
|
@ -81,5 +81,5 @@ monica_mail_new_user_notification_address: "{{ caddy_email }}"
|
||||||
Sets up the necessary details for Monica to send out registration and reminder e-mails.
|
Sets up the necessary details for Monica to send out registration and reminder e-mails.
|
||||||
Requires an smtp server set up, most easily doable through things like mailgun or sendgrid.
|
Requires an smtp server set up, most easily doable through things like mailgun or sendgrid.
|
||||||
Variables should be relatively self-explanatory,
|
Variables should be relatively self-explanatory,
|
||||||
with `monica_mail_new_user_notification_address` being the address the notifications should be sent *to*,
|
with `monica_mail_new_user_notification_address` being the address the notifications should be sent _to_,
|
||||||
so in all probability some sort of administration address.
|
so in all probability some sort of administration address.
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
monica_version: latest
|
monica_version: latest
|
||||||
|
|
||||||
monica_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
monica_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ monica_upstream_file_dir }}"
|
path: "{{ monica_upstream_file_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
listen: "update monica upstream"
|
listen: "update monica upstream"
|
||||||
|
|
||||||
|
|
@ -50,4 +50,3 @@
|
||||||
state: absent
|
state: absent
|
||||||
become: true
|
become: true
|
||||||
listen: "update monica upstream"
|
listen: "update monica upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Marty Oehme
|
author: Marty Oehme
|
||||||
description: Installs monica as a docker stack service
|
description: Installs monica as a docker stack service
|
||||||
|
|
@ -7,7 +6,6 @@ galaxy_info:
|
||||||
min_ansible_version: "2.9"
|
min_ansible_version: "2.9"
|
||||||
galaxy_tags: []
|
galaxy_tags: []
|
||||||
|
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
- caddy_id
|
- caddy_id
|
||||||
|
|
|
||||||
|
|
@ -9,4 +9,3 @@
|
||||||
- apt
|
- apt
|
||||||
- download
|
- download
|
||||||
- packages
|
- packages
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,7 @@
|
||||||
ansible.builtin.shell: echo -n 'base64:'; openssl rand -base64 32
|
ansible.builtin.shell: echo -n 'base64:'; openssl rand -base64 32
|
||||||
register: monica_app_key
|
register: monica_app_key
|
||||||
|
|
||||||
- set_fact:
|
- set_fact: monica_app_key={{ monica_app_key.stdout }}
|
||||||
monica_app_key={{ monica_app_key.stdout }}
|
|
||||||
|
|
||||||
## install container
|
## install container
|
||||||
- name: Check upstream status
|
- name: Check upstream status
|
||||||
|
|
@ -37,4 +36,3 @@
|
||||||
tags:
|
tags:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
notify: "update monica upstream"
|
notify: "update monica upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
stack_name: monica
|
stack_name: monica
|
||||||
|
|
||||||
stack_image: "monica"
|
stack_image: "monica"
|
||||||
|
|
|
||||||
|
|
@ -6,9 +6,10 @@ AKA Dropbox replacement.
|
||||||
|
|
||||||
This software can grow enormous and enormously complicated,
|
This software can grow enormous and enormously complicated,
|
||||||
this Ansible setup role concentrates on 3 things:
|
this Ansible setup role concentrates on 3 things:
|
||||||
* a stable and secure base setup from the official docker container
|
|
||||||
* automatic setup of an email pipeline so users can reset passwords and be updated of changes
|
- a stable and secure base setup from the official docker container
|
||||||
* the ability to use S3 object storage as the primary way of storing users' files
|
- automatic setup of an email pipeline so users can reset passwords and be updated of changes
|
||||||
|
- the ability to use S3 object storage as the primary way of storing users' files
|
||||||
|
|
||||||
The rest should be taken care of either automatically,
|
The rest should be taken care of either automatically,
|
||||||
or supplied after the fact (if using different plugins or similar).
|
or supplied after the fact (if using different plugins or similar).
|
||||||
|
|
@ -43,7 +44,7 @@ take care to change where the upstream proxy is pointing to since the Caddy serv
|
||||||
The second variable points to the docker image that should be used for the PostgreSQL database,
|
The second variable points to the docker image that should be used for the PostgreSQL database,
|
||||||
with 12 pre-filled as default.
|
with 12 pre-filled as default.
|
||||||
You can put this to latest, but should take care to migrate the database correctly when an update rolls around,
|
You can put this to latest, but should take care to migrate the database correctly when an update rolls around,
|
||||||
or it *will* destroy your data at some point.
|
or it _will_ destroy your data at some point.
|
||||||
Generally, it seems easier to pin this to a specific version and then only update manually.
|
Generally, it seems easier to pin this to a specific version and then only update manually.
|
||||||
|
|
||||||
```yml
|
```yml
|
||||||
|
|
@ -51,7 +52,7 @@ subdomain_alias: files
|
||||||
```
|
```
|
||||||
|
|
||||||
If the deployed container should be served over a uri that is not the stack name.
|
If the deployed container should be served over a uri that is not the stack name.
|
||||||
By default, it will be set to `files.yourdomain.com` -
|
By default, it will be set to `files.yourdomain.com` -
|
||||||
if this option is not set it will be served on `nextcloud.yourdomain.com` instead.
|
if this option is not set it will be served on `nextcloud.yourdomain.com` instead.
|
||||||
If you change or delete this, you should also change what `nextcloud_trusted_domains` points to.
|
If you change or delete this, you should also change what `nextcloud_trusted_domains` points to.
|
||||||
|
|
||||||
|
|
@ -130,7 +131,6 @@ If your details are correct, Nextcloud should automatically set up S3 as its pri
|
||||||
|
|
||||||
Be careful if you switch an existing data volume of the Nextcloud image to S3
|
Be careful if you switch an existing data volume of the Nextcloud image to S3
|
||||||
as you will lose all access to existing files.
|
as you will lose all access to existing files.
|
||||||
The files *should* not be deleted at this point,
|
The files _should_ not be deleted at this point,
|
||||||
only access will be lost,
|
only access will be lost,
|
||||||
but you are playing with fire at this point.
|
but you are playing with fire at this point.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
# set preferred application version
|
# set preferred application version
|
||||||
nextcloud_version: 28-fpm-alpine
|
nextcloud_version: 28-fpm-alpine
|
||||||
# set preferred postgres version
|
# set preferred postgres version
|
||||||
|
|
@ -31,7 +30,6 @@ nextcloud_smtp_authtype: LOGIN
|
||||||
# nextcloud_smtp_password: <smtp-password>
|
# nextcloud_smtp_password: <smtp-password>
|
||||||
nextcloud_smtp_from_address: noreply
|
nextcloud_smtp_from_address: noreply
|
||||||
nextcloud_smtp_from_domain: "{{ server_domain }}"
|
nextcloud_smtp_from_domain: "{{ server_domain }}"
|
||||||
|
|
||||||
# the following block is required *fully* for primary object storage
|
# the following block is required *fully* for primary object storage
|
||||||
# nextcloud_s3_host: s3.eu-central-1.wasabisys.com
|
# nextcloud_s3_host: s3.eu-central-1.wasabisys.com
|
||||||
# nextcloud_s3_bucket: nextcloud
|
# nextcloud_s3_bucket: nextcloud
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ nextcloud_upstream_file_dir }}"
|
path: "{{ nextcloud_upstream_file_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
listen: "update nextcloud upstream"
|
listen: "update nextcloud upstream"
|
||||||
|
|
||||||
|
|
@ -50,4 +50,3 @@
|
||||||
state: absent
|
state: absent
|
||||||
become: true
|
become: true
|
||||||
listen: "update nextcloud upstream"
|
listen: "update nextcloud upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Marty Oehme
|
author: Marty Oehme
|
||||||
description: Installs nextcloud as a docker stack service
|
description: Installs nextcloud as a docker stack service
|
||||||
|
|
@ -7,7 +6,6 @@ galaxy_info:
|
||||||
min_ansible_version: "2.9"
|
min_ansible_version: "2.9"
|
||||||
galaxy_tags: []
|
galaxy_tags: []
|
||||||
|
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
- caddy_id
|
- caddy_id
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ nextcloud_upstream_file_dir }}"
|
path: "{{ nextcloud_upstream_file_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
notify: "update nextcloud upstream"
|
notify: "update nextcloud upstream"
|
||||||
|
|
||||||
|
|
@ -36,4 +36,3 @@
|
||||||
tags:
|
tags:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
notify: "update nextcloud upstream"
|
notify: "update nextcloud upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
stack_name: nextcloud
|
stack_name: nextcloud
|
||||||
|
|
||||||
stack_image: "nextcloud"
|
stack_image: "nextcloud"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ ntfy_upstream_file_dir }}"
|
path: "{{ ntfy_upstream_file_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
listen: "update ntfy upstream"
|
listen: "update ntfy upstream"
|
||||||
|
|
||||||
|
|
@ -43,4 +43,3 @@
|
||||||
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
|
become: true
|
||||||
listen: "update ntfy upstream"
|
listen: "update ntfy upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Marty Oehme
|
author: Marty Oehme
|
||||||
description: Installs a self-hosted push notification service through docker-swarm.
|
description: Installs a self-hosted push notification service through docker-swarm.
|
||||||
|
|
@ -7,7 +6,6 @@ galaxy_info:
|
||||||
min_ansible_version: "2.9"
|
min_ansible_version: "2.9"
|
||||||
galaxy_tags: []
|
galaxy_tags: []
|
||||||
|
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
- caddy_id
|
- caddy_id
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ ntfy_upstream_file_dir }}"
|
path: "{{ ntfy_upstream_file_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
|
|
||||||
- name: Move ntfy configuration file to target dir
|
- name: Move ntfy configuration file to target dir
|
||||||
|
|
@ -35,4 +35,3 @@
|
||||||
tags:
|
tags:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
notify: "update ntfy upstream"
|
notify: "update ntfy upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
stack_name: ntfy
|
stack_name: ntfy
|
||||||
|
|
||||||
stack_image: "binwiederhier/ntfy"
|
stack_image: "binwiederhier/ntfy"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
searx_version: latest
|
searx_version: latest
|
||||||
|
|
||||||
searx_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
searx_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||||
|
|
@ -8,7 +7,6 @@ searx_use_https: true
|
||||||
|
|
||||||
# the subdomain link searx will be reachable under
|
# the subdomain link searx will be reachable under
|
||||||
subdomain_alias: search
|
subdomain_alias: search
|
||||||
|
|
||||||
# searx_authentication:
|
# searx_authentication:
|
||||||
# - username: mysearxusername
|
# - username: mysearxusername
|
||||||
# password: JDJhJDE0JFdjUnQ5WWllcU8wa01xS0JBS2dlMy5zMEhRTmxqTXdIZmdjcTN6ZGFwRjJlYUdoSHAwRUhL # mysearxpassword
|
# password: JDJhJDE0JFdjUnQ5WWllcU8wa01xS0JBS2dlMy5zMEhRTmxqTXdIZmdjcTN6ZGFwRjJlYUdoSHAwRUhL # mysearxpassword
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ searx_upstream_file_dir }}"
|
path: "{{ searx_upstream_file_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
listen: "update searx upstream"
|
listen: "update searx upstream"
|
||||||
|
|
||||||
|
|
@ -50,4 +50,3 @@
|
||||||
state: absent
|
state: absent
|
||||||
become: true
|
become: true
|
||||||
listen: "update searx upstream"
|
listen: "update searx upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Marty Oehme
|
author: Marty Oehme
|
||||||
description: Installs searx as a docker stack service
|
description: Installs searx as a docker stack service
|
||||||
|
|
@ -7,7 +6,6 @@ galaxy_info:
|
||||||
min_ansible_version: "2.9"
|
min_ansible_version: "2.9"
|
||||||
galaxy_tags: []
|
galaxy_tags: []
|
||||||
|
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
- caddy_id
|
- caddy_id
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,3 @@
|
||||||
tags:
|
tags:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
notify: "update searx upstream"
|
notify: "update searx upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
stack_name: searx
|
stack_name: searx
|
||||||
|
|
||||||
stack_image: "searxng/searxng"
|
stack_image: "searxng/searxng"
|
||||||
|
|
|
||||||
|
|
@ -3,11 +3,11 @@
|
||||||
A simple and fast bookmark manager.
|
A simple and fast bookmark manager.
|
||||||
Can be deployed in minutes and takes minimum amount of resources.
|
Can be deployed in minutes and takes minimum amount of resources.
|
||||||
|
|
||||||
Be aware that shaarli installations can *not* be fully automated.
|
Be aware that shaarli installations can _not_ be fully automated.
|
||||||
That means after running this ansible role you will still have to setup up the first run wizard and create a user and so forth
|
That means after running this ansible role you will still have to setup up the first run wizard and create a user and so forth
|
||||||
(if not running with an existing data-store).
|
(if not running with an existing data-store).
|
||||||
Do this quickly after setup,
|
Do this quickly after setup,
|
||||||
*especially* if your instance is public-facing!
|
_especially_ if your instance is public-facing!
|
||||||
{: .alert .alert-warning}
|
{: .alert .alert-warning}
|
||||||
|
|
||||||
## Defaults
|
## Defaults
|
||||||
|
|
@ -37,4 +37,3 @@ subdomain_alias: links
|
||||||
If the deployed container should be served over a uri that is not the stack name.
|
If the deployed container should be served over a uri that is not the stack name.
|
||||||
By default, it will be set to `links.yourdomain.com` -
|
By default, it will be set to `links.yourdomain.com` -
|
||||||
if this option is not set it will be served on `shaarli.yourdomain.com` instead.
|
if this option is not set it will be served on `shaarli.yourdomain.com` instead.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
shaarli_version: release # they offer: latest and release (stable) versions
|
shaarli_version: release # they offer: latest and release (stable) versions
|
||||||
|
|
||||||
shaarli_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
shaarli_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ shaarli_upstream_file_dir }}"
|
path: "{{ shaarli_upstream_file_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
listen: "update shaarli upstream"
|
listen: "update shaarli upstream"
|
||||||
|
|
||||||
|
|
@ -50,4 +50,3 @@
|
||||||
state: absent
|
state: absent
|
||||||
become: true
|
become: true
|
||||||
listen: "update shaarli upstream"
|
listen: "update shaarli upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Marty Oehme
|
author: Marty Oehme
|
||||||
description: Installs shaarli as a docker stack service
|
description: Installs shaarli as a docker stack service
|
||||||
|
|
@ -7,7 +6,6 @@ galaxy_info:
|
||||||
min_ansible_version: "2.9"
|
min_ansible_version: "2.9"
|
||||||
galaxy_tags: []
|
galaxy_tags: []
|
||||||
|
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
- caddy_id
|
- caddy_id
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,3 @@
|
||||||
tags:
|
tags:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
notify: "update shaarli upstream"
|
notify: "update shaarli upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
stack_name: shaarli
|
stack_name: shaarli
|
||||||
|
|
||||||
stack_image: "ghcr.io/shaarli/shaarli"
|
stack_image: "ghcr.io/shaarli/shaarli"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
traggo_version: latest
|
traggo_version: latest
|
||||||
|
|
||||||
traggo_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
traggo_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ traggo_upstream_file_dir }}"
|
path: "{{ traggo_upstream_file_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
listen: "update traggo upstream"
|
listen: "update traggo upstream"
|
||||||
|
|
||||||
|
|
@ -50,4 +50,3 @@
|
||||||
state: absent
|
state: absent
|
||||||
become: true
|
become: true
|
||||||
listen: "update traggo upstream"
|
listen: "update traggo upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Marty Oehme
|
author: Marty Oehme
|
||||||
description: Installs traggo as a docker stack service
|
description: Installs traggo as a docker stack service
|
||||||
|
|
@ -7,7 +6,6 @@ galaxy_info:
|
||||||
min_ansible_version: "2.9"
|
min_ansible_version: "2.9"
|
||||||
galaxy_tags: []
|
galaxy_tags: []
|
||||||
|
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
- caddy_id
|
- caddy_id
|
||||||
|
|
|
||||||
|
|
@ -21,4 +21,3 @@
|
||||||
tags:
|
tags:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
notify: "update traggo upstream"
|
notify: "update traggo upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
stack_name: traggo
|
stack_name: traggo
|
||||||
|
|
||||||
stack_image: "traggo/server"
|
stack_image: "traggo/server"
|
||||||
|
|
|
||||||
|
|
@ -39,4 +39,3 @@ stack_image: "wallabag/wallabag"
|
||||||
```
|
```
|
||||||
|
|
||||||
The docker hub image to be use in provisioning.
|
The docker hub image to be use in provisioning.
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
wallabag_version: latest
|
wallabag_version: latest
|
||||||
|
|
||||||
wallabag_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
wallabag_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack_name }}"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ wallabag_upstream_file_dir }}"
|
path: "{{ wallabag_upstream_file_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
listen: "update wallabag upstream"
|
listen: "update wallabag upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
galaxy_info:
|
galaxy_info:
|
||||||
author: Marty Oehme
|
author: Marty Oehme
|
||||||
description: Installs wallabag as a docker stack service
|
description: Installs wallabag as a docker stack service
|
||||||
|
|
@ -7,7 +6,6 @@ galaxy_info:
|
||||||
min_ansible_version: "2.9"
|
min_ansible_version: "2.9"
|
||||||
galaxy_tags: []
|
galaxy_tags: []
|
||||||
|
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
- caddy_id
|
- caddy_id
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
stack_name: wallabag
|
stack_name: wallabag
|
||||||
|
|
||||||
stack_image: "wallabag/wallabag"
|
stack_image: "wallabag/wallabag"
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
whoami_version: latest
|
whoami_version: latest
|
||||||
|
|
||||||
whoami_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack.name }}"
|
whoami_upstream_file_dir: "{{ docker_stack_files_dir }}/{{ stack.name }}"
|
||||||
|
|
|
||||||
|
|
@ -3,7 +3,7 @@
|
||||||
ansible.builtin.file:
|
ansible.builtin.file:
|
||||||
path: "{{ whoami_upstream_file_dir }}"
|
path: "{{ whoami_upstream_file_dir }}"
|
||||||
state: directory
|
state: directory
|
||||||
mode: '0755'
|
mode: "0755"
|
||||||
become: true
|
become: true
|
||||||
listen: "update whoami upstream"
|
listen: "update whoami upstream"
|
||||||
|
|
||||||
|
|
@ -50,4 +50,3 @@
|
||||||
state: absent
|
state: absent
|
||||||
become: true
|
become: true
|
||||||
listen: "update whoami upstream"
|
listen: "update whoami upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
dependencies:
|
dependencies:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
- caddy_id
|
- caddy_id
|
||||||
|
|
|
||||||
|
|
@ -22,4 +22,3 @@
|
||||||
tags:
|
tags:
|
||||||
- docker-swarm
|
- docker-swarm
|
||||||
notify: "update whoami upstream"
|
notify: "update whoami upstream"
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,4 @@
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
||||||
stack:
|
stack:
|
||||||
name: whoami
|
name: whoami
|
||||||
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
compose: "{{ lookup('template', 'docker-stack.yml.j2') | from_yaml }}"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue