Skip to content

Instantly share code, notes, and snippets.

@ktechmidas
Created September 1, 2018 06:47
Show Gist options
  • Save ktechmidas/5797f5c56fd9f474be83e5f4ed338b67 to your computer and use it in GitHub Desktop.
Save ktechmidas/5797f5c56fd9f474be83e5f4ed338b67 to your computer and use it in GitHub Desktop.
root@ip-172-31-25-166:/etc/ansible/playbooks# ansible all -i inven2.py -m ping
[WARNING]: * Failed to parse /etc/ansible/playbooks/inven2.py with ini plugin: /etc/ansible/playbooks/inven2.py:23: Expected key=value host variable assignment, got: os
[WARNING]: Unable to parse /etc/ansible/playbooks/inven2.py 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'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment