Right now the user input will come when the user runs the main playbook.  
 The playbook is a series of include_tasks's.    While the inventory file 
contains vars but i would like the user input to help select what vars to 
use through the plays.


Example of vars in inventory would be:
ams03:
  hosts:
    localhost
  vars:
    ui: 886000428027
    vmc01: 
am1vmhost1,am1vmhost2,am1vmhost3,am1vmhost4,am1vmhost5,am1vmhost6,am1vmhost7,am1vmhost8
    vmc02: 
"'am1vmhost9','am1vmhost10','am1vmhost11','am1vmhost12','am1vmhost13','am1vmhost14','am1vmhost15','am1vmhost16'"
    vmc01ports: ['CL5-A' , 'CL5-B' , 'CL6-A' , 'CL6-B']
    vmc02ports: ['CL7-A' , 'CL7-B' , 'CL8-A' , 'CL8-B']


But the user will select what vmc## should be used

Through out the playbook the right hosts and ports need to be selected, but 
i am unsure how to ensure that.    

In the future the input will come from an online form or other tool, but 
the values could still be passed the same.   

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/ansible-project/b1e9cd35-4427-4bf4-ab11-fba91ffb39c4%40googlegroups.com.

Reply via email to