# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=184

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

**Page:** 185

---

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

---

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

---

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

---

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

---

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

---

## [Azure VM deployment across subscriptions and resource groups](https://forum.ansible.com/t/azure-vm-deployment-across-subscriptions-and-resource-groups/30532)

<div class="topic-metadata">

**Author:** [@spongebob33167](https://forum.ansible.com/u/spongebob33167)\
**Replies:** 1\
**Last updated:** [June 11, 2019, 1:45pm UTC](https://forum.ansible.com/t/azure-vm-deployment-across-subscriptions-and-resource-groups/30532 "2019-06-11T13:45:41Z")

</div>

Hello ansible gurus, I’m trying to deploy a VM in Azure using the azure\_rm\_virtualmachine module, however, the resource group I’m creating the VM in is different from the resource group that contains my custom image. To…

---

## [How execut script sql on port 1433](https://forum.ansible.com/t/how-execut-script-sql-on-port-1433/30531)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 2\
**Last updated:** [June 11, 2019, 1:15pm UTC](https://forum.ansible.com/t/how-execut-script-sql-on-port-1433/30531 "2019-06-11T13:15:31Z")

</div>

Hy, I have Ansible on my debian 8.11 and i have on script my\_script.sql I have install tool mssql-cli and i can with this tool execut my\_script.sql on my database MSSQL. I have on server Windows database MSSQL. I wan…

---

## [Ansible Tower with windows AD](https://forum.ansible.com/t/ansible-tower-with-windows-ad/30527)

<div class="topic-metadata">

**Author:** [@Barun\_kumar](https://forum.ansible.com/u/Barun_kumar)\
**Replies:** 3\
**Last updated:** [June 11, 2019, 11:11am UTC](https://forum.ansible.com/t/ansible-tower-with-windows-ad/30527 "2019-06-11T11:11:18Z")

</div>

All, Any idea how to integrate ansible tower with windows AD for AD user accounts login ?? Regards, Barun Kumar

---

## [tower ansible template: how to pass parameters to a python script](https://forum.ansible.com/t/tower-ansible-template-how-to-pass-parameters-to-a-python-script/30520)

<div class="topic-metadata">

**Author:** [@Gilles](https://forum.ansible.com/u/Gilles)\
**Replies:** 2\
**Last updated:** [June 11, 2019, 7:28am UTC](https://forum.ansible.com/t/tower-ansible-template-how-to-pass-parameters-to-a-python-script/30520 "2019-06-11T07:28:23Z")

</div>

I am using a template to run a python script. This works fine. \` hosts: ISE connection: local args: tasks: script: /usr/bin/python3 …/scripts/ise\_add.py register: output debug: var=output.stdout\_lines \` Now I…

---

## [remote module (vmware\_guest\_find) does not support check mode](https://forum.ansible.com/t/remote-module-vmware-guest-find-does-not-support-check-mode/30522)

<div class="topic-metadata">

**Author:** [@Kishore\_Hejmady](https://forum.ansible.com/u/Kishore_Hejmady)\
**Replies:** 1\
**Last updated:** [June 11, 2019, 6:56am UTC](https://forum.ansible.com/t/remote-module-vmware-guest-find-does-not-support-check-mode/30522 "2019-06-11T06:56:19Z")

</div>

I am trying to connect to vshpere and get the below message #- name: "Find more info on {{vcenter\_info\[vsphere-env\].vcenter\_hostname}} {{vsphere\_login}} VM - {{ vm\_name }} {{vsphere\_passwd}} " name: "Find more info o…

---

## [ansible nexus upload](https://forum.ansible.com/t/ansible-nexus-upload/30529)

<div class="topic-metadata">

**Author:** [@CORLEONE](https://forum.ansible.com/u/CORLEONE)\
**Replies:** 0\
**Last updated:** [June 11, 2019, 5:44am UTC](https://forum.ansible.com/t/ansible-nexus-upload/30529 "2019-06-11T05:44:19Z")

</div>

hello guys i am trying to put some artifacts in a folder into nexus using ansible. i have tried with put and post of uri module. however i didn’t set the content type option. if i have to set that what shoukf i set. ca…

---

## [Complex variables and a key with a hyphen](https://forum.ansible.com/t/complex-variables-and-a-key-with-a-hyphen/30525)

<div class="topic-metadata">

**Author:** [@gregor](https://forum.ansible.com/u/gregor)\
**Replies:** 3\
**Last updated:** [June 11, 2019, 5:10am UTC](https://forum.ansible.com/t/complex-variables-and-a-key-with-a-hyphen/30525 "2019-06-11T05:10:49Z")

</div>

Hello Everyone, I’m trying to reference a complex variable, but one of the words has a hyphen which breaks things. Is there a way to set a fact the “specificVar” value from the last line in 1 set\_fact statement? So ri…

---

## [Download multiple artifacts from same groupId and artifactId using ansible maven\_artifact module](https://forum.ansible.com/t/download-multiple-artifacts-from-same-groupid-and-artifactid-using-ansible-maven-artifact-module/30528)

<div class="topic-metadata">

**Author:** [@srikanthgali187](https://forum.ansible.com/u/srikanthgali187)\
**Replies:** 0\
**Last updated:** [June 11, 2019, 4:45am UTC](https://forum.ansible.com/t/download-multiple-artifacts-from-same-groupid-and-artifactid-using-ansible-maven-artifact-module/30528 "2019-06-11T04:45:13Z")

</div>

I have 2 artfacts in maven repository. app.ear and app.zip in the same artifactId and groupId. but when i want to download both artifacts, it is failing to download app.ear file as it is pointing to app.zip location. it…

---

## [ansible-pull configuration](https://forum.ansible.com/t/ansible-pull-configuration/28287)

<div class="topic-metadata">

**Author:** [@SUMIT\_SAHAY](https://forum.ansible.com/u/SUMIT_SAHAY)\
**Replies:** 18\
**Last updated:** [June 10, 2019, 8:50am UTC](https://forum.ansible.com/t/ansible-pull-configuration/28287 "2019-06-10T08:50:55Z")

</div>

Hi All, I am trying to setup the ansible pull based on my vm server. Is there any step-wise documentation for this? Regards Sumit Sahay 7044112109

---

## [SSH private key invalid ? Ansible  Mikrotik RouterOS configuration](https://forum.ansible.com/t/ssh-private-key-invalid-ansible-mikrotik-routeros-configuration/30441)

<div class="topic-metadata">

**Author:** [@samudra.haque](https://forum.ansible.com/u/samudra.haque)\
**Replies:** 5\
**Last updated:** [June 9, 2019, 6:56pm UTC](https://forum.ansible.com/t/ssh-private-key-invalid-ansible-mikrotik-routeros-configuration/30441 "2019-06-09T18:56:04Z")

</div>

Hello Ansible gurus, I am new to Ansible and have installed from Git source branch. I am not changing anything at this time. I am investigating ways to use Ansible with Mikrotik RouterOS (www.mt.lv or www.mikrotik.com). …

---

## [Ansible and reliable removing unmanaged resources](https://forum.ansible.com/t/ansible-and-reliable-removing-unmanaged-resources/30517)

<div class="topic-metadata">

**Author:** [@Klaus\_Ethgen](https://forum.ansible.com/u/Klaus_Ethgen)\
**Replies:** 0\
**Last updated:** [June 9, 2019, 12:08pm UTC](https://forum.ansible.com/t/ansible-and-reliable-removing-unmanaged-resources/30517 "2019-06-09T12:08:43Z")

</div>

Hi, I use ansible for many stuff and do like it for the simplicity. However, there is one feature I miss (that is available in even puppet). That is to purge unmanaged resources. See for example my exim implementatio…

---

## [Memory error when downloading 3.4GB file](https://forum.ansible.com/t/memory-error-when-downloading-3-4gb-file/30016)

<div class="topic-metadata">

**Author:** [@Sindhuja\_Koneru](https://forum.ansible.com/u/Sindhuja_Koneru)\
**Replies:** 9\
**Last updated:** [June 7, 2019, 10:00pm UTC](https://forum.ansible.com/t/memory-error-when-downloading-3-4gb-file/30016 "2019-06-07T22:00:23Z")

</div>

Hello, Has anyone come across this Memory error? It occurs when running backup.yml script which is to backup DB and SECRET KEY. Script is completely successful, until it reaches to a point when it needs to download a c…

---

## [New Ansible releases 2.8.1](https://forum.ansible.com/t/new-ansible-releases-2-8-1/30515)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [June 7, 2019, 1:16pm UTC](https://forum.ansible.com/t/new-ansible-releases-2-8-1/30515 "2019-06-07T13:16:48Z")

</div>

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

---

## [Linux execut command line in prompt mssql-cli](https://forum.ansible.com/t/linux-execut-command-line-in-prompt-mssql-cli/30512)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 0\
**Last updated:** [June 7, 2019, 9:46am UTC](https://forum.ansible.com/t/linux-execut-command-line-in-prompt-mssql-cli/30512 "2019-06-07T09:46:48Z")

</div>

Hi Community ansible !! :wink: I hope are you fine !! :slight\_smile: My problem actually is that i have mssql-cli on my debian. I have create script.sh with this content : mssql-cli -S my\_server -U my\_user -d my\_data…

---

## [Tower license query](https://forum.ansible.com/t/tower-license-query/30510)

<div class="topic-metadata">

**Author:** [@Pushparaj\_Gothandam](https://forum.ansible.com/u/Pushparaj_Gothandam)\
**Replies:** 1\
**Last updated:** [June 7, 2019, 7:41am UTC](https://forum.ansible.com/t/tower-license-query/30510 "2019-06-07T07:41:55Z")

</div>

Hi Team, We bought tower license two months ago but never used, the question is license duration will be counted after activation or from purchase date. thanks, Pushparaj

---

## [Prompt on Ansible asa\_command module](https://forum.ansible.com/t/prompt-on-ansible-asa-command-module/30505)

<div class="topic-metadata">

**Author:** [@Diptajeet\_Khan](https://forum.ansible.com/u/Diptajeet_Khan)\
**Replies:** 2\
**Last updated:** [June 7, 2019, 4:05am UTC](https://forum.ansible.com/t/prompt-on-ansible-asa-command-module/30505 "2019-06-07T04:05:53Z")

</div>

Hi Experts! I didn’t find any options for an interactive prompt on “asa\_command” module. Similar IOS module “ios\_command” does have it. Can anyone suggest any possible options which can get a prompt with the “asa\_comma…

---

## [delegation from the command ansible](https://forum.ansible.com/t/delegation-from-the-command-ansible/30508)

<div class="topic-metadata">

**Author:** [@Luca\_Cazzaniga](https://forum.ansible.com/u/Luca_Cazzaniga)\
**Replies:** 0\
**Last updated:** [June 6, 2019, 10:01pm UTC](https://forum.ansible.com/t/delegation-from-the-command-ansible/30508 "2019-06-06T22:01:51Z")

</div>

hi I’m wondering if there is a method to delegate to another host from the command ansible without writing down a playbook ansible server1 -m synchronize -a “src=~/gitapi dest=~” -e “ansible\_python\_interpreter=/usr/bin/…

---

## [Convert a hex number to decimal](https://forum.ansible.com/t/convert-a-hex-number-to-decimal/30419)

<div class="topic-metadata">

**Author:** [@bob.carroll](https://forum.ansible.com/u/bob.carroll)\
**Replies:** 5\
**Last updated:** [June 6, 2019, 8:23pm UTC](https://forum.ansible.com/t/convert-a-hex-number-to-decimal/30419 "2019-06-06T20:23:20Z")

</div>

This has to be easy, but I have tried a way to many things. Given a hex number as a string, say ‘8d’, I cannot convert it to a decimal string. I presumed to prepend ‘0x’ but ‘{{ “0x8d” | int }}’ returns 0. I am not havi…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=183)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=185)
