john-h-luo 9f5a0d60d1
correct typo modify comment (#16492)
Signed-off-by: John Luo <jiehua.luo@zilliz.com>
2022-04-18 14:25:37 +08:00

31 lines
803 B
YAML

---
- name: Install Docker Dependencies
apt: name={{ item }} state=latest update_cache=yes
with_items:
- apt-transport-https
- ca-certificates
- software-properties-common
tags: docker
- name: Get Docker key
apt_key:
url: https://download.docker.com/linux/ubuntu/gpg
state: present
tags: docker
- name: Add Docker packages to Repository
apt_repository:
repo: deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_lsb.codename|lower }} stable
tags: docker
- name: Install Docker-CE
apt: name="docker-ce" state=latest update_cache=yes
tags: docker
- name: Install python3-docker
apt: name="python3-docker" state=latest update_cache=yes
tags: docker
- name: Install docker-compose python3 library
command: "pip3 install docker-compose"