Compare commits

...

2 commits

15 changed files with 11 additions and 8 deletions

View file

@ -7,7 +7,7 @@ caddy_tls_use_staging: yes
blog_use_https: no blog_use_https: no
caddy_use_https: no caddy_use_https: no
gitea_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

View file

@ -9,3 +9,4 @@ caddy_use_https: yes
caddy_tls_use_staging: no caddy_tls_use_staging: no
# caddy_email: your@email.here # caddy_email: your@email.here
# caddy_zerossl_api_key: your-zerossl-key-here-its-free

View file

@ -51,17 +51,19 @@
{% if caddy_tls_use_staging is sameas true %} {% if caddy_tls_use_staging is sameas true %}
"ca": "https://acme-staging-v02.api.letsencrypt.org/directory", "ca": "https://acme-staging-v02.api.letsencrypt.org/directory",
{% endif %} {% endif %}
{%- if caddy_email is not undefined and not none %} {%- if caddy_email is not undefined and not none %}
"email": "{{ caddy_email }}", "email": "{{ caddy_email }}",
{% endif %} {% endif %}
"module": "acme" "module": "acme"
{%- if caddy_zerossl_api_key is not undefined and not none %}
}, },
{ {
{%- if caddy_email is not undefined and not none %} "api_key": "{{ caddy_zerossl_api_key }}",
"email": "{{ caddy_email }}",
{% endif %}
"module": "zerossl" "module": "zerossl"
} }
{% else %}
}
{% endif %}
] ]
} }
] ]

View file

@ -71,10 +71,10 @@
role: landingpage role: landingpage
tags: landingpage tags: landingpage
- name: Install gitea - name: Install forgejo
import_role: import_role:
role: gitea role: forgejo
tags: gitea tags: forgejo
- name: Install ntfy - name: Install ntfy
import_role: import_role: