Hello ,
I am new to Ansible and I am trying to follow the steps in the below links to to Install nginx and webserver but when I am copy the code as it is and run it , it gives me an error similar to “ERROR! Syntax Error while loading YAML.” although I am using online Yaml Validator and it says “YAML IS VALID”
I need Ansible/Yaml Editor when I past the code on it , it can restructure the file automatically to a valid one and adjust spaces and tabs!
- Ansible PlayBook copied from (https://linuxhint.com/ansible-tutorial-beginners/):