Fixed Docker install playbook

This commit is contained in:
Justus Grunow 2024-11-10 17:41:21 -05:00
parent 9282e14118
commit 56dd617776

View File

@ -31,7 +31,7 @@
- name: chmod keyring
ansible.builtin.shell: chmod a+r /etc/apt/keyrings/docker.asc
- name: Add Docker repo
ansible.builtin.shell: echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian$(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
ansible.builtin.shell: echo "deb [arch=$(dpkg --print-architecture) signed-by=/etc/apt/keyrings/docker.asc] https://download.docker.com/linux/debian $(. /etc/os-release && echo "$VERSION_CODENAME") stable" | tee /etc/apt/sources.list.d/docker.list > /dev/null
- name: Install Docker
ansible.builtin.apt:
update_cache: true