[ansible-project] Re: regex_replace filter

2019-04-06 Thread Sri Krishna G
Please ignore this issue. It was a mistake in the next part of the play book that is causing the port to come twice. On Sunday, April 7, 2019 at 1:03:34 AM UTC+5:30, Sri Krishna G wrote: > > I have a list of strings like : > > [hosts] > 10.100.0.1 > 10.100.0.2 > 10.100.0

[ansible-project] regex_replace filter

2019-04-06 Thread Sri Krishna G
I have a list of strings like : [hosts] 10.100.0.1 10.100.0.2 10.100.0.3 I am following the example under : https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html to "add "https://; prefix to each item in a list" In my case I am appending the port number at the end of every

[ansible-project] configure VM IP along with vsphere_guest

2015-12-07 Thread Sri Krishna G
hi all, i am trying to see how to assign IP to a VM after it is created with the vsphere_guest module. i have gone through the pysphere SDK documentation, and i gather that it supports assigning an IP. has any one tried to get it to work? if this topic was already discussed please point me to