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
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
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
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
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 \"{{