Skip to content

Commit

Permalink
fix(ansible): use correct distro name
Browse files Browse the repository at this point in the history
Signed-off-by: Boris Glimcher <36732377+glimchb@users.noreply.github.com>
  • Loading branch information
glimchb committed May 30, 2024
1 parent af2237f commit 9989371
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lab/ansible/setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
- ansible.builtin.package: state=present name=python3-pip,sshpass,git
- ansible.builtin.get_url: url=https://download.docker.com/linux/ubuntu/gpg dest=/etc/apt/keyrings/docker.asc mode='0644' force=true
when: ansible_os_family == 'Debian'
- ansible.builtin.apt_repository: state=present repo="deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu noble stable"
- ansible.builtin.apt_repository: state=present repo="deb [arch=amd64 signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/ubuntu {{ ansible_distribution_release }} stable"
when: ansible_os_family == 'Debian'
- ansible.builtin.package: state=absent name=docker.io,docker-doc,docker-compose,docker-compose-v2,podman-docker,containerd,runc
- ansible.builtin.package: state=present name=docker-ce,docker-ce-cli,containerd.io,docker-buildx-plugin,docker-compose-plugin
Expand Down

0 comments on commit 9989371

Please sign in to comment.