# Latest

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

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

**Page:** 455

---

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

---

## [How to update Jinja2 for Ansible](https://forum.ansible.com/t/how-to-update-jinja2-for-ansible/30492)

<div class="topic-metadata">

**Author:** [@Sylvia\_Possenau](https://forum.ansible.com/u/Sylvia_Possenau)\
**Replies:** 1\
**Last updated:** [June 6, 2019, 7:35am UTC](https://forum.ansible.com/t/how-to-update-jinja2-for-ansible/30492 "2019-06-06T07:35:04Z")

</div>

Hi, regarding this issue: https://github.com/ansible/ansible/issues/57311 I’ve tried all the suggested ways of upgrading Jinja including the last one: $ python -m pip install -U jinja2 Pip and the python pip upgrade …

---

## [need help with nested loop](https://forum.ansible.com/t/need-help-with-nested-loop/30491)

<div class="topic-metadata">

**Author:** [@eric\_sandgren](https://forum.ansible.com/u/eric_sandgren)\
**Replies:** 2\
**Last updated:** [June 6, 2019, 6:59am UTC](https://forum.ansible.com/t/need-help-with-nested-loop/30491 "2019-06-06T06:59:06Z")

</div>

First I’m a sysadmin not a developer I often use ansible to set up things in f5 -ltm i often need to add several hosts to a number of pools. The loadbalancing setup in f5 products in a glance consist of av VIP (virtual s…

---

## [getting error while installing mongoDB on remote ubuntu server via ansible](https://forum.ansible.com/t/getting-error-while-installing-mongodb-on-remote-ubuntu-server-via-ansible/30490)

<div class="topic-metadata">

**Author:** [@Vidyashankar\_Kandgal](https://forum.ansible.com/u/Vidyashankar_Kandgal)\
**Replies:** 1\
**Last updated:** [June 6, 2019, 4:13am UTC](https://forum.ansible.com/t/getting-error-while-installing-mongodb-on-remote-ubuntu-server-via-ansible/30490 "2019-06-06T04:13:08Z")

</div>

1. For Playbook implemented see below: Install mongodb

---

## [Help using yum-repository](https://forum.ansible.com/t/help-using-yum-repository/30500)

<div class="topic-metadata">

**Author:** [@Paul\_Evans](https://forum.ansible.com/u/Paul_Evans)\
**Replies:** 1\
**Last updated:** [June 5, 2019, 11:08pm UTC](https://forum.ansible.com/t/help-using-yum-repository/30500 "2019-06-05T23:08:21Z")

</div>

Trying to install docker-ce. Manually, the commands to do this are: yum-config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo Then yum install docker-ce -y works just fine. To replicate th…

---

## [azure\_rm\_virtualmachine module causing error to start or stop VM](https://forum.ansible.com/t/azure-rm-virtualmachine-module-causing-error-to-start-or-stop-vm/30487)

<div class="topic-metadata">

**Author:** [@Tuyen\_Nguyen](https://forum.ansible.com/u/Tuyen_Nguyen)\
**Replies:** 2\
**Last updated:** [June 5, 2019, 5:28pm UTC](https://forum.ansible.com/t/azure-rm-virtualmachine-module-causing-error-to-start-or-stop-vm/30487 "2019-06-05T17:28:38Z")

</div>

Hi I am getting the following error whenever I try to control an Azure VM to start or stop: The full traceback is: Traceback (most recent call last): File “/tmp/ansible-tmp-1559657705.67-271285273530579/AnsiballZ\_azu…

---

## [vmware\_vm\_facts - limit to set of matched names](https://forum.ansible.com/t/vmware-vm-facts-limit-to-set-of-matched-names/30495)

<div class="topic-metadata">

**Author:** [@gforster](https://forum.ansible.com/u/gforster)\
**Replies:** 0\
**Last updated:** [June 5, 2019, 2:05pm UTC](https://forum.ansible.com/t/vmware-vm-facts-limit-to-set-of-matched-names/30495 "2019-06-05T14:05:42Z")

</div>

Is it possible to limit the vmware\_vm\_facts module to only return a subset of regex-matched vms? Big picture: I have a hostname standard that, in part, goes by a sequence # e.g. something-app-prod3a (where 3 is the sequ…

---

## [Ignore whole block with ios\_config module](https://forum.ansible.com/t/ignore-whole-block-with-ios-config-module/30493)

<div class="topic-metadata">

**Author:** [@Erjol\_Bane](https://forum.ansible.com/u/Erjol_Bane)\
**Replies:** 0\
**Last updated:** [June 5, 2019, 9:22am UTC](https://forum.ansible.com/t/ignore-whole-block-with-ios-config-module/30493 "2019-06-05T09:22:46Z")

</div>

Hi, is it possible to ignore the below block via the ios\_config module with diff\_ignore\_lines? certificate self-signed 01 3082022B 30820194 A0030201 02020101 300D0609 2A864886 F70D0101 05050030 31312F30 2D060355 04031…

---

## [add\_host and --limit](https://forum.ansible.com/t/add-host-and-limit/30486)

<div class="topic-metadata">

**Author:** [@powcarz](https://forum.ansible.com/u/powcarz)\
**Replies:** 4\
**Last updated:** [June 5, 2019, 8:42am UTC](https://forum.ansible.com/t/add-host-and-limit/30486 "2019-06-05T08:42:49Z")

</div>

Hello All I have the following inventory: … \[group1\] host1 \[group2\] host2 \[all\] host1 host2 … and a playbook: name: play1 hosts: group1 tasks: add\_host: name: “{{groups\[group2\] | first}}” groups: tem…

---

## [Refresh inventory on playbook run](https://forum.ansible.com/t/refresh-inventory-on-playbook-run/30467)

<div class="topic-metadata">

**Author:** [@daemenseth](https://forum.ansible.com/u/daemenseth)\
**Replies:** 5\
**Last updated:** [June 5, 2019, 7:41am UTC](https://forum.ansible.com/t/refresh-inventory-on-playbook-run/30467 "2019-06-05T07:41:38Z")

</div>

Hello I have a playbook which create a vmware vm based on survey data. With some trick I add the machine to the inventory: name: Added host to inventory command: awx-manage inventory\_import --inventory-name ‘Invent…

---

## [playbook to create users on mongoDB using ansible](https://forum.ansible.com/t/playbook-to-create-users-on-mongodb-using-ansible/30489)

<div class="topic-metadata">

**Author:** [@Vidyashankar\_Kandgal](https://forum.ansible.com/u/Vidyashankar_Kandgal)\
**Replies:** 0\
**Last updated:** [June 4, 2019, 4:51pm UTC](https://forum.ansible.com/t/playbook-to-create-users-on-mongodb-using-ansible/30489 "2019-06-04T16:51:54Z")

</div>

Hi, i am trying to create users on mongoDB cluster. i need a Play book with feature for creating users, root user and admin user. Playbook Feature should have option to change password. Do we have command line option i…

---

## [Ansible AWS Route53 module](https://forum.ansible.com/t/ansible-aws-route53-module/30488)

<div class="topic-metadata">

**Author:** [@Tuyen\_Nguyen](https://forum.ansible.com/u/Tuyen_Nguyen)\
**Replies:** 0\
**Last updated:** [June 4, 2019, 2:57pm UTC](https://forum.ansible.com/t/ansible-aws-route53-module/30488 "2019-06-04T14:57:35Z")

</div>

Hi When running the AWS CLI command it is possible to add a comment on creating or delete a record. Is it possible with the route53 module as well?

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

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