fix nomad token condition

Signed-off-by: vincent <vincent@ducamps.win>
This commit is contained in:
vincent 2023-10-29 20:03:08 +01:00
parent 85d9dfa7d7
commit 521ea28229

View File

@ -23,7 +23,7 @@
- name: Gather nomad token - name: Gather nomad token
ansible.builtin.set_fact: ansible.builtin.set_fact:
nomad_vault_token: "{{ nomad_token_data.login.auth.client_token }}" 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 - name: Hashicorp stack
hosts: all hosts: all