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
9ee0600a
Commit
9ee0600a
authored
8 years ago
by
Josh Lothian
Browse files
Options
Downloads
Patches
Plain Diff
Update handler names and explanation
parent
30cc7c84
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
roles/network_plugin/flannel/handlers/main.yml
+8
-4
8 additions, 4 deletions
roles/network_plugin/flannel/handlers/main.yml
with
8 additions
and
4 deletions
roles/network_plugin/flannel/handlers/main.yml
+
8
−
4
View file @
9ee0600a
...
@@ -4,14 +4,18 @@
...
@@ -4,14 +4,18 @@
failed_when
:
false
failed_when
:
false
notify
:
Flannel | restart docker
notify
:
Flannel | restart docker
# special cases for atomic because it defaults to live-restore: true
# So we disable live-restore to pickup the new flannel IP. After
# we enable it, we have to restart docker again to pickup the new
# setting and restore the original behavior
-
name
:
Flannel | restart docker
-
name
:
Flannel | restart docker
command
:
/bin/true
command
:
/bin/true
notify
:
notify
:
-
Flannel | reload systemd
-
Flannel | reload systemd
-
Flannel | reload docker.socket
-
Flannel | reload docker.socket
-
Flannel |
re
configure docker
restart behavior
(atomic)
-
Flannel | configure docker
live-restore
true
(atomic)
-
Flannel | reload docker
-
Flannel | reload docker
-
Flannel |
resto
re docker
restart behavior
(atomic)
-
Flannel |
configu
re docker
live-restore
false
(atomic)
-
Flannel | reload docker (atomic)
-
Flannel | reload docker (atomic)
-
Flannel | pause while Docker restarts
-
Flannel | pause while Docker restarts
-
Flannel | wait for docker
-
Flannel | wait for docker
...
@@ -25,7 +29,7 @@
...
@@ -25,7 +29,7 @@
state
:
restarted
state
:
restarted
when
:
ansible_os_family in ['CoreOS', 'Container Linux by CoreOS']
when
:
ansible_os_family in ['CoreOS', 'Container Linux by CoreOS']
-
name
:
Flannel |
re
configure docker
restart behavior
(atomic)
-
name
:
Flannel | configure docker
live-restore
true
(atomic)
replace
:
replace
:
name
:
/etc/docker/daemon.json
name
:
/etc/docker/daemon.json
regexp
:
'
"live-restore":.*true'
regexp
:
'
"live-restore":.*true'
...
@@ -37,7 +41,7 @@
...
@@ -37,7 +41,7 @@
name
:
docker
name
:
docker
state
:
restarted
state
:
restarted
-
name
:
Flannel |
resto
re docker
restart behavior
(atomic)
-
name
:
Flannel |
configu
re docker
live-restore
false
(atomic)
replace
:
replace
:
name
:
/etc/docker/daemon.json
name
:
/etc/docker/daemon.json
regexp
:
'
"live-restore":
false'
regexp
:
'
"live-restore":
false'
...
...
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