# Latest

**URL:** https://forum.ansible.com/latest.md?page=463

[Latest](https://forum.ansible.com/latest.md) · [Categories](https://forum.ansible.com/categories.md) · [Tags](https://forum.ansible.com/tags.md)

**Page:** 464

---

## [Syntax Error with postgresql\_query module](https://forum.ansible.com/t/syntax-error-with-postgresql-query-module/30264)

<div class="topic-metadata">

**Author:** [@magnani95](https://forum.ansible.com/u/magnani95)\
**Replies:** 3\
**Last updated:** [May 4, 2019, 9:31am UTC](https://forum.ansible.com/t/syntax-error-with-postgresql-query-module/30264 "2019-05-04T09:31:37Z")

</div>

Hi, I have to create and populate a DB with Ansible. I successfully create the db, but when I add the postgresql\_query I got syntax error. I also tried to add the code from documentation (here) but it get the same. Th…

---

## [Swagger based code generation for Ansible Modules & idempotency questions](https://forum.ansible.com/t/swagger-based-code-generation-for-ansible-modules-idempotency-questions/30263)

<div class="topic-metadata">

**Author:** [@Ravi\_Tandon](https://forum.ansible.com/u/Ravi_Tandon)\
**Replies:** 0\
**Last updated:** [May 3, 2019, 7:18pm UTC](https://forum.ansible.com/t/swagger-based-code-generation-for-ansible-modules-idempotency-questions/30263 "2019-05-03T19:18:54Z")

</div>

Hello Ansible Developers, I am from the Developer Experience team at Oracle Cloud Infrastructure and wanted to get dev community’s take on code generation and idempotency in Ansible modules, and any future improvements …

---

## [Copying files from vsphere datastore to host](https://forum.ansible.com/t/copying-files-from-vsphere-datastore-to-host/30259)

<div class="topic-metadata">

**Author:** [@spongebob33167](https://forum.ansible.com/u/spongebob33167)\
**Replies:** 2\
**Last updated:** [May 3, 2019, 6:54pm UTC](https://forum.ansible.com/t/copying-files-from-vsphere-datastore-to-host/30259 "2019-05-03T18:54:24Z")

</div>

With vsphere\_copy, I can upload files to a vsphere datastore, but I want to download a .vmdk file from a datastore to my local server. Is there an ansible module that will let me download from a datastore?

---

## [Bug when during installation of awx:4.0.0](https://forum.ansible.com/t/bug-when-during-installation-of-awx-4-0-0/30260)

<div class="topic-metadata">

**Author:** [@mohamedjarboui1995](https://forum.ansible.com/u/mohamedjarboui1995)\
**Replies:** 4\
**Last updated:** [May 3, 2019, 4:38pm UTC](https://forum.ansible.com/t/bug-when-during-installation-of-awx-4-0-0/30260 "2019-05-03T16:38:18Z")

</div>

hello, when i tried to install awx version 4.0.0 with docker compose on linux , i get this problem in the last task of playbook " start containers" : the problem is related to the awx\_rabbitmq container , please hel…

---

## [Check allocation\_unit\_size](https://forum.ansible.com/t/check-allocation-unit-size/30261)

<div class="topic-metadata">

**Author:** [@Maxime\_Gendrot](https://forum.ansible.com/u/Maxime_Gendrot)\
**Replies:** 0\
**Last updated:** [May 3, 2019, 2:23pm UTC](https://forum.ansible.com/t/check-allocation-unit-size/30261 "2019-05-03T14:23:41Z")

</div>

Hi, I Would like to use win\_disk\_facts to check allocation\_unit\_size for each disk. I can do it with powershell: ($wql = “SELECT Label, Blocksize, Name FROM Win32\_Volume WHERE FileSystem=‘NTFS’” Get-WmiObject -Query …

---

## [dns-options ISSUE](https://forum.ansible.com/t/dns-options-issue/30258)

<div class="topic-metadata">

**Author:** [@cristian.fernandez](https://forum.ansible.com/u/cristian.fernandez)\
**Replies:** 3\
**Last updated:** [May 3, 2019, 12:40pm UTC](https://forum.ansible.com/t/dns-options-issue/30258 "2019-05-03T12:40:53Z")

</div>

Hi all, I have a problem with dns options in awx\_task container, the directive “options ndots:value” is configured to 0 in /etc/resolv.conf. I want configure them to 1 but when I restart the awx\_task container come back …

---

## [Can use setup module with in Vcenter](https://forum.ansible.com/t/can-use-setup-module-with-in-vcenter/30254)

<div class="topic-metadata">

**Author:** [@lander7500](https://forum.ansible.com/u/lander7500)\
**Replies:** 0\
**Last updated:** [May 3, 2019, 7:30am UTC](https://forum.ansible.com/t/can-use-setup-module-with-in-vcenter/30254 "2019-05-03T07:30:43Z")

</div>

I need obtain network info (IP, netmask, gateway, Broadcast…) in vcenter machines with my ansible machine and I obtain network with setup module, but of my Ansible machine. Can use hostname, password, username… ?

---

## [Splunk logging only activity\_stream for new templates](https://forum.ansible.com/t/splunk-logging-only-activity-stream-for-new-templates/30253)

<div class="topic-metadata">

**Author:** [@Abhinav\_anand](https://forum.ansible.com/u/Abhinav_anand)\
**Replies:** 2\
**Last updated:** [May 3, 2019, 5:35am UTC](https://forum.ansible.com/t/splunk-logging-only-activity-stream-for-new-templates/30253 "2019-05-03T05:35:18Z")

</div>

Hi Team, I am seeing a strange issue , all my old templates logs activity\_stream, job\_events etc in splunk ( whatever I have defined) but when I create new templates, only activity\_stream is being dumped. Anyone experi…

---

## [AWX NFS](https://forum.ansible.com/t/awx-nfs/30252)

<div class="topic-metadata">

**Author:** [@fmontaldo3](https://forum.ansible.com/u/fmontaldo3)\
**Replies:** 1\
**Last updated:** [May 2, 2019, 8:04pm UTC](https://forum.ansible.com/t/awx-nfs/30252 "2019-05-02T20:04:33Z")

</div>

Hi folks, I want to know if there is a way that AWX to configure the web interface of AWX in order to upload files. Thanks in advence

---

## [Upstream Ansible 2.8.0rc2 released](https://forum.ansible.com/t/upstream-ansible-2-8-0rc2-released/30251)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [May 2, 2019, 6:06pm UTC](https://forum.ansible.com/t/upstream-ansible-2-8-0rc2-released/30251 "2019-05-02T18:06:51Z")

</div>

Hi all- we're happy to announce that the general release of Ansible 2.8.0rc2 is now available! How do you get it?

---

## [how do I properly set ANSIBLE\_BECOME\_PASS ?](https://forum.ansible.com/t/how-do-i-properly-set-ansible-become-pass/30232)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 4\
**Last updated:** [May 2, 2019, 4:16pm UTC](https://forum.ansible.com/t/how-do-i-properly-set-ansible-become-pass/30232 "2019-05-02T16:16:25Z")

</div>

Hello! Sorry to be so lame. What combination of environment vars do I need to set in order to not get prompted for a SUDO password?! I’ve tried setting ANSIBLE\_BECOME\_PASS and ANSIBLE\_ASK\_BECOME\_PASS=False but I still g…

---

## [conflicting action statements: shell, async](https://forum.ansible.com/t/conflicting-action-statements-shell-async/30213)

<div class="topic-metadata">

**Author:** [@grimlinzz](https://forum.ansible.com/u/grimlinzz)\
**Replies:** 1\
**Last updated:** [May 2, 2019, 3:41pm UTC](https://forum.ansible.com/t/conflicting-action-statements-shell-async/30213 "2019-05-02T15:41:42Z")

</div>

Hello, i installed ansible 2.7.10 with pip. Extract from the playbook : \` \` name: stop the host shell: sleep 2 && shutdown -h now “Ansible updates triggered” async: 1 poll: 0 ignore\_errors: true \` \` when i ru…

---

## [setting up  “physical path credentials to IIS WebApp using win\_iis\_webapplication”  in Ansible](https://forum.ansible.com/t/setting-up-physical-path-credentials-to-iis-webapp-using-win-iis-webapplication-in-ansible/30205)

<div class="topic-metadata">

**Author:** [@Venu\_Gopal](https://forum.ansible.com/u/Venu_Gopal)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 1:14pm UTC](https://forum.ansible.com/t/setting-up-physical-path-credentials-to-iis-webapp-using-win-iis-webapplication-in-ansible/30205 "2019-05-02T13:14:44Z")

</div>

I am trying to create the Webapplication using Ansible with the win\_iis\_webapplication command. I am unable to set the “physical path credentials” for the site using this command. Could someone help me on how to pass the…

---

## [i can't list hard disk info](https://forum.ansible.com/t/i-cant-list-hard-disk-info/30243)

<div class="topic-metadata">

**Author:** [@lander7500](https://forum.ansible.com/u/lander7500)\
**Replies:** 4\
**Last updated:** [May 2, 2019, 12:01pm UTC](https://forum.ansible.com/t/i-cant-list-hard-disk-info/30243 "2019-05-02T12:01:37Z")

</div>

Hi, i use this playbook:

---

## [how to use ansible -m setup in playbook?](https://forum.ansible.com/t/how-to-use-ansible-m-setup-in-playbook/30246)

<div class="topic-metadata">

**Author:** [@lander7500](https://forum.ansible.com/u/lander7500)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 11:52am UTC](https://forum.ansible.com/t/how-to-use-ansible-m-setup-in-playbook/30246 "2019-05-02T11:52:41Z")

</div>

I want to use ansible -m setup in playbook to take ip information and I dont know how to do it

---

## [how to obtain ip info](https://forum.ansible.com/t/how-to-obtain-ip-info/30244)

<div class="topic-metadata">

**Author:** [@lander7500](https://forum.ansible.com/u/lander7500)\
**Replies:** 4\
**Last updated:** [May 2, 2019, 11:51am UTC](https://forum.ansible.com/t/how-to-obtain-ip-info/30244 "2019-05-02T11:51:21Z")

</div>

I need ip, gateway and netmask info

---

## [i can't list object](https://forum.ansible.com/t/i-cant-list-object/30241)

<div class="topic-metadata">

**Author:** [@lander7500](https://forum.ansible.com/u/lander7500)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 11:49am UTC](https://forum.ansible.com/t/i-cant-list-object/30241 "2019-05-02T11:49:30Z")

</div>

Hi, i’m use this playbook

---

## [How to restore Templates and Projects ?](https://forum.ansible.com/t/how-to-restore-templates-and-projects/28441)

<div class="topic-metadata">

**Author:** [@Vi\_Kan](https://forum.ansible.com/u/Vi_Kan)\
**Replies:** 4\
**Last updated:** [May 2, 2019, 10:10am UTC](https://forum.ansible.com/t/how-to-restore-templates-and-projects/28441 "2019-05-02T10:10:10Z")

</div>

Hi! Unfortunately, I ran into problem with upgrading awx to 1.0.7. I had tried to update existing awx. Now my instance doesn’t work. Than I made a dump of awx database, made fresh install and imported it. Now I can logi…

---

## [how to create a new hard disk?](https://forum.ansible.com/t/how-to-create-a-new-hard-disk/30242)

<div class="topic-metadata">

**Author:** [@lander7500](https://forum.ansible.com/u/lander7500)\
**Replies:** 0\
**Last updated:** [May 2, 2019, 6:55am UTC](https://forum.ansible.com/t/how-to-create-a-new-hard-disk/30242 "2019-05-02T06:55:22Z")

</div>

I know to use this task: name: Add HardDisk vmware\_guest: hostname: “{{ hostname }}” username: “{{ username }}” password: “{{ password }}” validate\_certs: no folder: / name: “{{vm}}” disk: size\_gb: “{{gb}}” Cr…

---

## [Edit list of AD-HOC command to be visible and execute from AWX drop down list](https://forum.ansible.com/t/edit-list-of-ad-hoc-command-to-be-visible-and-execute-from-awx-drop-down-list/30229)

<div class="topic-metadata">

**Author:** [@iamlightsocialxen](https://forum.ansible.com/u/iamlightsocialxen)\
**Replies:** 2\
**Last updated:** [May 2, 2019, 5:10am UTC](https://forum.ansible.com/t/edit-list-of-ad-hoc-command-to-be-visible-and-execute-from-awx-drop-down-list/30229 "2019-05-02T05:10:57Z")

</div>

Hello Experts, I was wondering, Is there a way to edit or enable new modules in the existing list of Ad-hoc command in AWX ? When browsing I landed to one of the webinar from Matt Jones , who explains it is possible in…

---

## [Sprints during PyCon US 2019](https://forum.ansible.com/t/sprints-during-pycon-us-2019/30239)

<div class="topic-metadata">

**Author:** [@sdoran](https://forum.ansible.com/u/sdoran)\
**Replies:** 0\
**Last updated:** [May 2, 2019, 4:26am UTC](https://forum.ansible.com/t/sprints-during-pycon-us-2019/30239 "2019-05-02T04:26:58Z")

</div>

We will be hosting Ansible sprints during PyCon US 2019 in Cleveland, OH May 6-7. Sprints are free to attend for anyone, even if you are not attending the conference itself. We would love to see you there if you are atte…

---

## [Sprints during PyCon US 2019](https://forum.ansible.com/t/sprints-during-pycon-us-2019/30238)

<div class="topic-metadata">

**Author:** [@sdoran](https://forum.ansible.com/u/sdoran)\
**Replies:** 0\
**Last updated:** [May 2, 2019, 4:16am UTC](https://forum.ansible.com/t/sprints-during-pycon-us-2019/30238 "2019-05-02T04:16:43Z")

</div>

We will be hosting Ansible sprints during PyCon US 2019 in Cleveland, OH May 6-7. Sprints are free to attend for anyone, even if you are not attending the conference itself. We would love to see you there if you are atte…

---

## [Replacing the existing Jar files with available Jar files and currently with same name available no action is taking](https://forum.ansible.com/t/replacing-the-existing-jar-files-with-available-jar-files-and-currently-with-same-name-available-no-action-is-taking/30233)

<div class="topic-metadata">

**Author:** [@chandrasekhar\_Mallis](https://forum.ansible.com/u/chandrasekhar_Mallis)\
**Replies:** 3\
**Last updated:** [May 2, 2019, 3:32am UTC](https://forum.ansible.com/t/replacing-the-existing-jar-files-with-available-jar-files-and-currently-with-same-name-available-no-action-is-taking/30233 "2019-05-02T03:32:29Z")

</div>

Dear All. Need your help we are in the process of Automating the cognos analytics servers from Linux env with ansible code . Requirement : we have two Jar files named local\_policy.jar and US\_export\_policy.jar in our cu…

---

## [Simple Ansible ping failing](https://forum.ansible.com/t/simple-ansible-ping-failing/15655)

<div class="topic-metadata">

**Author:** [@Chris\_Jones](https://forum.ansible.com/u/Chris_Jones)\
**Replies:** 9\
**Last updated:** [May 1, 2019, 11:14pm UTC](https://forum.ansible.com/t/simple-ansible-ping-failing/15655 "2019-05-01T23:14:54Z")

</div>

Environments: 2 VMs (one VirtualBox with CentOS 7 and one Fusion with Fedora 20) -Python 2.7.5 -Ansible 1.6.6 installed via PIP -host file with IP of other VM -ssh works fine in both directions -sftp on both vms …

---

## [How to truncate oracle table with ansible code](https://forum.ansible.com/t/how-to-truncate-oracle-table-with-ansible-code/30235)

<div class="topic-metadata">

**Author:** [@cassell](https://forum.ansible.com/u/cassell)\
**Replies:** 0\
**Last updated:** [May 1, 2019, 9:05pm UTC](https://forum.ansible.com/t/how-to-truncate-oracle-table-with-ansible-code/30235 "2019-05-01T21:05:38Z")

</div>

This is a better question for the ansible-project list. V/r, James Cassell

---

## [How to truncate a particular table in oracle db automatically with ansible code can you please suggest .](https://forum.ansible.com/t/how-to-truncate-a-particular-table-in-oracle-db-automatically-with-ansible-code-can-you-please-suggest/30234)

<div class="topic-metadata">

**Author:** [@chandrasekhar\_Mallis](https://forum.ansible.com/u/chandrasekhar_Mallis)\
**Replies:** 0\
**Last updated:** [May 1, 2019, 8:28pm UTC](https://forum.ansible.com/t/how-to-truncate-a-particular-table-in-oracle-db-automatically-with-ansible-code-can-you-please-suggest/30234 "2019-05-01T20:28:24Z")

</div>

Requirement : we are in the process of automating the SSL feature in Cognos 11 analytics in that as a first step we need to truncate a table in oracle db Can any one add the Ansible code for truncating a table in oracle…

---

## [Determine which server in inventory is the executor](https://forum.ansible.com/t/determine-which-server-in-inventory-is-the-executor/30231)

<div class="topic-metadata">

**Author:** [@Eric\_Brewer](https://forum.ansible.com/u/Eric_Brewer)\
**Replies:** 0\
**Last updated:** [May 1, 2019, 5:43pm UTC](https://forum.ansible.com/t/determine-which-server-in-inventory-is-the-executor/30231 "2019-05-01T17:43:06Z")

</div>

I have a situation where i need to be able to load new packages on a server, and turn it into an nfs yum repo. I have a playbook that does this, and mounts the directory the repo will live on to the other servers and set…

---

## [Can callback plugin access all Ansible vars?](https://forum.ansible.com/t/can-callback-plugin-access-all-ansible-vars/30104)

<div class="topic-metadata">

**Author:** [@ttomecek](https://forum.ansible.com/u/ttomecek)\
**Replies:** 5\
**Last updated:** [May 1, 2019, 4:20pm UTC](https://forum.ansible.com/t/can-callback-plugin-access-all-ansible-vars/30104 "2019-05-01T16:20:39Z")

</div>

Hi, I just got this issue opened for ansible-bender: https://github.com/ansible-community/ansible-bender/issues/111 Most of the magic which bender does happens in a dedicated callback plugin. Hence my question: is there…

---

## [Sourcing a script on a remote host to use the functions in the script](https://forum.ansible.com/t/sourcing-a-script-on-a-remote-host-to-use-the-functions-in-the-script/30225)

<div class="topic-metadata">

**Author:** [@bren85](https://forum.ansible.com/u/bren85)\
**Replies:** 3\
**Last updated:** [May 1, 2019, 2:39pm UTC](https://forum.ansible.com/t/sourcing-a-script-on-a-remote-host-to-use-the-functions-in-the-script/30225 "2019-05-01T14:39:02Z")

</div>

I am trying to source a script on a remote host so I can use the functions in it. I have tried: shell: source \[filename.sh\] && \[function name\] args: executable: /bin/bash and a lot of variations on this. Now I have…

---

## [Copy files between two remote servers WITHOUT synchronize module](https://forum.ansible.com/t/copy-files-between-two-remote-servers-without-synchronize-module/30228)

<div class="topic-metadata">

**Author:** [@Glen\_Collins](https://forum.ansible.com/u/Glen_Collins)\
**Replies:** 1\
**Last updated:** [May 1, 2019, 1:36pm UTC](https://forum.ansible.com/t/copy-files-between-two-remote-servers-without-synchronize-module/30228 "2019-05-01T13:36:24Z")

</div>

Hello all! I have an issue in my environment where I cannot use the synchronize module to transfer data between two remote nodes. So I need a different way to do this. ServerA: Ansible Server (Tower Instance) ServerA1…

[Previous page](https://forum.ansible.com/latest.md?page=462)

[Next page](https://forum.ansible.com/latest.md?page=464)
