ansible -m ping all
Why am I getting the same warnings and Errors when I tried running my Playbook? (starfish.yml)
So, that means: My Playbook is Right? But something important is Not. What is that?
Please Help…Thank You.
With Hope,
Prabhakaran
The following are the Warnings and Errors:
/usr/lib/python2.7/site-packages/ansible/parsing/vault/_init.py:44: CyptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.exceptions import InvalidSignature
[WARNING]: * Failed to parse /etc/ansible/hosts with yaml plugin: We were unable to read either as JSON nor YAML, these are the errors we got from each: JSON: No JSON object could be decoded Syntax Error while loading YAML. expected ‘’, but found ‘[’ The error appears to be in ‘/etc/ansible/hosts’: line 4, column 1, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: ] [starfish] ^ here
[WARNING]: * Failed to parse /etc/ansible/hosts with ini plugin: need more than 2 values to upack
[WARNING]: Unable to parse /etc/ansible/hosts as an inventory source
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match ‘all’