Still having issues. I completely started over and no luck. Ansible still complains, it is complaining about action and every time I change something it complains about another stanza. Here is the error ansible-playbook TEST -i hosts -C ERROR! Syntax Error while loading YAML.
The error appears to have been in '/root/SPLUNK/TEST': line 5, column 10, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Installs splunk action: shell wget -O /tmp/splunk.rpm http://example.com/file ^ here Here is my YAML playbook --- - hosts: all tasks: - name: Installs splunk action: shell wget -O /tmp/splunk.rpm http://example.com/file - name: change file ownership file: path=/tmp/splunk.rpm owner=root mode=0700 On Sunday, April 23, 2017 at 8:48:07 PM UTC-4, Paul Markham wrote: > > Try indenting the msg line. YAML is very fussy about spacing and > indentation. > > -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/30b39c42-6b2b-4491-a5c3-651c3ce6296f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
