# Ansible Project

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

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

**Page:** 159

---

## [ansible as a provisioner with packer and docker](https://forum.ansible.com/t/ansible-as-a-provisioner-with-packer-and-docker/31588)

<div class="topic-metadata">

**Author:** [@darth\_republic](https://forum.ansible.com/u/darth_republic)\
**Replies:** 2\
**Last updated:** [November 4, 2019, 3:20pm UTC](https://forum.ansible.com/t/ansible-as-a-provisioner-with-packer-and-docker/31588 "2019-11-04T15:20:33Z")

</div>

Hi is anyone working with ansible provisioner and playbook ??

---

## [Docker+ansible](https://forum.ansible.com/t/docker-ansible/31586)

<div class="topic-metadata">

**Author:** [@Sunitha\_Iyer](https://forum.ansible.com/u/Sunitha_Iyer)\
**Replies:** 7\
**Last updated:** [November 3, 2019, 7:24am UTC](https://forum.ansible.com/t/docker-ansible/31586 "2019-11-03T07:24:35Z")

</div>

Hi Is it possible to run more than one docker compose files from ansible?

---

## [urls.py skips checks in SSLValidationHandler when server in no\_proxy list](https://forum.ansible.com/t/urls-py-skips-checks-in-sslvalidationhandler-when-server-in-no-proxy-list/31580)

<div class="topic-metadata">

**Author:** [@Alex\_Iero](https://forum.ansible.com/u/Alex_Iero)\
**Replies:** 2\
**Last updated:** [November 1, 2019, 10:46am UTC](https://forum.ansible.com/t/urls-py-skips-checks-in-sslvalidationhandler-when-server-in-no-proxy-list/31580 "2019-11-01T10:46:18Z")

</div>

I recently encountered ansible#54589 with Ansible 2.8.1 where the uri module fails when a client cert is required by the server. While looking into urls.py from the 2.8 release, I’ve noticed the following code in SSLVali…

---

## [ovirt module - Ouput VM infos](https://forum.ansible.com/t/ovirt-module-ouput-vm-infos/31575)

<div class="topic-metadata">

**Author:** [@Oxs](https://forum.ansible.com/u/Oxs)\
**Replies:** 4\
**Last updated:** [November 1, 2019, 9:16am UTC](https://forum.ansible.com/t/ovirt-module-ouput-vm-infos/31575 "2019-11-01T09:16:28Z")

</div>

Hey everyone, I am working on a role that we can find information from VMs on RHV, like Datacenter name, clusters, hypervior… I would like to know if it’s possible to have this following information with ovirt module? …

---

## [Own Python Codes to add Ansible](https://forum.ansible.com/t/own-python-codes-to-add-ansible/31584)

<div class="topic-metadata">

**Author:** [@Mahmut](https://forum.ansible.com/u/Mahmut)\
**Replies:** 2\
**Last updated:** [November 1, 2019, 6:38am UTC](https://forum.ansible.com/t/own-python-codes-to-add-ansible/31584 "2019-11-01T06:38:03Z")

</div>

Hello, Is it possible that if I create my own python code/ module and integrate to Ansible? If yes, could you please specify to step for this?

---

## [Downloading corrupt file from Artifactory](https://forum.ansible.com/t/downloading-corrupt-file-from-artifactory/31572)

<div class="topic-metadata">

**Author:** [@Vikrant](https://forum.ansible.com/u/Vikrant)\
**Replies:** 3\
**Last updated:** [November 1, 2019, 4:34am UTC](https://forum.ansible.com/t/downloading-corrupt-file-from-artifactory/31572 "2019-11-01T04:34:19Z")

</div>

Hi Team, I’m writing the playbook for the Notepad++ installation of the 50k servers but while running the playbook I’ve found the downloaded file from Jfrog artifactory is corrupt. can you please advise where I’m doing …

---

## [New Ansible release 2.9.0](https://forum.ansible.com/t/new-ansible-release-2-9-0/31583)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [October 31, 2019, 7:20pm UTC](https://forum.ansible.com/t/new-ansible-release-2-9-0/31583 "2019-10-31T19:20:15Z")

</div>

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

---

## [Netconf error from Ansible tower](https://forum.ansible.com/t/netconf-error-from-ansible-tower/31582)

<div class="topic-metadata">

**Author:** [@eddie\_eakemu1](https://forum.ansible.com/u/eddie_eakemu1)\
**Replies:** 1\
**Last updated:** [October 31, 2019, 5:44pm UTC](https://forum.ansible.com/t/netconf-error-from-ansible-tower/31582 "2019-10-31T17:44:58Z")

</div>

I have installed Ansible Tower on RHEL 8 and trying to do a check for a particular piece of configuration on a Juniper vsrx device but get this error message … “msg”: “Could not open socket to perimeter-firewall:830”, …

---

## [git module often marked as changed even when nothing changed](https://forum.ansible.com/t/git-module-often-marked-as-changed-even-when-nothing-changed/31555)

<div class="topic-metadata">

**Author:** [@MartinBBG](https://forum.ansible.com/u/MartinBBG)\
**Replies:** 3\
**Last updated:** [October 31, 2019, 4:01pm UTC](https://forum.ansible.com/t/git-module-often-marked-as-changed-even-when-nothing-changed/31555 "2019-10-31T16:01:52Z")

</div>

Using ansible 2.6 In our playbook, we are using the git module to checkout a specific repo. Most of the time, the playbook reports this as changed even though the repo has not changed. Sometimes it does properly report …

---

## [uri module and 2-way TLS](https://forum.ansible.com/t/uri-module-and-2-way-tls/29266)

<div class="topic-metadata">

**Author:** [@Mans\_Rolandi](https://forum.ansible.com/u/Mans_Rolandi)\
**Replies:** 1\
**Last updated:** [October 31, 2019, 2:44pm UTC](https://forum.ansible.com/t/uri-module-and-2-way-tls/29266 "2019-10-31T14:44:04Z")

</div>

Hi there, there seems to be a problem getting the uri module to play nicely with two way TLS. I have managed to make client validation OR server validation work, but not both at the same time, which seems strange. The s…

---

## [Issue while running python scripts using shell module](https://forum.ansible.com/t/issue-while-running-python-scripts-using-shell-module/31576)

<div class="topic-metadata">

**Author:** [@soumya\_dutta](https://forum.ansible.com/u/soumya_dutta)\
**Replies:** 1\
**Last updated:** [October 31, 2019, 1:33pm UTC](https://forum.ansible.com/t/issue-while-running-python-scripts-using-shell-module/31576 "2019-10-31T13:33:31Z")

</div>

I am trying to run python scripts using shell module and pass variables in a dictionary format as an input but it shows syntax error every time I run it through awx.

---

## [Playbook Failing while installing BitviseSSH](https://forum.ansible.com/t/playbook-failing-while-installing-bitvisessh/31579)

<div class="topic-metadata">

**Author:** [@Vikrant](https://forum.ansible.com/u/Vikrant)\
**Replies:** 0\
**Last updated:** [October 31, 2019, 12:34pm UTC](https://forum.ansible.com/t/playbook-failing-while-installing-bitvisessh/31579 "2019-10-31T12:34:19Z")

</div>

if anyone can suggest something on it, which runs the task BitviseSSH installation using win\_package module I’m getting below error: Playbook task:

---

## [json\_query problem](https://forum.ansible.com/t/json-query-problem/31578)

<div class="topic-metadata">

**Author:** [@Spiro\_Mitsialis](https://forum.ansible.com/u/Spiro_Mitsialis)\
**Replies:** 0\
**Last updated:** [October 31, 2019, 12:05pm UTC](https://forum.ansible.com/t/json-query-problem/31578 "2019-10-31T12:05:59Z")

</div>

I am reading a cmdb for location information and then I’m trying to match on the room number in order to get the locations id. The matching data is coming from a csv file. The play works for rooms that have letters in th…

---

## [Remove last characters(.zip) from listed output llines in windows ansible](https://forum.ansible.com/t/remove-last-characters-zip-from-listed-output-llines-in-windows-ansible/31577)

<div class="topic-metadata">

**Author:** [@Uppara\_venkat](https://forum.ansible.com/u/Uppara_venkat)\
**Replies:** 1\
**Last updated:** [October 31, 2019, 11:02am UTC](https://forum.ansible.com/t/remove-last-characters-zip-from-listed-output-llines-in-windows-ansible/31577 "2019-10-31T11:02:28Z")

</div>

Hi all, I wanted to remove the .zip from output line in the ansible from below; “result.stdout\_lines”: \[ “Database\_0.0.100.zip”, “EMC\_ECS-package\_0.0.100.zip”, “hotfix-DDMInfra.zip”, “hotfix-IIS.zip”, “hotfix-QCIM…

---

## [ANSIBLE with hashicorp vault](https://forum.ansible.com/t/ansible-with-hashicorp-vault/31558)

<div class="topic-metadata">

**Author:** [@darth\_republic](https://forum.ansible.com/u/darth_republic)\
**Replies:** 2\
**Last updated:** [October 31, 2019, 2:05am UTC](https://forum.ansible.com/t/ansible-with-hashicorp-vault/31558 "2019-10-31T02:05:30Z")

</div>

Hi guys, Have anyone integrated ansible and vault to fetch dynamic secrets for aws infra provisioning??

---

## [Find out where variable was defined](https://forum.ansible.com/t/find-out-where-variable-was-defined/31554)

<div class="topic-metadata">

**Author:** [@Alexander1](https://forum.ansible.com/u/Alexander1)\
**Replies:** 2\
**Last updated:** [October 30, 2019, 8:03pm UTC](https://forum.ansible.com/t/find-out-where-variable-was-defined/31554 "2019-10-30T20:03:37Z")

</div>

Hi, I’am using Ansible 2.8.6. Is there a posibility to find out, where a variable was defined? I want to check inside a role if the variable was defined under the defaults folder or higher in the priority. https://do…

---

## [fortios need host, username, password in every "- name"](https://forum.ansible.com/t/fortios-need-host-username-password-in-every-name/28365)

<div class="topic-metadata">

**Author:** [@nbctcp](https://forum.ansible.com/u/nbctcp)\
**Replies:** 10\
**Last updated:** [October 30, 2019, 6:22pm UTC](https://forum.ansible.com/t/fortios-need-host-username-password-in-every-name/28365 "2019-10-30T18:22:34Z")

</div>

Hi, I have playbook for fortios and working. But is that possible I don’t want to put password in playbook, but put that in group\_vars/forti.yml In cisco I can apply playbook to group name in hosts i.e. cat playboo…

---

## [Using Multiple Vault IDs](https://forum.ansible.com/t/using-multiple-vault-ids/31573)

<div class="topic-metadata">

**Author:** [@Subhi\_Andrews](https://forum.ansible.com/u/Subhi_Andrews)\
**Replies:** 0\
**Last updated:** [October 30, 2019, 5:36pm UTC](https://forum.ansible.com/t/using-multiple-vault-ids/31573 "2019-10-30T17:36:15Z")

</div>

Hi All, We have been using default vault for storing the password of the default user used for doing WinRM to remote nodes. We want to add another vault that we can provide to a different group to manage their set of ma…

---

## [WinRM with Ansible 2.8 and Python 3.7](https://forum.ansible.com/t/winrm-with-ansible-2-8-and-python-3-7/31565)

<div class="topic-metadata">

**Author:** [@Subhi\_Andrews](https://forum.ansible.com/u/Subhi_Andrews)\
**Replies:** 2\
**Last updated:** [October 30, 2019, 5:24pm UTC](https://forum.ansible.com/t/winrm-with-ansible-2-8-and-python-3-7/31565 "2019-10-30T17:24:05Z")

</div>

We have been using Python 2.7 and Ansible 2.7 so far successfully. Just trying to test Ansible 2.8.6 with Python 3.7.5. I am getting the following error: pfny5devops03 | UNREACHABLE! =\> { “changed”: false, “msg”: “ke…

---

## [Debug print list nicely](https://forum.ansible.com/t/debug-print-list-nicely/31545)

<div class="topic-metadata">

**Author:** [@Christian\_Iuga](https://forum.ansible.com/u/Christian_Iuga)\
**Replies:** 5\
**Last updated:** [October 30, 2019, 1:49pm UTC](https://forum.ansible.com/t/debug-print-list-nicely/31545 "2019-10-30T13:49:23Z")

</div>

maybe a stupid question, but how to print nicely a list Ideally, i would like to print : all first second But i’m not able to do it, please see 4 examples made : hosts: localhost gather\_facts: no vars: found: …

---

## [playbook hangs during shell commanf execution](https://forum.ansible.com/t/playbook-hangs-during-shell-commanf-execution/31569)

<div class="topic-metadata">

**Author:** [@Anup\_Kumar](https://forum.ansible.com/u/Anup_Kumar)\
**Replies:** 1\
**Last updated:** [October 30, 2019, 11:55am UTC](https://forum.ansible.com/t/playbook-hangs-during-shell-commanf-execution/31569 "2019-10-30T11:55:16Z")

</div>

Hi Team, Need help.. while executing the PB using awx it hangs during shell execution. PB is for San zone creation. Thanks

---

## [How to replace a line with special characters to another line with special characters using variables?](https://forum.ansible.com/t/how-to-replace-a-line-with-special-characters-to-another-line-with-special-characters-using-variables/31521)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 5\
**Last updated:** [October 30, 2019, 4:52am UTC](https://forum.ansible.com/t/how-to-replace-a-line-with-special-characters-to-another-line-with-special-characters-using-variables/31521 "2019-10-30T04:52:57Z")

</div>

Hello All, I am trying to update a configuration file where there are existing lines (rules) with special characters (:\*/. etc.). In normal scenario, i can always manually escape all the characters but in this particula…

---

## [Help: Can't Update ifcfg-eth0](https://forum.ansible.com/t/help-cant-update-ifcfg-eth0/31562)

<div class="topic-metadata">

**Author:** [@Love](https://forum.ansible.com/u/Love)\
**Replies:** 4\
**Last updated:** [October 29, 2019, 10:44pm UTC](https://forum.ansible.com/t/help-cant-update-ifcfg-eth0/31562 "2019-10-29T22:44:42Z")

</div>

Dear Experts, Could you please let me know what’s missing in my code? Requirement: Need to change Domain search order in my ifcfg-eth0 file across multiple servers. Desired state is just to update the search order one…

---

## [Get number based off inventory criteria](https://forum.ansible.com/t/get-number-based-off-inventory-criteria/31557)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 1\
**Last updated:** [October 29, 2019, 10:11pm UTC](https://forum.ansible.com/t/get-number-based-off-inventory-criteria/31557 "2019-10-29T22:11:49Z")

</div>

Hi all Is there any way to output a growing count of, let’s say, systems that match a specific RH version or RH type (Workstation or Server). Like an end result showing 35 Servers, or 42 Workstations, etc. Thanks! Chr…

---

## [Unable to manage AVOCENT CONSOLE servers over Ansible](https://forum.ansible.com/t/unable-to-manage-avocent-console-servers-over-ansible/31481)

<div class="topic-metadata">

**Author:** [@Shashidhar](https://forum.ansible.com/u/Shashidhar)\
**Replies:** 3\
**Last updated:** [October 29, 2019, 10:09pm UTC](https://forum.ansible.com/t/unable-to-manage-avocent-console-servers-over-ansible/31481 "2019-10-29T22:09:50Z")

</div>

Hello , root@ubuntu-16-04-4-server-amd64:/# ansible --version ansible 2.8.5 config file = /etc/ansible/ansible.cfg configured module search path = \[u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modu…

---

## [Ansible is totally broken after a OS upgrade](https://forum.ansible.com/t/ansible-is-totally-broken-after-a-os-upgrade/31556)

<div class="topic-metadata">

**Author:** [@mark.tovey](https://forum.ansible.com/u/mark.tovey)\
**Replies:** 7\
**Last updated:** [October 29, 2019, 9:35pm UTC](https://forum.ansible.com/t/ansible-is-totally-broken-after-a-os-upgrade/31556 "2019-10-29T21:35:31Z")

</div>

I just performed a OS upgrade on our Ansible server from RedHat 7.6 to RedHat 7.7, and now Ansible has become unusable. When I try to run any task that uses any Ansible fact, I get the following error: \[WARNING\]: Failu…

---

## [Help: cant get Ansible blockinfile to work](https://forum.ansible.com/t/help-cant-get-ansible-blockinfile-to-work/31561)

<div class="topic-metadata">

**Author:** [@Michael3](https://forum.ansible.com/u/Michael3)\
**Replies:** 9\
**Last updated:** [October 29, 2019, 9:29pm UTC](https://forum.ansible.com/t/help-cant-get-ansible-blockinfile-to-work/31561 "2019-10-29T21:29:12Z")

</div>

Hello, I am having a challenge removing a block of lines in a configuration file after an uninstall using Ansible module blockinfile. I have tried multiple variations(of indentation) after block: | but they’re all a mis…

---

## [How to play  a task for only one host spesificly in inventory list](https://forum.ansible.com/t/how-to-play-a-task-for-only-one-host-spesificly-in-inventory-list/31550)

<div class="topic-metadata">

**Author:** [@Mahmut](https://forum.ansible.com/u/Mahmut)\
**Replies:** 5\
**Last updated:** [October 29, 2019, 9:11pm UTC](https://forum.ansible.com/t/how-to-play-a-task-for-only-one-host-spesificly-in-inventory-list/31550 "2019-10-29T21:11:47Z")

</div>

Hello, I have a playbook and inventory list. I will run a task for only one host from inventory list. Is there any way to do this? hosts: eos\_switches connection: local tasks: name: Gather Show Version Facts eos…

---

## [execute command with other user ,different to remote\_user](https://forum.ansible.com/t/execute-command-with-other-user-different-to-remote-user/31564)

<div class="topic-metadata">

**Author:** [@Oussama\_Maizi](https://forum.ansible.com/u/Oussama_Maizi)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 8:48pm UTC](https://forum.ansible.com/t/execute-command-with-other-user-different-to-remote-user/31564 "2019-10-29T20:48:17Z")

</div>

Hello family, I have a small problem on ansible, I hope you can help me. I develop a playbook for automating the installation of an agent. at the beginning of the playbook I start by creating a user ctmagent + directory …

---

## [Ansible and Adtran switches](https://forum.ansible.com/t/ansible-and-adtran-switches/31563)

<div class="topic-metadata">

**Author:** [@Paul\_Patterson\_Jr](https://forum.ansible.com/u/Paul_Patterson_Jr)\
**Replies:** 0\
**Last updated:** [October 29, 2019, 7:24pm UTC](https://forum.ansible.com/t/ansible-and-adtran-switches/31563 "2019-10-29T19:24:21Z")

</div>

I am looking to connect to Adtran AOS switches using my Ansible controller through ansible ad-hoc. It looks like the initial SSH connection is working, but it immediately logs off after connection is established. However…

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

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