# Latest

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

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

**Page:** 487

---

## [Cisco Show Power Inline command with Ansible](https://forum.ansible.com/t/cisco-show-power-inline-command-with-ansible/29584)

<div class="topic-metadata">

**Author:** [@Michael\_Ikram](https://forum.ansible.com/u/Michael_Ikram)\
**Replies:** 1\
**Last updated:** [February 1, 2019, 10:00pm UTC](https://forum.ansible.com/t/cisco-show-power-inline-command-with-ansible/29584 "2019-02-01T22:00:01Z")

</div>

Hi There, I have a request to match a specific line in output of show power inline command below, mainly I need to extract line number 4 from below: DP-M-R4-C9K#sh power inline Module Available Used Remaining (Watts)…

---

## [Updating Ansible hosts inventory dynamically](https://forum.ansible.com/t/updating-ansible-hosts-inventory-dynamically/29596)

<div class="topic-metadata">

**Author:** [@Subhi\_Andrews](https://forum.ansible.com/u/Subhi_Andrews)\
**Replies:** 3\
**Last updated:** [February 1, 2019, 8:51pm UTC](https://forum.ansible.com/t/updating-ansible-hosts-inventory-dynamically/29596 "2019-02-01T20:51:46Z")

</div>

We have our hosts inventory organized by environments. We tend to have alpha versions of software deployed in our test environment. Are there any thoughts on keeping the inventory dynamically updated if we decide to move…

---

## [Ansible Inventory file](https://forum.ansible.com/t/ansible-inventory-file/29588)

<div class="topic-metadata">

**Author:** [@Deepak\_Sharma1](https://forum.ansible.com/u/Deepak_Sharma1)\
**Replies:** 6\
**Last updated:** [February 1, 2019, 8:07pm UTC](https://forum.ansible.com/t/ansible-inventory-file/29588 "2019-02-01T20:07:09Z")

</div>

Hi Everyone, I am new to Ansible , I have created new inventory yml file with below details . KafkaNonprodservers: hosts: abc.abc.com:2022 abd.abd.com:2022 ansible\_user : abc but I am getting below error ansible…

---

## [win\_task\_scheduler - setting memory and io priority](https://forum.ansible.com/t/win-task-scheduler-setting-memory-and-io-priority/29595)

<div class="topic-metadata">

**Author:** [@Subhi\_Andrews](https://forum.ansible.com/u/Subhi_Andrews)\
**Replies:** 0\
**Last updated:** [February 1, 2019, 7:03pm UTC](https://forum.ansible.com/t/win-task-scheduler-setting-memory-and-io-priority/29595 "2019-02-01T19:03:14Z")

</div>

Is there a way to do this via win\_task\_scheduler or otherwise? Priority setting in win\_task\_scheduler only affects process priority and not IO/mem priorities. Anyone has any suggestions?

---

## [Groups in Tower](https://forum.ansible.com/t/groups-in-tower/29591)

<div class="topic-metadata">

**Author:** [@Spiro\_Mitsialis](https://forum.ansible.com/u/Spiro_Mitsialis)\
**Replies:** 3\
**Last updated:** [February 1, 2019, 6:25pm UTC](https://forum.ansible.com/t/groups-in-tower/29591 "2019-02-01T18:25:22Z")

</div>

Hi, When I’m running Ansible Engine (CLI), I can have multiple groups in the inventory file. \[switch\] … \[router\] … Each of these groups uses different credentials. In CLI, I can have a different variable file under…

---

## [become\_flags for specific inventory host](https://forum.ansible.com/t/become-flags-for-specific-inventory-host/29582)

<div class="topic-metadata">

**Author:** [@Bruno\_Cochofel](https://forum.ansible.com/u/Bruno_Cochofel)\
**Replies:** 2\
**Last updated:** [February 1, 2019, 12:09pm UTC](https://forum.ansible.com/t/become-flags-for-specific-inventory-host/29582 "2019-02-01T12:09:37Z")

</div>

Hi, I have the need to configure become\_flags var for some of my inventory hosts (because of old sudo versions not accepting " -H -S -n"). I was trying to do this on my dynamic inventory with hostvars for that host, bu…

---

## [Confused about architecture: awx-web, aws-task, rabbitmq and memcached](https://forum.ansible.com/t/confused-about-architecture-awx-web-aws-task-rabbitmq-and-memcached/29589)

<div class="topic-metadata">

**Author:** [@Juan\_A\_S](https://forum.ansible.com/u/Juan_A_S)\
**Replies:** 1\
**Last updated:** [February 1, 2019, 11:21am UTC](https://forum.ansible.com/t/confused-about-architecture-awx-web-aws-task-rabbitmq-and-memcached/29589 "2019-02-01T11:21:19Z")

</div>

Hi all, after some local docker testing, using the docker-compose file located in https://github.com/geerlingguy/awx-container, I am going to deploy a “real” environment, but I have some questions about the installation,…

---

## [build an older version of awx](https://forum.ansible.com/t/build-an-older-version-of-awx/29406)

<div class="topic-metadata">

**Author:** [@Me\_Mo](https://forum.ansible.com/u/Me_Mo)\
**Replies:** 8\
**Last updated:** [February 1, 2019, 9:23am UTC](https://forum.ansible.com/t/build-an-older-version-of-awx/29406 "2019-02-01T09:23:50Z")

</div>

hi i don want to build the actual awx version. (2.1.2) i want e.g. 2.1.0. is it possible to set the version number in the inventory? this sounds like it is possible, but there is no variable Remove these lines if y…

---

## [Ansible play to check if port is up on windows target host](https://forum.ansible.com/t/ansible-play-to-check-if-port-is-up-on-windows-target-host/29587)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 0\
**Last updated:** [February 1, 2019, 5:03am UTC](https://forum.ansible.com/t/ansible-play-to-check-if-port-is-up-on-windows-target-host/29587 "2019-02-01T05:03:33Z")

</div>

Maybe https://docs.ansible.com/ansible/latest/modules/win\_wait\_for\_module.html instead?

---

## [Network, vars, and role housecleaning](https://forum.ansible.com/t/network-vars-and-role-housecleaning/29586)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 0\
**Last updated:** [February 1, 2019, 4:32am UTC](https://forum.ansible.com/t/network-vars-and-role-housecleaning/29586 "2019-02-01T04:32:26Z")

</div>

So I need to define lots of variables for a specific host because I am configuring its network (turning more interfaces on and whatnot). So I created a host\_vars/oddhost.yml that have lines like this: home\_nic: "eth0" …

---

## [import task in loop](https://forum.ansible.com/t/import-task-in-loop/29585)

<div class="topic-metadata">

**Author:** [@Dmitriy\_Trubov](https://forum.ansible.com/u/Dmitriy_Trubov)\
**Replies:** 0\
**Last updated:** [February 1, 2019, 12:50am UTC](https://forum.ansible.com/t/import-task-in-loop/29585 "2019-02-01T00:50:31Z")

</div>

Hi, I want to execute certain tasks in loop until some condition satisfied. Here is main module: name: Wait MainStatus Playbook vars: cosId: “{{realCosId}}” jsonStatus: {“status”:‘in-progress’} hosts: all tasks: …

---

## [Conditional Statements help](https://forum.ansible.com/t/conditional-statements-help/29583)

<div class="topic-metadata">

**Author:** [@Alan\_Harkleroad](https://forum.ansible.com/u/Alan_Harkleroad)\
**Replies:** 0\
**Last updated:** [January 31, 2019, 8:34pm UTC](https://forum.ansible.com/t/conditional-statements-help/29583 "2019-01-31T20:34:23Z")

</div>

Right now I am trying to have a role execute a function if the condition is host a or b, and before that only complete the previous task if its not a or b. The problem I am having with the below is that is never reads t…

---

## [Override a role's templates?](https://forum.ansible.com/t/override-a-roles-templates/29579)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 2\
**Last updated:** [January 31, 2019, 4:57pm UTC](https://forum.ansible.com/t/override-a-roles-templates/29579 "2019-01-31T16:57:10Z")

</div>

Hi I'm using roles extensively to separate functionality, and I'm trying to keep the roles as general as possible. The resulting playbooks are very minimal, containing not more than a set of include\_role tasks. Many …

---

## [RabbitMQ Hostname Mismatch](https://forum.ansible.com/t/rabbitmq-hostname-mismatch/27825)

<div class="topic-metadata">

**Author:** [@muhammed](https://forum.ansible.com/u/muhammed)\
**Replies:** 3\
**Last updated:** [January 31, 2019, 11:33am UTC](https://forum.ansible.com/t/rabbitmq-hostname-mismatch/27825 "2019-01-31T11:33:02Z")

</div>

Farily new to ansible, so apologies if I’m missing something obvious. Ansible version: 2.5.5 Issue: My task throws a hostname mismatch error when adding a new vhost on a server that contains a fresh installation of rab…

---

## [Callback with grafana](https://forum.ansible.com/t/callback-with-grafana/29578)

<div class="topic-metadata">

**Author:** [@Rafael\_Tomelin](https://forum.ansible.com/u/Rafael_Tomelin)\
**Replies:** 1\
**Last updated:** [January 31, 2019, 2:03am UTC](https://forum.ansible.com/t/callback-with-grafana/29578 "2019-01-31T02:03:45Z")

</div>

Hello guys, I’m trying to set up callback not available from the ‘https://blog.octo.com/en/walkthrough-watch-your-ansible-deployments-in-grafana/’ link, but it is not working and displays the following message: \[DEPREC…

---

## [How to use variable in "when" statement in ansible?](https://forum.ansible.com/t/how-to-use-variable-in-when-statement-in-ansible/29484)

<div class="topic-metadata">

**Author:** [@Sahar](https://forum.ansible.com/u/Sahar)\
**Replies:** 5\
**Last updated:** [January 31, 2019, 12:34am UTC](https://forum.ansible.com/t/how-to-use-variable-in-when-statement-in-ansible/29484 "2019-01-31T00:34:38Z")

</div>

Any idea how can I fix the below error? tasks: name: check the state (primary/secondary/standalone) asa\_command: commands: ‘show version | i “{{ OldImage }}”’ register: state include: reboot.yml when: ‘“{{ …

---

## [Overridden variable leaking out of dependency declared in role meta?](https://forum.ansible.com/t/overridden-variable-leaking-out-of-dependency-declared-in-role-meta/29576)

<div class="topic-metadata">

**Author:** [@moreati](https://forum.ansible.com/u/moreati)\
**Replies:** 0\
**Last updated:** [January 30, 2019, 9:08pm UTC](https://forum.ansible.com/t/overridden-variable-leaking-out-of-dependency-declared-in-role-meta/29576 "2019-01-30T21:08:11Z")

</div>

I have 2 roles (r1 and r2), r2 depends on r1 and the dependency overrides a variable (x). I would expect the overridden value to only apply while r1 is run as a dependency. However the overridden value gets applied throu…

---

## [Jenkins, Ansible, when conditional](https://forum.ansible.com/t/jenkins-ansible-when-conditional/29575)

<div class="topic-metadata">

**Author:** [@eric.dunn](https://forum.ansible.com/u/eric.dunn)\
**Replies:** 0\
**Last updated:** [January 30, 2019, 7:56pm UTC](https://forum.ansible.com/t/jenkins-ansible-when-conditional/29575 "2019-01-30T19:56:54Z")

</div>

I am running an ansible job that distributes apps and configurations to various servers. I have a when condition on one of my roles. It seems to slow down the process during the installation when it does not meet the c…

---

## [Logging into my local system w/ ansible](https://forum.ansible.com/t/logging-into-my-local-system-w-ansible/29574)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 1\
**Last updated:** [January 30, 2019, 7:43pm UTC](https://forum.ansible.com/t/logging-into-my-local-system-w-ansible/29574 "2019-01-30T19:43:05Z")

</div>

Hey all, So I’ve got a playbook that runs and in my hosts list is the system running the checks themselves…it can’t seem to login to itself. I get this error: fatal: \[ansible-lx\]: UNREACHABLE! =\> {“changed”: false, “ms…

---

## [issue with running inventory with gcp\_compute plugin filters](https://forum.ansible.com/t/issue-with-running-inventory-with-gcp-compute-plugin-filters/29573)

<div class="topic-metadata">

**Author:** [@zach.delano](https://forum.ansible.com/u/zach.delano)\
**Replies:** 2\
**Last updated:** [January 30, 2019, 6:53pm UTC](https://forum.ansible.com/t/issue-with-running-inventory-with-gcp-compute-plugin-filters/29573 "2019-01-30T18:53:59Z")

</div>

I’m trying to get a list of Ubuntu instances from a GCE project. This is what my inventory file looks like. plugin: gcp\_compute projects: filters: disks.licenses:ubuntu auth\_kind: serviceaccount service\_acco…

---

## [New module being not merged since monthes, a year now... PR #3483](https://forum.ansible.com/t/new-module-being-not-merged-since-monthes-a-year-now-pr-3483/29498)

<div class="topic-metadata">

**Author:** [@pascalheraud73](https://forum.ansible.com/u/pascalheraud73)\
**Replies:** 1\
**Last updated:** [January 30, 2019, 5:13pm UTC](https://forum.ansible.com/t/new-module-being-not-merged-since-monthes-a-year-now-pr-3483/29498 "2019-01-30T17:13:46Z")

</div>

Hello, I’m still looking for a mean to get this PR merged : https://github.com/ansible/ansible/pull/34837 It has been submitted one year ago now. We are using the module in production, all checks passed. I read Ansi…

---

## [My ansible playbook is very slow since couple of days and hangs alot while execution.](https://forum.ansible.com/t/my-ansible-playbook-is-very-slow-since-couple-of-days-and-hangs-alot-while-execution/29553)

<div class="topic-metadata">

**Author:** [@neelam\_poonawala](https://forum.ansible.com/u/neelam_poonawala)\
**Replies:** 1\
**Last updated:** [January 30, 2019, 5:05pm UTC](https://forum.ansible.com/t/my-ansible-playbook-is-very-slow-since-couple-of-days-and-hangs-alot-while-execution/29553 "2019-01-30T17:05:38Z")

</div>

Any suggestions how do I fix it? I do have this in my ansible.cfg file \[defaults\] roles\_path = ./roles host\_key\_checking = False \[ssh\_connection\] pipelining = True control\_path = /tmp/ansible-ssh-%%h-%%p-%%r

---

## [Instance group precedence](https://forum.ansible.com/t/instance-group-precedence/29572)

<div class="topic-metadata">

**Author:** [@Sindhuja\_Koneru](https://forum.ansible.com/u/Sindhuja_Koneru)\
**Replies:** 0\
**Last updated:** [January 30, 2019, 4:04pm UTC](https://forum.ansible.com/t/instance-group-precedence/29572 "2019-01-30T16:04:57Z")

</div>

Ansible docs say instance group selected in template has higher precedence than instance group in inventory. Instance group in inventory has hugest precedence than instance group in organization. Template \> Inventory \>…

---

## [Use inventory script to get dynamic inventory at job runtime ?](https://forum.ansible.com/t/use-inventory-script-to-get-dynamic-inventory-at-job-runtime/29571)

<div class="topic-metadata">

**Author:** [@Jean-Francois\_van\_Ae](https://forum.ansible.com/u/Jean-Francois_van_Ae)\
**Replies:** 0\
**Last updated:** [January 30, 2019, 3:24pm UTC](https://forum.ansible.com/t/use-inventory-script-to-get-dynamic-inventory-at-job-runtime/29571 "2019-01-30T15:24:18Z")

</div>

Hello, I would like to run one template to be able to install mutliple similar applications with different components in different environments. for exemple: application1 has a batch and a web module that runs on 2 d…

---

## [Extract the output to excel files](https://forum.ansible.com/t/extract-the-output-to-excel-files/29562)

<div class="topic-metadata">

**Author:** [@Kefi\_Ammar](https://forum.ansible.com/u/Kefi_Ammar)\
**Replies:** 4\
**Last updated:** [January 30, 2019, 3:11pm UTC](https://forum.ansible.com/t/extract-the-output-to-excel-files/29562 "2019-01-30T15:11:35Z")

</div>

Hello everyone, I am new to Ansible and I am using it for network operations. So, I am extracting informations from network devices (software versions, platforms, hostnames, interfaces, system infos,…) and they are pres…

---

## [group module: create group with a specific gid but do not change the gid of an existing group.](https://forum.ansible.com/t/group-module-create-group-with-a-specific-gid-but-do-not-change-the-gid-of-an-existing-group/29570)

<div class="topic-metadata">

**Author:** [@bob.carroll](https://forum.ansible.com/u/bob.carroll)\
**Replies:** 0\
**Last updated:** [January 30, 2019, 2:33pm UTC](https://forum.ansible.com/t/group-module-create-group-with-a-specific-gid-but-do-not-change-the-gid-of-an-existing-group/29570 "2019-01-30T14:33:46Z")

</div>

It would be useful to have an option “update\_gid:” similar to update\_password in the user module. It is often disruptive to change the gid of an existing group. A value “on\_create” would allow state “present” but not up…

---

## [simple kubernetes application deployment using Ansible AWX ? Any body tried that ?](https://forum.ansible.com/t/simple-kubernetes-application-deployment-using-ansible-awx-any-body-tried-that/29569)

<div class="topic-metadata">

**Author:** [@Kylix\_Kumar](https://forum.ansible.com/u/Kylix_Kumar)\
**Replies:** 0\
**Last updated:** [January 30, 2019, 7:18am UTC](https://forum.ansible.com/t/simple-kubernetes-application-deployment-using-ansible-awx-any-body-tried-that/29569 "2019-01-30T07:18:48Z")

</div>

Did any one you knows how to deploy small or simple “hello world” application in Kubernetes using Ansible AWX ? I’m trying to do it … i dont know where to start or how to beings with it. If you have any thoughts or help.…

---

## [Import module error: ansible.utils.display](https://forum.ansible.com/t/import-module-error-ansible-utils-display/29559)

<div class="topic-metadata">

**Author:** [@Andrew\_Klychkov](https://forum.ansible.com/u/Andrew_Klychkov)\
**Replies:** 2\
**Last updated:** [January 30, 2019, 6:42am UTC](https://forum.ansible.com/t/import-module-error-ansible-utils-display/29559 "2019-01-30T06:42:53Z")

</div>

Hi, all! I’m trying to import: 117 from ansible.utils.display import Display in my new module, placed in lib/ansible/modules/database/postgresql/ But during tests and execution the following error occurred: Sanity c…

---

## [Ansible GCE Instance Start and Stop -   LibcloudError  - job did not complete in 180 seconds](https://forum.ansible.com/t/ansible-gce-instance-start-and-stop-libclouderror-job-did-not-complete-in-180-seconds/29568)

<div class="topic-metadata">

**Author:** [@bo.mannarino](https://forum.ansible.com/u/bo.mannarino)\
**Replies:** 0\
**Last updated:** [January 30, 2019, 3:21am UTC](https://forum.ansible.com/t/ansible-gce-instance-start-and-stop-libclouderror-job-did-not-complete-in-180-seconds/29568 "2019-01-30T03:21:27Z")

</div>

We have (GCP) GCE instance start and instance stop playbooks. Tonight’s execution was the stop of 8 GCE instances at once. The main script is kicked off and the playbooks run in background. We are seeing this error - A…

---

## [Parsing json output from uri module](https://forum.ansible.com/t/parsing-json-output-from-uri-module/29537)

<div class="topic-metadata">

**Author:** [@Tony\_Owens](https://forum.ansible.com/u/Tony_Owens)\
**Replies:** 3\
**Last updated:** [January 30, 2019, 3:10am UTC](https://forum.ansible.com/t/parsing-json-output-from-uri-module/29537 "2019-01-30T03:10:02Z")

</div>

I’m trying to parse the output of a uri request that I have saved in a variable named “apis”. Ultimately i will want to match several items when AnonymousAccessAllowed=true but I’m not having success. Any help would be a…

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

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