Maybe you have discountred something like this? I I have a simple stub
playbook that I pass parameters to.
---
# Play: run_role.yml
# Usage: ansible-playbook -i ~/ansible/invs ~/ansible/run_role.yml -e
"ROLE=<role>" -e "TARGETIP=<n.n.n.n|host@fqdn>"
- hosts: '{{TARGETIP}}'
user: ansible
sudo: true
roles:
- { role: '{{ROLE}}' }
--
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/a5ee2763-b798-404c-aa8d-edfe1de1fa94%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.