# Latest

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

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

**Page:** 554

---

## [Disabling F5 Big IP pool member from the pool list](https://forum.ansible.com/t/disabling-f5-big-ip-pool-member-from-the-pool-list/27623)

<div class="topic-metadata">

**Author:** [@Josephsimon\_Arokiara](https://forum.ansible.com/u/Josephsimon_Arokiara)\
**Replies:** 0\
**Last updated:** [May 24, 2018, 11:02pm UTC](https://forum.ansible.com/t/disabling-f5-big-ip-pool-member-from-the-pool-list/27623 "2018-05-24T23:02:47Z")

</div>

Hi All, I have been trying the below code with state - absent . it ran successffully without changing the state from enabled to disabled. I cant see any Access denied error. - name: Remove pool member from pool bigip…

---

## [WSMan does not exist.](https://forum.ansible.com/t/wsman-does-not-exist/27613)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 3\
**Last updated:** [May 24, 2018, 9:00pm UTC](https://forum.ansible.com/t/wsman-does-not-exist/27613 "2018-05-24T21:00:09Z")

</div>

I’m trying to set up a Windows 2008R2 server using the ConfigureRemotingForAnsible.ps1 script but I get the error: \` dir : Cannot find drive. A drive with the name ‘WSMan’ does not exist. At line:98 char:3 dir 'WSM…

---

## [inventory\_hostname in path to create directory with win\_file grief..](https://forum.ansible.com/t/inventory-hostname-in-path-to-create-directory-with-win-file-grief/27609)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 4\
**Last updated:** [May 24, 2018, 8:40pm UTC](https://forum.ansible.com/t/inventory-hostname-in-path-to-create-directory-with-win-file-grief/27609 "2018-05-24T20:40:05Z")

</div>

Hi, I thought I had this project nailed and then they tell me they need a directory created called: c:\\working\\hostname where hostname is the name of the computer… I thought I could use: name: make working dir win…

---

## [Nested variable](https://forum.ansible.com/t/nested-variable/27607)

<div class="topic-metadata">

**Author:** [@David\_Villasmil](https://forum.ansible.com/u/David_Villasmil)\
**Replies:** 5\
**Last updated:** [May 24, 2018, 8:35pm UTC](https://forum.ansible.com/t/nested-variable/27607 "2018-05-24T20:35:51Z")

</div>

Hello guys, I’ve got this set\_fact: hosted\_zone\_id: "{{ dns\_results | json\_query('HostedZones\[?Name==mydomain.com.\].\[Id\]') | regex\_replace ('/hostedzone/', '') }}" But i want to get the id from any of my domains, so…

---

## [powershell: not found](https://forum.ansible.com/t/powershell-not-found/27620)

<div class="topic-metadata">

**Author:** [@Nojan\_Sheybani](https://forum.ansible.com/u/Nojan_Sheybani)\
**Replies:** 5\
**Last updated:** [May 24, 2018, 7:02pm UTC](https://forum.ansible.com/t/powershell-not-found/27620 "2018-05-24T19:02:10Z")

</div>

I keep getting this error whenever I try to run a playbook. I haven’t been able to find a solution to this, can anyone help?

---

## [AWX on ECS](https://forum.ansible.com/t/awx-on-ecs/27621)

<div class="topic-metadata">

**Author:** [@devopsteki](https://forum.ansible.com/u/devopsteki)\
**Replies:** 0\
**Last updated:** [May 24, 2018, 6:45pm UTC](https://forum.ansible.com/t/awx-on-ecs/27621 "2018-05-24T18:45:09Z")

</div>

Hi, I have installed AWX on ECS by pulling all official images from dockerhub. I am getting 500 error while creating a new project.Please help me in this. Thank you

---

## [Ansible Json filter](https://forum.ansible.com/t/ansible-json-filter/27618)

<div class="topic-metadata">

**Author:** [@Ankur\_Gupta](https://forum.ansible.com/u/Ankur_Gupta)\
**Replies:** 0\
**Last updated:** [May 24, 2018, 6:18pm UTC](https://forum.ansible.com/t/ansible-json-filter/27618 "2018-05-24T18:18:13Z")

</div>

Hello All, I have a situation where i am trying to remove key: value from json output. but i am not getting expected result. Please help me what I am doing wrong here? "get\_ec2\_id.instances\[0\].tags": { "Name": "te…

---

## [How to set environment dynamically](https://forum.ansible.com/t/how-to-set-environment-dynamically/27616)

<div class="topic-metadata">

**Author:** [@David\_Villasmil](https://forum.ansible.com/u/David_Villasmil)\
**Replies:** 1\
**Last updated:** [May 24, 2018, 5:40pm UTC](https://forum.ansible.com/t/how-to-set-environment-dynamically/27616 "2018-05-24T17:40:50Z")

</div>

Hello Guys, So, i have a vars file with something like this: \`

---

## [Ho to use different answers for the same questions?](https://forum.ansible.com/t/ho-to-use-different-answers-for-the-same-questions/27615)

<div class="topic-metadata">

**Author:** [@user78](https://forum.ansible.com/u/user78)\
**Replies:** 1\
**Last updated:** [May 24, 2018, 1:48pm UTC](https://forum.ansible.com/t/ho-to-use-different-answers-for-the-same-questions/27615 "2018-05-24T13:48:40Z")

</div>

Hello I use ansible 2.5.2 I have this responses section in my playbook: (?i)Login: “admin\\n\\r” (?i)Password: “admin\\n\\r” (?i)#: “password\\n\\r” (?i)Enter new password: “admin123\\n\\r” (?i)Confirm new password: “admi…

---

## [os\_recordset module not working](https://forum.ansible.com/t/os-recordset-module-not-working/27614)

<div class="topic-metadata">

**Author:** [@sriman\_dharba](https://forum.ansible.com/u/sriman_dharba)\
**Replies:** 0\
**Last updated:** [May 24, 2018, 11:09am UTC](https://forum.ansible.com/t/os-recordset-module-not-working/27614 "2018-05-24T11:09:08Z")

</div>

Hello I am using ansible 2.3.3.0 on openstack pike shade==1.28.0 ansible==2.3.3.0 python-designateclient==2.7.0 python-openstackclient==3.12.0 When i am trying to create a A record after instance creation, its thro…

---

## [Can't login Aix machine by the account that was created by Ansible user module.](https://forum.ansible.com/t/cant-login-aix-machine-by-the-account-that-was-created-by-ansible-user-module/27599)

<div class="topic-metadata">

**Author:** [@shaolong\_t](https://forum.ansible.com/u/shaolong_t)\
**Replies:** 7\
**Last updated:** [May 24, 2018, 9:27am UTC](https://forum.ansible.com/t/cant-login-aix-machine-by-the-account-that-was-created-by-ansible-user-module/27599 "2018-05-24T09:27:02Z")

</div>

Hello everybody, I am using Ansible user module to create Aix machine account. I found that the new created user can’t login Aix machine. The below is my some test step; Generate a crypted password by ansible provid…

---

## [Custom facts module question - running a copy of an ansible module from the "library" dir](https://forum.ansible.com/t/custom-facts-module-question-running-a-copy-of-an-ansible-module-from-the-library-dir/27611)

<div class="topic-metadata">

**Author:** [@Taida](https://forum.ansible.com/u/Taida)\
**Replies:** 0\
**Last updated:** [May 24, 2018, 6:42am UTC](https://forum.ansible.com/t/custom-facts-module-question-running-a-copy-of-an-ansible-module-from-the-library-dir/27611 "2018-05-24T06:42:12Z")

</div>

Hello everyone, I’m trying to understand how to write custom modules. For that, I’ve copied an existing ios\_facts.py to a playbook library directory and renamed it to slb\_facts2. I thought that just copying the module …

---

## [convcert tags dict tags list?](https://forum.ansible.com/t/convcert-tags-dict-tags-list/27600)

<div class="topic-metadata">

**Author:** [@Karl\_Auer](https://forum.ansible.com/u/Karl_Auer)\
**Replies:** 1\
**Last updated:** [May 24, 2018, 3:34am UTC](https://forum.ansible.com/t/convcert-tags-dict-tags-list/27600 "2018-05-24T03:34:52Z")

</div>

For some reason, the ec2\_asg module does not handle tags the same way as other modules. Most modules let you do this: tags: fred: wilma barney: betty In the ec2\_asg module, that results in an error message about not…

---

## [Ansible ping to Windows fails with credssp , “Session' object has no attribute 'merge\_environment\_settings”](https://forum.ansible.com/t/ansible-ping-to-windows-fails-with-credssp-session-object-has-no-attribute-merge-environment-settings/27583)

<div class="topic-metadata">

**Author:** [@Harshit\_Srivastava](https://forum.ansible.com/u/Harshit_Srivastava)\
**Replies:** 2\
**Last updated:** [May 23, 2018, 8:16pm UTC](https://forum.ansible.com/t/ansible-ping-to-windows-fails-with-credssp-session-object-has-no-attribute-merge-environment-settings/27583 "2018-05-23T20:16:20Z")

</div>

I have configured Ansible on my ubuntu 14.04 and my target machine is a windows server 2016, but it fails when using credssp or plain text: I tried: ansible -m win\_ping all --ask-pass -vvvvvvv Below is the output I see…

---

## [route53 alias\_hosted\_zone\_id](https://forum.ansible.com/t/route53-alias-hosted-zone-id/27605)

<div class="topic-metadata">

**Author:** [@David\_Villasmil](https://forum.ansible.com/u/David_Villasmil)\
**Replies:** 1\
**Last updated:** [May 23, 2018, 8:00pm UTC](https://forum.ansible.com/t/route53-alias-hosted-zone-id/27605 "2018-05-23T20:00:15Z")

</div>

Hello guys, I can use like: \` \>\> Create the DNS load balancer to the instances name: Creating DNS load balancer route53: command: create zone: “{{ domain }}” value: “{{ cluster }}-{{ item }}.{{ domain }}” alias:…

---

## ["TypeError: update expected at most 1 arguments, got 2"](https://forum.ansible.com/t/typeerror-update-expected-at-most-1-arguments-got-2/27604)

<div class="topic-metadata">

**Author:** [@dan\_linder](https://forum.ansible.com/u/dan_linder)\
**Replies:** 4\
**Last updated:** [May 23, 2018, 7:36pm UTC](https://forum.ansible.com/t/typeerror-update-expected-at-most-1-arguments-got-2/27604 "2018-05-23T19:36:56Z")

</div>

I’m running a simple playbook from within Ansible Tower but getting the error in the subject line. Version info: Tower server: RHEL 7.5, Ansible 2.5.3, Ansible Tower 3.2.2 Remote node: RHEL 7.5 The playbook has multi…

---

## [Revisit ansible module with virtualenv - library module is using wrong python](https://forum.ansible.com/t/revisit-ansible-module-with-virtualenv-library-module-is-using-wrong-python/27602)

<div class="topic-metadata">

**Author:** [@Rick\_Williams](https://forum.ansible.com/u/Rick_Williams)\
**Replies:** 1\
**Last updated:** [May 23, 2018, 6:50pm UTC](https://forum.ansible.com/t/revisit-ansible-module-with-virtualenv-library-module-is-using-wrong-python/27602 "2018-05-23T18:50:45Z")

</div>

Hi Folks, I’m having a problem getting my mdule ti run with my python virtual environment. I’m running ansible with a python 3 virtual environment with other libraries I want to use in my modules. (py363venvAns) \[netu…

---

## [Find module with contains parameter not working](https://forum.ansible.com/t/find-module-with-contains-parameter-not-working/27592)

<div class="topic-metadata">

**Author:** [@Saranya\_N](https://forum.ansible.com/u/Saranya_N)\
**Replies:** 3\
**Last updated:** [May 23, 2018, 5:29pm UTC](https://forum.ansible.com/t/find-module-with-contains-parameter-not-working/27592 "2018-05-23T17:29:24Z")

</div>

I want to list ONLY Filenames dev.xml and prd.xml that contain a word called “vob.fi.ted.com". Im able to list all filenames dev.xml and prd.xml using find module but when I use contains parameter in playbook it doesn’t …

---

## [awx-manage utility](https://forum.ansible.com/t/awx-manage-utility/27560)

<div class="topic-metadata">

**Author:** [@dovesma](https://forum.ansible.com/u/dovesma)\
**Replies:** 3\
**Last updated:** [May 23, 2018, 2:44pm UTC](https://forum.ansible.com/t/awx-manage-utility/27560 "2018-05-23T14:44:33Z")

</div>

Hi All, I am new to AWX, wondering how do i enable/install the awx-manage to be used?. Currently using AWX 1.0.6.3 Installed on Docker Ansible version: 2.5.2 Regards, doves99

---

## [Quick way for testing new Ansible roles](https://forum.ansible.com/t/quick-way-for-testing-new-ansible-roles/27587)

<div class="topic-metadata">

**Author:** [@Behrang](https://forum.ansible.com/u/Behrang)\
**Replies:** 4\
**Last updated:** [May 23, 2018, 7:28am UTC](https://forum.ansible.com/t/quick-way-for-testing-new-ansible-roles/27587 "2018-05-23T07:28:26Z")

</div>

Hi, In the docs, it is written that: Test It The actual work to be performed gets added as playbook tasks to tasks/main.yml. Once you’ve added some tasks, create a playbook to test the role and insure it works. Here’s …

---

## [Disabling all repo in ansible yum module](https://forum.ansible.com/t/disabling-all-repo-in-ansible-yum-module/27597)

<div class="topic-metadata">

**Author:** [@Ravikumar\_Wagh](https://forum.ansible.com/u/Ravikumar_Wagh)\
**Replies:** 0\
**Last updated:** [May 23, 2018, 4:43am UTC](https://forum.ansible.com/t/disabling-all-repo-in-ansible-yum-module/27597 "2018-05-23T04:43:36Z")

</div>

Hello, Is there any way in ansible playbook to disable all repositories while installing an package with yum. I know below way to disable. yum: name: \<package\_name\> disablerepo: repo1, repo2,…repo n state: present …

---

## [Using ansible to modify ip address on system](https://forum.ansible.com/t/using-ansible-to-modify-ip-address-on-system/23351)

<div class="topic-metadata">

**Author:** [@Gerald\_Spencer1](https://forum.ansible.com/u/Gerald_Spencer1)\
**Replies:** 2\
**Last updated:** [May 22, 2018, 9:59pm UTC](https://forum.ansible.com/t/using-ansible-to-modify-ip-address-on-system/23351 "2018-05-22T21:59:37Z")

</div>

Okay, we’ve ran out of ip addresses, and got a larger subnet from our ip. I am currently in the process of switching them over, and decided it would be nice to do this with ansible, but I have ran into a little snag. Cu…

---

## [Need help to find how to run root command with non-root user and escalated privilages](https://forum.ansible.com/t/need-help-to-find-how-to-run-root-command-with-non-root-user-and-escalated-privilages/27562)

<div class="topic-metadata">

**Author:** [@Kallu\_Srikanth](https://forum.ansible.com/u/Kallu_Srikanth)\
**Replies:** 7\
**Last updated:** [May 22, 2018, 6:57pm UTC](https://forum.ansible.com/t/need-help-to-find-how-to-run-root-command-with-non-root-user-and-escalated-privilages/27562 "2018-05-22T18:57:15Z")

</div>

Hi, I highly appreciate if anybody can help, please ############### playbook ################## hosts: dpie\_prod user: dpiesa tasks: name: install telnet yum: pkg=telnet state=installed update\_cache=true command:…

---

## [Run one simple coomand with sudo priviliges.](https://forum.ansible.com/t/run-one-simple-coomand-with-sudo-priviliges/27593)

<div class="topic-metadata">

**Author:** [@Dawid\_D](https://forum.ansible.com/u/Dawid_D)\
**Replies:** 1\
**Last updated:** [May 22, 2018, 6:08pm UTC](https://forum.ansible.com/t/run-one-simple-coomand-with-sudo-priviliges/27593 "2018-05-22T18:08:38Z")

</div>

Hello All, I would like ask about privileges escalation by sudo. I need run command on RemoteMachine. User: someone and Command: /usr/local/blah.sh for example suoders file: someone RemoteMachine =(root)\*\*/usr/local/…

---

## [Ansible Do Until Loop](https://forum.ansible.com/t/ansible-do-until-loop/27589)

<div class="topic-metadata">

**Author:** [@Madushan\_Chathuranga](https://forum.ansible.com/u/Madushan_Chathuranga)\
**Replies:** 1\
**Last updated:** [May 22, 2018, 5:58pm UTC](https://forum.ansible.com/t/ansible-do-until-loop/27589 "2018-05-22T17:58:45Z")

</div>

Hi All, I’m using ansible version 2.5.0 I’m trying execute a task with an Do Until Loop. http://docs.ansible.com/ansible/latest/user\_guide/playbooks\_loops.html#do-until-loops Is it possible to run this task with an in…

---

## [Ansible way to show only failed tasks not any other](https://forum.ansible.com/t/ansible-way-to-show-only-failed-tasks-not-any-other/27594)

<div class="topic-metadata">

**Author:** [@ansiblekrazy](https://forum.ansible.com/u/ansiblekrazy)\
**Replies:** 1\
**Last updated:** [May 22, 2018, 5:51pm UTC](https://forum.ansible.com/t/ansible-way-to-show-only-failed-tasks-not-any-other/27594 "2018-05-22T17:51:08Z")

</div>

HI all, I tried actionable and other callback plugins however it shows changed tasks also. Is there way to show only and only failed tasks on the screen Thanks

---

## [Variable in the hosts file?](https://forum.ansible.com/t/variable-in-the-hosts-file/27595)

<div class="topic-metadata">

**Author:** [@chrisjx](https://forum.ansible.com/u/chrisjx)\
**Replies:** 1\
**Last updated:** [May 22, 2018, 5:45pm UTC](https://forum.ansible.com/t/variable-in-the-hosts-file/27595 "2018-05-22T17:45:44Z")

</div>

On any given day I might be accessing different aws systems with different sets of FQDNs. I’m looking for a way to basically templatize (new word?) the hosts file. Example: \` this\_track=track4 this\_subnet=239 \[grou…

---

## [is it possible to make more output show in its own tab like stdout\_lines does?](https://forum.ansible.com/t/is-it-possible-to-make-more-output-show-in-its-own-tab-like-stdout-lines-does/27591)

<div class="topic-metadata">

**Author:** [@Andrew\_Strangwood](https://forum.ansible.com/u/Andrew_Strangwood)\
**Replies:** 0\
**Last updated:** [May 22, 2018, 10:54am UTC](https://forum.ansible.com/t/is-it-possible-to-make-more-output-show-in-its-own-tab-like-stdout-lines-does/27591 "2018-05-22T10:54:07Z")

</div>

I have lots of different output returned from an Ansible script and would like it to show in the UI like stdout\_line does in its own tab. is this possible?

---

## [How to  replace a word or a content in a file using ansible.](https://forum.ansible.com/t/how-to-replace-a-word-or-a-content-in-a-file-using-ansible/27590)

<div class="topic-metadata">

**Author:** [@Gowtham\_Nakulan](https://forum.ansible.com/u/Gowtham_Nakulan)\
**Replies:** 1\
**Last updated:** [May 22, 2018, 10:29am UTC](https://forum.ansible.com/t/how-to-replace-a-word-or-a-content-in-a-file-using-ansible/27590 "2018-05-22T10:29:47Z")

</div>

I am trying to replace a word in file using Ansible. Any inputs how to acheive it.

---

## [Ansible looping over register and multiple lists](https://forum.ansible.com/t/ansible-looping-over-register-and-multiple-lists/27578)

<div class="topic-metadata">

**Author:** [@Jeremie\_Levy](https://forum.ansible.com/u/Jeremie_Levy)\
**Replies:** 6\
**Last updated:** [May 22, 2018, 7:42am UTC](https://forum.ansible.com/t/ansible-looping-over-register-and-multiple-lists/27578 "2018-05-22T07:42:27Z")

</div>

Hi I’m trying to do the following (in windows but it’s not important): Need to deploy N number of build agents to a server (according to the inventory nb\_of\_agents) - iteration1 Each agent should have a unique por…

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

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