# Latest

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

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

**Page:** 460

---

## [ansible ping with specific user dont work](https://forum.ansible.com/t/ansible-ping-with-specific-user-dont-work/26005)

<div class="topic-metadata">

**Author:** [@iamlightsocialxen](https://forum.ansible.com/u/iamlightsocialxen)\
**Replies:** 5\
**Last updated:** [May 19, 2019, 3:20am UTC](https://forum.ansible.com/t/ansible-ping-with-specific-user-dont-work/26005 "2019-05-19T03:20:17Z")

</div>

Hello All, Just new to Ansible and trying to implement in our organozation. Noticed this, When ran ping from root user prompt by mentioning “delpoy” user , it errors out.

---

## [Need feedback for my project of installation AWX+prerequise](https://forum.ansible.com/t/need-feedback-for-my-project-of-installation-awx-prerequise/30368)

<div class="topic-metadata">

**Author:** [@Rab\_Boubou](https://forum.ansible.com/u/Rab_Boubou)\
**Replies:** 0\
**Last updated:** [May 18, 2019, 9:37pm UTC](https://forum.ansible.com/t/need-feedback-for-my-project-of-installation-awx-prerequise/30368 "2019-05-18T21:37:15Z")

</div>

Hello , I have decided to create new project to help everybody who want install awx whitout install all prerequise. I have created ansible script to deploy prerequis tools and AWX. This is my project https://github.c…

---

## [GCE inetance create issue](https://forum.ansible.com/t/gce-inetance-create-issue/30367)

<div class="topic-metadata">

**Author:** [@Thulasya\_Rajakaruna](https://forum.ansible.com/u/Thulasya_Rajakaruna)\
**Replies:** 0\
**Last updated:** [May 18, 2019, 7:19pm UTC](https://forum.ansible.com/t/gce-inetance-create-issue/30367 "2019-05-18T19:19:52Z")

</div>

Hi All my ansible version, ansible --version ansible 2.7.10 config file = /etc/ansible/ansible.cfg configured module search path = \[u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’\] ansible …

---

## [GCE inetance create issue](https://forum.ansible.com/t/gce-inetance-create-issue/30366)

<div class="topic-metadata">

**Author:** [@Thulasya\_Rajakaruna](https://forum.ansible.com/u/Thulasya_Rajakaruna)\
**Replies:** 0\
**Last updated:** [May 18, 2019, 7:19pm UTC](https://forum.ansible.com/t/gce-inetance-create-issue/30366 "2019-05-18T19:19:47Z")

</div>

Hi All my ansible version, ansible --version ansible 2.7.10 config file = /etc/ansible/ansible.cfg configured module search path = \[u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’\] ansible …

---

## [Ansible copy files from remote host to network share](https://forum.ansible.com/t/ansible-copy-files-from-remote-host-to-network-share/30362)

<div class="topic-metadata">

**Author:** [@asmagana](https://forum.ansible.com/u/asmagana)\
**Replies:** 1\
**Last updated:** [May 18, 2019, 6:34pm UTC](https://forum.ansible.com/t/ansible-copy-files-from-remote-host-to-network-share/30362 "2019-05-18T18:34:49Z")

</div>

I am trying to get a playbook to run the open-scap scanner but I need those results on the remote host to be copied over to a network share I am trying something like this but getting “permission denied” \` name: find…

---

## [Verify package before install](https://forum.ansible.com/t/verify-package-before-install/30365)

<div class="topic-metadata">

**Author:** [@Rahul\_Kolan](https://forum.ansible.com/u/Rahul_Kolan)\
**Replies:** 2\
**Last updated:** [May 18, 2019, 3:36pm UTC](https://forum.ansible.com/t/verify-package-before-install/30365 "2019-05-18T15:36:10Z")

</div>

Hello Team, Need your help urgently. I want to install one rpm package, before that i want first verify package exist or not in remote system, if exist it should skip the installation, if not present install that …

---

## [Launch job template using REST api call.](https://forum.ansible.com/t/launch-job-template-using-rest-api-call/30361)

<div class="topic-metadata">

**Author:** [@Nilesh\_Jaiswal](https://forum.ansible.com/u/Nilesh_Jaiswal)\
**Replies:** 1\
**Last updated:** [May 17, 2019, 8:08pm UTC](https://forum.ansible.com/t/launch-job-template-using-rest-api-call/30361 "2019-05-17T20:08:03Z")

</div>

Hi All, I wanted to launch AWX job template using REST api call, please provide input if anyone tried this before. Regards, Nilesh

---

## [Role requiments other roles](https://forum.ansible.com/t/role-requiments-other-roles/30360)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 0\
**Last updated:** [May 17, 2019, 2:38pm UTC](https://forum.ansible.com/t/role-requiments-other-roles/30360 "2019-05-17T14:38:37Z")

</div>

Hi, I create new role for deploy services in cloud. My role requirement role azure.azure\_preview\_modules, but can\`t execute. Not possible configuration with dependencies but execution role. How is create requirement i…

---

## [dynamic survey : https://github.com/ansible/awx/issues/2200](https://forum.ansible.com/t/dynamic-survey-https-github-com-ansible-awx-issues-2200/30354)

<div class="topic-metadata">

**Author:** [@Nilesh\_Jaiswal](https://forum.ansible.com/u/Nilesh_Jaiswal)\
**Replies:** 1\
**Last updated:** [May 17, 2019, 1:16pm UTC](https://forum.ansible.com/t/dynamic-survey-https-github-com-ansible-awx-issues-2200/30354 "2019-05-17T13:16:09Z")

</div>

Dear All, I see AWX has dynamic survey drop down menu list feature I wanted to include this feature to my AWX application, please advise. Regards, Nilesh

---

## [Docker module error](https://forum.ansible.com/t/docker-module-error/30357)

<div class="topic-metadata">

**Author:** [@idemia\_pune](https://forum.ansible.com/u/idemia_pune)\
**Replies:** 1\
**Last updated:** [May 17, 2019, 11:52am UTC](https://forum.ansible.com/t/docker-module-error/30357 "2019-05-17T11:52:40Z")

</div>

Hi, Please help to get this resolved, tried all most everything. Ansible Version: ansible 2.7.10 config file = /etc/ansible/ansible.cfg configured module search path = \[‘/home/stack/.ansible/plugins/modules’, ‘/usr/…

---

## [Proxy/requests](https://forum.ansible.com/t/proxy-requests/30359)

<div class="topic-metadata">

**Author:** [@renato.marcandier](https://forum.ansible.com/u/renato.marcandier)\
**Replies:** 0\
**Last updated:** [May 17, 2019, 9:49am UTC](https://forum.ansible.com/t/proxy-requests/30359 "2019-05-17T09:49:24Z")

</div>

Hello all, I have a question regarding proxy/requests. Can Ansible proxy its requests through a single IP? So I can scale up the Ansible hosts and not have to update all my firewall rules with new IP. Regards RG

---

## [IDRAC in DELL R610 with ipmi\_power](https://forum.ansible.com/t/idrac-in-dell-r610-with-ipmi-power/30355)

<div class="topic-metadata">

**Author:** [@Kevin\_Kwon](https://forum.ansible.com/u/Kevin_Kwon)\
**Replies:** 2\
**Last updated:** [May 17, 2019, 9:17am UTC](https://forum.ansible.com/t/idrac-in-dell-r610-with-ipmi-power/30355 "2019-05-17T09:17:37Z")

</div>

Hi… I am trying to power management by “impi\_power” First, I had checked the “ipmitool” is working on Ansible-Controller like below. root@ubuntu-Ansible:~# root@ubuntu-Ansible:~# ipmitool -I lanplus -H 192.168.200.21…

---

## [query psql](https://forum.ansible.com/t/query-psql/30350)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 2\
**Last updated:** [May 17, 2019, 9:02am UTC](https://forum.ansible.com/t/query-psql/30350 "2019-05-17T09:02:51Z")

</div>

Hi Guys I want to use a SQL query in PostgreSQL Database with ansible and a varibale which is call db\_name. I have the result with my varibale. My problem is I don’t know how interpret ’ ’ command in ansible with my v…

---

## [Generating a single line comma separated string variable from host group](https://forum.ansible.com/t/generating-a-single-line-comma-separated-string-variable-from-host-group/30356)

<div class="topic-metadata">

**Author:** [@James\_Armstrong1](https://forum.ansible.com/u/James_Armstrong1)\
**Replies:** 1\
**Last updated:** [May 17, 2019, 8:40am UTC](https://forum.ansible.com/t/generating-a-single-line-comma-separated-string-variable-from-host-group/30356 "2019-05-17T08:40:55Z")

</div>

Hey, I’ve been pulling my hair out over what seems like a relatively simple task for hours now. I’ve working on playbook for an Elasticsearch deployment. One requirement for this is a config file item that is effective…

---

## [how to get Host IPs](https://forum.ansible.com/t/how-to-get-host-ips/30358)

<div class="topic-metadata">

**Author:** [@SarathChandra\_Bhaska](https://forum.ansible.com/u/SarathChandra_Bhaska)\
**Replies:** 0\
**Last updated:** [May 17, 2019, 7:49am UTC](https://forum.ansible.com/t/how-to-get-host-ips/30358 "2019-05-17T07:49:07Z")

</div>

hi, this is sarath, i have a group with 2 ips. i want to populate those 2 IPs once by one in ansible content module. how can i do that. i used {{ ansible\_facts\[“eth0”\]\[“ipv4”\]\[“address”\] }} but in the content file i m …

---

## [Change current directory](https://forum.ansible.com/t/change-current-directory/30330)

<div class="topic-metadata">

**Author:** [@Kevin\_Kwon](https://forum.ansible.com/u/Kevin_Kwon)\
**Replies:** 3\
**Last updated:** [May 17, 2019, 4:42am UTC](https://forum.ansible.com/t/change-current-directory/30330 "2019-05-17T04:42:43Z")

</div>

Hi… I want to change the current directory in remote host by Ansible. so, i have created the playbook like below. but, it is not working correctly. would you please let me know how can i do change the current director…

---

## [Looking for global level equivalent of 'inventory\_dir' with Ansible 2.4 onwards](https://forum.ansible.com/t/looking-for-global-level-equivalent-of-inventory-dir-with-ansible-2-4-onwards/26094)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 3\
**Last updated:** [May 17, 2019, 12:38am UTC](https://forum.ansible.com/t/looking-for-global-level-equivalent-of-inventory-dir-with-ansible-2-4-onwards/26094 "2019-05-17T00:38:44Z")

</div>

Hi all, I have a bunch of playbooks which only define what needs to be done, and i had split my inventory in some logical groups, so each inventory file is a complete definition of this group and to run run any playbook…

---

## [external api to get vars](https://forum.ansible.com/t/external-api-to-get-vars/30343)

<div class="topic-metadata">

**Author:** [@Shankar\_Bala](https://forum.ansible.com/u/Shankar_Bala)\
**Replies:** 2\
**Last updated:** [May 16, 2019, 8:42pm UTC](https://forum.ansible.com/t/external-api-to-get-vars/30343 "2019-05-16T20:42:07Z")

</div>

hi all i have a playbook containing multiple roles… role1 should call external api and set the result from the api as “vars” role2 should use those vars in their tasks is this something we can achieve ?? Shan

---

## [Encrypt service\_account\_file for Dynamic Inventory](https://forum.ansible.com/t/encrypt-service-account-file-for-dynamic-inventory/30352)

<div class="topic-metadata">

**Author:** [@Sean\_Blong](https://forum.ansible.com/u/Sean_Blong)\
**Replies:** 0\
**Last updated:** [May 16, 2019, 7:08pm UTC](https://forum.ansible.com/t/encrypt-service-account-file-for-dynamic-inventory/30352 "2019-05-16T19:08:39Z")

</div>

Is there a way, or possibly a workaround, to encrypt the service\_account\_file that is used by a dynamic inventory? For instance, I’m using the gcp\_compute inventory plugin and have a dynamic inventory YAML file that look…

---

## [Calling Playbook which accept Parameters from another application usinf the Ansible API](https://forum.ansible.com/t/calling-playbook-which-accept-parameters-from-another-application-usinf-the-ansible-api/30351)

<div class="topic-metadata">

**Author:** [@Dominic\_Lewis](https://forum.ansible.com/u/Dominic_Lewis)\
**Replies:** 0\
**Last updated:** [May 16, 2019, 6:18pm UTC](https://forum.ansible.com/t/calling-playbook-which-accept-parameters-from-another-application-usinf-the-ansible-api/30351 "2019-05-16T18:18:10Z")

</div>

Hi … Can you give me a location to go to which has detailed examples of using the Ansible API to execute Playbooks that use parameters? Thanks, Dominic

---

## [Configuring Management Jobs](https://forum.ansible.com/t/configuring-management-jobs/30326)

<div class="topic-metadata">

**Author:** [@Mayank\_Kumar](https://forum.ansible.com/u/Mayank_Kumar)\
**Replies:** 3\
**Last updated:** [May 16, 2019, 3:25pm UTC](https://forum.ansible.com/t/configuring-management-jobs/30326 "2019-05-16T15:25:40Z")

</div>

Hi All, Is there any way we can make changes in Management Jobs for ansible from config files? For example, I want to put "Cleanup Activity Stream" as 45 days but I am wondering if I can achieve it via some any config …

---

## [Molecule/docker login for multiple instance](https://forum.ansible.com/t/molecule-docker-login-for-multiple-instance/30347)

<div class="topic-metadata">

**Author:** [@Kunalsing\_Thakur](https://forum.ansible.com/u/Kunalsing_Thakur)\
**Replies:** 1\
**Last updated:** [May 16, 2019, 1:28pm UTC](https://forum.ansible.com/t/molecule-docker-login-for-multiple-instance/30347 "2019-05-16T13:28:14Z")

</div>

Molecule and Ansible details dependency: name: galaxy driver: name: docker lint: name: yamllint platforms: - name: nocon01p2 hostname: nocon01p2.example.com image: centos/systemd:1.0 pre\_build\_image…

---

## [ping is not working](https://forum.ansible.com/t/ping-is-not-working/30336)

<div class="topic-metadata">

**Author:** [@Ebrahim\_Kutty](https://forum.ansible.com/u/Ebrahim_Kutty)\
**Replies:** 4\
**Last updated:** [May 16, 2019, 7:02am UTC](https://forum.ansible.com/t/ping-is-not-working/30336 "2019-05-16T07:02:20Z")

</div>

When I test ping command with ansible, I am getting the below error, (red colored) /etc/ansible$ more hosts root@192.168.100.128 /etc/ansible$ more ansible.cfg \[defaults\] remote\_tmp = /tmp/ansible-$USER #remote\_tmp …

---

## [Cisco Switch IOS upgrade playbook](https://forum.ansible.com/t/cisco-switch-ios-upgrade-playbook/30344)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 0\
**Last updated:** [May 16, 2019, 6:42am UTC](https://forum.ansible.com/t/cisco-switch-ios-upgrade-playbook/30344 "2019-05-16T06:42:11Z")

</div>

Hi Team, Can anyone share me the IOS upgrade playbook for cisco switches. thanks,

---

## [\[Issue\] Update variable in vars\_file and call it in a playbook doesn't work](https://forum.ansible.com/t/issue-update-variable-in-vars-file-and-call-it-in-a-playbook-doesnt-work/30333)

<div class="topic-metadata">

**Author:** [@Tran\_Khang](https://forum.ansible.com/u/Tran_Khang)\
**Replies:** 2\
**Last updated:** [May 16, 2019, 3:10am UTC](https://forum.ansible.com/t/issue-update-variable-in-vars-file-and-call-it-in-a-playbook-doesnt-work/30333 "2019-05-16T03:10:01Z")

</div>

Hi all, Please see my playbook below. I call 2 executions on different hosts in 1 playbook. The first execution changes some variables in a vars file which would be used in next execution (create new backup folder and …

---

## [\[Feature Request\] Warn user if nothing is matched by tag](https://forum.ansible.com/t/feature-request-warn-user-if-nothing-is-matched-by-tag/30342)

<div class="topic-metadata">

**Author:** [@Matthew\_Davis](https://forum.ansible.com/u/Matthew_Davis)\
**Replies:** 0\
**Last updated:** [May 15, 2019, 11:58pm UTC](https://forum.ansible.com/t/feature-request-warn-user-if-nothing-is-matched-by-tag/30342 "2019-05-15T23:58:51Z")

</div>

Following on from this github issue. If the user mis-spells a tag when invoking a playbook, then Ansible will run 0 tasks and claim it succeeded. This is misleading. Ansible should warn users when 0 tasks match the tag…

---

## [Running ansible tasks in background and disown](https://forum.ansible.com/t/running-ansible-tasks-in-background-and-disown/30331)

<div class="topic-metadata">

**Author:** [@Kaustav\_Majumder](https://forum.ansible.com/u/Kaustav_Majumder)\
**Replies:** 2\
**Last updated:** [May 15, 2019, 11:14pm UTC](https://forum.ansible.com/t/running-ansible-tasks-in-background-and-disown/30331 "2019-05-15T23:14:38Z")

</div>

Hi all, i am trying to top , sar , iostats in the backgound via ansible on remote hosts and collect stats redirecting outpu to a log file while I run other tasks from my local machine. I have tried - name: collect hyperv…

---

## [Multiple hosts in playbook](https://forum.ansible.com/t/multiple-hosts-in-playbook/28161)

<div class="topic-metadata">

**Author:** [@vinod93pop](https://forum.ansible.com/u/vinod93pop)\
**Replies:** 3\
**Last updated:** [May 15, 2019, 10:45pm UTC](https://forum.ansible.com/t/multiple-hosts-in-playbook/28161 "2019-05-15T22:45:27Z")

</div>

HI all, I have a playbook with 2 inventory groups. primary and secondary, where I want to run few tasks primary and few with secondary in a single playbook. How can I get that. need your help.

---

## [Q on hostvars access to inventory variables ad-hoc vs playbook](https://forum.ansible.com/t/q-on-hostvars-access-to-inventory-variables-ad-hoc-vs-playbook/30248)

<div class="topic-metadata">

**Author:** [@countryroad62](https://forum.ansible.com/u/countryroad62)\
**Replies:** 3\
**Last updated:** [May 15, 2019, 7:50pm UTC](https://forum.ansible.com/t/q-on-hostvars-access-to-inventory-variables-ad-hoc-vs-playbook/30248 "2019-05-15T19:50:20Z")

</div>

I seem to be able to query hostvars for a particular host from the command line and get at the inventory variables but I haven’t figured out how to do this in a playbook. Might it be from hostvars being lazily loaded - …

---

## [Ansible GCP |   gcp\_compute\_instance](https://forum.ansible.com/t/ansible-gcp-gcp-compute-instance/30341)

<div class="topic-metadata">

**Author:** [@Fabio\_Maia](https://forum.ansible.com/u/Fabio_Maia)\
**Replies:** 1\
**Last updated:** [May 15, 2019, 5:25pm UTC](https://forum.ansible.com/t/ansible-gcp-gcp-compute-instance/30341 "2019-05-15T17:25:35Z")

</div>

Hi Guys!! Can u help me? I used a subnet that was being created in a region, but when I run the playbook it shows conflict errors. :frowning: it is possible to use an existing subnet? Here go my playbook example: n…

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

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