jacobmammoliti/ansible-role-vault

The service fails when vault_local_binary_location and vault binary is not vault

Closed this issue · 0 comments

If you apply the role with vault_local_binary_location: /home/test/download/vault_oss, then the servies will not start.

The role installs the binary retaining the local filename, but the rest of the settings still expect the binary to be named vault.

dest: '{{ vault_install_directory }}/{{ vault_local_binary_location | basename }}'

should probably be changed to

    dest: '{{ vault_install_directory }}/vault'