# Latest

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

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

**Page:** 365

---

## [string not recognised in groups\_vars/all](https://forum.ansible.com/t/string-not-recognised-in-groups-vars-all/33282)

<div class="topic-metadata">

**Author:** [@Johana\_Galarza\_Monta](https://forum.ansible.com/u/Johana_Galarza_Monta)\
**Replies:** 3\
**Last updated:** [June 30, 2020, 12:47pm UTC](https://forum.ansible.com/t/string-not-recognised-in-groups-vars-all/33282 "2020-06-30T12:47:44Z")

</div>

I have a the below in my groups vars, and in a role I am trying to add a conditional on module-a such as when: " ‘module-a’ in module" but keeps throwing me this error {“msg”: "The conditional check ’ ‘module-a’ in modu…

---

## [How to break "until" loop when some conditions meet?](https://forum.ansible.com/t/how-to-break-until-loop-when-some-conditions-meet/33284)

<div class="topic-metadata">

**Author:** [@xiang\_chen](https://forum.ansible.com/u/xiang_chen)\
**Replies:** 0\
**Last updated:** [June 30, 2020, 11:19am UTC](https://forum.ansible.com/t/how-to-break-until-loop-when-some-conditions-meet/33284 "2020-06-30T11:19:09Z")

</div>

SUMMARY I need to call one api to get async result, the api result is like { "resultCode": 0, "resultInfo": "cutover is running", "taskStatus": "21" } when taskStatus is 21 means the tasks is running, I should wait and…

---

## [Combine dictionaries based on a dictionary key value.](https://forum.ansible.com/t/combine-dictionaries-based-on-a-dictionary-key-value/33280)

<div class="topic-metadata">

**Author:** [@vbotka](https://forum.ansible.com/u/vbotka)\
**Replies:** 0\
**Last updated:** [June 30, 2020, 7:17am UTC](https://forum.ansible.com/t/combine-dictionaries-based-on-a-dictionary-key-value/33280 "2020-06-30T07:17:27Z")

</div>

Create dictionaries from the lists - set\_fact: agg: "{{ agg|default({})|combine({item.node\_name: item}) }}" loop: "{{ aggregate\_info }}" - set\_fact: net: "{{ net|default({})|combine({it…

---

## [Combine dictionaries based on a dictionary key value.](https://forum.ansible.com/t/combine-dictionaries-based-on-a-dictionary-key-value/33279)

<div class="topic-metadata">

**Author:** [@vbotka](https://forum.ansible.com/u/vbotka)\
**Replies:** 0\
**Last updated:** [June 30, 2020, 6:47am UTC](https://forum.ansible.com/t/combine-dictionaries-based-on-a-dictionary-key-value/33279 "2020-06-30T06:47:00Z")

</div>

The values of "node\_name" does not correspond. It would be good to test it. For example - fail: msg: Values of node\_name(s) do not fit when: aggregate\_info|map(attribute='node\_name')|list| …

---

## [How report the unreachable and failure condition.](https://forum.ansible.com/t/how-report-the-unreachable-and-failure-condition/33278)

<div class="topic-metadata">

**Author:** [@Flavio\_Gobber](https://forum.ansible.com/u/Flavio_Gobber)\
**Replies:** 0\
**Last updated:** [June 30, 2020, 5:37am UTC](https://forum.ansible.com/t/how-report-the-unreachable-and-failure-condition/33278 "2020-06-30T05:37:05Z")

</div>

Hello, I need to get with a external command the result of execution on a scheduled template, the report must include the hosts where was executed an if the host was unreachable. How can I do it ?. Thank you for help. …

---

## [List/Dictionary - Combine elements based on item value](https://forum.ansible.com/t/list-dictionary-combine-elements-based-on-item-value/33277)

<div class="topic-metadata">

**Author:** [@Adam\_McGill](https://forum.ansible.com/u/Adam_McGill)\
**Replies:** 2\
**Last updated:** [June 30, 2020, 3:24am UTC](https://forum.ansible.com/t/list-dictionary-combine-elements-based-on-item-value/33277 "2020-06-30T03:24:28Z")

</div>

Hello, Basically want to add the items of net\_interface into aggregate\_info or create new list/dictionary based on key value of node\_name. Looking for assistance on how i can achieve this please and thank you. Outcome …

---

## [Ansible tower webhook notification](https://forum.ansible.com/t/ansible-tower-webhook-notification/33275)

<div class="topic-metadata">

**Author:** [@Bill\_Crupi](https://forum.ansible.com/u/Bill_Crupi)\
**Replies:** 0\
**Last updated:** [June 29, 2020, 6:32pm UTC](https://forum.ansible.com/t/ansible-tower-webhook-notification/33275 "2020-06-29T18:32:43Z")

</div>

---

## [How to print only the failed telnet connections from my localhost](https://forum.ansible.com/t/how-to-print-only-the-failed-telnet-connections-from-my-localhost/33274)

<div class="topic-metadata">

**Author:** [@Shifa\_Shaikh](https://forum.ansible.com/u/Shifa_Shaikh)\
**Replies:** 0\
**Last updated:** [June 29, 2020, 6:13pm UTC](https://forum.ansible.com/t/how-to-print-only-the-failed-telnet-connections-from-my-localhost/33274 "2020-06-29T18:13:54Z")

</div>

Below is my playbook that helps check telnet connections from my localhost to all remote hosts. \` wait\_for: host: “{{ item }}” port: 22 state: started # Port should be open delay: 0 # No wait before first check (s…

---

## [Debug and Print only failed telnet hosts](https://forum.ansible.com/t/debug-and-print-only-failed-telnet-hosts/33273)

<div class="topic-metadata">

**Author:** [@Know\_Your\_Tech](https://forum.ansible.com/u/Know_Your_Tech)\
**Replies:** 0\
**Last updated:** [June 29, 2020, 6:08pm UTC](https://forum.ansible.com/t/debug-and-print-only-failed-telnet-hosts/33273 "2020-06-29T18:08:23Z")

</div>

Below is my playbook that does telnet from my localhost to destination hosts. \` wait\_for: host: “{{ item }}” port: 22 state: started # Port should be open delay: 0 # No wait before first check (sec) timeout: 2 # …

---

## [Ansible async and SIGHUP with shell module](https://forum.ansible.com/t/ansible-async-and-sighup-with-shell-module/33272)

<div class="topic-metadata">

**Author:** [@Sarah\_Weissman](https://forum.ansible.com/u/Sarah_Weissman)\
**Replies:** 0\
**Last updated:** [June 29, 2020, 2:33pm UTC](https://forum.ansible.com/t/ansible-async-and-sighup-with-shell-module/33272 "2020-06-29T14:33:18Z")

</div>

Hi all, I’m trying to understand what happens when a shell command exits in ansible in sync vs. async modes. It seems that in the former case there is a SIGHUP sent and in the latter there isn’t. To test this I created …

---

## [Ansible expect module with Oracle SBC](https://forum.ansible.com/t/ansible-expect-module-with-oracle-sbc/32141)

<div class="topic-metadata">

**Author:** [@Gerhard\_Van\_Der\_Wath](https://forum.ansible.com/u/Gerhard_Van_Der_Wath)\
**Replies:** 8\
**Last updated:** [June 29, 2020, 6:51am UTC](https://forum.ansible.com/t/ansible-expect-module-with-oracle-sbc/32141 "2020-06-29T06:51:39Z")

</div>

Hi. I am having an issue with Ansible’s expect module. I am trying to run simple commands on a Oracle SBC, but getting some errors. Playbook: name: Check CPU hosts: all connection: local gather\_facts: yes tasks: …

---

## [Error in configuration](https://forum.ansible.com/t/error-in-configuration/33269)

<div class="topic-metadata">

**Author:** [@Ashwini\_Jha](https://forum.ansible.com/u/Ashwini_Jha)\
**Replies:** 4\
**Last updated:** [June 29, 2020, 3:03am UTC](https://forum.ansible.com/t/error-in-configuration/33269 "2020-06-29T03:03:06Z")

</div>

Dear All, I am receiving this error when I tried to execute server.yml file. Anyone please suggest appropriate changes that i need to do in inventory file, host file or server.yml. I tried to execute this playbook agai…

---

## [Beginner, can't complete this step](https://forum.ansible.com/t/beginner-cant-complete-this-step/29438)

<div class="topic-metadata">

**Author:** [@mboncalo](https://forum.ansible.com/u/mboncalo)\
**Replies:** 3\
**Last updated:** [June 27, 2020, 11:10pm UTC](https://forum.ansible.com/t/beginner-cant-complete-this-step/29438 "2020-06-27T23:10:30Z")

</div>

Hi Sorry , this must be to easy for you but I can't figure it out. I was following some ansible video tutorials and I can't go further because of some errors ansible all -m user -a name=linda ansible3 | FAILED! =\> …

---

## [how to skip prompt input of a skipped task ?](https://forum.ansible.com/t/how-to-skip-prompt-input-of-a-skipped-task/33268)

<div class="topic-metadata">

**Author:** [@Raphael\_Dany](https://forum.ansible.com/u/Raphael_Dany)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 8:56pm UTC](https://forum.ansible.com/t/how-to-skip-prompt-input-of-a-skipped-task/33268 "2020-06-26T20:56:23Z")

</div>

I am new to Ansible .I was wondering how to skip prompt input of a skipped task ? Below i pressed no. Still it prompted for input for the skipped task \[root@san pure\]# ansible-playbook main.yaml \[WARNING\]: No inventor…

---

## [Parallel task execution in playbook](https://forum.ansible.com/t/parallel-task-execution-in-playbook/33267)

<div class="topic-metadata">

**Author:** [@Ashish\_Sagar](https://forum.ansible.com/u/Ashish_Sagar)\
**Replies:** 0\
**Last updated:** [June 26, 2020, 8:35pm UTC](https://forum.ansible.com/t/parallel-task-execution-in-playbook/33267 "2020-06-26T20:35:49Z")

</div>

Hi, Is it possible to run multiple tasks in playbook at same time ? For example :-

---

## [Looping a task until it succeeds](https://forum.ansible.com/t/looping-a-task-until-it-succeeds/33263)

<div class="topic-metadata">

**Author:** [@Cade\_Lambert](https://forum.ansible.com/u/Cade_Lambert)\
**Replies:** 13\
**Last updated:** [June 26, 2020, 6:16pm UTC](https://forum.ansible.com/t/looping-a-task-until-it-succeeds/33263 "2020-06-26T18:16:36Z")

</div>

My use case: we use Infoblox for our DNS. What I’m trying to do is automatically create a host record with the next available hostname that isn’t already in DNS. My plan was to loop through a formatted hostname, incremen…

---

## [RE: \[ansible-project\] Can’t use dash with numbers as hostname](https://forum.ansible.com/t/re-ansible-project-can-t-use-dash-with-numbers-as-hostname/33265)

<div class="topic-metadata">

**Author:** [@Stu](https://forum.ansible.com/u/Stu)\
**Replies:** 3\
**Last updated:** [June 26, 2020, 3:03pm UTC](https://forum.ansible.com/t/re-ansible-project-can-t-use-dash-with-numbers-as-hostname/33265 "2020-06-26T15:03:12Z")

</div>

I’m not getting the same thing happen. The ansible\_host var is expecting a fqdn or ip so should just show like below. what version of ansible are you using? cat test test1 ansible\_host=10-1 test2 ansible\_host=“10-1” …

---

## [Not getting fact\_caching to work](https://forum.ansible.com/t/not-getting-fact-caching-to-work/33086)

<div class="topic-metadata">

**Author:** [@Michael\_M1](https://forum.ansible.com/u/Michael_M1)\
**Replies:** 5\
**Last updated:** [June 26, 2020, 1:19pm UTC](https://forum.ansible.com/t/not-getting-fact-caching-to-work/33086 "2020-06-26T13:19:01Z")

</div>

Hi all, Long time ansible cli user but fairly new to AWX. I am trying to figure out how to enable fact caching, and verify it is enabled. I currently have set: In the playbook running in the template: gather\_facts: T…

---

## [Use lookup/dynamic variable names in jinja2 template](https://forum.ansible.com/t/use-lookup-dynamic-variable-names-in-jinja2-template/33246)

<div class="topic-metadata">

**Author:** [@Willem\_Bos](https://forum.ansible.com/u/Willem_Bos)\
**Replies:** 6\
**Last updated:** [June 26, 2020, 8:39am UTC](https://forum.ansible.com/t/use-lookup-dynamic-variable-names-in-jinja2-template/33246 "2020-06-26T08:39:58Z")

</div>

Hi, The playbook below should generate a file with the content: a,b ssh\_host\_key ssh\_rsa\_host\_key However, the way I construct the variable names results in either syntax/templating errors or ‘variable name does not…

---

## [\[AWX tower\] Error when use synchronize which inventory from satellite6](https://forum.ansible.com/t/awx-tower-error-when-use-synchronize-which-inventory-from-satellite6/33258)

<div class="topic-metadata">

**Author:** [@Sureenart\_Kietsaroch](https://forum.ansible.com/u/Sureenart_Kietsaroch)\
**Replies:** 3\
**Last updated:** [June 26, 2020, 8:02am UTC](https://forum.ansible.com/t/awx-tower-error-when-use-synchronize-which-inventory-from-satellite6/33258 "2020-06-26T08:02:02Z")

</div>

Hi All, Could you advice when use synchronize which inventory from satellite6 ? I found error shown as below picture. name: sync script to server for ‘{{ folder\_db }}’ synchronize: src: ‘{{ script\_dir }}’ dest: ‘{…

---

## [win\_mapped\_drive fails with become(runas) and ansible\_become\_pass var defined](https://forum.ansible.com/t/win-mapped-drive-fails-with-become-runas-and-ansible-become-pass-var-defined/33203)

<div class="topic-metadata">

**Author:** [@viten](https://forum.ansible.com/u/viten)\
**Replies:** 3\
**Last updated:** [June 26, 2020, 6:49am UTC](https://forum.ansible.com/t/win-mapped-drive-fails-with-become-runas-and-ansible-become-pass-var-defined/33203 "2020-06-26T06:49:44Z")

</div>

Hi everyone, I’m trying to mount smb share on windows host (win10 pro) that requires authentication using win\_mapped\_drive/win\_credential Here is the playbook sample (based on docs example) \` name: Create mapped dr…

---

## [janusgraph script](https://forum.ansible.com/t/janusgraph-script/33252)

<div class="topic-metadata">

**Author:** [@Rajeeb\_sahoo](https://forum.ansible.com/u/Rajeeb_sahoo)\
**Replies:** 4\
**Last updated:** [June 25, 2020, 9:16pm UTC](https://forum.ansible.com/t/janusgraph-script/33252 "2020-06-25T21:16:24Z")

</div>

I am new in ansible project. I need to start janusgraph.sh script through ansible. when I am executing it not giving any error but janusgraph is not starting. my janusgraph is combining with Cassandra, elasticsearch, an…

---

## [RE: \[awx-project\] Cant use dash with numbers as hostname](https://forum.ansible.com/t/re-awx-project-cant-use-dash-with-numbers-as-hostname/33266)

<div class="topic-metadata">

**Author:** [@Mike\_Charchuk](https://forum.ansible.com/u/Mike_Charchuk)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 4:31pm UTC](https://forum.ansible.com/t/re-awx-project-cant-use-dash-with-numbers-as-hostname/33266 "2020-06-25T16:31:30Z")

</div>

https://docs.ansible.com/ansible/latest/user\_guide/intro\_inventory.html

---

## [Cant use dash with numbers as hostname](https://forum.ansible.com/t/cant-use-dash-with-numbers-as-hostname/33264)

<div class="topic-metadata">

**Author:** [@CWollinger1](https://forum.ansible.com/u/CWollinger1)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 2:56pm UTC](https://forum.ansible.com/t/cant-use-dash-with-numbers-as-hostname/33264 "2020-06-25T14:56:53Z")

</div>

Hi all, is there a way to escape the dash/minus in the hostname (when using numbers) hostfile: test1 ansible\_host=10-1 test2 ansible\_host=“10-1” Result: bash-4.4# ansible-inventory -i hosts --list { “\_meta”: { “…

---

## [Custom monitoring task in ansible](https://forum.ansible.com/t/custom-monitoring-task-in-ansible/33260)

<div class="topic-metadata">

**Author:** [@Jagadeeshkumar\_Ditta](https://forum.ansible.com/u/Jagadeeshkumar_Ditta)\
**Replies:** 2\
**Last updated:** [June 25, 2020, 2:12pm UTC](https://forum.ansible.com/t/custom-monitoring-task-in-ansible/33260 "2020-06-25T14:12:22Z")

</div>

I have a requirement where in I need to create a monitoring task to monitor other task completions (all are part of the same playbook). Mainly the monitoring task has to take certain actions based on the progress made by…

---

## [Versioning, deprecation and changelogs for community.general and community.network](https://forum.ansible.com/t/versioning-deprecation-and-changelogs-for-community-general-and-community-network/33262)

<div class="topic-metadata">

**Author:** [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Replies:** 0\
**Last updated:** [June 25, 2020, 11:31am UTC](https://forum.ansible.com/t/versioning-deprecation-and-changelogs-for-community-general-and-community-network/33262 "2020-06-25T11:31:50Z")

</div>

This information can also be found in sticky locked issues in the collection GitHub repositories: https://github.com/ansible-collections/community.general/issues/582 https://github.com/ansible-collections/community.ne…

---

## [Handling prompts and drop-downs via ansible 2.9](https://forum.ansible.com/t/handling-prompts-and-drop-downs-via-ansible-2-9/33259)

<div class="topic-metadata">

**Author:** [@Nishant\_Passari](https://forum.ansible.com/u/Nishant_Passari)\
**Replies:** 2\
**Last updated:** [June 25, 2020, 10:05am UTC](https://forum.ansible.com/t/handling-prompts-and-drop-downs-via-ansible-2-9/33259 "2020-06-25T10:05:20Z")

</div>

Hi everyone, Am trying to install jenkins-x version 2.0.785 via ansible 2.9.9. How do I handle the prompts like “Please enter the name you wish to use with git:” that I get while installing jenkins-x? I get the prompt …

---

## [unsupported parameter](https://forum.ansible.com/t/unsupported-parameter/33261)

<div class="topic-metadata">

**Author:** [@Jenisha\_T](https://forum.ansible.com/u/Jenisha_T)\
**Replies:** 3\
**Last updated:** [June 25, 2020, 9:35am UTC](https://forum.ansible.com/t/unsupported-parameter/33261 "2020-06-25T09:35:50Z")

</div>

My Playbook:

---

## [Steps required for aws/azure migration](https://forum.ansible.com/t/steps-required-for-aws-azure-migration/33255)

<div class="topic-metadata">

**Author:** [@Naresh\_Kasula](https://forum.ansible.com/u/Naresh_Kasula)\
**Replies:** 2\
**Last updated:** [June 25, 2020, 8:32am UTC](https://forum.ansible.com/t/steps-required-for-aws-azure-migration/33255 "2020-06-25T08:32:44Z")

</div>

Hi Team, Can anyone help me how to migrate to aws/azure cloud using cloudendure through Ansible scripts. Regards, Naresh K

---

## [Ansible playbook error when daemon\_reload:yes](https://forum.ansible.com/t/ansible-playbook-error-when-daemon-reload-yes/33254)

<div class="topic-metadata">

**Author:** [@Ameya\_Agashe](https://forum.ansible.com/u/Ameya_Agashe)\
**Replies:** 2\
**Last updated:** [June 25, 2020, 7:11am UTC](https://forum.ansible.com/t/ansible-playbook-error-when-daemon-reload-yes/33254 "2020-06-25T07:11:03Z")

</div>

Hi Guys, I am getting the below error as described in StackOverflow post, I would appreciate guidance as to why it is giving Connection time out error https://stackoverflow.com/questions/62566871/ansible-errros-out-whe…

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

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