From 0681ad8d5f05bad2e4b16452f8f5d38c182bafd0 Mon Sep 17 00:00:00 2001 From: mperochon Date: Tue, 6 Jun 2017 14:53:25 +0200 Subject: [PATCH] fixup --- roles/vault/tasks/shared/issue_cert.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/roles/vault/tasks/shared/issue_cert.yml b/roles/vault/tasks/shared/issue_cert.yml index 3ef31a565..786112d24 100644 --- a/roles/vault/tasks/shared/issue_cert.yml +++ b/roles/vault/tasks/shared/issue_cert.yml @@ -73,4 +73,5 @@ owner: "{{ issue_cert_file_owner | d('root') }}" when: - inventory_hostname in play_hosts + - inventory_hostname == issue_cert_hosts|first - issue_cert_copy_ca|default(false)