# Archives

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

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

**Page:** 285

---

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

---

## [Ansible with Windows hosts](https://forum.ansible.com/t/ansible-with-windows-hosts/30415)

<div class="topic-metadata">

**Author:** [@ryad9200000](https://forum.ansible.com/u/ryad9200000)\
**Replies:** 5\
**Last updated:** [June 4, 2019, 2:50pm UTC](https://forum.ansible.com/t/ansible-with-windows-hosts/30415 "2019-06-04T14:50:32Z")

</div>

Hey, I would like to know if there is only one solution for that ansible communicate with Windows host ? winrm and script powershell execute on Windows host ==\> is the only solution for that ansible can communicate wit…

---

## [Permissions to read all objects in organization (no admin) and launch jobs](https://forum.ansible.com/t/permissions-to-read-all-objects-in-organization-no-admin-and-launch-jobs/30460)

<div class="topic-metadata">

**Author:** [@Juan\_A\_S](https://forum.ansible.com/u/Juan_A_S)\
**Replies:** 3\
**Last updated:** [June 4, 2019, 12:04pm UTC](https://forum.ansible.com/t/permissions-to-read-all-objects-in-organization-no-admin-and-launch-jobs/30460 "2019-06-04T12:04:40Z")

</div>

Hi We are developing an application that connects to AWX to launch jobs using the API and a token. Before launching the job, the app checks for some data in Ansible: the host exists, the credentials exists, etc. We have…

---

## [unarchive, zip and idempotence](https://forum.ansible.com/t/unarchive-zip-and-idempotence/30440)

<div class="topic-metadata">

**Author:** [@Wawrzek\_Niewodniczan](https://forum.ansible.com/u/Wawrzek_Niewodniczan)\
**Replies:** 7\
**Last updated:** [June 4, 2019, 11:09am UTC](https://forum.ansible.com/t/unarchive-zip-and-idempotence/30440 "2019-06-04T11:09:58Z")

</div>

Hi, I have a zip files with 3 jars inside (no directory). When I use unarchive it always finds diff, even if files already exist. With simple diff i see: .f....o..?? bcpkix-jdk15on-1.60.jar .f....o..?? bcprov-jdk15o…

---

## [How configure Tower Template to use Dynamic Inventory Script.](https://forum.ansible.com/t/how-configure-tower-template-to-use-dynamic-inventory-script/30404)

<div class="topic-metadata">

**Author:** [@Flavio\_Gobber](https://forum.ansible.com/u/Flavio_Gobber)\
**Replies:** 6\
**Last updated:** [June 4, 2019, 10:09am UTC](https://forum.ansible.com/t/how-configure-tower-template-to-use-dynamic-inventory-script/30404 "2019-06-04T10:09:39Z")

</div>

Hello Ansible Team, I have written a Python script “inv-sched.py” which generates a JSON format inventory. This script is working using the command line ansible, with ansible command and ansible-playbook. Now I want to…

---

## [How to debug Ansible modules](https://forum.ansible.com/t/how-to-debug-ansible-modules/30484)

<div class="topic-metadata">

**Author:** [@Wawrzek\_Niewodniczan](https://forum.ansible.com/u/Wawrzek_Niewodniczan)\
**Replies:** 3\
**Last updated:** [June 4, 2019, 9:47am UTC](https://forum.ansible.com/t/how-to-debug-ansible-modules/30484 "2019-06-04T09:47:00Z")

</div>

Hi, I'm looking to peek into an Ansible module. It is the 'unarchvie' module which in special circumstances is not idempotent (https://github.com/ansible/ansible/issues/57303). I read the code. It looks sensible to m…

---

## [Choose inventory hosts.ini file based on condition](https://forum.ansible.com/t/choose-inventory-hosts-ini-file-based-on-condition/30439)

<div class="topic-metadata">

**Author:** [@Saranya\_N](https://forum.ansible.com/u/Saranya_N)\
**Replies:** 4\
**Last updated:** [June 4, 2019, 6:58am UTC](https://forum.ansible.com/t/choose-inventory-hosts-ini-file-based-on-condition/30439 "2019-06-04T06:58:46Z")

</div>

I have different staging environments under inventory. Inventory/ Qa/ Group\_vars hosts.ini Uat/ group\_vars hosts.ini Prod/ group\_vars hosts.ini I want to choose inventory file based on enviro…

---

## [Problems finding handler after updating 2.7.10 to 2.8.0](https://forum.ansible.com/t/problems-finding-handler-after-updating-2-7-10-to-2-8-0/30476)

<div class="topic-metadata">

**Author:** [@Jan-Philipp\_Bolle](https://forum.ansible.com/u/Jan-Philipp_Bolle)\
**Replies:** 2\
**Last updated:** [June 4, 2019, 6:06am UTC](https://forum.ansible.com/t/problems-finding-handler-after-updating-2-7-10-to-2-8-0/30476 "2019-06-04T06:06:20Z")

</div>

Hi, In my roles I use the following Handler definition: \` name: restart prometheus include: “roles/common/tasks/restart-service.yml service\_name=prometheus” \` This works fine in 2.7.10. After updating to 2.8.0 I …

---

## [recommendation of AWX server resources](https://forum.ansible.com/t/recommendation-of-awx-server-resources/30481)

<div class="topic-metadata">

**Author:** [@Nilesh\_Jaiswal](https://forum.ansible.com/u/Nilesh_Jaiswal)\
**Replies:** 2\
**Last updated:** [June 3, 2019, 10:23pm UTC](https://forum.ansible.com/t/recommendation-of-awx-server-resources/30481 "2019-06-03T22:23:29Z")

</div>

Dear All, Do we have recommendation of minimum hardware requirements for Ansible AWX server? Regards, Nilesh

---

## [See individual, module-level debug statements](https://forum.ansible.com/t/see-individual-module-level-debug-statements/30482)

<div class="topic-metadata">

**Author:** [@Julian\_Montez](https://forum.ansible.com/u/Julian_Montez)\
**Replies:** 2\
**Last updated:** [June 3, 2019, 10:16pm UTC](https://forum.ansible.com/t/see-individual-module-level-debug-statements/30482 "2019-06-03T22:16:16Z")

</div>

Hi, I’m trying to view debug statements within individual modules. For example, ec2\_asg.py (https://github.com/ansible/ansible/blob/devel/lib/ansible/modules/cloud/amazon/ec2\_asg.py) has debug statements describing when…

---

## [Run one playbook after another has finished?](https://forum.ansible.com/t/run-one-playbook-after-another-has-finished/30475)

<div class="topic-metadata">

**Author:** [@Dick\_Visser](https://forum.ansible.com/u/Dick_Visser)\
**Replies:** 2\
**Last updated:** [June 3, 2019, 7:37pm UTC](https://forum.ansible.com/t/run-one-playbook-after-another-has-finished/30475 "2019-06-03T19:37:40Z")

</div>

Hi I have a play that fetches some custom roles into a directory. These roles are then used in a subsequent play. My overarching playbook looks like: - name: Fetch roles hosts: all connection: local tags: al…

---

## [Upgrading Ansible Tower to 3.5. failed on database schema migration stage](https://forum.ansible.com/t/upgrading-ansible-tower-to-3-5-failed-on-database-schema-migration-stage/30480)

<div class="topic-metadata">

**Author:** [@Jia\_Sian\_Lee](https://forum.ansible.com/u/Jia_Sian_Lee)\
**Replies:** 1\
**Last updated:** [June 3, 2019, 3:52pm UTC](https://forum.ansible.com/t/upgrading-ansible-tower-to-3-5-failed-on-database-schema-migration-stage/30480 "2019-06-03T15:52:38Z")

</div>

Trying to upgrade existing Ansible Tower from version 3.2.5 to 3.5.01 using the bundled installer but ran into the following problem during the upgrade (using setup.sh): start: ‘2019-06-03 22:57:36.592912’ stderr: |- …

---

## [Is content-type "JSON" supported by Slack Module in Ansible 2.7.10 ?](https://forum.ansible.com/t/is-content-type-json-supported-by-slack-module-in-ansible-2-7-10/30479)

<div class="topic-metadata">

**Author:** [@Jourdan\_West](https://forum.ansible.com/u/Jourdan_West)\
**Replies:** 2\
**Last updated:** [June 3, 2019, 3:52pm UTC](https://forum.ansible.com/t/is-content-type-json-supported-by-slack-module-in-ansible-2-7-10/30479 "2019-06-03T15:52:14Z")

</div>

Hello, I’m attempting to send a message to Slack channel using Ansible’s Slack module as follows: local\_action: module: slack channel: ... token: ... msg: \[{"type":"section","text":{"type":"mrkdwn","text":"App deployme…

---

## [playbook to start AWS instance, run some tasks on the AWS instance, then terminate the instance](https://forum.ansible.com/t/playbook-to-start-aws-instance-run-some-tasks-on-the-aws-instance-then-terminate-the-instance/30416)

<div class="topic-metadata">

**Author:** [@Tuyen\_Nguyen](https://forum.ansible.com/u/Tuyen_Nguyen)\
**Replies:** 7\
**Last updated:** [June 3, 2019, 3:49pm UTC](https://forum.ansible.com/t/playbook-to-start-aws-instance-run-some-tasks-on-the-aws-instance-then-terminate-the-instance/30416 "2019-06-03T15:49:14Z")

</div>

Hi Currently, to do what I want to do above, I have 3 different playbooks running with a shell script. First the script runs a playbook aws.yml to start up an instance with a static IP address using the ec2 module, and…

---

## [Changing Awx logo of home page](https://forum.ansible.com/t/changing-awx-logo-of-home-page/30477)

<div class="topic-metadata">

**Author:** [@Ragesh\_R\_pillai](https://forum.ansible.com/u/Ragesh_R_pillai)\
**Replies:** 1\
**Last updated:** [June 3, 2019, 1:00pm UTC](https://forum.ansible.com/t/changing-awx-logo-of-home-page/30477 "2019-06-03T13:00:37Z")

</div>

How to change awx logo in the home page of awx application.,Login page awx login option i can change it from settings but it not changing the home page logo. Pls help me on this?

---

## [Awx code base integration with oracle db](https://forum.ansible.com/t/awx-code-base-integration-with-oracle-db/30472)

<div class="topic-metadata">

**Author:** [@Ragesh\_R\_pillai](https://forum.ansible.com/u/Ragesh_R_pillai)\
**Replies:** 1\
**Last updated:** [June 3, 2019, 12:21pm UTC](https://forum.ansible.com/t/awx-code-base-integration-with-oracle-db/30472 "2019-06-03T12:21:21Z")

</div>

What all files we need to change for using oracle as backend for the existing awx code base. We have a requirement to use oracle as backend for the awx application We are using oracle 11g as our db. does it compatible …

---

## [Scheduling a ansible workflow using REST API](https://forum.ansible.com/t/scheduling-a-ansible-workflow-using-rest-api/30465)

<div class="topic-metadata">

**Author:** [@Nilesh\_Jaiswal](https://forum.ansible.com/u/Nilesh_Jaiswal)\
**Replies:** 4\
**Last updated:** [June 3, 2019, 12:10pm UTC](https://forum.ansible.com/t/scheduling-a-ansible-workflow-using-rest-api/30465 "2019-06-03T12:10:51Z")

</div>

Dear All, I wanted to schedule my AWX workflow from backend using REST Api, I see there are good documentation, I am looking for an sample script to schedule a workflow and make it run once. Any help would be appreciat…

---

## [ios\_facts not picking up Neighbors](https://forum.ansible.com/t/ios-facts-not-picking-up-neighbors/30474)

<div class="topic-metadata">

**Author:** [@Adam\_Lowery](https://forum.ansible.com/u/Adam_Lowery)\
**Replies:** 0\
**Last updated:** [June 3, 2019, 9:56am UTC](https://forum.ansible.com/t/ios-facts-not-picking-up-neighbors/30474 "2019-06-03T09:56:29Z")

</div>

I am running ios\_facts using “gather facts: all” and i am not recieving any neighbor facts. this works with nxos\_facts but not ios\_facts. can anyone help?

---

## [NSupdate issue](https://forum.ansible.com/t/nsupdate-issue/30473)

<div class="topic-metadata">

**Author:** [@MIke\_Drtikol](https://forum.ansible.com/u/MIke_Drtikol)\
**Replies:** 0\
**Last updated:** [June 3, 2019, 6:34am UTC](https://forum.ansible.com/t/nsupdate-issue/30473 "2019-06-03T06:34:58Z")

</div>

Hi all, I have a issue to make dns record in my win AD server. Im sugin kerberos because its more convinient and MS AD does not support tsig. With kinit standalone application nsupdate works ok, but with ansible module,…

---

## [Ansible uri module with AWX](https://forum.ansible.com/t/ansible-uri-module-with-awx/30469)

<div class="topic-metadata">

**Author:** [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Replies:** 2\
**Last updated:** [June 2, 2019, 6:23pm UTC](https://forum.ansible.com/t/ansible-uri-module-with-awx/30469 "2019-06-02T18:23:15Z")

</div>

Does anyone have any examples of using the uri module in Ansible to provision AWX with things that aren’t covered by tower\_\* modules? I have a playbook to provision jobs with tower modules. I’m trying to figure out how …

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

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