# Latest

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

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

**Page:** 379

---

## [vmware\_deploy\_ovf fails with urlopen error timed out](https://forum.ansible.com/t/vmware-deploy-ovf-fails-with-urlopen-error-timed-out/32882)

<div class="topic-metadata">

**Author:** [@Ricardo](https://forum.ansible.com/u/Ricardo)\
**Replies:** 0\
**Last updated:** [May 7, 2020, 8:33pm UTC](https://forum.ansible.com/t/vmware-deploy-ovf-fails-with-urlopen-error-timed-out/32882 "2020-05-07T20:33:43Z")

</div>

Trying to use the vmware\_deploy\_ovf Ansible module of a Cisco CUC appliance (very simple: 1 nic, 1 disk, no properties/DeploymentOption to pick from). I can deploy with VMware’s web interface no problems. hosts: localh…

---

## [include\_vars - variable is not Serializable](https://forum.ansible.com/t/include-vars-variable-is-not-serializable/32878)

<div class="topic-metadata">

**Author:** [@Robert\_Wagner](https://forum.ansible.com/u/Robert_Wagner)\
**Replies:** 1\
**Last updated:** [May 7, 2020, 5:53pm UTC](https://forum.ansible.com/t/include-vars-variable-is-not-serializable/32878 "2020-05-07T17:53:33Z")

</div>

Hi all. Wondering if somebody can point me in the right direction - Google has led me on bit of a wild goose chase. I’m using ansible 2.9.6 on CentOS 7.7. I have some vaulted vars that if I put in vars/main.yml work fi…

---

## [rpm--import issues](https://forum.ansible.com/t/rpm-import-issues/32860)

<div class="topic-metadata">

**Author:** [@Quad\_Zero](https://forum.ansible.com/u/Quad_Zero)\
**Replies:** 11\
**Last updated:** [May 7, 2020, 4:22pm UTC](https://forum.ansible.com/t/rpm-import-issues/32860 "2020-05-07T16:22:57Z")

</div>

Hi all, Thank you for your help in my last post. I have come quite a way (small compared to many of you) but nevertheless making good progress each day. I hit roadblocks quite a bit and thankfully google has helped me …

---

## [Include Vars, with\_items , returned data with .results values](https://forum.ansible.com/t/include-vars-with-items-returned-data-with-results-values/32877)

<div class="topic-metadata">

**Author:** [@Adam\_McGill](https://forum.ansible.com/u/Adam_McGill)\
**Replies:** 0\
**Last updated:** [May 7, 2020, 4:00pm UTC](https://forum.ansible.com/t/include-vars-with-items-returned-data-with-results-values/32877 "2020-05-07T16:00:31Z")

</div>

I am using a include\_vars file to pipe the variable to a libary/ps1/py file which will return results / verification. Is there a way to not include the item data /ansible loop information in the .results data. As I figur…

---

## [unable to ssh](https://forum.ansible.com/t/unable-to-ssh/32875)

<div class="topic-metadata">

**Author:** [@Hitesh\_Kumar](https://forum.ansible.com/u/Hitesh_Kumar)\
**Replies:** 1\
**Last updated:** [May 7, 2020, 3:58pm UTC](https://forum.ansible.com/t/unable-to-ssh/32875 "2020-05-07T15:58:11Z")

</div>

Hi All I am facing ssh connection issues with my network switch, need help to establish ssh connection root@VPC0000260:/etc/ansible# ssh 10.25.200.1 Unable to negotiate with 10.25.200.1 port 22: no matching key exchan…

---

## [Smart inventories don't contain groups #1999](https://forum.ansible.com/t/smart-inventories-dont-contain-groups-1999/32854)

<div class="topic-metadata">

**Author:** [@Philip\_Douglass](https://forum.ansible.com/u/Philip_Douglass)\
**Replies:** 4\
**Last updated:** [May 7, 2020, 1:03pm UTC](https://forum.ansible.com/t/smart-inventories-dont-contain-groups-1999/32854 "2020-05-07T13:03:40Z")

</div>

When are we going to be able to create Smart Inventories and keep the hosts grouped? It’s been nearly two years since this issue was opened: https://github.com/ansible/awx/issues/1999 We have a large inventory of 40k+ …

---

## [Cisco interface state change](https://forum.ansible.com/t/cisco-interface-state-change/32874)

<div class="topic-metadata">

**Author:** [@sayantan\_laha1](https://forum.ansible.com/u/sayantan_laha1)\
**Replies:** 0\
**Last updated:** [May 7, 2020, 12:11pm UTC](https://forum.ansible.com/t/cisco-interface-state-change/32874 "2020-05-07T12:11:35Z")

</div>

Dear all, I am newbie in ansible. My requirment is like when i see an interface in suspended mode want to bring back to UP for all cisco device. Please help how do i apply conditional way.

---

## [Directories create twice](https://forum.ansible.com/t/directories-create-twice/32873)

<div class="topic-metadata">

**Author:** [@Quentin\_Aveno](https://forum.ansible.com/u/Quentin_Aveno)\
**Replies:** 2\
**Last updated:** [May 7, 2020, 11:39am UTC](https://forum.ansible.com/t/directories-create-twice/32873 "2020-05-07T11:39:13Z")

</div>

Hello ! I have an issue concerning modules find then copy (with relpath filter) I have a role : \` name: “Test” hosts: localhost vars: archive\_name: “/opt/archive.tgz” local\_tmp\_dir: path: “/tmp/tmp” dest\_dire…

---

## [how can i execute the following oracle sql commands using ansible and get the value back to be stored in variable](https://forum.ansible.com/t/how-can-i-execute-the-following-oracle-sql-commands-using-ansible-and-get-the-value-back-to-be-stored-in-variable/26868)

<div class="topic-metadata">

**Author:** [@Gopi\_Krishna](https://forum.ansible.com/u/Gopi_Krishna)\
**Replies:** 3\
**Last updated:** [May 7, 2020, 11:04am UTC](https://forum.ansible.com/t/how-can-i-execute-the-following-oracle-sql-commands-using-ansible-and-get-the-value-back-to-be-stored-in-variable/26868 "2020-05-07T11:04:44Z")

</div>

HI, MY playbook: sample.sh: . /u05/oracle/VISEBS/12.1.0/VISEBS\_sal-devtl10.env val=‘v$archived\_log’ R=sqlplus '/as sysdba'\<\<EOF set numw 1 lines 80 pages 0; select max(NEXT\_CHANGE#) "RMAN\_SCN" from $val where BACKUP…

---

## [Temporarily taking an instance offline: How to set "enabled" property of an instance via cmd line/api?](https://forum.ansible.com/t/temporarily-taking-an-instance-offline-how-to-set-enabled-property-of-an-instance-via-cmd-line-api/32847)

<div class="topic-metadata">

**Author:** [@Michael\_Cook](https://forum.ansible.com/u/Michael_Cook)\
**Replies:** 5\
**Last updated:** [May 7, 2020, 10:24am UTC](https://forum.ansible.com/t/temporarily-taking-an-instance-offline-how-to-set-enabled-property-of-an-instance-via-cmd-line-api/32847 "2020-05-07T10:24:19Z")

</div>

The Ansible Tower docs states: “In order to support temporarily taking an instance offline, there is a property enabled defined on each instance. When this property is disabled, no jobs will be assigned to that instance…

---

## [How to assign random name for vmware snapshot?](https://forum.ansible.com/t/how-to-assign-random-name-for-vmware-snapshot/32870)

<div class="topic-metadata">

**Author:** [@Mani](https://forum.ansible.com/u/Mani)\
**Replies:** 2\
**Last updated:** [May 7, 2020, 9:33am UTC](https://forum.ansible.com/t/how-to-assign-random-name-for-vmware-snapshot/32870 "2020-05-07T09:33:19Z")

</div>

I am a newbie to ansible and I am trying to take a snapshot of multiple VM’s with a random snapshot name including the VM name (vmname + random number or timestamp). I am able to take snapshot using the VM name with the…

---

## ["failed to open a SFTP connection (Garbage packet received)"](https://forum.ansible.com/t/failed-to-open-a-sftp-connection-garbage-packet-received/32872)

<div class="topic-metadata">

**Author:** [@Dave\_Hodgkinson](https://forum.ansible.com/u/Dave_Hodgkinson)\
**Replies:** 1\
**Last updated:** [May 7, 2020, 9:09am UTC](https://forum.ansible.com/t/failed-to-open-a-sftp-connection-garbage-packet-received/32872 "2020-05-07T09:09:02Z")

</div>

I’m tring to run our corporate ansible setup on my FC31 laptop. In the “staging” configuration, main.yml, I have hosts: localhost. My ssh key is in root’s authorized\_keys file. I run and get: ansible-playbook main.yml …

---

## [Different access credentials for devices using network\_cli](https://forum.ansible.com/t/different-access-credentials-for-devices-using-network-cli/32868)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 2\
**Last updated:** [May 7, 2020, 7:49am UTC](https://forum.ansible.com/t/different-access-credentials-for-devices-using-network-cli/32868 "2020-05-07T07:49:02Z")

</div>

It is possible to assign more than one credential to a job template, however there can be only one credential of any given type. According to https://docs.ansible.com/ansible-tower/latest/html/userguide/credentials.html#…

---

## [Replace Service now inventory table.](https://forum.ansible.com/t/replace-service-now-inventory-table/32869)

<div class="topic-metadata">

**Author:** [@Sanoj\_Thampi](https://forum.ansible.com/u/Sanoj_Thampi)\
**Replies:** 0\
**Last updated:** [May 7, 2020, 5:47am UTC](https://forum.ansible.com/t/replace-service-now-inventory-table/32869 "2020-05-07T05:47:00Z")

</div>

Hello Team, Now we have integrated servicenow and awx for our firewall automation and it is working perfectly. But due to some security issues we need to move the data table from service now to local. this is the same …

---

## [How to optimise many hosts which are all localhost?](https://forum.ansible.com/t/how-to-optimise-many-hosts-which-are-all-localhost/32751)

<div class="topic-metadata">

**Author:** [@Matthew\_Davis](https://forum.ansible.com/u/Matthew_Davis)\
**Replies:** 1\
**Last updated:** [May 7, 2020, 2:56am UTC](https://forum.ansible.com/t/how-to-optimise-many-hosts-which-are-all-localhost/32751 "2020-05-07T02:56:07Z")

</div>

I have a use case which is a bit different to most, but Ansible seems to do a pretty good job. I’m trying to figure out the best way to leverage Ansible’s inherent concurrency for multiple hosts, when deploying to serve…

---

## [Running Ansible playbook with Jenkins plugin ... now need to add git](https://forum.ansible.com/t/running-ansible-playbook-with-jenkins-plugin-now-need-to-add-git/32837)

<div class="topic-metadata">

**Author:** [@Kiran\_Kumar](https://forum.ansible.com/u/Kiran_Kumar)\
**Replies:** 4\
**Last updated:** [May 6, 2020, 4:30pm UTC](https://forum.ansible.com/t/running-ansible-playbook-with-jenkins-plugin-now-need-to-add-git/32837 "2020-05-06T16:30:08Z")

</div>

Hi, I have a ansible server, which i use mainly to manage ntp client/dns client/time zone/create users/install software etc on various linux servers… so no development to say, just as “infrastructure as code” On same s…

---

## [no root 'plugin' key found](https://forum.ansible.com/t/no-root-plugin-key-found/32864)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [May 6, 2020, 4:13pm UTC](https://forum.ansible.com/t/no-root-plugin-key-found/32864 "2020-05-06T16:13:21Z")

</div>

it is missing an entry plugin: \<plugin name goes here\>

---

## [Ansible stops if unreachable, can it be ignored to continue the playbook?](https://forum.ansible.com/t/ansible-stops-if-unreachable-can-it-be-ignored-to-continue-the-playbook/32858)

<div class="topic-metadata">

**Author:** [@Jimmy1](https://forum.ansible.com/u/Jimmy1)\
**Replies:** 3\
**Last updated:** [May 6, 2020, 4:12pm UTC](https://forum.ansible.com/t/ansible-stops-if-unreachable-can-it-be-ignored-to-continue-the-playbook/32858 "2020-05-06T16:12:34Z")

</div>

Ansible stops if unreachable, can it be ignored to continue the playbook? Thanks–

---

## [add\_host scope from inside roles](https://forum.ansible.com/t/add-host-scope-from-inside-roles/32853)

<div class="topic-metadata">

**Author:** [@Nicola\_L](https://forum.ansible.com/u/Nicola_L)\
**Replies:** 4\
**Last updated:** [May 6, 2020, 2:38pm UTC](https://forum.ansible.com/t/add-host-scope-from-inside-roles/32853 "2020-05-06T14:38:27Z")

</div>

Hi all, I’m a bit confused about the behavior of add\_host when used from inside a role or directly in the playbook. Am I doing something wrong or am I just hitting some role’s scope boundary? THIS WORKS (from the play…

---

## [ansible-api issue](https://forum.ansible.com/t/ansible-api-issue/32863)

<div class="topic-metadata">

**Author:** [@Rekuyem](https://forum.ansible.com/u/Rekuyem)\
**Replies:** 1\
**Last updated:** [May 6, 2020, 2:26pm UTC](https://forum.ansible.com/t/ansible-api-issue/32863 "2020-05-06T14:26:33Z")

</div>

Hello, When I start to lauch ansible-api, I have this issue : root@VM-Ubuntu:~# ansible-api Ansible API is running at Debug Mode 2020-05-06 16:18:06 | INFO - Ansible API Start… ( PID = 19629 ) 2020-05-06 16:18:06 | …

---

## [Using an environment variable in dynamic inventory](https://forum.ansible.com/t/using-an-environment-variable-in-dynamic-inventory/32859)

<div class="topic-metadata">

**Author:** [@Andrew\_Marshall](https://forum.ansible.com/u/Andrew_Marshall)\
**Replies:** 1\
**Last updated:** [May 6, 2020, 2:22pm UTC](https://forum.ansible.com/t/using-an-environment-variable-in-dynamic-inventory/32859 "2020-05-06T14:22:11Z")

</div>

Hi - I have a basic dynamic inventory using the azure plugin: plugin: azure\_rm include\_vm\_resource\_groups: - my\_resource\_group However, this script runs in CI and teh resource group is created by a previous step, so…

---

## [Need help on formating stdout\_lines output](https://forum.ansible.com/t/need-help-on-formating-stdout-lines-output/32819)

<div class="topic-metadata">

**Author:** [@Suresh\_Karpurapu](https://forum.ansible.com/u/Suresh_Karpurapu)\
**Replies:** 7\
**Last updated:** [May 6, 2020, 1:07pm UTC](https://forum.ansible.com/t/need-help-on-formating-stdout-lines-output/32819 "2020-05-06T13:07:20Z")

</div>

Hi All, Would anyone please help me formatting mountchk.result. I am able to get the required output with item.stdout\_lines\[0\],item.stdout\_lines\[1\],item.stdout\_lines\[2\] but host3 has 6 entries. So, please help me in fil…

---

## [ansible include\_role syntax problem](https://forum.ansible.com/t/ansible-include-role-syntax-problem/32861)

<div class="topic-metadata">

**Author:** [@Meir\_Yanovich](https://forum.ansible.com/u/Meir_Yanovich)\
**Replies:** 10\
**Last updated:** [May 6, 2020, 11:42am UTC](https://forum.ansible.com/t/ansible-include-role-syntax-problem/32861 "2020-05-06T11:42:34Z")

</div>

I try to include\_rule but i keep getting errors on the wrong syntax this is my file structure : \` ├── roles │ └── utilities │ ├── defaults │ ├── files │ ├── handlers │ ├── meta │ ├── tasks │ │ └── d\_pack.yml │…

---

## [Target machines are unreachable](https://forum.ansible.com/t/target-machines-are-unreachable/32856)

<div class="topic-metadata">

**Author:** [@Work\_Email](https://forum.ansible.com/u/Work_Email)\
**Replies:** 2\
**Last updated:** [May 6, 2020, 5:33am UTC](https://forum.ansible.com/t/target-machines-are-unreachable/32856 "2020-05-06T05:33:08Z")

</div>

my target machines are up. I don’t understand why I am running this error Using module file /usr/lib/python2.7/dist-packages/ansible/modules/windows/setup.ps1 Pipelining is enabled. ESTABLISH WINRM CONNECTION FOR USE…

---

## [VAPT for AWX](https://forum.ansible.com/t/vapt-for-awx/32857)

<div class="topic-metadata">

**Author:** [@jesty\_sam](https://forum.ansible.com/u/jesty_sam)\
**Replies:** 0\
**Last updated:** [May 6, 2020, 3:29am UTC](https://forum.ansible.com/t/vapt-for-awx/32857 "2020-05-06T03:29:25Z")

</div>

Hi Has anyone performed a VAPT (Vulnerability assessment and penetration testing) on AWX project. Also I have been trying to understand how AWX internal components function and couldn't find much information on them.can…

---

## [Simple - how to compare values from two or more hosts](https://forum.ansible.com/t/simple-how-to-compare-values-from-two-or-more-hosts/32855)

<div class="topic-metadata">

**Author:** [@John\_Fak](https://forum.ansible.com/u/John_Fak)\
**Replies:** 0\
**Last updated:** [May 5, 2020, 9:38pm UTC](https://forum.ansible.com/t/simple-how-to-compare-values-from-two-or-more-hosts/32855 "2020-05-05T21:38:02Z")

</div>

Hi A few of us tried this and couldnt find a good/clean way to achieve. I want to call a shell script on say 10 hosts. It might return a single value - lets say version number of 10.2. I need a way to check all 10 hos…

---

## [Conditional Delegation to a host for synchronize module](https://forum.ansible.com/t/conditional-delegation-to-a-host-for-synchronize-module/32739)

<div class="topic-metadata">

**Author:** [@Raj\_V](https://forum.ansible.com/u/Raj_V)\
**Replies:** 2\
**Last updated:** [May 5, 2020, 7:52pm UTC](https://forum.ansible.com/t/conditional-delegation-to-a-host-for-synchronize-module/32739 "2020-05-05T19:52:27Z")

</div>

Hello, I am a newbie to Ansible and trying to figure out how to synchronize between 3 hosts based on condition. Below are details: There are 3 nodes and based on which node is primary (I was able to get a custom fact s…

---

## [Help with Conditions](https://forum.ansible.com/t/help-with-conditions/32851)

<div class="topic-metadata">

**Author:** [@David\_Foley](https://forum.ansible.com/u/David_Foley)\
**Replies:** 1\
**Last updated:** [May 5, 2020, 1:39pm UTC](https://forum.ansible.com/t/help-with-conditions/32851 "2020-05-05T13:39:49Z")

</div>

Hi All, Just wondering is their a better way of doing the Following? \` \`

---

## [Getting a message on folders created in a loop](https://forum.ansible.com/t/getting-a-message-on-folders-created-in-a-loop/32849)

<div class="topic-metadata">

**Author:** [@dudu.c](https://forum.ansible.com/u/dudu.c)\
**Replies:** 1\
**Last updated:** [May 5, 2020, 1:29pm UTC](https://forum.ansible.com/t/getting-a-message-on-folders-created-in-a-loop/32849 "2020-05-05T13:29:57Z")

</div>

I’m running a playbook that should create 2 folders in a loop. If the folder is not existing, I wish to get a message that folders was created In my scenario, folder 1 already exists and only folder 2 was created. But t…

---

## [Getting : error while evaluating conditional (my\_result.stat.exists): 'bool object' has no attribute 'stat' while expcting to be dictionary](https://forum.ansible.com/t/getting-error-while-evaluating-conditional-my-result-stat-exists-bool-object-has-no-attribute-stat-while-expcting-to-be-dictionary/32850)

<div class="topic-metadata">

**Author:** [@Meir\_Yanovich](https://forum.ansible.com/u/Meir_Yanovich)\
**Replies:** 1\
**Last updated:** [May 5, 2020, 10:42am UTC](https://forum.ansible.com/t/getting-error-while-evaluating-conditional-my-result-stat-exists-bool-object-has-no-attribute-stat-while-expcting-to-be-dictionary/32850 "2020-05-05T10:42:07Z")

</div>

i have this ansible simple playbook : where “/home/ec2-user/test1.txt” exists on disk \`

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

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