Re: [ansible-project] how to get the controller ip address

2017-09-10 Thread Kai Stian Olstad
On 10. sep. 2017 20:50, Ehab Aboudaya wrote: i am trying to get the controller ip address that is used to run the playbook. The ip is the one when the ssh connection establishes to remote. debug: msg="{{ (ansible_env|default({})).SSH_CLIENT|default('')}}" the SSH_CLIENT in my case is always

[ansible-project] Re: win_package with no path in 2.3.2

2017-09-10 Thread Jordan Borean
Hi The win_package module was overhauled in 2.4 and it now allows you to uninstall a package when you just specify the product id. In the end you should be able to run just - win_package: > product_id: '{7D7C80AF-58D6-4C3F-912B-8B5B4D50A71B}' > state: absent This works the way you