# Archives

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

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

**Page:** 283

---

## [ansible-test refuses to run, citing Python 2.7 is not supported](https://forum.ansible.com/t/ansible-test-refuses-to-run-citing-python-2-7-is-not-supported/30554)

<div class="topic-metadata">

**Author:** [@evanmc](https://forum.ansible.com/u/evanmc)\
**Replies:** 1\
**Last updated:** [June 13, 2019, 2:25pm UTC](https://forum.ansible.com/t/ansible-test-refuses-to-run-citing-python-2-7-is-not-supported/30554 "2019-06-13T14:25:45Z")

</div>

I can’t seem to get ansible-test to work with Python 2.7. Any ideas? ansible-test sanity -vvv --docker --python 2.7 --test validate-modules … omitted … OME=/root LC\_ALL=en\_US.UTF-8 PATH=/usr/local/sbin:/usr/local/bi…

---

## [HOw to send email withe the Two register variables.](https://forum.ansible.com/t/how-to-send-email-withe-the-two-register-variables/30552)

<div class="topic-metadata">

**Author:** [@Raj\_Martha](https://forum.ansible.com/u/Raj_Martha)\
**Replies:** 2\
**Last updated:** [June 13, 2019, 1:46pm UTC](https://forum.ansible.com/t/how-to-send-email-withe-the-two-register-variables/30552 "2019-06-13T13:46:29Z")

</div>

Hi All, i am trying to send an one email after the playbook is done, but some how i am getting the errors, i have tow tasks, and the out put of that tasks i defined as two set\_facts, but some reason it is not working if…

---

## [Loop through external API with multiple offsets](https://forum.ansible.com/t/loop-through-external-api-with-multiple-offsets/30555)

<div class="topic-metadata">

**Author:** [@innatenew](https://forum.ansible.com/u/innatenew)\
**Replies:** 1\
**Last updated:** [June 13, 2019, 11:41am UTC](https://forum.ansible.com/t/loop-through-external-api-with-multiple-offsets/30555 "2019-06-13T11:41:54Z")

</div>

Hello Folks, I have a requirement to loop through an REST API, to get data, and I would like to use ANSIBLE YAML. The API itself only renders 400 entries(limit) at a time and hence to get the entire data set will need …

---

## [Stopping at first change](https://forum.ansible.com/t/stopping-at-first-change/30558)

<div class="topic-metadata">

**Author:** [@Andy\_Smith](https://forum.ansible.com/u/Andy_Smith)\
**Replies:** 0\
**Last updated:** [June 13, 2019, 10:21am UTC](https://forum.ansible.com/t/stopping-at-first-change/30558 "2019-06-13T10:21:43Z")

</div>

Hi, Is there a way, without modifying the playbooks, to make ansible-playbook stop at/after the first change but carry on through any tasks that don't make changes? My intent is to run it in --check and --diff mode a…

---

## [Newbie - Inventory Query](https://forum.ansible.com/t/newbie-inventory-query/30557)

<div class="topic-metadata">

**Author:** [@P.Cookson](https://forum.ansible.com/u/P.Cookson)\
**Replies:** 0\
**Last updated:** [June 13, 2019, 10:16am UTC](https://forum.ansible.com/t/newbie-inventory-query/30557 "2019-06-13T10:16:10Z")

</div>

Hi all Can Ansible AWX 4.0.0 (inc Ansible 2.8.0) source inventory from Spacewalk 2.8 (Red Hat Satellite 5)? Within INVENTORIES → test → SOURCES → CREATE INVENTORY SOURCE, the SOURCE drop-down list only contains Red Hat…

---

## [I can't edit jira issue with ansible](https://forum.ansible.com/t/i-cant-edit-jira-issue-with-ansible/30513)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Rapozo](https://forum.ansible.com/u/Rodrigo_Rapozo)\
**Replies:** 6\
**Last updated:** [June 13, 2019, 7:33am UTC](https://forum.ansible.com/t/i-cant-edit-jira-issue-with-ansible/30513 "2019-06-13T07:33:52Z")

</div>

Hello I’m trying to edit a jira issue but I receive 404 I don’t know why I think that could be because the field hosts is required, but I don’t have ssh to the server and I put other host just to pass. Any ideia?

---

## [Loop through external API with multiple offsets](https://forum.ansible.com/t/loop-through-external-api-with-multiple-offsets/30556)

<div class="topic-metadata">

**Author:** [@innatenew](https://forum.ansible.com/u/innatenew)\
**Replies:** 1\
**Last updated:** [June 13, 2019, 6:18am UTC](https://forum.ansible.com/t/loop-through-external-api-with-multiple-offsets/30556 "2019-06-13T06:18:01Z")

</div>

Hello Folks, I have a requirement to loop through an REST API, to get data, and I would like to use ANSIBLE YAML. The API itself only renders 400 entries(limit) at a time and hence to get the entire data set will need …

---

## [conditionally give value to src of win\_copy](https://forum.ansible.com/t/conditionally-give-value-to-src-of-win-copy/30514)

<div class="topic-metadata">

**Author:** [@Deepak\_Asawa](https://forum.ansible.com/u/Deepak_Asawa)\
**Replies:** 3\
**Last updated:** [June 13, 2019, 6:05am UTC](https://forum.ansible.com/t/conditionally-give-value-to-src-of-win-copy/30514 "2019-06-13T06:05:06Z")

</div>

Hi, name: copy\_phoenix\_folder win\_copy: src: phoenix\_x86 when: “{{ ansible\_architecture }} == 32-bit” src: phoenix\_x64 when: “{{ ansible\_architecture }} == 64-bit” dest: c:\\ I have written above code but scr wil…

---

## [loop](https://forum.ansible.com/t/loop/30541)

<div class="topic-metadata">

**Author:** [@starflighter](https://forum.ansible.com/u/starflighter)\
**Replies:** 3\
**Last updated:** [June 13, 2019, 5:38am UTC](https://forum.ansible.com/t/loop/30541 "2019-06-13T05:38:49Z")

</div>

Hi all, how can I write with\_first\_found as loop? I can’t find an example at https://docs.ansible.com/ansible/devel/porting\_guides/porting\_guide\_2.5.html#migrating-from-with-x-to-loop Can you give me an example? Than…

---

## [Display breaks up with multiple bytes](https://forum.ansible.com/t/display-breaks-up-with-multiple-bytes/30553)

<div class="topic-metadata">

**Author:** [@user68](https://forum.ansible.com/u/user68)\
**Replies:** 0\
**Last updated:** [June 12, 2019, 10:09pm UTC](https://forum.ansible.com/t/display-breaks-up-with-multiple-bytes/30553 "2019-06-12T22:09:42Z")

</div>

When Ansible is executed with many bytes such as Japanese, the line feed position shifts as follows. \` TASK \[common : 日本語\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*

---

## [2019-Jun-06 devel branch and random hangs using winrm?](https://forum.ansible.com/t/2019-jun-06-devel-branch-and-random-hangs-using-winrm/30509)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 17\
**Last updated:** [June 12, 2019, 9:39pm UTC](https://forum.ansible.com/t/2019-jun-06-devel-branch-and-random-hangs-using-winrm/30509 "2019-06-12T21:39:38Z")

</div>

Upgraded ansible to $ ansible --version ansible 2.9.0.dev0 config file = /Users/tanner/projects/ansible.git/playbooks.git/celadonsystems.com/ansible.cfg configured module search path = \[u’/Users/tanner/.ansible/plugi…

---

## [AWX API: read a variable or the content of a file after a job completion](https://forum.ansible.com/t/awx-api-read-a-variable-or-the-content-of-a-file-after-a-job-completion/30548)

<div class="topic-metadata">

**Author:** [@AJ\_NOURI](https://forum.ansible.com/u/AJ_NOURI)\
**Replies:** 2\
**Last updated:** [June 12, 2019, 8:13pm UTC](https://forum.ansible.com/t/awx-api-read-a-variable-or-the-content-of-a-file-after-a-job-completion/30548 "2019-06-12T20:13:25Z")

</div>

Hi, Is it possible to read registered variables or file content with some data as a result of job completion. The flow s as follow: launch a job Template from awx API the job Template, do some configuration and store…

---

## [uri Module - Wait For Satellite Task to Complete](https://forum.ansible.com/t/uri-module-wait-for-satellite-task-to-complete/30549)

<div class="topic-metadata">

**Author:** [@Cade\_Lambert](https://forum.ansible.com/u/Cade_Lambert)\
**Replies:** 5\
**Last updated:** [June 12, 2019, 6:53pm UTC](https://forum.ansible.com/t/uri-module-wait-for-satellite-task-to-complete/30549 "2019-06-12T18:53:03Z")

</div>

I’m writing a playbook to publish new Content View versions and promote the new version to our Lifecycle Environments using the uri module. I’m trying to create a task that will query the task ID until it reports a resul…

---

## [Problem Ansible Tower AWX modele not works](https://forum.ansible.com/t/problem-ansible-tower-awx-modele-not-works/30544)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 2\
**Last updated:** [June 12, 2019, 6:41pm UTC](https://forum.ansible.com/t/problem-ansible-tower-awx-modele-not-works/30544 "2019-06-12T18:41:52Z")

</div>

Hi, I have on problem, when i execut one modele, ansible tower awx do nothing. I thinks that i have one problem with container ? Can you help me please ? Thanks for your answer !! :wink: regards,

---

## [How to get details about a user running an Ansible Tower job](https://forum.ansible.com/t/how-to-get-details-about-a-user-running-an-ansible-tower-job/30518)

<div class="topic-metadata">

**Author:** [@Dmitrii\_M](https://forum.ansible.com/u/Dmitrii_M)\
**Replies:** 1\
**Last updated:** [June 12, 2019, 4:32pm UTC](https://forum.ansible.com/t/how-to-get-details-about-a-user-running-an-ansible-tower-job/30518 "2019-06-12T16:32:48Z")

</div>

Hi all, I’ve two questions: Is there a way to know the details about a user who runs playbooks (job template/workflow)? I’d propose that module “tower\_user” might do that, it just can be extended with some output like…

---

## [Want to save variable of one role so that can be used again, and not run the compelete ansible again](https://forum.ansible.com/t/want-to-save-variable-of-one-role-so-that-can-be-used-again-and-not-run-the-compelete-ansible-again/30545)

<div class="topic-metadata">

**Author:** [@Amit\_sharma](https://forum.ansible.com/u/Amit_sharma)\
**Replies:** 1\
**Last updated:** [June 12, 2019, 1:51pm UTC](https://forum.ansible.com/t/want-to-save-variable-of-one-role-so-that-can-be-used-again-and-not-run-the-compelete-ansible-again/30545 "2019-06-12T13:51:39Z")

</div>

Hi, I have a big Ansible with about 10+ roles in it that takes around 1 hr to run completely . Can some one help me how i can store all variables in a json so that i can trigger a only a failed role… I am using hostva…

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/30530)

<div class="topic-metadata">

**Author:** [@The\_Vandyy\_Vines](https://forum.ansible.com/u/The_Vandyy_Vines)\
**Replies:** 1\
**Last updated:** [June 12, 2019, 1:07pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/30530 "2019-06-12T13:07:57Z")

</div>

Hello, Really need help: Want to iterate a block of codes on the kb list obtained in an debug o/p: task path: /tmp/win\_patch\_role/roles/win\_patch\_role/tasks/update.yml:36 ok: \[vuhplabgtdev108\] =\> { “update\_count”: { …

---

## [LDAP and TACACS integration in ansible tower](https://forum.ansible.com/t/ldap-and-tacacs-integration-in-ansible-tower/30539)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 2\
**Last updated:** [June 12, 2019, 12:42pm UTC](https://forum.ansible.com/t/ldap-and-tacacs-integration-in-ansible-tower/30539 "2019-06-12T12:42:13Z")

</div>

Hi Team, Can both LDAP(AD) and TACACS be integrated in ansibe tower? Can anyone explain me the benefits or use of LDAP and TACACS with tower? thanks Pushparaj

---

## [LDAP(AD) and TACACS be integrated in ansibe tower](https://forum.ansible.com/t/ldap-ad-and-tacacs-be-integrated-in-ansibe-tower/30543)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 0\
**Last updated:** [June 12, 2019, 12:20pm UTC](https://forum.ansible.com/t/ldap-ad-and-tacacs-be-integrated-in-ansibe-tower/30543 "2019-06-12T12:20:15Z")

</div>

Hi Team, Can both LDAP(AD) and TACACS be integrated in ansibe tower? Can anyone explain me the benefits or use of LDAP and TACACS with tower? thanks Pushparaj

---

## [LDAP(AD) and TACACS be integrated in ansibe tower](https://forum.ansible.com/t/ldap-ad-and-tacacs-be-integrated-in-ansibe-tower/30542)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 0\
**Last updated:** [June 12, 2019, 12:19pm UTC](https://forum.ansible.com/t/ldap-ad-and-tacacs-be-integrated-in-ansibe-tower/30542 "2019-06-12T12:19:28Z")

</div>

Hi Team, Can both LDAP(AD) and TACACS be integrated in ansibe tower? Can anyone explain me the benefits or use of LDAP and TACACS with tower? thanks Pushparaj

---

## [Ansible Roles](https://forum.ansible.com/t/ansible-roles/30540)

<div class="topic-metadata">

**Author:** [@Divyank\_Gupta](https://forum.ansible.com/u/Divyank_Gupta)\
**Replies:** 1\
**Last updated:** [June 12, 2019, 10:17am UTC](https://forum.ansible.com/t/ansible-roles/30540 "2019-06-12T10:17:00Z")

</div>

How do i declare a global variable, so that it can be used for multiple roles? And how to use that variable in roles tasks?

---

## [Ping Ansible playbook](https://forum.ansible.com/t/ping-ansible-playbook/30533)

<div class="topic-metadata">

**Author:** [@Tribhuvan\_Yadav](https://forum.ansible.com/u/Tribhuvan_Yadav)\
**Replies:** 1\
**Last updated:** [June 12, 2019, 9:31am UTC](https://forum.ansible.com/t/ping-ansible-playbook/30533 "2019-06-12T09:31:18Z")

</div>

I have 10’s of network devices of diffenent vendor. Can someone suggest how to simply ping them via a ansible script. Also i want that output to be in some good format like 5 packet transmitted 5 received.

---

## [Regarding shutting down of awx for unknown reason](https://forum.ansible.com/t/regarding-shutting-down-of-awx-for-unknown-reason/30478)

<div class="topic-metadata">

**Author:** [@Pranjal\_Gupta](https://forum.ansible.com/u/Pranjal_Gupta)\
**Replies:** 6\
**Last updated:** [June 12, 2019, 6:56am UTC](https://forum.ansible.com/t/regarding-shutting-down-of-awx-for-unknown-reason/30478 "2019-06-12T06:56:54Z")

</div>

After working for 2-3 days, when I try to login in AWX, it starts saying Invalid username/password. And after that when I try to restart docker or restart those five containers, it does not successfully restart. It say…

---

## [error executing cmd usnig shell module in Python API | "Unexpected failure during module execution."](https://forum.ansible.com/t/error-executing-cmd-usnig-shell-module-in-python-api-unexpected-failure-during-module-execution/30537)

<div class="topic-metadata">

**Author:** [@Maged\_Motawea](https://forum.ansible.com/u/Maged_Motawea)\
**Replies:** 0\
**Last updated:** [June 11, 2019, 8:55pm UTC](https://forum.ansible.com/t/error-executing-cmd-usnig-shell-module-in-python-api-unexpected-failure-during-module-execution/30537 "2019-06-11T20:55:56Z")

</div>

Hello, I’m using Python API to deploy a Kubernetes cluster but I have an issue executing two commands using the shell module. this is the first task’s dictionary: { ‘name’: ‘install flannel for pod network’, ‘actio…

---

## [Is it possible to use include\_tasks to run a tagged task in another file?](https://forum.ansible.com/t/is-it-possible-to-use-include-tasks-to-run-a-tagged-task-in-another-file/30536)

<div class="topic-metadata">

**Author:** [@Douglas\_Thompson](https://forum.ansible.com/u/Douglas_Thompson)\
**Replies:** 2\
**Last updated:** [June 11, 2019, 5:57pm UTC](https://forum.ansible.com/t/is-it-possible-to-use-include-tasks-to-run-a-tagged-task-in-another-file/30536 "2019-06-11T17:57:29Z")

</div>

I’m working on an ansible role and instead of putting all tasks in tasks/main.yml, I’d like to have separate files and use them sort of like functions. One of my files has all the possible tasks for file manipulation in …

---

## [Playbook Create File Based on Result of Previous Command](https://forum.ansible.com/t/playbook-create-file-based-on-result-of-previous-command/30516)

<div class="topic-metadata">

**Author:** [@Douglas\_Thompson](https://forum.ansible.com/u/Douglas_Thompson)\
**Replies:** 2\
**Last updated:** [June 11, 2019, 5:30pm UTC](https://forum.ansible.com/t/playbook-create-file-based-on-result-of-previous-command/30516 "2019-06-11T17:30:14Z")

</div>

Hello, I’m trying to run a command based on the result of a ‘yum update’ command on a Linux system. The idea being that if there are no patches, then I want to create a file that will be checked for just prior to a rebo…

---

## [ansible and AWX](https://forum.ansible.com/t/ansible-and-awx/30521)

<div class="topic-metadata">

**Author:** [@Alfredo\_De\_Luca](https://forum.ansible.com/u/Alfredo_De_Luca)\
**Replies:** 11\
**Last updated:** [June 11, 2019, 5:25pm UTC](https://forum.ansible.com/t/ansible-and-awx/30521 "2019-06-11T17:25:51Z")

</div>

Hi all. for evaluating purposes I want to integrate ansible with AWX. I ve installed AWX but not sure how to configure my ansible env with AWX in order to see all the ansible playbook/run/issue etc etc. Is there someth…

---

## [How to execut commande line in application in linux ?](https://forum.ansible.com/t/how-to-execut-commande-line-in-application-in-linux/30534)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 0\
**Last updated:** [June 11, 2019, 3:55pm UTC](https://forum.ansible.com/t/how-to-execut-commande-line-in-application-in-linux/30534 "2019-06-11T15:55:00Z")

</div>

Hi, I have one script my\_script.sh with this content : mssql-cli -S my\_server -U my\_user -d my\_database -P ‘my\_password’ This script works in linux but how execut this command “\\e script.sql” in commande who is in my\_…

---

## [Iterating over parts complex data structures while still referring to other parts of the structure](https://forum.ansible.com/t/iterating-over-parts-complex-data-structures-while-still-referring-to-other-parts-of-the-structure/30523)

<div class="topic-metadata">

**Author:** [@Josh\_Smift2](https://forum.ansible.com/u/Josh_Smift2)\
**Replies:** 2\
**Last updated:** [June 11, 2019, 3:53pm UTC](https://forum.ansible.com/t/iterating-over-parts-complex-data-structures-while-still-referring-to-other-parts-of-the-structure/30523 "2019-06-11T15:53:17Z")

</div>

I have a data structure like this: \` part: eyes: where: faces colors: blue brown green hair: where: heads colors: black blond brown red toenails: where: feet colors: pink red teal \` I want to create a file…

---

## [How to make the package module useful again?](https://forum.ansible.com/t/how-to-make-the-package-module-useful-again/30496)

<div class="topic-metadata">

**Author:** [@opoplawski](https://forum.ansible.com/u/opoplawski)\
**Replies:** 2\
**Last updated:** [June 11, 2019, 2:00pm UTC](https://forum.ansible.com/t/how-to-make-the-package-module-useful-again/30496 "2019-06-11T14:00:32Z")

</div>

We manage both Ubuntu and RedHat/Fedora systems from the same playbooks. One of the tools that has been very helpful for us in this is the generic “package” module. However, with the recent change to the yum lock timeout…

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

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