This commit is contained in:
2023-11-24 14:58:11 +02:00
parent 8520c9e5be
commit a6538cdf46
3 changed files with 14 additions and 7 deletions

View File

@@ -17,6 +17,7 @@
# ^ ex: Ubuntu -> ubuntu
url: "https://download.docker.com/linux/ubuntu/gpg"
state: present
ignore_errors: yes
- name: Add Docker's APT repo
@@ -25,6 +26,7 @@
repo: "deb [arch={{ docker_arch }}] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
state: present
update_cache: yes
ignore_errors: yes
- name: Install docker and dependencies
ansible.builtin.apt: