# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=157

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

**Page:** 158

---

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

---

## [Add interfaces during VM creation depends on conditionals](https://forum.ansible.com/t/add-interfaces-during-vm-creation-depends-on-conditionals/34206)

<div class="topic-metadata">

**Author:** [@hieronymus](https://forum.ansible.com/u/hieronymus)\
**Replies:** 2\
**Last updated:** [November 25, 2020, 2:28pm UTC](https://forum.ansible.com/t/add-interfaces-during-vm-creation-depends-on-conditionals/34206 "2020-11-25T14:28:00Z")

</div>

Hi All, On AWX I’m using the Survey to defined variables for creating a new VM Machine. There’re two cases of VM that I want to create, one with one interfaces and the other with 2 interfaces. I thought of inserting a…

---

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

---

## [Process for updating queries in tests](https://forum.ansible.com/t/process-for-updating-queries-in-tests/34221)

<div class="topic-metadata">

**Author:** [@Sophie\_Xie](https://forum.ansible.com/u/Sophie_Xie)\
**Replies:** 4\
**Last updated:** [November 24, 2020, 10:00pm UTC](https://forum.ansible.com/t/process-for-updating-queries-in-tests/34221 "2020-11-24T22:00:30Z")

</div>

Hi, Below are a few queries in some tests that have yet to be updated. These are queries that still refer to deleted queries. For example, in the lines below the deleted field ‘organization’ in both the project and work…

---

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

---

## [Upcoming changes to the Ansible AWX User Interface](https://forum.ansible.com/t/upcoming-changes-to-the-ansible-awx-user-interface/34233)

<div class="topic-metadata">

**Author:** [@rpetrell](https://forum.ansible.com/u/rpetrell)\
**Replies:** 0\
**Last updated:** [November 24, 2020, 4:51pm UTC](https://forum.ansible.com/t/upcoming-changes-to-the-ansible-awx-user-interface/34233 "2020-11-24T16:51:36Z")

</div>

Hey everyone, At AnsibleFest 2019, we announced some major changes to AWX, including a complete reimagination of AWX’s user interface, implemented with newer technologies that weren’t available back when the current use…

---

## [awx.awx.tower-settings and variable YAML keys](https://forum.ansible.com/t/awx-awx-tower-settings-and-variable-yaml-keys/34231)

<div class="topic-metadata">

**Author:** [@howardjones](https://forum.ansible.com/u/howardjones)\
**Replies:** 0\
**Last updated:** [November 24, 2020, 1:39pm UTC](https://forum.ansible.com/t/awx-awx-tower-settings-and-variable-yaml-keys/34231 "2020-11-24T13:39:53Z")

</div>

I’m writing a playbook to reproduce our awx installation, and part of that is configuring AD auth. However, part of that is the user mapping, which needs the organisation name as a key. Everywhere else, I’ve managed to k…

---

## [Allied Telesis CLI problems](https://forum.ansible.com/t/allied-telesis-cli-problems/34229)

<div class="topic-metadata">

**Author:** [@tsfu\_off](https://forum.ansible.com/u/tsfu_off)\
**Replies:** 0\
**Last updated:** [November 23, 2020, 11:39pm UTC](https://forum.ansible.com/t/allied-telesis-cli-problems/34229 "2020-11-23T23:39:44Z")

</div>

Hi! I need to send commands via ssh to Allied Telesis network devices. The problem is that Ansible requires the value of the ansible\_network\_os variable when working with network devices (for example, for cisco it is IO…

---

## [Inventory variables not recognized for imported playbooks](https://forum.ansible.com/t/inventory-variables-not-recognized-for-imported-playbooks/34228)

<div class="topic-metadata">

**Author:** [@Aaron\_Patten](https://forum.ansible.com/u/Aaron_Patten)\
**Replies:** 0\
**Last updated:** [November 23, 2020, 9:10pm UTC](https://forum.ansible.com/t/inventory-variables-not-recognized-for-imported-playbooks/34228 "2020-11-23T21:10:02Z")

</div>

Problem: I have a playbook that import another playbook for a task. When I import this playbook, the inventory variables I’ve set don’t get applied to the imported playbook. Setup: I have a playbook that imports a num…

---

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

<div class="topic-metadata">

**Author:** [@Oliver\_Schiinke](https://forum.ansible.com/u/Oliver_Schiinke)\
**Replies:** 0\
**Last updated:** [November 23, 2020, 7:54pm UTC](https://forum.ansible.com/t/running-a-playbook-with-ansible-tower-step-by-step/34227 "2020-11-23T19:54:50Z")

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

---

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

---

## [RFC: python \>=3.8 for Ansible controller && criteria for including collections in Ansible](https://forum.ansible.com/t/rfc-python-3-8-for-ansible-controller-criteria-for-including-collections-in-ansible/34217)

<div class="topic-metadata">

**Author:** [@David\_Moreau\_Simard](https://forum.ansible.com/u/David_Moreau_Simard)\
**Replies:** 0\
**Last updated:** [November 20, 2020, 4:35pm UTC](https://forum.ansible.com/t/rfc-python-3-8-for-ansible-controller-criteria-for-including-collections-in-ansible/34217 "2020-11-20T16:35:05Z")

</div>

Hello ansible-devel o/ I’m part of the community team for the Ansible project and we’d like to reach out for feedback and comments on two important topics: Bumping the required version of python for the Ansible contr…

---

## [Upcoming changes to the AWX Project](https://forum.ansible.com/t/upcoming-changes-to-the-awx-project/34200)

<div class="topic-metadata">

**Author:** [@Shane\_McDonald](https://forum.ansible.com/u/Shane_McDonald)\
**Replies:** 9\
**Last updated:** [November 20, 2020, 3:05pm UTC](https://forum.ansible.com/t/upcoming-changes-to-the-awx-project/34200 "2020-11-20T15:05:38Z")

</div>

Hello folks, I have some exciting news to share today. We have been hard at work developing what will become the future architecture of AWX. These upcoming changes represent years of thought and consideration as we move…

---

## [AWX Tower Cli restores but Creds don't work.](https://forum.ansible.com/t/awx-tower-cli-restores-but-creds-dont-work/34215)

<div class="topic-metadata">

**Author:** [@GAURAV\_Pande](https://forum.ansible.com/u/GAURAV_Pande)\
**Replies:** 1\
**Last updated:** [November 20, 2020, 2:55pm UTC](https://forum.ansible.com/t/awx-tower-cli-restores-but-creds-dont-work/34215 "2020-11-20T14:55:21Z")

</div>

Hi team , Iam using Ansible Awx and I tried the tower cli feature to take Awx backup in Jon format and was able to restore the same onto another AWX instance but could you please help me in below- I noticed that the AW…

---

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

---

## [discussion around hashbehaviour=merge and variables](https://forum.ansible.com/t/discussion-around-hashbehaviour-merge-and-variables/34216)

<div class="topic-metadata">

**Author:** [@Raffaello\_Bertini](https://forum.ansible.com/u/Raffaello_Bertini)\
**Replies:** 0\
**Last updated:** [November 20, 2020, 12:44pm UTC](https://forum.ansible.com/t/discussion-around-hashbehaviour-merge-and-variables/34216 "2020-11-20T12:44:16Z")

</div>

Hi, i would like to continue some discussion around this issue reported on GitHub: https://github.com/ansible/ansible/issues/72646 I was thinking about in some complex ansible codes (many roles), that variables struc…

---

## [DNS settings in awx\_web and awx\_task](https://forum.ansible.com/t/dns-settings-in-awx-web-and-awx-task/34183)

<div class="topic-metadata">

**Author:** [@Andrew\_Madsen](https://forum.ansible.com/u/Andrew_Madsen)\
**Replies:** 1\
**Last updated:** [November 20, 2020, 11:01am UTC](https://forum.ansible.com/t/dns-settings-in-awx-web-and-awx-task/34183 "2020-11-20T11:01:49Z")

</div>

I am certain this question has been asked however, my Google skills have been lacking in finding an answer. I have edited the inventory file and added our company’s correct settings to awx\_alternate\_dns\_servers=“10.1.2.3…

---

## [Can't set schedule to "None"](https://forum.ansible.com/t/cant-set-schedule-to-none/34207)

<div class="topic-metadata">

**Author:** [@1793](https://forum.ansible.com/u/1793)\
**Replies:** 1\
**Last updated:** [November 20, 2020, 10:55am UTC](https://forum.ansible.com/t/cant-set-schedule-to-none/34207 "2020-11-20T10:55:36Z")

</div>

Hi, Running AWX 7.0.0.0. I’m trying to set a template schedule run to only run once. When I set the repeat Frequency to “None(run once)” and save it, it automatically sets it to “Daily” when I go back to that schedule.…

---

## [playbook process visible on all nodes of cluster](https://forum.ansible.com/t/playbook-process-visible-on-all-nodes-of-cluster/34214)

<div class="topic-metadata">

**Author:** [@John\_X](https://forum.ansible.com/u/John_X)\
**Replies:** 0\
**Last updated:** [November 20, 2020, 7:23am UTC](https://forum.ansible.com/t/playbook-process-visible-on-all-nodes-of-cluster/34214 "2020-11-20T07:23:22Z")

</div>

Is it normal that playbook I’ve run is visible in process on both cluster nodes? How to verify that my cluster is working correctly?

---

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

[Previous page](https://forum.ansible.com/c/archives/31.md?page=156)

[Next page](https://forum.ansible.com/c/archives/31.md?page=158)
