Skip to content

Commit

Permalink
add variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Vahaggn committed Oct 7, 2023
1 parent 342d03a commit 0c6565f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion part29-vault/check_vault_unseal_status.yaml
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
- name: Check Vault Seal Status
hosts: localhost
gather_facts: no

vars_prompt:

- name: DOMAIN
prompt: what is the domain of the vault?
default: vault.devopshobbies.com
private: false

tasks:
- name: Get Vault Seal Status
uri:
url: "https://{{DOMAIN}}/v1/sys/seal-status"
url: "https://{{ DOMAIN }}/v1/sys/seal-status"
method: GET
return_content: yes
register: seal_status
Expand Down

0 comments on commit 0c6565f

Please sign in to comment.