From 86fe966f3e846e02209054e46d6d1f08a6f63fdc Mon Sep 17 00:00:00 2001 From: mperochon Date: Wed, 7 Jun 2017 14:39:04 +0200 Subject: [PATCH] fixup --- roles/vault/tasks/shared/issue_cert.yml | 4 ---- 1 file changed, 4 deletions(-) diff --git a/roles/vault/tasks/shared/issue_cert.yml b/roles/vault/tasks/shared/issue_cert.yml index 786112d24..3ea6733b3 100644 --- a/roles/vault/tasks/shared/issue_cert.yml +++ b/roles/vault/tasks/shared/issue_cert.yml @@ -39,7 +39,6 @@ ip_sans: "{{ issue_cert_ip_sans | default([]) | join(',') }}" register: issue_cert_result when: - - inventory_hostname in play_hosts - inventory_hostname == issue_cert_hosts|first - name: issue_cert | Copy the cert to all hosts @@ -50,7 +49,6 @@ mode: "{{ issue_cert_file_mode | d('0644') }}" owner: "{{ issue_cert_file_owner | d('root') }}" when: - - inventory_hostname in play_hosts - inventory_hostname == issue_cert_hosts|first - name: issue_cert | Copy the key to all hosts @@ -61,7 +59,6 @@ mode: "{{ issue_cert_file_mode | d('0640') }}" owner: "{{ issue_cert_file_owner | d('root') }}" when: - - inventory_hostname in play_hosts - inventory_hostname == issue_cert_hosts|first - name: issue_cert | Copy issuing CA cert @@ -72,6 +69,5 @@ mode: "{{ issue_cert_file_mode | d('0644') }}" 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)