# Latest

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

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

**Page:** 462

---

## [How to choose the var list based on a condition](https://forum.ansible.com/t/how-to-choose-the-var-list-based-on-a-condition/30310)

<div class="topic-metadata">

**Author:** [@Saranya\_N](https://forum.ansible.com/u/Saranya_N)\
**Replies:** 3\
**Last updated:** [May 13, 2019, 2:10pm UTC](https://forum.ansible.com/t/how-to-choose-the-var-list-based-on-a-condition/30310 "2019-05-13T14:10:30Z")

</div>

I have a list of dictionary variables something like below in vars file. App01: B : value2 C : value3 App02: C : value5 B : value6 And so on... When I run my playbook with -e option app=01 or app=App01 I wan…

---

## [ansible cron with 2.8rc3](https://forum.ansible.com/t/ansible-cron-with-2-8rc3/30308)

<div class="topic-metadata">

**Author:** [@Michael\_Stroder](https://forum.ansible.com/u/Michael_Stroder)\
**Replies:** 4\
**Last updated:** [May 13, 2019, 1:51pm UTC](https://forum.ansible.com/t/ansible-cron-with-2-8rc3/30308 "2019-05-13T13:51:19Z")

</div>

HI! I'm testing my ansible roles with ansible 2.8rc3. The roles work with ansible 2.7.10. This cron task fails with 2.8rc3 using Python 2.7.16 (see details attached at message end): - name: "Remove obsolete CRON job…

---

## [Manual de Instalación y Configuración para AWX.](https://forum.ansible.com/t/manual-de-instalacion-y-configuracion-para-awx/30315)

<div class="topic-metadata">

**Author:** [@cristian.fernandez](https://forum.ansible.com/u/cristian.fernandez)\
**Replies:** 0\
**Last updated:** [May 13, 2019, 12:21pm UTC](https://forum.ansible.com/t/manual-de-instalacion-y-configuracion-para-awx/30315 "2019-05-13T12:21:54Z")

</div>

Hola a todos, he creado un manual resumido para la instalación y configuración de AWX sobre ansible en español. Espero que le sirva a algunos. (attachments)Guia AWX.md.html (46.9 KB)

---

## [Looking for an ansible module which supports  yum-utils package](https://forum.ansible.com/t/looking-for-an-ansible-module-which-supports-yum-utils-package/30311)

<div class="topic-metadata">

**Author:** [@Veera](https://forum.ansible.com/u/Veera)\
**Replies:** 1\
**Last updated:** [May 12, 2019, 9:43pm UTC](https://forum.ansible.com/t/looking-for-an-ansible-module-which-supports-yum-utils-package/30311 "2019-05-12T21:43:47Z")

</div>

Hi , I am looking for an ansible module which supports yum-utils package commands. It consists of a command \*\*"package-cleanup\*\*" which is pretty useful in cleaning the old kernels. package-cleanup --oldkernels --coun…

---

## [set\_facts with if-else clause, also check if the var contains digits?](https://forum.ansible.com/t/set-facts-with-if-else-clause-also-check-if-the-var-contains-digits/30309)

<div class="topic-metadata">

**Author:** [@sahitansar](https://forum.ansible.com/u/sahitansar)\
**Replies:** 0\
**Last updated:** [May 11, 2019, 6:15pm UTC](https://forum.ansible.com/t/set-facts-with-if-else-clause-also-check-if-the-var-contains-digits/30309 "2019-05-11T18:15:31Z")

</div>

Im trying to set a variable based on below condition where templname is an external variable with below options ansible-playbook -i hosts -e “templname=CTrl03\_kerbs\_09” OR ansible-playbook -i hosts -e “templname=CTrl0…

---

## [Upstream Ansible 2.8.0rc3 released](https://forum.ansible.com/t/upstream-ansible-2-8-0rc3-released/30306)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [May 10, 2019, 10:27pm UTC](https://forum.ansible.com/t/upstream-ansible-2-8-0rc3-released/30306 "2019-05-10T22:27:16Z")

</div>

Hi all- we’re happy to announce that the general release of Ansible 2.8.0rc3 is now available! How do you get it?

---

## [Pass a variable in "vars\_file" to "with\_items" from command prompt as part of "extra-vars"](https://forum.ansible.com/t/pass-a-variable-in-vars-file-to-with-items-from-command-prompt-as-part-of-extra-vars/30299)

<div class="topic-metadata">

**Author:** [@Anuradha\_Gangu](https://forum.ansible.com/u/Anuradha_Gangu)\
**Replies:** 1\
**Last updated:** [May 10, 2019, 7:04pm UTC](https://forum.ansible.com/t/pass-a-variable-in-vars-file-to-with-items-from-command-prompt-as-part-of-extra-vars/30299 "2019-05-10T19:04:47Z")

</div>

My main objective is, I want to create a playbook with one task which will take list of docker images and list of hosts and then run one image on one host respectively or run list of images on one of host list supplied. …

---

## [Linebreak Ansible Filters](https://forum.ansible.com/t/linebreak-ansible-filters/30291)

<div class="topic-metadata">

**Author:** [@Ron\_Gebauer](https://forum.ansible.com/u/Ron_Gebauer)\
**Replies:** 1\
**Last updated:** [May 10, 2019, 3:37pm UTC](https://forum.ansible.com/t/linebreak-ansible-filters/30291 "2019-05-10T15:37:05Z")

</div>

Hi, I want to fix the Ansible Linter issue “\[204\] Lines should be no longer than 160 chars”. But how I can linebreak filters? \` local\_filters\_in\_templates\_list: “{{ local\_filters\_in\_templates.files | map(attribute=‘p…

---

## [setup module fails sometimes](https://forum.ansible.com/t/setup-module-fails-sometimes/30296)

<div class="topic-metadata">

**Author:** [@sampsont](https://forum.ansible.com/u/sampsont)\
**Replies:** 1\
**Last updated:** [May 10, 2019, 2:09pm UTC](https://forum.ansible.com/t/setup-module-fails-sometimes/30296 "2019-05-10T14:09:35Z")

</div>

When I run a playbook, sometimes a target gets in a mode where the setup module fails. Other times it runs just fine. Can anyone give me any ideas of what might be going on? Kindof looks like: https://github.com/ansible/…

---

## [Need assistance using SSH keys and Ansible](https://forum.ansible.com/t/need-assistance-using-ssh-keys-and-ansible/30304)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [May 10, 2019, 2:06pm UTC](https://forum.ansible.com/t/need-assistance-using-ssh-keys-and-ansible/30304 "2019-05-10T14:06:34Z")

</div>

Hi This isn't an ansible problem. Take a look at some general SSH public key authentication pages, for instance: https://www.digitalocean.com/community/tutorials/how-to-configure-ssh-key-based-authentication-on-a-linu…

---

## [Usage of Machine Credential (SSH-Password) from HashiCorp Vault in a Template?](https://forum.ansible.com/t/usage-of-machine-credential-ssh-password-from-hashicorp-vault-in-a-template/30303)

<div class="topic-metadata">

**Author:** [@Dan\_Steffen](https://forum.ansible.com/u/Dan_Steffen)\
**Replies:** 2\
**Last updated:** [May 10, 2019, 2:03pm UTC](https://forum.ansible.com/t/usage-of-machine-credential-ssh-password-from-hashicorp-vault-in-a-template/30303 "2019-05-10T14:03:25Z")

</div>

Hello, I am not sure if this more a question of AWX or more a Question of HashiCorp Vault but is there a way to use Machine Credential (e.g. a SSH-Password) which are stored in HashiCorp Vault? I have seen there is a Cr…

---

## [Using a bash script in github by the ansible playbook](https://forum.ansible.com/t/using-a-bash-script-in-github-by-the-ansible-playbook/30302)

<div class="topic-metadata">

**Author:** [@michal.misiak](https://forum.ansible.com/u/michal.misiak)\
**Replies:** 1\
**Last updated:** [May 10, 2019, 12:08pm UTC](https://forum.ansible.com/t/using-a-bash-script-in-github-by-the-ansible-playbook/30302 "2019-05-10T12:08:02Z")

</div>

Hi, I have some bash scripts which I use in my ansible playbooks by script module. Now, I would like to move my bash scripts to github and still use them in my ansible playbooks, but directly from github. How can I do t…

---

## [Ansible nested variable regex search](https://forum.ansible.com/t/ansible-nested-variable-regex-search/30293)

<div class="topic-metadata">

**Author:** [@Srikanth\_Ethiraj](https://forum.ansible.com/u/Srikanth_Ethiraj)\
**Replies:** 1\
**Last updated:** [May 10, 2019, 10:22am UTC](https://forum.ansible.com/t/ansible-nested-variable-regex-search/30293 "2019-05-10T10:22:57Z")

</div>

How do we do a wildcard search with ansible nested variable? test: name: address: zipcode: 12345 Ansible nested variable - {{ test\[name\]\[addre\*\].zipcode }}

---

## [Windows patch update](https://forum.ansible.com/t/windows-patch-update/30301)

<div class="topic-metadata">

**Author:** [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Replies:** 0\
**Last updated:** [May 10, 2019, 9:32am UTC](https://forum.ansible.com/t/windows-patch-update/30301 "2019-05-10T09:32:48Z")

</div>

Hello All, I am trying to do a Windows patch update. So far i have use win\_update modules. I am trying to understand how before starting the update we can know the pending reboot . Any clue ? Thanks

---

## [How to pass the remote\_user to callback plugins?](https://forum.ansible.com/t/how-to-pass-the-remote-user-to-callback-plugins/30300)

<div class="topic-metadata">

**Author:** [@KaKin\_Kwok](https://forum.ansible.com/u/KaKin_Kwok)\
**Replies:** 0\
**Last updated:** [May 10, 2019, 8:26am UTC](https://forum.ansible.com/t/how-to-pass-the-remote-user-to-callback-plugins/30300 "2019-05-10T08:26:42Z")

</div>

Hi all, I would like to set the ssh user from ansible-playbook as a variable in callback plugins .py script. Is there any method to make it done? Regards with thanks

---

## [AWX High availability](https://forum.ansible.com/t/awx-high-availability/30297)

<div class="topic-metadata">

**Author:** [@Praveen\_Kumar](https://forum.ansible.com/u/Praveen_Kumar)\
**Replies:** 2\
**Last updated:** [May 10, 2019, 6:42am UTC](https://forum.ansible.com/t/awx-high-availability/30297 "2019-05-10T06:42:55Z")

</div>

Hello, Can I please know if Awx Tower can be installed in the HA mode ? I am not able to find any documentation in the installation guide. Not sure if this is something that has been implemented in awx yet . Please sha…

---

## [$PATH with shell is different to manual ssh](https://forum.ansible.com/t/path-with-shell-is-different-to-manual-ssh/30278)

<div class="topic-metadata">

**Author:** [@Matthew\_Davis](https://forum.ansible.com/u/Matthew_Davis)\
**Replies:** 4\
**Last updated:** [May 10, 2019, 12:20am UTC](https://forum.ansible.com/t/path-with-shell-is-different-to-manual-ssh/30278 "2019-05-10T00:20:24Z")

</div>

Hi, I have been redirected from Github issue 56044. I am finding that commands which work when run manually fail when run with a shell task, because the $PATH is different, so binaries such as ip and modinfo cannot be …

---

## [vars\_prompt within a role](https://forum.ansible.com/t/vars-prompt-within-a-role/30295)

<div class="topic-metadata">

**Author:** [@Nicholas\_Britton](https://forum.ansible.com/u/Nicholas_Britton)\
**Replies:** 3\
**Last updated:** [May 9, 2019, 8:09pm UTC](https://forum.ansible.com/t/vars-prompt-within-a-role/30295 "2019-05-09T20:09:39Z")

</div>

I am working on a project that will be mostly api based running locally and attaching to different environments via the api (uri module) My plan was to create a role for each type of call that will be made, that way pla…

---

## [Documentation about how to upgrade awx](https://forum.ansible.com/t/documentation-about-how-to-upgrade-awx/30286)

<div class="topic-metadata">

**Author:** [@Dan\_Steffen](https://forum.ansible.com/u/Dan_Steffen)\
**Replies:** 3\
**Last updated:** [May 9, 2019, 7:19pm UTC](https://forum.ansible.com/t/documentation-about-how-to-upgrade-awx/30286 "2019-05-09T19:19:53Z")

</div>

Hello, at the moment we try to evaluate the usage of AWX for our company and at the moment I try to find documentation about a reliable way to upgrade awx. And related to this question does awx has something like a rol…

---

## [Help with ovirt\_vms module](https://forum.ansible.com/t/help-with-ovirt-vms-module/30294)

<div class="topic-metadata">

**Author:** [@Robert2](https://forum.ansible.com/u/Robert2)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 6:01pm UTC](https://forum.ansible.com/t/help-with-ovirt-vms-module/30294 "2019-05-09T18:01:21Z")

</div>

Hey everyone. I am working on a role that will delete VM’s from RHV and remove their entries from satelite and AD. The challenge I have is that I need to pass the current host into the name field without doing a loop. …

---

## [Host File as a command line variable](https://forum.ansible.com/t/host-file-as-a-command-line-variable/30270)

<div class="topic-metadata">

**Author:** [@John\_Andrew](https://forum.ansible.com/u/John_Andrew)\
**Replies:** 1\
**Last updated:** [May 9, 2019, 5:56pm UTC](https://forum.ansible.com/t/host-file-as-a-command-line-variable/30270 "2019-05-09T17:56:34Z")

</div>

Can i do this in my hosts/inventory file? Also, can i pass a host group in command line -e? \[env1\] vm1 ansible\_host=vm001 vm2 ansible\_host=vm002 \[env2\] vm1 ansible\_host=vm888 vm2 ansible\_host=vm999 I want to use t…

---

## [timezone? ansible logs](https://forum.ansible.com/t/timezone-ansible-logs/30292)

<div class="topic-metadata">

**Author:** [@Adam\_E](https://forum.ansible.com/u/Adam_E)\
**Replies:** 0\
**Last updated:** [May 9, 2019, 5:02pm UTC](https://forum.ansible.com/t/timezone-ansible-logs/30292 "2019-05-09T17:02:07Z")

</div>

Hi there, When I run a ansible job via AWX, the time in the ansible stdout logs shows in UTC. I am running in docker using the standard compose setup. I tried updating the docker containers to set the timezone via the T…

---

## [how to get the total failed count using ansible](https://forum.ansible.com/t/how-to-get-the-total-failed-count-using-ansible/30247)

<div class="topic-metadata">

**Author:** [@Bubunia\_Patra](https://forum.ansible.com/u/Bubunia_Patra)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 3:50pm UTC](https://forum.ansible.com/t/how-to-get-the-total-failed-count-using-ansible/30247 "2019-05-09T15:50:34Z")

</div>

Hi all, I am writing a ansible playbook which will gather all the failed count from script and after sum it will display in the report. For example: shell script fails that is called from the ansible fails with exit 1,…

---

## [Serial failure, fail remaining hosts](https://forum.ansible.com/t/serial-failure-fail-remaining-hosts/30289)

<div class="topic-metadata">

**Author:** [@Ryan\_Belgrave](https://forum.ansible.com/u/Ryan_Belgrave)\
**Replies:** 0\
**Last updated:** [May 9, 2019, 2:24pm UTC](https://forum.ansible.com/t/serial-failure-fail-remaining-hosts/30289 "2019-05-09T14:24:49Z")

</div>

I have a playbook that is using serial: 1 to perform rolling updates to 1 host at a time. Sometimes one host will fail which stops the whole play. However this seems to only fail one host, not all the remaining hosts. I…

---

## [How to synchronize the tasks after a block-rescue is executed?](https://forum.ansible.com/t/how-to-synchronize-the-tasks-after-a-block-rescue-is-executed/30288)

<div class="topic-metadata">

**Author:** [@Nathan\_Swartz](https://forum.ansible.com/u/Nathan_Swartz)\
**Replies:** 0\
**Last updated:** [May 9, 2019, 1:45pm UTC](https://forum.ansible.com/t/how-to-synchronize-the-tasks-after-a-block-rescue-is-executed/30288 "2019-05-09T13:45:05Z")

</div>

I’m having an issue with the behavior of a block-rescue section. When there is a failure, the target that failed will execute its tasks independently from the rest of the targets. For most of the playbook it’s not an iss…

---

## [Integration Ansible tower with Cisco Identity Services Engine(ISE)](https://forum.ansible.com/t/integration-ansible-tower-with-cisco-identity-services-engine-ise/30287)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 4\
**Last updated:** [May 9, 2019, 12:15pm UTC](https://forum.ansible.com/t/integration-ansible-tower-with-cisco-identity-services-engine-ise/30287 "2019-05-09T12:15:24Z")

</div>

Hi Team, How to integrate Ansible tower with Cisco Identity Services Engine(ISE). thanks, Pushparaj

---

## [How to assign Credential to the team instead of individual users?](https://forum.ansible.com/t/how-to-assign-credential-to-the-team-instead-of-individual-users/30276)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 11:51am UTC](https://forum.ansible.com/t/how-to-assign-credential-to-the-team-instead-of-individual-users/30276 "2019-05-09T11:51:23Z")

</div>

I have got an environment where i need to assign a common credential to the team and its members. According to the following documentation, the The User or Team which owns the credential can also view, change or delete t…

---

## [Win\_Copy Checksuming](https://forum.ansible.com/t/win-copy-checksuming/30257)

<div class="topic-metadata">

**Author:** [@ground7612](https://forum.ansible.com/u/ground7612)\
**Replies:** 2\
**Last updated:** [May 9, 2019, 5:12am UTC](https://forum.ansible.com/t/win-copy-checksuming/30257 "2019-05-09T05:12:49Z")

</div>

Hi All With regards to the checksuming mentioned for the win\_copy module in the “force” parameter, could anyone shed some light how this works? https://docs.ansible.com/ansible/latest/modules/win\_copy\_module.html#win-c…

---

## [multiline jinja2 lists returned as string?](https://forum.ansible.com/t/multiline-jinja2-lists-returned-as-string/30265)

<div class="topic-metadata">

**Author:** [@Adam\_E](https://forum.ansible.com/u/Adam_E)\
**Replies:** 5\
**Last updated:** [May 8, 2019, 9:52pm UTC](https://forum.ansible.com/t/multiline-jinja2-lists-returned-as-string/30265 "2019-05-08T21:52:59Z")

</div>

Hi there, I have some logic that I want to apply when creating assigning a list to a variable. See my sample playbook below, Ideally i’d like a nice clean way to have a logic based list. the “users” approach works, howe…

---

## [Ansible Local Log ( Overwrite Issue)](https://forum.ansible.com/t/ansible-local-log-overwrite-issue/30262)

<div class="topic-metadata">

**Author:** [@Tiz](https://forum.ansible.com/u/Tiz)\
**Replies:** 1\
**Last updated:** [May 8, 2019, 7:53pm UTC](https://forum.ansible.com/t/ansible-local-log-overwrite-issue/30262 "2019-05-08T19:53:58Z")

</div>

Hey guys, i need to log into a local file the user’s group of a specific user for all the Virtual Machines my Vcenter hosts. Actually my playbook works, but there’s a issue because the data is overwritten on the destinat…

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

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