# Ansible Project

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

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

**Page:** 173

---

## [winrm send\_input failed](https://forum.ansible.com/t/winrm-send-input-failed/27330)

<div class="topic-metadata">

**Author:** [@Tomas\_Hradecky](https://forum.ansible.com/u/Tomas_Hradecky)\
**Replies:** 5\
**Last updated:** [August 12, 2019, 2:00pm UTC](https://forum.ansible.com/t/winrm-send-input-failed/27330 "2019-08-12T14:00:10Z")

</div>

Hello guys, I work on Ansible playbook for automatic deployment of LogicMonitor Collector on Windows machine but unfortunately i’m stucked by WinRMOperation TimeoutError. I’ve configured Windows machine like is said in …

---

## [Variable is Undefined error](https://forum.ansible.com/t/variable-is-undefined-error/31003)

<div class="topic-metadata">

**Author:** [@nandha\_kumar1](https://forum.ansible.com/u/nandha_kumar1)\
**Replies:** 6\
**Last updated:** [August 12, 2019, 7:23am UTC](https://forum.ansible.com/t/variable-is-undefined-error/31003 "2019-08-12T07:23:42Z")

</div>

Hello Team, I am trying to use the variable in the following task which i registered in the previous task. However, i am getting “variable is undefined error” Could you please suggest us,what could be the reason Than…

---

## [Ansible - Responding to prompts](https://forum.ansible.com/t/ansible-responding-to-prompts/30979)

<div class="topic-metadata">

**Author:** [@Michael3](https://forum.ansible.com/u/Michael3)\
**Replies:** 9\
**Last updated:** [August 11, 2019, 10:49pm UTC](https://forum.ansible.com/t/ansible-responding-to-prompts/30979 "2019-08-11T22:49:37Z")

</div>

Does anyone know how to read back a prompt to a control server from a remote host? say if an installation fails and prompts for a retry or continue, this prompt can be responded to from the control server. Is this possib…

---

## [Extra output in find module, am I doing something wrong](https://forum.ansible.com/t/extra-output-in-find-module-am-i-doing-something-wrong/31016)

<div class="topic-metadata">

**Author:** [@Narahari\_n\_Savitha](https://forum.ansible.com/u/Narahari_n_Savitha)\
**Replies:** 2\
**Last updated:** [August 11, 2019, 8:58pm UTC](https://forum.ansible.com/t/extra-output-in-find-module-am-i-doing-something-wrong/31016 "2019-08-11T20:58:50Z")

</div>

Friends: Thank you in advance for your time and attention. Here is the playbook

---

## [Hello All](https://forum.ansible.com/t/hello-all/31018)

<div class="topic-metadata">

**Author:** [@Amit\_Kulkarni](https://forum.ansible.com/u/Amit_Kulkarni)\
**Replies:** 0\
**Last updated:** [August 11, 2019, 4:12pm UTC](https://forum.ansible.com/t/hello-all/31018 "2019-08-11T16:12:53Z")

</div>

Hello All, I am very new to Ansible and have written just one play book to install tomcat on EC2 instance. I wanted to know the best way to learn this tool and if someone can give me common task which can automated mid…

---

## [ec2\_vpc\_route\_table and gateways vs peering](https://forum.ansible.com/t/ec2-vpc-route-table-and-gateways-vs-peering/31017)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 2\
**Last updated:** [August 10, 2019, 10:25pm UTC](https://forum.ansible.com/t/ec2-vpc-route-table-and-gateways-vs-peering/31017 "2019-08-10T22:25:27Z")

</div>

It seems that ec2\_vpc\_route\_table will not purge igw or nat gateways even if purge=true, which is very nice. But it DOES purge routes associated with peering. Shouldn’t peering routes be treated in the same as gateways?

---

## [Help with playbook](https://forum.ansible.com/t/help-with-playbook/31015)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 0\
**Last updated:** [August 10, 2019, 3:46am UTC](https://forum.ansible.com/t/help-with-playbook/31015 "2019-08-10T03:46:20Z")

</div>

I am trying to install FreeRADIUS from the networkradius repo in my playbook and I seem to be running into a few issues. I don’t understand why i’m getting the error on the handler trigger 2. Also the yum\_repos role does…

---

## [loop vs with\_items and union(query('vars', item))](https://forum.ansible.com/t/loop-vs-with-items-and-union-query-vars-item/31014)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 2\
**Last updated:** [August 10, 2019, 2:25am UTC](https://forum.ansible.com/t/loop-vs-with-items-and-union-query-vars-item/31014 "2019-08-10T02:25:07Z")

</div>

Trying to switch from with\_items to loops and having problems. Similar to the problem I posted about at https://groups.google.com/d/msg/ansible-project/UTXDN4pztvM/EGppDy1CAwAJ I do not understand why item is undefined …

---

## [Problem when I try to migrate ansible-inventory to awx](https://forum.ansible.com/t/problem-when-i-try-to-migrate-ansible-inventory-to-awx/31008)

<div class="topic-metadata">

**Author:** [@Arturo\_Ibanez\_Gonzal](https://forum.ansible.com/u/Arturo_Ibanez_Gonzal)\
**Replies:** 1\
**Last updated:** [August 10, 2019, 12:32am UTC](https://forum.ansible.com/t/problem-when-i-try-to-migrate-ansible-inventory-to-awx/31008 "2019-08-10T00:32:33Z")

</div>

Hi guys , When I try to import my ansible-inventory and put in AWX with this command: sudo -u awx /opt/awx/bin/awx-manage inventory\_import --source=/etc/ansible/inventory/production/hosts --inventory-name=production I…

---

## [Show output of shell tasks as they occur](https://forum.ansible.com/t/show-output-of-shell-tasks-as-they-occur/31004)

<div class="topic-metadata">

**Author:** [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Replies:** 1\
**Last updated:** [August 10, 2019, 12:27am UTC](https://forum.ansible.com/t/show-output-of-shell-tasks-as-they-occur/31004 "2019-08-10T00:27:00Z")

</div>

Hello guys: Not sure whether this is possible or not, but here’s my question. I’m running tasks with Ansible by using command or shell module. I am able to see the output of such commands by registering stdout to a vari…

---

## [galaxy fails to install role due to incompatible version formats](https://forum.ansible.com/t/galaxy-fails-to-install-role-due-to-incompatible-version-formats/31013)

<div class="topic-metadata">

**Author:** [@nusenu](https://forum.ansible.com/u/nusenu)\
**Replies:** 2\
**Last updated:** [August 9, 2019, 8:06pm UTC](https://forum.ansible.com/t/galaxy-fails-to-install-role-due-to-incompatible-version-formats/31013 "2019-08-09T20:06:00Z")

</div>

A user reported the following issue: downloading role 'relayor', owned by nusenu \[WARNING\]: - nusenu.relayor was NOT installed successfully: Unable to compare role versions (v18.1.1, 0.1.0, v18.0.0, v0.3.0, v19.1.4, v…

---

## [Netbox Ip address Ansible Module Question](https://forum.ansible.com/t/netbox-ip-address-ansible-module-question/31012)

<div class="topic-metadata">

**Author:** [@Abhilash\_Reddy\_Ch](https://forum.ansible.com/u/Abhilash_Reddy_Ch)\
**Replies:** 0\
**Last updated:** [August 9, 2019, 6:29pm UTC](https://forum.ansible.com/t/netbox-ip-address-ansible-module-question/31012 "2019-08-09T18:29:10Z")

</div>

Hello I am trying to create Netbox Devices using Ansible Netbox Modules . I am running into an issue making an IP address Primary for the Device created by assigning facter facts. Here is the code To create an IP n…

---

## ["Undefined variable" error when ansible-playbook is executed from Robot Framework](https://forum.ansible.com/t/undefined-variable-error-when-ansible-playbook-is-executed-from-robot-framework/31011)

<div class="topic-metadata">

**Author:** [@Bash\_G](https://forum.ansible.com/u/Bash_G)\
**Replies:** 0\
**Last updated:** [August 9, 2019, 5:51pm UTC](https://forum.ansible.com/t/undefined-variable-error-when-ansible-playbook-is-executed-from-robot-framework/31011 "2019-08-09T17:51:48Z")

</div>

Hi, I have following playbook, called test.yaml. --- - name: Show bridge port hosts: "{{ target }}" gather\_facts: no connection: local tasks: - name: Show bridge port asa\_command: commands: …

---

## [Force ansible remote directory to /tmp](https://forum.ansible.com/t/force-ansible-remote-directory-to-tmp/30982)

<div class="topic-metadata">

**Author:** [@Rich\_Rauenzahn](https://forum.ansible.com/u/Rich_Rauenzahn)\
**Replies:** 3\
**Last updated:** [August 9, 2019, 4:50pm UTC](https://forum.ansible.com/t/force-ansible-remote-directory-to-tmp/30982 "2019-08-09T16:50:20Z")

</div>

My ansible runs really slowly, I’ve looked at various things, and one thing I haven’t eliminated yet is that ansible runs in my NFS directory as it ssh’es around. I’ve run ansible before and its performance is fine usual…

---

## [Modules in languages other than Python?](https://forum.ansible.com/t/modules-in-languages-other-than-python/30997)

<div class="topic-metadata">

**Author:** [@Mike\_Eggleston](https://forum.ansible.com/u/Mike_Eggleston)\
**Replies:** 3\
**Last updated:** [August 9, 2019, 2:24pm UTC](https://forum.ansible.com/t/modules-in-languages-other-than-python/30997 "2019-08-09T14:24:00Z")

</div>

This page: https://docs.ansible.com/ansible/2.3/dev\_guide/developing\_modules\_general.html states that modules can be in other languages. Are there any examples of this? I’m much more proficient in Perl than Python and w…

---

## [Ansible vs. multiple Azure subscriptions](https://forum.ansible.com/t/ansible-vs-multiple-azure-subscriptions/29705)

<div class="topic-metadata">

**Author:** [@Wawrzek\_Niewodniczan](https://forum.ansible.com/u/Wawrzek_Niewodniczan)\
**Replies:** 4\
**Last updated:** [August 9, 2019, 1:56pm UTC](https://forum.ansible.com/t/ansible-vs-multiple-azure-subscriptions/29705 "2019-08-09T13:56:29Z")

</div>

Hi, I have Azure with multiple subscriptions and I wonder what's the best way to switch between them. The main two methods described in docs are: - password, but I don't see a way to distinguish subscription - servi…

---

## [Background process exits when pipeling is set to false](https://forum.ansible.com/t/background-process-exits-when-pipeling-is-set-to-false/30963)

<div class="topic-metadata">

**Author:** [@Johncy\_Joseph](https://forum.ansible.com/u/Johncy_Joseph)\
**Replies:** 2\
**Last updated:** [August 9, 2019, 1:36pm UTC](https://forum.ansible.com/t/background-process-exits-when-pipeling-is-set-to-false/30963 "2019-08-09T13:36:16Z")

</div>

Apologies if this not the right forum, I have had pipelining enabled in ansible config. I had to disable it for a certain case. I disabled it in the ansible config (I should have done it more localized), Once pipe linin…

---

## [Ansible and Comware 5 ?](https://forum.ansible.com/t/ansible-and-comware-5/30638)

<div class="topic-metadata">

**Author:** [@Olivier1](https://forum.ansible.com/u/Olivier1)\
**Replies:** 1\
**Last updated:** [August 9, 2019, 1:21pm UTC](https://forum.ansible.com/t/ansible-and-comware-5/30638 "2019-08-09T13:21:26Z")

</div>

Hi all, I'm looking for feedback on Ansible and Comwar 5 for Network Automation (gathers facts, creation, modification, and deletion of vlans, modify ports :assign them to vlans and set other characteristics such as lin…

---

## [Changing Registry key owner in Ansible](https://forum.ansible.com/t/changing-registry-key-owner-in-ansible/30971)

<div class="topic-metadata">

**Author:** [@Yuval\_Zaltz](https://forum.ansible.com/u/Yuval_Zaltz)\
**Replies:** 4\
**Last updated:** [August 9, 2019, 12:22pm UTC](https://forum.ansible.com/t/changing-registry-key-owner-in-ansible/30971 "2019-08-09T12:22:59Z")

</div>

Is there a way in Ansible to change registry key ownership? win\_acl doesn’t cover it I’m running this task name: Change key owner to machine admins win\_acl: path: HKCR:\\CLSID{76A64158-CB41-11D1-8B02-00600806D9B6} u…

---

## [Cannot rename VM with vmware\_guest](https://forum.ansible.com/t/cannot-rename-vm-with-vmware-guest/31002)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 2\
**Last updated:** [August 9, 2019, 11:53am UTC](https://forum.ansible.com/t/cannot-rename-vm-with-vmware-guest/31002 "2019-08-09T11:53:38Z")

</div>

According to https://docs.ansible.com/ansible/latest/modules/vmware\_guest\_module.html I can rename a VM with Ansible by using: name: Rename a virtual machine (requires the virtual machine’s uuid) vmware\_guest: hostn…

---

## [Ansible Tower 3.5.1 - Installation - Valut\_Pass](https://forum.ansible.com/t/ansible-tower-3-5-1-installation-valut-pass/30991)

<div class="topic-metadata">

**Author:** [@Kalyan\_Alamuru](https://forum.ansible.com/u/Kalyan_Alamuru)\
**Replies:** 3\
**Last updated:** [August 9, 2019, 8:36am UTC](https://forum.ansible.com/t/ansible-tower-3-5-1-installation-valut-pass/30991 "2019-08-09T08:36:07Z")

</div>

Hi, I’ve installed Ansible Tower 3.5.1 on CentOs 7 EC2 Instance for our deployments. After Installtion I’ve set up some Jobs using Jobs Template, When I try to launch them I’m getting following error. The vault passwo…

---

## [reading a log file  with  hostname in the playbook processed](https://forum.ansible.com/t/reading-a-log-file-with-hostname-in-the-playbook-processed/30995)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 1\
**Last updated:** [August 9, 2019, 7:53am UTC](https://forum.ansible.com/t/reading-a-log-file-with-hostname-in-the-playbook-processed/30995 "2019-08-09T07:53:52Z")

</div>

I am trying to create a log file with hostname with it by using the shell variable and not from {{ ansible\_hostname }} , as I have my playbooks have gather\_facts disabled. Unable to fetch the source file as ansible is u…

---

## [Request For Feedback: Security Operations Automation](https://forum.ansible.com/t/request-for-feedback-security-operations-automation/30998)

<div class="topic-metadata">

**Author:** [@maxamillion](https://forum.ansible.com/u/maxamillion)\
**Replies:** 1\
**Last updated:** [August 9, 2019, 5:42am UTC](https://forum.ansible.com/t/request-for-feedback-security-operations-automation/30998 "2019-08-09T05:42:17Z")

</div>

Hello all, This is a Request For Feedback (and potentially contributors if anyone is interested in joining the fun). I've started creating an Ansible Collection\[0\]\[1\] with modules/plugins/roles/etc focused on Sec…

---

## [Multiple Directories Multiple Permissions](https://forum.ansible.com/t/multiple-directories-multiple-permissions/30992)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 2\
**Last updated:** [August 9, 2019, 3:44am UTC](https://forum.ansible.com/t/multiple-directories-multiple-permissions/30992 "2019-08-09T03:44:45Z")

</div>

Hi, I am looking for ways to solve my problem statement. I have a list of directories with different permissions for example, /path/to/folderA: 0755 /path/to/folderB: 0754 /path/to/folderC: 0745 Now today I have 3 …

---

## [Create workbook and worksheets in xlsxwriter with data](https://forum.ansible.com/t/create-workbook-and-worksheets-in-xlsxwriter-with-data/30996)

<div class="topic-metadata">

**Author:** [@Alexis\_Gonzalo\_Alvar](https://forum.ansible.com/u/Alexis_Gonzalo_Alvar)\
**Replies:** 0\
**Last updated:** [August 8, 2019, 10:01pm UTC](https://forum.ansible.com/t/create-workbook-and-worksheets-in-xlsxwriter-with-data/30996 "2019-08-08T22:01:07Z")

</div>

I can’t do it that, i trie with tutorials and nothing.

---

## [How to use a variable to define a list (to use in docker\_container volumes)](https://forum.ansible.com/t/how-to-use-a-variable-to-define-a-list-to-use-in-docker-container-volumes/30993)

<div class="topic-metadata">

**Author:** [@Roger\_Firpo](https://forum.ansible.com/u/Roger_Firpo)\
**Replies:** 2\
**Last updated:** [August 8, 2019, 8:04pm UTC](https://forum.ansible.com/t/how-to-use-a-variable-to-define-a-list-to-use-in-docker-container-volumes/30993 "2019-08-08T20:04:42Z")

</div>

I’m trying to setup a docker container from ansible with its volumes defined in a yml file passed as extra\_vars. The setup is quite simple: config.yml \` shared\_folders: /Users/roger/Code/one:/one /Users/roger/Code/…

---

## [playbook without hosts desribed](https://forum.ansible.com/t/playbook-without-hosts-desribed/30977)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 7\
**Last updated:** [August 8, 2019, 5:36pm UTC](https://forum.ansible.com/t/playbook-without-hosts-desribed/30977 "2019-08-08T17:36:57Z")

</div>

Hi, Is there a way that we can use a playbook with no “hosts: XXX” defined. All the servers are available in the inventory file defined in the ansible.cfg , but the playbooks have to be run based on a single or multipl…

---

## [Get the value of secrets of AWS secrets manager in jinja template](https://forum.ansible.com/t/get-the-value-of-secrets-of-aws-secrets-manager-in-jinja-template/30989)

<div class="topic-metadata">

**Author:** [@Shantanu\_Jain](https://forum.ansible.com/u/Shantanu_Jain)\
**Replies:** 1\
**Last updated:** [August 8, 2019, 8:35am UTC](https://forum.ansible.com/t/get-the-value-of-secrets-of-aws-secrets-manager-in-jinja-template/30989 "2019-08-08T08:35:17Z")

</div>

I am running the following command: aws secretsmanager get-secret-value --secret-id Sumo/\*\*\*\*\*\* | jq --raw-output ‘.SecretString’ | jq -r .access\_id which gives me an output for the access\_id. I need to use this acces…

---

## [Cisco 3850 upgrade error](https://forum.ansible.com/t/cisco-3850-upgrade-error/30809)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 4\
**Last updated:** [August 8, 2019, 8:24am UTC](https://forum.ansible.com/t/cisco-3850-upgrade-error/30809 "2019-08-08T08:24:46Z")

</div>

Hi team getting below error . Please help . this is happening when upgrading cisco 3850 12 - name: expand the IOS file and copy to 2 switches 13 ios\_command: 14 commands: 15 - ‘software install file flash:{{ new\_sys…

---

## [Quick Favor?](https://forum.ansible.com/t/quick-favor/30988)

<div class="topic-metadata">

**Author:** [@mboncalo](https://forum.ansible.com/u/mboncalo)\
**Replies:** 0\
**Last updated:** [August 8, 2019, 8:14am UTC](https://forum.ansible.com/t/quick-favor/30988 "2019-08-08T08:14:18Z")

</div>

Hey, I just signed the petition “Governor of California : RELEASE NICOLE BRADLEY FROM PRISON. SERVED 23 YEARS ON 15L SENTENCE UNDER SB261 ,” and wanted to see if you could help by adding your name. Our goal is to reach…

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

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