Move files to submodule
This commit is contained in:
commit
dff3044422
6 changed files with 70 additions and 0 deletions
30
tasks/packages.yml
Normal file
30
tasks/packages.yml
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
- name: Add Docker GPG apt Key
|
||||
apt_key:
|
||||
url: https://download.docker.com/linux/debian/gpg
|
||||
state: present
|
||||
|
||||
- name: Add Docker Repository
|
||||
apt_repository:
|
||||
repo: deb https://download.docker.com/linux/debian bullseye stable
|
||||
state: present
|
||||
|
||||
- name: install docker packages
|
||||
tags: [apt]
|
||||
apt:
|
||||
autoremove: yes
|
||||
update_cache: yes
|
||||
cache_valid_time: 3600
|
||||
state: present
|
||||
name:
|
||||
- docker-ce
|
||||
- docker-ce-cli
|
||||
- containerd.io
|
||||
- docker-buildx-plugin
|
||||
- docker-compose-plugin
|
||||
|
||||
- name: start docker service
|
||||
systemd:
|
||||
daemon_reload: yes
|
||||
state: started
|
||||
enabled: yes
|
||||
name: docker.service
|
||||
Loading…
Add table
Add a link
Reference in a new issue