Compare commits
17 Commits
transcaffe
...
jadyn-lego
| Author | SHA1 | Date | |
|---|---|---|---|
|
4c2b6ccc6d
|
|||
|
2681032d96
|
|||
|
66877d3258
|
|||
|
3c8fc29746
|
|||
|
39b7190342
|
|||
|
a3ed7081f8
|
|||
|
b564b1579f
|
|||
|
52f6f5b45b
|
|||
|
d0203a5dd7
|
|||
|
72bb3fd273
|
|||
|
766957254a
|
|||
|
5e777934ed
|
|||
|
b44110704b
|
|||
|
416044692b
|
|||
|
31c68f5e89
|
|||
|
7b9ac4b0d5
|
|||
|
dcab6c5404
|
@@ -1,6 +1,6 @@
|
||||
namespace: finallycoffee
|
||||
name: base
|
||||
version: 0.3.0
|
||||
version: 0.4.0
|
||||
readme: README.md
|
||||
authors:
|
||||
- transcaffeine <transcaffeine@finally.coffee>
|
||||
@@ -8,8 +8,9 @@ description: >-2
|
||||
Roles for base services which are core functionality like managing packages
|
||||
and ssh or common dependencies other services like databases
|
||||
dependencies:
|
||||
"community.docker": "^4.2.0"
|
||||
"community.general": "^10.0.0"
|
||||
"community.docker": "^4.7.0"
|
||||
"community.general": "^11.1.2"
|
||||
"containers.podman": "^1.17.0"
|
||||
license_file: LICENSE.md
|
||||
build_ignore:
|
||||
- '*.tar.gz'
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
vars:
|
||||
_dns_record:
|
||||
type: "CNAME"
|
||||
name: "_acme-challenge.{{ _domain }}"
|
||||
name: "_acme-challenge.{{ _domain }}."
|
||||
content: "{{ target_tsig_key_name }}.{{ target_acme_zone }}."
|
||||
loop: "{{ target_domains }}"
|
||||
loop_control:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
---
|
||||
lego_user: "lego"
|
||||
lego_version: "4.25.1"
|
||||
lego_version: "4.28.1"
|
||||
lego_instance: default
|
||||
lego_base_path: "/opt/lego"
|
||||
lego_cert_user: "acme-{{ lego_instance }}"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
set -xeuo pipefail
|
||||
|
||||
LEGO_BINARY=$(/usr/bin/env which lego)
|
||||
|
||||
@@ -8,14 +8,17 @@ if [[ -n "${LEGO_HTTP_FALLBACK_PORT:-}" ]]; then
|
||||
echo "nc not found (in PATH), exiting"
|
||||
exit 1
|
||||
fi
|
||||
set +e
|
||||
nc -z 127.0.0.1 $LEGO_HTTP_PORT;
|
||||
if [[ $? -eq 0 ]]; then
|
||||
nc_exit_code=$?;
|
||||
set -e
|
||||
if [[ $nc_exit_code -eq 0 ]]; then
|
||||
LEGO_HTTP_PORT=$LEGO_HTTP_FALLBACK_PORT
|
||||
fi
|
||||
fi
|
||||
|
||||
if [[ -n "${LEGO_PRE_RENEWAL_HOOK:-}" ]]; then
|
||||
$LEGO_PRE_RENEWAL_HOOK
|
||||
/usr/bin/env bash -c "$LEGO_PRE_RENEWAL_HOOK"
|
||||
fi
|
||||
|
||||
LEGO_COMMAND_ARGS_EXPANDED=$(bash -c "echo $LEGO_COMMAND_ARGS") # This is a bit icky
|
||||
@@ -31,5 +34,5 @@ find "$LEGO_CERT_STORE_PATH/certificates" -type f | xargs -I{} -n 1 chmod "$LEGO
|
||||
find "$LEGO_CERT_STORE_PATH/certificates" -type f | xargs -I{} -n 1 chown "${LEGO_CERT_USER}:${LEGO_CERT_GROUP}" "{}"
|
||||
|
||||
if [[ -n "${LEGO_POST_RENEWAL_HOOK:-}" ]]; then
|
||||
$LEGO_POST_RENEWAL_HOOK
|
||||
/usr/bin/env bash -c "$LEGO_POST_RENEWAL_HOOK"
|
||||
fi
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
---
|
||||
minio_container_name: minio
|
||||
minio_container_image_name: "docker.io/minio/minio"
|
||||
minio_container_image_tag: "RELEASE.2025-07-18T21-56-31Z"
|
||||
minio_container_image_tag: "RELEASE.2025-10-15T17-29-55Z"
|
||||
minio_container_image: "{{ minio_container_image_name }}:{{ minio_container_image_tag }}"
|
||||
minio_container_networks: []
|
||||
minio_container_ports: []
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
---
|
||||
nginx_version: "1.29.0"
|
||||
nginx_version: "1.29.3"
|
||||
nginx_flavour: alpine
|
||||
nginx_base_path: /opt/nginx
|
||||
nginx_config_file: "{{ nginx_base_path }}/nginx.conf"
|
||||
|
||||
Reference in New Issue
Block a user