From 8b8feeee68846258ba9e8a7d992db36fae19a952 Mon Sep 17 00:00:00 2001 From: Cris Ten Eyck <102826925+cristoferteneyck@users.noreply.github.com> Date: Thu, 18 Aug 2022 16:14:02 -0600 Subject: [PATCH] update conditional in add_crypto_token.yml Fix typo in conditional for creating the crypto token. --- .../ansible-ejbca-crypto-token/tasks/add_crypto_token.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible_ejbca_signsrv/roles/ansible-ejbca-crypto-token/tasks/add_crypto_token.yml b/ansible_ejbca_signsrv/roles/ansible-ejbca-crypto-token/tasks/add_crypto_token.yml index 55e57f9..abd9f7c 100644 --- a/ansible_ejbca_signsrv/roles/ansible-ejbca-crypto-token/tasks/add_crypto_token.yml +++ b/ansible_ejbca_signsrv/roles/ansible-ejbca-crypto-token/tasks/add_crypto_token.yml @@ -35,8 +35,8 @@ failed_when: add_cryptotoken.rc >= 2 when: - (item.crypto_token_name is defined and item.crypto_token_name not in cryptoToken_list.stdout) or - (item.canme is defined and item.caname not in cryptoToken_list.stdout and item.crypto_token_name is not defined) + (item.caname is defined and item.caname not in cryptoToken_list.stdout and item.crypto_token_name is not defined) #- name: debug add_cryptotoken # debug: -# var: add_cryptotoken \ No newline at end of file +# var: add_cryptotoken