Add tags to PKI include

When rotating certificates for HAProxy it's quite neat to have
tags that will allow to run specifically certificate rotation without
any extra steps.

Change-Id: If1b6d6e46a4b2941198b0f57c858d415fbbdc8d1
This commit is contained in:
Dmitriy Rabotyagov
2023-09-27 10:01:01 +02:00
committed by Jonathan Rosser
parent cb4eb8b327
commit 75092ec0a4

View File

@@ -43,6 +43,10 @@
- name: Create and install SSL certificates
include_role:
name: pki
apply:
tags:
- haproxy_server-config
- pki
vars:
pki_setup_host: "{{ haproxy_pki_setup_host }}"
pki_dir: "{{ haproxy_pki_dir }}"
@@ -57,6 +61,9 @@
pki_handler_cert_installed: "haproxy cert installed"
when:
- haproxy_ssl | bool
tags:
- haproxy_server-config
- pki
- name: Importing haproxy_post_install tasks
import_tasks: haproxy_post_install.yml