- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
02-08-2018 03:28 AM
My play fails when i include an inventory with an output message:
"msg": "Missing required libraries."
This works okay when I passe the hosts details as a variable from var.yml to my playbook. Not sure what Is wrong but I am testing with the example playbooks in the Git repository.
02-08-2018 06:43 PM
It's likely there's a package dependency that needs to be addressed. Can you confirm you've installed the following python packages? If not you can add them with pip install packagename.
02-09-2018 07:47 AM
I think I got all that, Note that this only happens when I ...
ansible-playbook templates.yml -i <inventory.file> , where the invenrory has {{my-firewall}}
(using)
hosts: my-firewall
connection: local
The play works when I run playbook without -i <invenroty.file ( hosts: localhost ) and passing my-firewall ip directly to the playbook.yml template.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!