[cdhadmin@vboacisbs13 ansible]$ ansible-playbook java.yml --syntax -checkERROR! Syntax Error while loading YAML.did not find expected keyThe error appears to have been in '/etc/ansible/java.yml': line 12, column 6, but maybe elsewhere in the file depending on the exact syntax problem.The offending line appears to be:# lineinfile is used to add additional or append lines to existing files.- lineinfile :^ here
the whole content is replacing by one line (PATH=/usr/java/jdk1.8.0_171-amd64/bin:$PATH')? could you please suggest how to append?