[ansible-project] ios_l2_interface network module add encapsulation

2019-04-27 Thread David Carrena
Hello Team, Is someone able to add with this module the encapsulation of the interface before setting trunk mode? I think it is missing on the module. I would like suggest to add "encapsulation" parameter otherwise we may need jinja2 script to add it. Without the encpasulation command, the oth

[ansible-project] Re: awx/tower api help wanted

2019-04-27 Thread dan
BTW, I've done quite a bit of API work on the command line using curl and this site is quite useful: https://json.parser.online.fr/ I was able to paste in your original code and easily see that "targets" is only going to be evaluated once (to "dev-cn-c2") by looking at the YAML. Or if you past

[ansible-project] Re: awx/tower api help wanted

2019-04-27 Thread dan
I believe your JSON on the command line is incorrect - I'd bet that your example only runs against the "dev-cn-c2" target, correct? Try this for the data to pass: { "extra_vars": { "domain": "dom-cn-1", "targets": [ "dev-cn-c1", "dev-cn-c2" ] , "fwcmd": "fw sam -v -J src 192.168.10.10" }}

[ansible-project] awx/tower api help wanted

2019-04-27 Thread ATHIRA sanoj
Hello Team team i am trying to launch a template with list of variable_value but task is getting executed only in one target host *sample request* curl -H "Content-Type: application/json" -X POST -s -u admin:admin123 -d '{ "extra_vars": { "domain": "dom-cn-1", "targets": "dev-cn-c1", "targe