# Archives

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

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

**Page:** 190

---

## [$PATH](https://forum.ansible.com/t/path/33296)

<div class="topic-metadata">

**Author:** [@Tom\_De\_Blende](https://forum.ansible.com/u/Tom_De_Blende)\
**Replies:** 2\
**Last updated:** [July 2, 2020, 5:55am UTC](https://forum.ansible.com/t/path/33296 "2020-07-02T05:55:16Z")

</div>

Ok, this one I find very confusing :slight\_smile: aws executable is in /usr/local/bin. That is being added to $PATH via /etc/bashrc So the first command fails, which would lead me to believe /usr/local/bin is not in …

---

## [Ansible Contributor Summit 9 (Virtual)](https://forum.ansible.com/t/ansible-contributor-summit-9-virtual/33299)

<div class="topic-metadata">

**Author:** [@Carol\_Chen1](https://forum.ansible.com/u/Carol_Chen1)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 7:23pm UTC](https://forum.ansible.com/t/ansible-contributor-summit-9-virtual/33299 "2020-07-01T19:23:50Z")

</div>

Hi everyone, The 9th Ansible Contributor Summit is happening in less than a week! It will be on Monday, July 8, from 11:00-19:00 UTC, and will be held online. For those unfamiliar with this event, the Ansible Contribut…

---

## [ansible varibals do not passing to roles that in include\_role](https://forum.ansible.com/t/ansible-varibals-do-not-passing-to-roles-that-in-include-role/33297)

<div class="topic-metadata">

**Author:** [@Meir\_Yanovich](https://forum.ansible.com/u/Meir_Yanovich)\
**Replies:** 0\
**Last updated:** [July 1, 2020, 6:45pm UTC](https://forum.ansible.com/t/ansible-varibals-do-not-passing-to-roles-that-in-include-role/33297 "2020-07-01T18:45:16Z")

</div>

i have this ansible structure its part of large codebase : it seems that when running the main playbook the defaults/main.yml app\_type:game don’t pass on to the current\_version.yml and give error why it doesn’t use th…

---

## [Notification Failure due to to certificate verify error.](https://forum.ansible.com/t/notification-failure-due-to-to-certificate-verify-error/33294)

<div class="topic-metadata">

**Author:** [@Flavio\_Gobber](https://forum.ansible.com/u/Flavio_Gobber)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 2:52pm UTC](https://forum.ansible.com/t/notification-failure-due-to-to-certificate-verify-error/33294 "2020-07-01T14:52:25Z")

</div>

Hello, I need to send a notification with Webhook method, I have a webhook receiver wich use a SSL connection with a name with certificate signed by internal CA authority. When I try to send the notification I get the …

---

## [awx\_collection/tower\_credential target a specific credential](https://forum.ansible.com/t/awx-collection-tower-credential-target-a-specific-credential/33287)

<div class="topic-metadata">

**Author:** [@Joacim\_Martensson](https://forum.ansible.com/u/Joacim_Martensson)\
**Replies:** 8\
**Last updated:** [July 1, 2020, 12:25pm UTC](https://forum.ansible.com/t/awx-collection-tower-credential-target-a-specific-credential/33287 "2020-07-01T12:25:33Z")

</div>

Hi, Just started trying the awx\_collection. Using tower\_credential, is it possible target a specific credential other than by name? I have 2 credentials with the same name (in different organizations) and is getting …

---

## [\[Python API\] How to render jinja2 template from within python / retrieve list of variables for the currently executed play&task.](https://forum.ansible.com/t/python-api-how-to-render-jinja2-template-from-within-python-retrieve-list-of-variables-for-the-currently-executed-play-task/33292)

<div class="topic-metadata">

**Author:** [@Cukier](https://forum.ansible.com/u/Cukier)\
**Replies:** 0\
**Last updated:** [July 1, 2020, 9:09am UTC](https://forum.ansible.com/t/python-api-how-to-render-jinja2-template-from-within-python-retrieve-list-of-variables-for-the-currently-executed-play-task/33292 "2020-07-01T09:09:19Z")

</div>

Recently I’ve been trying to mess a little with Ansible’s Python API (I am well aware it is not recommended, and python API is meant only for internal use, however…). My goal was to create a function that’s able to retr…

---

## [Task to modify an ansible host's ip-addr while connected](https://forum.ansible.com/t/task-to-modify-an-ansible-hosts-ip-addr-while-connected/33291)

<div class="topic-metadata">

**Author:** [@Momodou\_Fatty](https://forum.ansible.com/u/Momodou_Fatty)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 8:48am UTC](https://forum.ansible.com/t/task-to-modify-an-ansible-hosts-ip-addr-while-connected/33291 "2020-07-01T08:48:14Z")

</div>

I have a router/host: mgmt\_ip\_addr = 1.1.1.1 I use ansible to connect to this router/host My task is to apply a new configuration to this router. This new config will modify the mgmt\_ip\_addr of the host to 2.2.2.2 You …

---

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

<div class="topic-metadata">

**Author:** [@felixfontein](https://forum.ansible.com/u/felixfontein)\
**Replies:** 1\
**Last updated:** [July 1, 2020, 6:14am UTC](https://forum.ansible.com/t/combine-dictionaries-based-on-a-dictionary-key-value/33281 "2020-07-01T06:14:20Z")

</div>

Hi, a new lookup plugin was proposed for community.general which would help with this: https://github.com/ansible-collections/community.general/pull/263 We're currently trying to evaluate whether this plugin would be…

---

## [Unable to unarchive the openshift client](https://forum.ansible.com/t/unable-to-unarchive-the-openshift-client/33289)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 0\
**Last updated:** [June 30, 2020, 6:05pm UTC](https://forum.ansible.com/t/unable-to-unarchive-the-openshift-client/33289 "2020-06-30T18:05:39Z")

</div>

What do your playbook and inventory look like? Which version of ansible are you using? How do you invoke things?

---

## [Ansible unable to create $HOME/.ansible/tmp directory due to shell syntax error in RHEL 6.7](https://forum.ansible.com/t/ansible-unable-to-create-home-ansible-tmp-directory-due-to-shell-syntax-error-in-rhel-6-7/33271)

<div class="topic-metadata">

**Author:** [@Rishabh\_Kumar](https://forum.ansible.com/u/Rishabh_Kumar)\
**Replies:** 1\
**Last updated:** [June 30, 2020, 6:03pm UTC](https://forum.ansible.com/t/ansible-unable-to-create-home-ansible-tmp-directory-due-to-shell-syntax-error-in-rhel-6-7/33271 "2020-06-30T18:03:36Z")

</div>

Hi, When I am trying to run ansible job from my host computer to remote server it fails with the following error logs - \` \<127.0.0.12\> ESTABLISH SSH CONNECTION FOR USER: ansibleuser \<127.0.0.12\> SSH: EXEC sshpass -d4…

---

## [LDAP Organization Mapping](https://forum.ansible.com/t/ldap-organization-mapping/33288)

<div class="topic-metadata">

**Author:** [@Alex\_Trifonov](https://forum.ansible.com/u/Alex_Trifonov)\
**Replies:** 0\
**Last updated:** [June 30, 2020, 5:14pm UTC](https://forum.ansible.com/t/ldap-organization-mapping/33288 "2020-06-30T17:14:59Z")

</div>

Hello, I’m configuring LDAP authorization at the AWX (9.2.0) . Authorization passes, but mapping users to organizations based on LDAP groups does not work. When authorizing an LDAP user sn.ivanov, the following is wri…

---

## [Sync GLPI with AWX](https://forum.ansible.com/t/sync-glpi-with-awx/33286)

<div class="topic-metadata">

**Author:** [@Dieye\_Pape\_Doudou](https://forum.ansible.com/u/Dieye_Pape_Doudou)\
**Replies:** 0\
**Last updated:** [June 30, 2020, 2:05pm UTC](https://forum.ansible.com/t/sync-glpi-with-awx/33286 "2020-06-30T14:05:23Z")

</div>

Hello, i have an issue when i try to synch GLPI API with AWX , using inventory Script. error from the source : synchronization failed Can someone help me please ? THANKS RuntimeError: ansible-inventory failed (rc=1) w…

---

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

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

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