do you know how to install docker?
yeap. I can install the Docker manually using the same steps outline on the playbook
After adding the repo line, you need to do apt-get update to sync the package list. Then apt-get later will know package docker-ce comes from the repo you just added
that's being done update-cache argument on line 63 actually
I was not missing something actually for anyone who comes across similar issue. The issue was how ansible-playbook --check works. Actually running the playbook worked without issues and installed the docker as expected (I later ended up extended last task to include container.d & docker-ce-cli on a loop😺)
Обсуждают сегодня