This commit is contained in:
parent
0f64c1de70
commit
a0d3d849ca
1 changed files with 1 additions and 5 deletions
|
|
@ -18,13 +18,9 @@
|
||||||
|
|
||||||
- name: Add Docker Repository
|
- name: Add Docker Repository
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: deb https://download.docker.com/linux/ubuntu jammy stable
|
repo: "deb https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
|
||||||
state: present
|
state: present
|
||||||
|
|
||||||
- name: debug for repo
|
|
||||||
debug:
|
|
||||||
msg: "{{ ansible_distribution_release }}"
|
|
||||||
|
|
||||||
- name: Update apt and install docker-ce
|
- name: Update apt and install docker-ce
|
||||||
apt:
|
apt:
|
||||||
name: docker-ce
|
name: docker-ce
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue