change to docker edge for docker-ce package

This commit is contained in:
Shawn DeFede 2022-07-31 18:23:25 -04:00
parent f583d39a84
commit 6bbc3d2a01

View File

@ -33,6 +33,12 @@
register: add_repository_key register: add_repository_key
ignore_errors: "{{ docker_apt_ignore_key_error }}" ignore_errors: "{{ docker_apt_ignore_key_error }}"
- name: Set Docker repository to edge
apt_repository:
repo: "deb [arch=amd64] https://download.docker.com/linux/ubuntu {{ ansible_lsb.codename }} edge"
state: present
update_cache: yes
- name: Ensure curl is present (on older systems without SNI). - name: Ensure curl is present (on older systems without SNI).
package: name=curl state=present package: name=curl state=present
when: add_repository_key is failed when: add_repository_key is failed