Do not forget to enter your SSH password and sudo password in the inventory.ini file before proceeding ahead.
Make sure that install-docker-compose-on-ubuntu.yml, inventory.ini and build-svdriver-docker-image.yml are in the same directory.
Run the following commands in succession to build an image and push it to DockerHub.
$ ansible-playbook -i inventory.ini install-docker-compose-on-ubuntu.yml -vvv
$ ansible-playbook -i inventory.ini build-svdriver-docker-image.yml -vvvThis assumes that you have already logged in to your Docker account in your remote machine and hence, the push takes place without asking for any kind of authentication.