14 lines
399 B
YAML
14 lines
399 B
YAML
- name: Add Docker GPG apt Key
|
|
ansible.builtin.apt_key:
|
|
url: https://download.docker.com/linux/ubuntu/gpg
|
|
state: present
|
|
- name: Add Docker Repository
|
|
ansible.builtin.apt_repository:
|
|
repo: deb https://download.docker.com/linux/ubuntu focal stable
|
|
state: present
|
|
- name: Update install docker-ce
|
|
ansible.builtin.apt:
|
|
name: docker-ce
|
|
state: latest
|
|
update_cache: true
|