# Archives

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

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

**Page:** 284

---

## [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 Tower - Junk Characters in parameters](https://forum.ansible.com/t/ansible-tower-junk-characters-in-parameters/30524)

<div class="topic-metadata">

**Author:** [@Nikesh\_Jauhari](https://forum.ansible.com/u/Nikesh_Jauhari)\
**Replies:** 1\
**Last updated:** [June 11, 2019, 1:32am UTC](https://forum.ansible.com/t/ansible-tower-junk-characters-in-parameters/30524 "2019-06-11T01:32:25Z")

</div>

All, We are trying to run the script (also command) with some parameter using Ansible Tower on AIX server (as target) when the execution happens on the tower we are seeing some junk characters are passed to the command…

---

## [Clone specific sersion of project from SCM](https://forum.ansible.com/t/clone-specific-sersion-of-project-from-scm/30519)

<div class="topic-metadata">

**Author:** [@mohamedjarboui1995](https://forum.ansible.com/u/mohamedjarboui1995)\
**Replies:** 2\
**Last updated:** [June 10, 2019, 1:16pm UTC](https://forum.ansible.com/t/clone-specific-sersion-of-project-from-scm/30519 "2019-06-10T13:16:44Z")

</div>

Hello AWX community, I’m using SCM (Gitlab) to clone my projects,i ask you if there is a solution to clone specific version of the committed playbooks and roles of any project \[ NOT the updated version !\], Could someone…

---

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

---

## [ansible version update in docker container(s)?](https://forum.ansible.com/t/ansible-version-update-in-docker-container-s/30497)

<div class="topic-metadata">

**Author:** [@Larry\_Bakun](https://forum.ansible.com/u/Larry_Bakun)\
**Replies:** 19\
**Last updated:** [June 7, 2019, 1:58pm UTC](https://forum.ansible.com/t/ansible-version-update-in-docker-container-s/30497 "2019-06-07T13:58:29Z")

</div>

What is the right procedure to update ansible version in AWX running in the docker containers? What container to update? I’ve noticed that awx\_task and awx\_web containers both running ansible v2.7.9. Do I have to update…

---

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

---

## [aWX support Oracle Database with the existing code](https://forum.ansible.com/t/awx-support-oracle-database-with-the-existing-code/30511)

<div class="topic-metadata">

**Author:** [@Ragesh\_R\_pillai](https://forum.ansible.com/u/Ragesh_R_pillai)\
**Replies:** 0\
**Last updated:** [June 7, 2019, 7:52am UTC](https://forum.ansible.com/t/awx-support-oracle-database-with-the-existing-code/30511 "2019-06-07T07:52:03Z")

</div>

I know awx application itsself work only in postgres environment. I need to complete the oracle integration part as a part of my development activity. Can some one please help me on this? Steps followed Trying to mig…

---

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

---

## [jinja2 warnings](https://forum.ansible.com/t/jinja2-warnings/30507)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 1\
**Last updated:** [June 6, 2019, 7:23pm UTC](https://forum.ansible.com/t/jinja2-warnings/30507 "2019-06-06T19:23:32Z")

</div>

Hi all, After the latest ansible upgrade, I’ve started seeing these alerts when running playbooks: \[WARNING\]: conditional statements should not include jinja2 templating delimiters such as {{ }} or {% %}. Found: {{ rhe…

---

## [Scheduled Job variables cannot be changed from what template has](https://forum.ansible.com/t/scheduled-job-variables-cannot-be-changed-from-what-template-has/30498)

<div class="topic-metadata">

**Author:** [@Alb0t](https://forum.ansible.com/u/Alb0t)\
**Replies:** 2\
**Last updated:** [June 6, 2019, 5:54pm UTC](https://forum.ansible.com/t/scheduled-job-variables-cannot-be-changed-from-what-template-has/30498 "2019-06-06T17:54:57Z")

</div>

Should I be able to pass different extra\_vars on a scheduled task than are present on the template? For instance, I have a database name on a template called “foo” and when i create a scheduled job for it, I see “foo” p…

---

## [Ansible 2.8 uri module follows 302 even if follow\_redirects is set to none](https://forum.ansible.com/t/ansible-2-8-uri-module-follows-302-even-if-follow-redirects-is-set-to-none/30504)

<div class="topic-metadata">

**Author:** [@Sam5](https://forum.ansible.com/u/Sam5)\
**Replies:** 2\
**Last updated:** [June 6, 2019, 3:52pm UTC](https://forum.ansible.com/t/ansible-2-8-uri-module-follows-302-even-if-follow-redirects-is-set-to-none/30504 "2019-06-06T15:52:22Z")

</div>

ansible 2.8.0 Running uri module as uri: dest: . url: https://{{ hostvars\[inventory\_hostname\].ansible\_host }}:{{ apache.port }}/context-root/some-context validate\_certs: false return\_content: true follow\_redirects…

---

## [How use mssql-cli on Debian](https://forum.ansible.com/t/how-use-mssql-cli-on-debian/30502)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 3\
**Last updated:** [June 6, 2019, 3:13pm UTC](https://forum.ansible.com/t/how-use-mssql-cli-on-debian/30502 "2019-06-06T15:13:07Z")

</div>

Hi all, I have install mssql-cli for execut command line on instance MSSQL but when i use this task: name: “conenct instance mssql” command: mssql-cli -S my\_hote -U my\_user delegate\_to: localhost This task not work…

---

## [When condition and fetching values](https://forum.ansible.com/t/when-condition-and-fetching-values/30499)

<div class="topic-metadata">

**Author:** [@Tanisha\_Mishra](https://forum.ansible.com/u/Tanisha_Mishra)\
**Replies:** 2\
**Last updated:** [June 6, 2019, 1:29pm UTC](https://forum.ansible.com/t/when-condition-and-fetching-values/30499 "2019-06-06T13:29:13Z")

</div>

I am using csv python module for importing a csv file The csv is importing but unable to fetch the values properly. My main aim is the prompt that takes as server name needs to check from the csv list whether it exists…

---

## [Recovering lost data](https://forum.ansible.com/t/recovering-lost-data/30483)

<div class="topic-metadata">

**Author:** [@Pranjal\_Gupta](https://forum.ansible.com/u/Pranjal_Gupta)\
**Replies:** 11\
**Last updated:** [June 6, 2019, 11:43am UTC](https://forum.ansible.com/t/recovering-lost-data/30483 "2019-06-06T11:43:11Z")

</div>

hiii, Is there any way to take snapshot of awx at regular interval so that we could recover the data if something goes wrong in future !!

---

## [Probleme mssql-cli on ansible](https://forum.ansible.com/t/probleme-mssql-cli-on-ansible/30494)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 6\
**Last updated:** [June 6, 2019, 10:05am UTC](https://forum.ansible.com/t/probleme-mssql-cli-on-ansible/30494 "2019-06-06T10:05:00Z")

</div>

Hi all, When i want do “sudo apt-get update” on my debian 8.11, i have this error : E: Malformed line 1 in source list /etc/apt/sources.list.d/mssql-cli.list (\[arch\] is not an assignment) E: The list of sources could …

---

## [Why "java -version" command output was placed in stderr and not in stdout using win\_command.](https://forum.ansible.com/t/why-java-version-command-output-was-placed-in-stderr-and-not-in-stdout-using-win-command/30501)

<div class="topic-metadata">

**Author:** [@Cindy](https://forum.ansible.com/u/Cindy)\
**Replies:** 2\
**Last updated:** [June 6, 2019, 9:26am UTC](https://forum.ansible.com/t/why-java-version-command-output-was-placed-in-stderr-and-not-in-stdout-using-win-command/30501 "2019-06-06T09:26:28Z")

</div>

Hi, I was new on Ansible and testing some functionalities with Windows hosts. Task: name: Check if Java is installed win\_command: java -version register: java\_result name: Print Java\_result debug: msg: “{{ jav…

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

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