nut and acme working

This commit is contained in:
2024-01-11 18:15:16 +13:00
parent ba7cda511e
commit c6755e8d97
19 changed files with 287 additions and 70 deletions

View File

@ -12,7 +12,6 @@
name: nut
state: latest
update_cache: true
upgrade: false
- name: Setup NUT servers
gather_facts: false
@ -20,9 +19,9 @@
become: true
roles:
- role: acme_certificate
vars:
acme_certificate_subject: "{{ ansible_hostname }}"
acme_certificate_zone: balsillie.house
acme_certificate_subject: "{{ ansible_host }}"
acme_certificate_zone: balsillie.house
acme_certificate_restart_services: ['nut-server.service']
- role: nut_server
- name: Setup NUT clients