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
5420fa94
Commit
5420fa94
authored
8 years ago
by
Matthew Mosesohn
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #897 from holser/flush_handlers_before_etcd
Flush handlers before etcd restart
parents
1ee33d3a
43fa72b7
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/etcd/tasks/main.yml
+8
-8
8 additions, 8 deletions
roles/etcd/tasks/main.yml
with
8 additions
and
8 deletions
roles/etcd/tasks/main.yml
+
8
−
8
View file @
5420fa94
...
...
@@ -15,22 +15,22 @@
-
include
:
refresh_config.yml
when
:
is_etcd_master
-
name
:
Ensure etcd is running
service
:
name
:
etcd
state
:
started
enabled
:
yes
when
:
is_etcd_master
-
name
:
Restart etcd if binary or certs changed
command
:
/bin/true
notify
:
restart etcd
when
:
etcd_deployment_type == "host" and etcd_copy.stdout_lines and is_etcd_master
or etcd_secret_changed|default(false)
#
R
eload
systemd
before starting service
#
r
eload
-
systemd
-
meta
:
flush_handlers
-
name
:
Ensure etcd is running
service
:
name
:
etcd
state
:
started
enabled
:
yes
when
:
is_etcd_master
# After etcd cluster is assembled, make sure that
# initial state of the cluster is in `existing`
# state insted of `new`.
...
...
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