Compare commits

...

4 commits

Author SHA1 Message Date
d8ea56bce8 Grafana is now optional 2024-09-08 11:30:00 +02:00
a15967598f Add forgejo runner 2024-09-08 11:29:48 +02:00
dd25fd30fc Remove DNS journal files 2024-09-08 11:29:34 +02:00
270bfc58a4 typo 2024-09-08 11:29:20 +02:00
4 changed files with 14 additions and 2 deletions

View file

@ -18,7 +18,7 @@
- hosts: grafana
roles:
- { role: grafana, tags: grafana }
- { role: grafana, tags: [ never, grafana ] }
- hosts: mail
roles:

View file

@ -75,6 +75,10 @@ lxc:
ansible_host: 10.255.3.17
resources: { cpu: 1, ram: 1024, swap: 1024, disk: 16 }
action.vm.chapo.li:
ansible_host: 10.255.3.18
resources: { cpu: 4, ram: 2048, swap: 1024, disk: 32 }
vars:
ansible_user: root
@ -116,6 +120,7 @@ docker:
todo.vm.chapo.li:
sharkey.vm.chapo.li:
status.vm.chapo.li:
action.vm.chapo.li:
backup:
hosts:

View file

@ -11,7 +11,7 @@
mode: 0600
- name: Query lets encrypt certificate
shell: 'letsencrypt certonly -n --dns-rfc2136 --dns-rfc2136-credentials /root/dns-secret.ini -m {{ letsencrypt_email|default("me@chapoline.me") }} --expand --agree-tos -d {{ cert.name }} {% for a in cert.alias %} -d {{a}}{% endfor %} {% if cert.renewal_hook %}--deploy-hook "{{ cert.renewal_hook }}"{{ endif }}'
shell: 'letsencrypt certonly -n --dns-rfc2136 --dns-rfc2136-credentials /root/dns-secret.ini -m {{ letsencrypt_email|default("me@chapoline.me") }} --expand --agree-tos -d {{ cert.name }} {% for a in cert.alias %} -d {{a}}{% endfor %} {% if cert.renewal_hook %}--deploy-hook "{{ cert.renewal_hook }}"{% endif %}'
ignore_errors: true
- name: Create a few symbolic links

View file

@ -81,6 +81,13 @@
loop: "{{ zones|default(zone_list) }}"
notify: Restart bind9
- name: Remove journal zone files
file:
path: "/etc/bind/master/{{ item.name }}.db.jnl"
state: absent
loop: "{{ zones|default(zone_list) }}"
notify: Restart bind9
# - name: Create reverse zone files
- name: Check configuration integrity