Skip to content

Commit

Permalink
add docker-compose to default pacakge list
Browse files Browse the repository at this point in the history
  • Loading branch information
Vonng committed Apr 8, 2022
1 parent e20496f commit 7650777
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 5 additions & 1 deletion roles/docker/tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,11 @@
#------------------------------------------------------------------------------
- name: Install docker and kubernetes
tags: docker_install
package: name=docker-ce state=present
package: name={{ item }} state=present
with_items:
- docker-ce
- docker-compose


#------------------------------------------------------------------------------
# docker admin user
Expand Down
2 changes: 2 additions & 0 deletions roles/docker/templates/daemon.json.j2
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@
"storage-opts": [
"overlay2.override_kernel_check=true"
],
"metrics-addr" : "127.0.0.1:9323",
"experimental" : true,
"registry-mirrors" : {{ docker_registry_mirrors | to_json }}
}

0 comments on commit 7650777

Please sign in to comment.