Installing Docker Engine and Docker Compose with Ansible

Info

  • Target OS: Linux (Debian)
  • Tested platform: Raspberry Pi OS Lite (64 bit) on Raspberry Pi 4 4GB

How to use

  1. Edit hosts file.

  2. Execute the following command.

ansible-playbook playbook.yml -i hosts