Re: [ansible-devel] Re: Ansible Tower wont install on CentOS

2019-06-20 Thread James Tanner
If you are a tower customer or are working on a POC, please open a ticket with with support: https://access.redhat.com/products/ansible-tower-red-hat#support On Thu, Jun 20, 2019 at 5:23 PM Tony Chia wrote: > run the "mount" command verify to see if the mounts point are mounted with > noexec

[ansible-devel] Re: Ansible Tower wont install on CentOS

2019-06-20 Thread Tony Chia
run the "mount" command verify to see if the mounts point are mounted with noexec If it is, then figure out why they are mounted with noexec On Thursday, June 20, 2019 at 6:35:32 AM UTC-7, Josh Ferguson wrote: > > Hi their, > > I am trying to install Ansible Tower onto CentOS 7.6 > > However

[ansible-devel] Re: How to pass ansible variables to powershell cmdlet using win_shell module

2019-06-20 Thread Stefano Leandro
Yes Sir, many thanks. Now, it seems work proprerly: - set_fact: target_ip: '{{ lookup("dig", inventory_hostname) }}' - win_shell: | Get-DHCPServerV4Lease -IPAddress {{ target_ip }} | Add-DhcpServerv4Reservation Il giorno giovedì 20 giugno 2019 13:33:41 UTC-6, Jordan

[ansible-devel] Re: How to pass ansible variables to powershell cmdlet using win_shell module

2019-06-20 Thread Jordan Borean
Your set_fact task is setting 'lookup('dig', inventory_hostname)' as a literal string, you will to use braces so it actually interprets the lookup, e.g. - set_fact: target_ip: '{{ lookup("dig", inventory_hostname) }}' In the future you are better off posting in the Ansible Project mailing

[ansible-devel] How to pass ansible variables to powershell cmdlet using win_shell module

2019-06-20 Thread Stefano Leandro
Hi guys, Someone could help me ? I cannot understand how to pass an ansible variable to powershell cmdlet via win_shell command . Below my code : tasks: - set_fact: target_ip: "lookup('dig', inventory_hostname)" - win_shell: | "Get-DHCPServerV4Lease -IPAddress \"{{