Hi ,
I have written a YAML to install on my AWS Slave server, but i am getting below error while running the playbook,
ERROR! Syntax Error while loading YAML.
The error appears to have been in ‘/etc/ansible/install_nginx.yml’: line 3, column 1, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
tasks:
- name: nginx
^ here