Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Ansible
Roles
docker
Commits
0a2165ca
Commit
0a2165ca
authored
1 year ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Install docker by default
Update docker compose to 2.24.6 Add update tag
parent
beb99dde
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
defaults/main.yml
+2
-1
2 additions, 1 deletion
defaults/main.yml
tasks/install.yml
+2
-0
2 additions, 0 deletions
tasks/install.yml
tasks/main.yml
+1
-1
1 addition, 1 deletion
tasks/main.yml
with
5 additions
and
2 deletions
defaults/main.yml
+
2
−
1
View file @
0a2165ca
---
docker_install
:
yes
docker_pip_packages
:
-
docker
-
docker-compose
docker_subnet
:
no
docker_compose_version
:
1.24.0
docker_compose2_version
:
2.
18.1
docker_compose2_version
:
2.
24.6
This diff is collapsed.
Click to expand it.
tasks/install.yml
+
2
−
0
View file @
0a2165ca
...
...
@@ -34,12 +34,14 @@
owner
:
root
group
:
root
state
:
directory
tags
:
update
-
name
:
Download Docker Compose V2
get_url
:
url
:
https://github.com/docker/compose/releases/download/v{{ docker_compose2_version }}/docker-compose-linux-x86_64
dest
:
/usr/local/lib/docker/cli-plugins/docker-compose
mode
:
0755
tags
:
update
-
name
:
Configure delayed startup of Docker engine
lineinfile
:
...
...
This diff is collapsed.
Click to expand it.
tasks/main.yml
+
1
−
1
View file @
0a2165ca
...
...
@@ -18,4 +18,4 @@
loop_control
:
loop_var
:
app
when
:
not excluded_roles or "docker" not in excluded_roles
when
:
docker_install and (
not excluded_roles or "docker" not in excluded_roles
)
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