From 6cf0129d002d0bbc88756f4d662e0f5af043dc52 Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Mon, 19 Oct 2026 22:32:54 -0700 Subject: Add static site hosting for eugenetriguba.com --- roles/obsd_ssl/tasks/main.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'roles/obsd_ssl/tasks') diff --git a/roles/obsd_ssl/tasks/main.yml b/roles/obsd_ssl/tasks/main.yml index d29c576..4a3b23f 100644 --- a/roles/obsd_ssl/tasks/main.yml +++ b/roles/obsd_ssl/tasks/main.yml @@ -33,9 +33,9 @@ when: acme_client_vhost_config is changed # noqa: no-handler - name: Generate certificate - ansible.builtin.command: acme-client {{ item }} + ansible.builtin.command: acme-client {{ item.name }} args: - creates: "/etc/ssl/{{ item }}.fullchain.pem" + creates: "/etc/ssl/{{ item.name }}.fullchain.pem" loop: "{{ obsd_ssl_domains }}" - name: Add certificate renewal crontab entry @@ -45,8 +45,8 @@ # > # > ~ * * * * acme-client example.com && rcctl reload httpd ansible.builtin.cron: - name: "renew {{ item }} certificate" + name: "renew {{ item.name }} certificate" minute: "~" user: root - job: "acme-client {{ item }} && rcctl reload httpd" + job: "acme-client {{ item.name }} && rcctl reload httpd" loop: "{{ obsd_ssl_domains }}" -- cgit v1.2.3