fix nomad token condition
Signed-off-by: vincent <vincent@ducamps.win>
This commit is contained in:
parent
85d9dfa7d7
commit
521ea28229
@ -23,7 +23,7 @@
|
||||
- name: Gather nomad token
|
||||
ansible.builtin.set_fact:
|
||||
nomad_vault_token: "{{ nomad_token_data.login.auth.client_token }}"
|
||||
when: nomad_token_data.login
|
||||
when: nomad_token_data.login is defined
|
||||
|
||||
- name: Hashicorp stack
|
||||
hosts: all
|
||||
|
Loading…
Reference in New Issue
Block a user