# Ansible Project

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

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

**Page:** 96

---

## [Ansible 2.9.11 \> 2.10.3 env lookup giving lookups were disabled from templating error](https://forum.ansible.com/t/ansible-2-9-11-2-10-3-env-lookup-giving-lookups-were-disabled-from-templating-error/34244)

<div class="topic-metadata">

**Author:** [@Andrew\_Hodgson](https://forum.ansible.com/u/Andrew_Hodgson)\
**Replies:** 2\
**Last updated:** [November 26, 2020, 4:43pm UTC](https://forum.ansible.com/t/ansible-2-9-11-2-10-3-env-lookup-giving-lookups-were-disabled-from-templating-error/34244 "2020-11-26T16:43:43Z")

</div>

Hi, Doing a soak test on upgrading from Ansible 2.9.11 to 2.10.3 as I want to use some new features in a collection. Getting the following error on the following variable: deploy\_version: “locally deployed by {{ lookup…

---

## [How to run Ansible tasks in parallel](https://forum.ansible.com/t/how-to-run-ansible-tasks-in-parallel/34241)

<div class="topic-metadata">

**Author:** [@Prathap\_Dasari](https://forum.ansible.com/u/Prathap_Dasari)\
**Replies:** 9\
**Last updated:** [November 25, 2020, 8:35pm UTC](https://forum.ansible.com/t/how-to-run-ansible-tasks-in-parallel/34241 "2020-11-25T20:35:33Z")

</div>

Hi Team , Is it possible to run Ansible tasks in parallel ? If yes , Kindly let me know How? Regards, Prathap

---

## [enhanced korn shell to switch to root user](https://forum.ansible.com/t/enhanced-korn-shell-to-switch-to-root-user/34224)

<div class="topic-metadata">

**Author:** [@Priyal\_Patil](https://forum.ansible.com/u/Priyal_Patil)\
**Replies:** 3\
**Last updated:** [November 25, 2020, 6:53pm UTC](https://forum.ansible.com/t/enhanced-korn-shell-to-switch-to-root-user/34224 "2020-11-25T18:53:50Z")

</div>

Hi, Anyone knows if this can be achieved to to become root user thorugh, if we are using EKSH. sudo /usr/localcw/bin/eksh Regards Priyal Patil

---

## [A pound '#' sign in password](https://forum.ansible.com/t/a-pound-sign-in-password/34240)

<div class="topic-metadata">

**Author:** [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Replies:** 1\
**Last updated:** [November 25, 2020, 5:07pm UTC](https://forum.ansible.com/t/a-pound-sign-in-password/34240 "2020-11-25T17:07:40Z")

</div>

We want to use ansible to connect to a managed device. We have created a host\_var file with the username and the password. Here is the host\_var/mydevice file:

---

## [Configure IP in Ubuntu20](https://forum.ansible.com/t/configure-ip-in-ubuntu20/34238)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 2\
**Last updated:** [November 25, 2020, 3:32pm UTC](https://forum.ansible.com/t/configure-ip-in-ubuntu20/34238 "2020-11-25T15:32:31Z")

</div>

Hi All, I’m tried to check up which interfaces isn’t configured in Ubuntu20 to configure it. So, first I check which interfaces are on the system. Then it will check if this device is UP or not. I want to retrieve whic…

---

## [I want to connect to API Kubernetes with Ansible.](https://forum.ansible.com/t/i-want-to-connect-to-api-kubernetes-with-ansible/34210)

<div class="topic-metadata">

**Author:** [@user77](https://forum.ansible.com/u/user77)\
**Replies:** 5\
**Last updated:** [November 25, 2020, 11:57am UTC](https://forum.ansible.com/t/i-want-to-connect-to-api-kubernetes-with-ansible/34210 "2020-11-25T11:57:01Z")

</div>

I want to connect to API Kubernetes with Ansible. Ansible and Kubernetes are installed on different hosts. Unfortunately, I cannot find a normal description of how this works. Please help with links to manuals where the…

---

## [Export debug msg to a file](https://forum.ansible.com/t/export-debug-msg-to-a-file/34236)

<div class="topic-metadata">

**Author:** [@bilkam](https://forum.ansible.com/u/bilkam)\
**Replies:** 4\
**Last updated:** [November 25, 2020, 9:14am UTC](https://forum.ansible.com/t/export-debug-msg-to-a-file/34236 "2020-11-25T09:14:16Z")

</div>

Hello Need some assistance to send to a text file a message that appears in debug msg. my uri task give me the flow msg “msg”: \[ “JOB-1”, “JOB-2”, " JOB- 3 ", " JOB- 4 ", " JOB- 5 ", " JOB- 6 ", " JOB- 7 " \] …

---

## [skipping: no hosts matched](https://forum.ansible.com/t/skipping-no-hosts-matched/34232)

<div class="topic-metadata">

**Author:** [@blue\_fox](https://forum.ansible.com/u/blue_fox)\
**Replies:** 6\
**Last updated:** [November 25, 2020, 6:17am UTC](https://forum.ansible.com/t/skipping-no-hosts-matched/34232 "2020-11-25T06:17:44Z")

</div>

Hello, why ansible skipping a roles and display me this message : skipping: no hosts matched PS: this role have a host thank you

---

## [remote\_user does not appear to be working correctly](https://forum.ansible.com/t/remote-user-does-not-appear-to-be-working-correctly/34230)

<div class="topic-metadata">

**Author:** [@Mike\_Cavedon](https://forum.ansible.com/u/Mike_Cavedon)\
**Replies:** 2\
**Last updated:** [November 24, 2020, 10:03pm UTC](https://forum.ansible.com/t/remote-user-does-not-appear-to-be-working-correctly/34230 "2020-11-24T22:03:52Z")

</div>

I have a playbook that executes ‘emissary\_deploy.yml’ as an include:

---

## [set host variable within a playbook?](https://forum.ansible.com/t/set-host-variable-within-a-playbook/34235)

<div class="topic-metadata">

**Author:** [@Chad\_Campbell](https://forum.ansible.com/u/Chad_Campbell)\
**Replies:** 3\
**Last updated:** [November 24, 2020, 9:16pm UTC](https://forum.ansible.com/t/set-host-variable-within-a-playbook/34235 "2020-11-24T21:16:10Z")

</div>

I’m trying to automate our monthly patch process for CentOS servers. We receive a list of servers from our Linux team each month that says which servers need to be patched and/or rebooted. I’m wanting to have needs\_patch…

---

## [Running a Playbook with Ansible Tower Step-by-Step](https://forum.ansible.com/t/running-a-playbook-with-ansible-tower-step-by-step/34226)

<div class="topic-metadata">

**Author:** [@Oliver\_Schiinke](https://forum.ansible.com/u/Oliver_Schiinke)\
**Replies:** 1\
**Last updated:** [November 23, 2020, 6:04pm UTC](https://forum.ansible.com/t/running-a-playbook-with-ansible-tower-step-by-step/34226 "2020-11-23T18:04:59Z")

</div>

Hi, I am quite new with Ansible Tower and I would like to know from you if someone knows some “real” step-by-step for how to create a Job and run a Playbook in Ansible Tower. What have to be in place to have it complet…

---

## [Roles Loop](https://forum.ansible.com/t/roles-loop/34225)

<div class="topic-metadata">

**Author:** [@blue\_fox](https://forum.ansible.com/u/blue_fox)\
**Replies:** 4\
**Last updated:** [November 23, 2020, 1:55pm UTC](https://forum.ansible.com/t/roles-loop/34225 "2020-11-23T13:55:15Z")

</div>

I like to make a loop for a role , each time he copie each host in file example:

---

## [How to filter ans extract variable in static inventory](https://forum.ansible.com/t/how-to-filter-ans-extract-variable-in-static-inventory/34223)

<div class="topic-metadata">

**Author:** [@blue\_fox](https://forum.ansible.com/u/blue_fox)\
**Replies:** 5\
**Last updated:** [November 23, 2020, 12:03pm UTC](https://forum.ansible.com/t/how-to-filter-ans-extract-variable-in-static-inventory/34223 "2020-11-23T12:03:23Z")

</div>

Hello, How to filter ans extract variable in static inventory. Example: \[webserver\] 10.10.10.10 20.20.20.20

---

## [Unable to login to Ansible Galaxy](https://forum.ansible.com/t/unable-to-login-to-ansible-galaxy/34222)

<div class="topic-metadata">

**Author:** [@Peter\_Stalman](https://forum.ansible.com/u/Peter_Stalman)\
**Replies:** 0\
**Last updated:** [November 23, 2020, 6:57am UTC](https://forum.ansible.com/t/unable-to-login-to-ansible-galaxy/34222 "2020-11-23T06:57:32Z")

</div>

I go here: https://galaxy.ansible.com/login I click the GitHub logo. I get redirected here: https://galaxy.ansible.com/accounts/social/signup/ Which completely lacks CSS so it looks a little odd. I click “Sign In”, w…

---

## [specify a host in each task.](https://forum.ansible.com/t/specify-a-host-in-each-task/34220)

<div class="topic-metadata">

**Author:** [@blue\_fox](https://forum.ansible.com/u/blue_fox)\
**Replies:** 3\
**Last updated:** [November 22, 2020, 1:56am UTC](https://forum.ansible.com/t/specify-a-host-in-each-task/34220 "2020-11-22T01:56:05Z")

</div>

Hello , how I can specify a host in each task. Thank you

---

## [ansible yum install](https://forum.ansible.com/t/ansible-yum-install/34218)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 3\
**Last updated:** [November 20, 2020, 7:48pm UTC](https://forum.ansible.com/t/ansible-yum-install/34218 "2020-11-20T19:48:45Z")

</div>

Hi all! Curious how I could do this using the yum module, or should I just run this command as shell or “command”? WAZUH\_MANAGER="10.0.0.2" yum install wazuh-agent So essentially setting this variable and applying it …

---

## [CLI\_Parse and loops](https://forum.ansible.com/t/cli-parse-and-loops/34213)

<div class="topic-metadata">

**Author:** [@Jason](https://forum.ansible.com/u/Jason)\
**Replies:** 2\
**Last updated:** [November 20, 2020, 1:44pm UTC](https://forum.ansible.com/t/cli-parse-and-loops/34213 "2020-11-20T13:44:41Z")

</div>

Hello everyone. I am having some issues with using the information from cli\_parser output. ‘’’ name: Create po\_ch variable ansible.netcommon.cli\_parse: command: “show etherchannel summary” parser: name: ansible.ne…

---

## [Failed to import the required Python library (pexpect) on sejenk01's Python /usr/bin/python.](https://forum.ansible.com/t/failed-to-import-the-required-python-library-pexpect-on-sejenk01s-python-usr-bin-python/34212)

<div class="topic-metadata">

**Author:** [@Prathap\_Dasari](https://forum.ansible.com/u/Prathap_Dasari)\
**Replies:** 4\
**Last updated:** [November 19, 2020, 11:36pm UTC](https://forum.ansible.com/t/failed-to-import-the-required-python-library-pexpect-on-sejenk01s-python-usr-bin-python/34212 "2020-11-19T23:36:08Z")

</div>

SUMMARY We are getting below errors if using the except module in the ansible playbooks. An exception occurred during task execution. To see the full traceback, use -vvv. The error was: ImportError: No module named pty…

---

## [Connection to Windows via winrm](https://forum.ansible.com/t/connection-to-windows-via-winrm/34208)

<div class="topic-metadata">

**Author:** [@Lukasz1](https://forum.ansible.com/u/Lukasz1)\
**Replies:** 3\
**Last updated:** [November 19, 2020, 9:23am UTC](https://forum.ansible.com/t/connection-to-windows-via-winrm/34208 "2020-11-19T09:23:28Z")

</div>

Hello, I am having trouble connecting ansible via winrm. Something is wrongly defined and ansible connects to windows via ssh. ( more https://dpaste.org/6LdQ ) Where else can I look for problems? … ansible-playbook…

---

## [\[WARNING\]: Unhandled error in Python interpreter....](https://forum.ansible.com/t/warning-unhandled-error-in-python-interpreter/34192)

<div class="topic-metadata">

**Author:** [@bill\_paxton](https://forum.ansible.com/u/bill_paxton)\
**Replies:** 3\
**Last updated:** [November 18, 2020, 5:43pm UTC](https://forum.ansible.com/t/warning-unhandled-error-in-python-interpreter/34192 "2020-11-18T17:43:48Z")

</div>

I have a task that works fine for Ansible 2.9.7, but fails when I upgrade to 2.10.3. yaml - name: Ping ServiceNow IP Address shell: "ping -c 1 -w 5 {{ sn\_ip\_address | trim }}" ignore\_errors: true register: ping\_result…

---

## [Failed to create virtual machine... guest operating not supported](https://forum.ansible.com/t/failed-to-create-virtual-machine-guest-operating-not-supported/34202)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 5\
**Last updated:** [November 18, 2020, 9:09am UTC](https://forum.ansible.com/t/failed-to-create-virtual-machine-guest-operating-not-supported/34202 "2020-11-18T09:09:36Z")

</div>

Hi All, I’m using the role vmware\_guest to create virtual machine in both vCenter environments: a Test and a Prod. This role use a template with CentOS 8 and it is the same on both vCenters. All is running fine in Test…

---

## [ModuleNotFoundError when trying to execute Python using ansible](https://forum.ansible.com/t/modulenotfounderror-when-trying-to-execute-python-using-ansible/34205)

<div class="topic-metadata">

**Author:** [@magae](https://forum.ansible.com/u/magae)\
**Replies:** 1\
**Last updated:** [November 18, 2020, 4:44am UTC](https://forum.ansible.com/t/modulenotfounderror-when-trying-to-execute-python-using-ansible/34205 "2020-11-18T04:44:36Z")

</div>

Hi, everyone I’m trying to execute Python Files on EC2 using ansible I got an error message like this 'import influxdb\\nModuleNotFoundError: No module named ‘influxdb’ I installed ‘influxdb’ module on EC2 and it wor…

---

## [How to automate ansible automation runs from Python?](https://forum.ansible.com/t/how-to-automate-ansible-automation-runs-from-python/34190)

<div class="topic-metadata">

**Author:** [@Rafal\_Radecki](https://forum.ansible.com/u/Rafal_Radecki)\
**Replies:** 2\
**Last updated:** [November 17, 2020, 2:57pm UTC](https://forum.ansible.com/t/how-to-automate-ansible-automation-runs-from-python/34190 "2020-11-17T14:57:48Z")

</div>

Hi All, I have some ansible role structure which I use through playbooks in one of my gitlab repositories. Every time a developer needs to add a new service which uses some role/-s I manually update the code (eg. add a …

---

## [Azure Private and Service endpoints](https://forum.ansible.com/t/azure-private-and-service-endpoints/34204)

<div class="topic-metadata">

**Author:** [@Nicholas\_Reid](https://forum.ansible.com/u/Nicholas_Reid)\
**Replies:** 0\
**Last updated:** [November 17, 2020, 11:47am UTC](https://forum.ansible.com/t/azure-private-and-service-endpoints/34204 "2020-11-17T11:47:22Z")

</div>

Hi All, What’s the recommendation for configuring Azure’s service and private endpoints? I can’t see an obvious role or task for this. I want to configure my storage accounts to allow direct access from VMs without tra…

---

## [Stripping YAML dashes from output](https://forum.ansible.com/t/stripping-yaml-dashes-from-output/34187)

<div class="topic-metadata">

**Author:** [@harry\_devine](https://forum.ansible.com/u/harry_devine)\
**Replies:** 15\
**Last updated:** [November 16, 2020, 5:56pm UTC](https://forum.ansible.com/t/stripping-yaml-dashes-from-output/34187 "2020-11-16T17:56:10Z")

</div>

I have a playbook where I am traversing our FreeIPA server and pulling out each user’s email address. I’m then putting that data into a text file using the template module: name: Set User Email fact set\_fact: user\_l…

---

## [help on windows gather facts](https://forum.ansible.com/t/help-on-windows-gather-facts/34188)

<div class="topic-metadata">

**Author:** [@Anitha\_sreejith](https://forum.ansible.com/u/Anitha_sreejith)\
**Replies:** 4\
**Last updated:** [November 15, 2020, 6:19pm UTC](https://forum.ansible.com/t/help-on-windows-gather-facts/34188 "2020-11-15T18:19:44Z")

</div>

Hi Anthony, I am trying to create custom fact like below. But setup module during playbook execution gets hung. What I am missing here. Please help. I have attached Screenshort below. The task “Gather custom facts” g…

---

## [Helm module issue.](https://forum.ansible.com/t/helm-module-issue/34195)

<div class="topic-metadata">

**Author:** [@Sebastian](https://forum.ansible.com/u/Sebastian)\
**Replies:** 0\
**Last updated:** [November 13, 2020, 3:38pm UTC](https://forum.ansible.com/t/helm-module-issue/34195 "2020-11-13T15:38:38Z")

</div>

Hi, I’m trying to install Helm chart from the local file on the local Minikube instance but I’m constantly getting the same error: fatal: \[localhost\]: FAILED! =\> { “changed”: false, “command”: “/usr/local/bin/helm --…

---

## [Pinging Windows Host Now Returns Unexpected Error](https://forum.ansible.com/t/pinging-windows-host-now-returns-unexpected-error/34125)

<div class="topic-metadata">

**Author:** [@dwiz](https://forum.ansible.com/u/dwiz)\
**Replies:** 3\
**Last updated:** [November 13, 2020, 2:53pm UTC](https://forum.ansible.com/t/pinging-windows-host-now-returns-unexpected-error/34125 "2020-11-13T14:53:15Z")

</div>

Hello, I am testing connection to my windows host. My host file is set up as below. \[windows\] X.X.X.X \[windows:vars\] ansible\_user= ansible\_password= ansible\_connection=winrm ansible\_port=5985 I was able to conne…

---

## [SSH authentication with multiple prompts](https://forum.ansible.com/t/ssh-authentication-with-multiple-prompts/34194)

<div class="topic-metadata">

**Author:** [@Florian\_LACOMMARE](https://forum.ansible.com/u/Florian_LACOMMARE)\
**Replies:** 0\
**Last updated:** [November 13, 2020, 1:54pm UTC](https://forum.ansible.com/t/ssh-authentication-with-multiple-prompts/34194 "2020-11-13T13:54:26Z")

</div>

Hello, I would like to know if it possible to use some network modules (aireos for example) and connect to my device which is asking me multiples prompts (username and password). The device behavior : When you try to …

---

## [ansible-runner use of /etc/ansible](https://forum.ansible.com/t/ansible-runner-use-of-etc-ansible/34186)

<div class="topic-metadata">

**Author:** [@Gerard\_Weatherby](https://forum.ansible.com/u/Gerard_Weatherby)\
**Replies:** 3\
**Last updated:** [November 13, 2020, 9:57am UTC](https://forum.ansible.com/t/ansible-runner-use-of-etc-ansible/34186 "2020-11-13T09:57:15Z")

</div>

If I’m understanding the ansible-runner documentation correctly, it does not use /etc/ansible but requires a directory structure set up in a particular way. If that is correct, is there a tool that converts /etc/ansible…

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

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