Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kubespray
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Mirror
Kubespray
Commits
77c910c1
Unverified
Commit
77c910c1
authored
6 years ago
by
Matthew Mosesohn
Committed by
GitHub
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fixup vault etcd check (#2938)
* Fixup vault etcd * Update main.yml
parent
c20196f9
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/vault/tasks/shared/check_etcd.yml
+2
-2
2 additions, 2 deletions
roles/vault/tasks/shared/check_etcd.yml
with
2 additions
and
2 deletions
roles/vault/tasks/shared/check_etcd.yml
+
2
−
2
View file @
77c910c1
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
-
name
:
check_etcd | Check if etcd is up and reachable
-
name
:
check_etcd | Check if etcd is up and reachable
uri
:
uri
:
url
:
"
{{
vault_etcd_url
}}/health"
url
:
"
{{
vault_etcd_url
.split(',')
|
first
}}/health"
validate_certs
:
no
validate_certs
:
no
client_cert
:
"
{{
etcd_cert_dir
}}/node-{{
inventory_hostname
}}.pem"
client_cert
:
"
{{
etcd_cert_dir
}}/node-{{
inventory_hostname
}}.pem"
client_key
:
"
{{
etcd_cert_dir
}}/node-{{
inventory_hostname
}}-key.pem"
client_key
:
"
{{
etcd_cert_dir
}}/node-{{
inventory_hostname
}}-key.pem"
...
@@ -26,5 +26,5 @@
...
@@ -26,5 +26,5 @@
fail
:
fail
:
msg
:
>
msg
:
>
Unable to start Vault cluster! Etcd is not available at
Unable to start Vault cluster! Etcd is not available at
{{ vault_etcd_url }} however it is needed by Vault as a backend.
{{ vault_etcd_url
.split(',') | first
}} however it is needed by Vault as a backend.
when
:
vault_etcd_needed|d() and not vault_etcd_available
when
:
vault_etcd_needed|d() and not vault_etcd_available
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment