Improve some small stuff
This commit is contained in:
parent
83749c4493
commit
8f026330d7
3 changed files with 10 additions and 13 deletions
2
Makefile
2
Makefile
|
@ -57,7 +57,7 @@ tofu-dns:
|
|||
all:
|
||||
$(MAKE) tofu-dns
|
||||
@printf "\n=====\n\n"
|
||||
ansible-playbook ./playbooks/stop-and-backup-unused.yml -t $(TAGS)
|
||||
ansible-playbook ./playbooks/stop-and-backup-unused.yml
|
||||
ansible-playbook ./playbooks/serguzim.net.yml -t $(TAGS)
|
||||
$(MAKE) visualize
|
||||
|
||||
|
|
|
@ -29,21 +29,13 @@
|
|||
loop_var: services_item
|
||||
|
||||
- name: Reload caddy on caddy tag
|
||||
ansible.builtin.include_tasks:
|
||||
ansible.builtin.import_tasks:
|
||||
file: tasks/reload-caddy.yml
|
||||
apply:
|
||||
tags: caddy
|
||||
tags:
|
||||
- caddy
|
||||
- never
|
||||
|
||||
- name: Stop unused services
|
||||
ansible.builtin.include_tasks:
|
||||
ansible.builtin.import_tasks:
|
||||
file: tasks/stop-unused.yml
|
||||
apply:
|
||||
tags:
|
||||
- cleanup
|
||||
- always
|
||||
tags:
|
||||
- cleanup
|
||||
- always
|
||||
tags: always
|
||||
|
|
|
@ -364,7 +364,12 @@ services = {
|
|||
type = "hook"
|
||||
}]
|
||||
monitoring = {
|
||||
url = "starttls://mail.serguzim.me:587"
|
||||
group = "3-services"
|
||||
conditions = [
|
||||
"[CONNECTED] == true",
|
||||
"[CERTIFICATE_EXPIRATION] > 48h"
|
||||
]
|
||||
}
|
||||
ports = [
|
||||
{
|
||||
|
@ -737,7 +742,7 @@ services = {
|
|||
},
|
||||
|
||||
"vikunja" = {
|
||||
host = "node001"
|
||||
host = "node003"
|
||||
dns = [{
|
||||
domain = "todo.serguzim.me"
|
||||
}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue