If you see an error such as this: 1ERROR! 'sudo' is not a valid attribute for a Play You need to replace: 1sudo: yes with 1become:true See https://stackoverflow.com/questions/60162859/error-sudo-is-not-a-valid-attribute-for-a-play
Read More1ansible-playbook ansible/web-apache-ubuntu.yml -u root --private-key ~/.ssh/ansible-only.ppk -i "67.217.89.118, " -vvv
Read More