Raspberry Pi 4 Ansible playbooks with Hassio in Docker, Portainer, and RetroPie
brew install ansible
Edit and copy hosts file to the /etc/ansible/hosts
ssh-copy-id -i ~/.ssh/id_rsa.pub user@host
ansible all -m ping -u pi
ansible-playbook -u pi deploy.yaml