You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
429 B

  1. ---
  2. - name: cluster/unseal | Current sealed state
  3. debug:
  4. msg: "Sealed? {{ vault_is_sealed }}"
  5. - name: cluster/unseal | Unseal Vault
  6. hashivault_unseal:
  7. url: "https://localhost:{{ vault_port }}/"
  8. token: "{{ vault_root_token }}"
  9. ca_cert: "{{ vault_cert_dir }}/ca.pem"
  10. keys: "{{ item }}"
  11. no_log: true
  12. with_items: "{{ vault_unseal_keys|default([]) }}"
  13. notify: wait for vault up
  14. when: vault_is_sealed