# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=188

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

**Page:** 189

---

## [how to bypass a Cisco menu](https://forum.ansible.com/t/how-to-bypass-a-cisco-menu/30377)

<div class="topic-metadata">

**Author:** [@Pete\_Siemsen](https://forum.ansible.com/u/Pete_Siemsen)\
**Replies:** 0\
**Last updated:** [May 20, 2019, 6:09pm UTC](https://forum.ansible.com/t/how-to-bypass-a-cisco-menu/30377 "2019-05-20T18:09:32Z")

</div>

I have Ansible playbooks that use the “ios\_config” module to backup the config of my Cisco devices. Works fine on all my Ciscos except the terminal servers. This makes total sense: when I ssh to one of our terminal serv…

---

## [Connection Ansible with Windows host problem](https://forum.ansible.com/t/connection-ansible-with-windows-host-problem/30374)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 3\
**Last updated:** [May 20, 2019, 1:16pm UTC](https://forum.ansible.com/t/connection-ansible-with-windows-host-problem/30374 "2019-05-20T13:16:45Z")

</div>

Hey, I want connect Ansible with my host Windows but i don’t understand why it’s not works. I have groupe in /etc/ansible/hosts : \[windows\] 101.5.213.11 ansible\_connection=ssh ansible\_shell\_type=powershell I have on…

---

## [yum: AttributeError: 'module' object has no attribute 'i18n'](https://forum.ansible.com/t/yum-attributeerror-module-object-has-no-attribute-i18n/30375)

<div class="topic-metadata">

**Author:** [@christian.tremel](https://forum.ansible.com/u/christian.tremel)\
**Replies:** 2\
**Last updated:** [May 20, 2019, 11:47am UTC](https://forum.ansible.com/t/yum-attributeerror-module-object-has-no-attribute-i18n/30375 "2019-05-20T11:47:19Z")

</div>

hi, got this error out of nowhere…what’s the problem here? ansible --version ansible 2.7.10 config file = /etc/ansible/aix/ansible.cfg configured module search path = \[u’/root/.ansible/plugins/modules’, u’/usr/share…

---

## [Run script sql on ansible](https://forum.ansible.com/t/run-script-sql-on-ansible/30312)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 3\
**Last updated:** [May 20, 2019, 7:35am UTC](https://forum.ansible.com/t/run-script-sql-on-ansible/30312 "2019-05-20T07:35:19Z")

</div>

Hey all, I have a database SQL Server and i must run some script .sql on this database with ansible. I would like know if possible to run script .sql with ansible on database SQL Server ? Thanks for your help !! …

---

## [How to try one task in Ansible ?](https://forum.ansible.com/t/how-to-try-one-task-in-ansible/30348)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 8\
**Last updated:** [May 20, 2019, 7:19am UTC](https://forum.ansible.com/t/how-to-try-one-task-in-ansible/30348 "2019-05-20T07:19:05Z")

</div>

Hey all, I have a lot of task in my repertory task/main.yml among them, this one : name: “Execut my script shell” script: ./script.sh register: result delegate\_to: localhost I don’t want play this task, i want tha…

---

## [Us congress hearing of maan alsaan Money laundry قضية الكونغجرس لغسيل الأموال للمليادير معن الصانع](https://forum.ansible.com/t/us-congress-hearing-of-maan-alsaan-money-laundry/30371)

<div class="topic-metadata">

**Author:** [@fafa\_al](https://forum.ansible.com/u/fafa_al)\
**Replies:** 0\
**Last updated:** [May 19, 2019, 8:43pm UTC](https://forum.ansible.com/t/us-congress-hearing-of-maan-alsaan-money-laundry/30371 "2019-05-19T20:43:56Z")

</div>

YouTube videos of U.S. Congress money laundering hearing of Saudi Billionaire " Maan Al sanea" with bank of America and The owner of Saad Hospital and Schools in the Eastern Province in Saudi Arabia and the Chairm…

---

## [Checking free VG percentage](https://forum.ansible.com/t/checking-free-vg-percentage/30370)

<div class="topic-metadata">

**Author:** [@Bruno\_Cochofel](https://forum.ansible.com/u/Bruno_Cochofel)\
**Replies:** 2\
**Last updated:** [May 19, 2019, 3:22pm UTC](https://forum.ansible.com/t/checking-free-vg-percentage/30370 "2019-05-19T15:22:09Z")

</div>

Hi, I’m trying to check if all the VGs on linux servers have less than 20% using the following:

---

## [How to use vars to work with to\_datetime](https://forum.ansible.com/t/how-to-use-vars-to-work-with-to-datetime/30230)

<div class="topic-metadata">

**Author:** [@asmagana](https://forum.ansible.com/u/asmagana)\
**Replies:** 3\
**Last updated:** [May 19, 2019, 1:26pm UTC](https://forum.ansible.com/t/how-to-use-vars-to-work-with-to-datetime/30230 "2019-05-19T13:26:09Z")

</div>

Hello everyone, My registered vars are not working with my math equation using to\_datetime filter it will work with the string “2019-04-01” but not with my var. \` PLAY \[localhost\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [set facts from an arry with white space](https://forum.ansible.com/t/set-facts-from-an-arry-with-white-space/30369)

<div class="topic-metadata">

**Author:** [@ATHIRA\_sanoj](https://forum.ansible.com/u/ATHIRA_sanoj)\
**Replies:** 0\
**Last updated:** [May 19, 2019, 8:13am UTC](https://forum.ansible.com/t/set-facts-from-an-arry-with-white-space/30369 "2019-05-19T08:13:21Z")

</div>

\` Hello Team i am trying to set facts from a json array, since the key contains space i am unable to parse, can someone help me here, i want to set fact as \`“name”: “IN-FG-04” when \`\`\`“vdom”: “vdom-shop”\`\` \` name: …

---

## [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/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 …

---

## [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…

---

## [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,

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=187)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=189)
