[ansible-project] Pass a variable in "vars_file" to "with_items" from command prompt as part of "extra-vars"

2019-05-09 Thread Anuradha Gangu
My main objective is, I want to create a playbook with one task which will take list of docker images and list of hosts and then run one image on one host respectively or run list of images on one of host list supplied. To make it clear on understanding consider below declaration hostImageList

[ansible-project] Pass a variable in "vars_file" to "with_items" from command prompt as part of "extra-vars"

2019-05-09 Thread Anuradha Gangu
My main objective is, I want to create a playbook with one task which will take list of docker images and list of hosts and then run one image on one host respectively or run list of images on one of host list supplied. To make it clear on understanding consider below declaration hostImageList

[ansible-project] Pass a variable in "vars_file" to "with_items" from command prompt as part of "extra-vars"

2019-05-09 Thread Anuradha Gangu
My main objective is, I want to create a playbook with one task which will take list of docker images and list of hosts and then run one image on one host respectively or run list of images on one of host list supplied. To make it clear on understanding consider below declaration hostImageLi

[ansible-project] Pass a variable in "vars_file" to "with_items" from command prompt as part of "extra-vars"

2019-05-09 Thread Anuradha Gangu
SUMMARY My main objective is, I want to create a playbook with one task which will take list of docker images and list of hosts and then run one image on one host respectively or run list of images on one of host list supplied. To make it clear on understanding consider below declaration ho