Play ansible playbook with inventory file inside another playbook
22 views
Skip to first unread message
Mateusz Pańczyszyn
unread,
May 21, 2017, 4:09:19 PM5/21/17
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ansible Project
Hi,
I have small problem. I have my own playbook to prepare installation of our product which also using ansible. My playbook is using for download product from repo, unpack, customize some config files and so on. After that I have unpacked and configured product which only need to be executed from ansible (ansible-playbook -i product_inv product.yml). How to define command/include product_playbook with product_inventory to my playbook? I tried by shell command: "ansible-playbook" but I had some problems wifh paths. Is it possible define tasks/role with external inventory file?