Skip to content

Commit

Permalink
Fixed a typo in the Vault token register name in deploy_vars role
Browse files Browse the repository at this point in the history
  • Loading branch information
AllRWeak authored and at3rva committed Nov 23, 2023
1 parent 31b19fa commit 1452d72
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion nova/core/roles/deploy_vars/defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ vault_auth_method: ldap # Currenty in this role ldap or userpass are supported
vault_username: "{{ deployer_username }}"
vault_password: "{{ deployer_password }}"
validate_vault_certs: true
vault_access_token: "{{ vault_acces_token.login.auth.client_token }}" # Comes from Vault token generation task in main.yml
vault_access_token: "{{ deploy_vars_vault_token.login.auth.client_token }}" # Comes from Vault token generation task in main.yml
vault_lookup_fragment: "url={{ vault_address }} token={{ vault_access_token }} " # The space before the ending quote is required

##########
Expand Down
2 changes: 1 addition & 1 deletion nova/core/roles/deploy_vars/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
password: "{{ vault_password }}"
validate_certs: "{{ validate_vault_certs }}"
ca_cert: "{{ vault_ca_cert | default(omit) }}" # The path to the CA certificate file which is used to validate the Vault server certificate
register: vault_acces_token
register: deploy_vars_vault_token
delegate_to: localhost
become: false
when: vault_address != {}
Expand Down

0 comments on commit 1452d72

Please sign in to comment.