ansible-community / ansible-nomad

:watch: Ansible role for Nomad
https://galaxy.ansible.com/brianshumate/nomad
BSD 2-Clause "Simplified" License
294 stars 163 forks source link

Adding support for JWT auth to vault #188

Open netdata-be opened 7 months ago

netdata-be commented 7 months ago

In newer versions of nomad you get this warning:

agent: Setting a Vault token in the agent configuration is deprecated and will be removed in Nomad 1.9. Migrate your Vault configuration to use workload identity.

This PR adds a default idenity section the config if set, so that we don't break older nomad versions.

rndmh3ro commented 7 months ago

LGTM! Are these two options mutually exclusive? If yes, should we accomodate for that?