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
7b8359df
Unverified
Commit
7b8359df
authored
7 years ago
by
Rong Zhang
Committed by
GitHub
7 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #2613 from riverzhang/atomic-docker
Fix check docker error for atomic
parents
3736bfa0
66b61866
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/docker/tasks/pre-upgrade.yml
+7
-2
7 additions, 2 deletions
roles/docker/tasks/pre-upgrade.yml
with
7 additions
and
2 deletions
roles/docker/tasks/pre-upgrade.yml
+
7
−
2
View file @
7b8359df
...
@@ -6,7 +6,9 @@
...
@@ -6,7 +6,9 @@
with_items
:
with_items
:
-
docker
-
docker
-
docker-engine
-
docker-engine
when
:
ansible_os_family == 'Debian' and (docker_versioned_pkg[docker_version | string] | search('docker-ce'))
when
:
-
ansible_os_family == 'Debian'
-
(docker_versioned_pkg[docker_version | string] | search('docker-ce'))
-
name
:
Ensure old versions of Docker are not installed. | RedHat
-
name
:
Ensure old versions of Docker are not installed. | RedHat
package
:
package
:
...
@@ -17,4 +19,7 @@
...
@@ -17,4 +19,7 @@
-
docker-common
-
docker-common
-
docker-engine
-
docker-engine
-
docker-selinux
-
docker-selinux
when
:
ansible_os_family == 'RedHat' and (docker_versioned_pkg[docker_version | string] | search('docker-ce'))
when
:
\ No newline at end of file
-
ansible_os_family == 'RedHat'
-
(docker_versioned_pkg[docker_version | string] | search('docker-ce'))
-
not is_atomic
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