From 8868333a8dbecbccf2e0991d1f828611dc5edb9a Mon Sep 17 00:00:00 2001 From: Andrea Dell'Amico Date: Wed, 16 Dec 2020 19:30:05 +0100 Subject: [PATCH] tag for the letsencrypt hook script --- tasks/haproxy-letsencrypt-acme-sh.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/tasks/haproxy-letsencrypt-acme-sh.yml b/tasks/haproxy-letsencrypt-acme-sh.yml index aa0cb5b..2d60a06 100644 --- a/tasks/haproxy-letsencrypt-acme-sh.yml +++ b/tasks/haproxy-letsencrypt-acme-sh.yml @@ -5,6 +5,7 @@ - name: Install a script that fix the letsencrypt certificate for haproxy and then reload the service template: src=haproxy-letsencrypt-acme.sh.j2 dest={{ letsencrypt_acme_sh_services_scripts_dir }}/haproxy owner=root group=root mode=4555 + tags: [ 'pki', 'ssl', 'letsencrypt', 'haproxy', 'letsencrypt_acme_sh', 'haproxy_letsencrypt_hook' ] - name: When we are going to install letsencrypt certificates, create a preliminary path and a self signed cert. Now handle the haproxy special case shell: mkdir {{ pki_dir }}/haproxy ; cat {{ letsencrypt_acme_user_home | default(omit) }}/live/{{ ansible_fqdn }}/privkey {{ letsencrypt_acme_user_home | default(omit) }}/live/{{ ansible_fqdn }}/cert > {{ pki_dir }}/haproxy/haproxy.pem