# Ansible Project

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

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

**Page:** 151

---

## [remote\_src on template](https://forum.ansible.com/t/remote-src-on-template/31911)

<div class="topic-metadata">

**Author:** [@BAUMERT\_Yoann](https://forum.ansible.com/u/BAUMERT_Yoann)\
**Replies:** 1\
**Last updated:** [January 9, 2020, 8:25pm UTC](https://forum.ansible.com/t/remote-src-on-template/31911 "2020-01-09T20:25:34Z")

</div>

Hello guys, I’m working with Ansible in my company, and I’ve a little issue with the template module: I need to have my package on the master and the target to perform a templating. Is it possible to create a kind of “…

---

## [Doc for plugin development](https://forum.ansible.com/t/doc-for-plugin-development/31933)

<div class="topic-metadata">

**Author:** [@ansiblekrazy](https://forum.ansible.com/u/ansiblekrazy)\
**Replies:** 1\
**Last updated:** [January 9, 2020, 5:33pm UTC](https://forum.ansible.com/t/doc-for-plugin-development/31933 "2020-01-09T17:33:42Z")

</div>

Hi All, Is there any document to write own callback plugin. For example: in the below, what parameters result contains. Similarly variable\_manager = play.get\_variable\_manager() def v2\_runner\_on\_ok(self, result): Thank…

---

## [Do we have any experienced Ansible Tower techs on here?  Using Variables with tags in tower](https://forum.ansible.com/t/do-we-have-any-experienced-ansible-tower-techs-on-here-using-variables-with-tags-in-tower/31938)

<div class="topic-metadata">

**Author:** [@Jeff\_Knights](https://forum.ansible.com/u/Jeff_Knights)\
**Replies:** 1\
**Last updated:** [January 9, 2020, 11:28am UTC](https://forum.ansible.com/t/do-we-have-any-experienced-ansible-tower-techs-on-here-using-variables-with-tags-in-tower/31938 "2020-01-09T11:28:15Z")

</div>

I have a workflow template that includes a playbook template with tags and the question is asked at the beginning of the workflow which jobs do you want to run? and it presents 10 items to choose from. it loads the varia…

---

## [Ansible Playbook to install software on desired location](https://forum.ansible.com/t/ansible-playbook-to-install-software-on-desired-location/31939)

<div class="topic-metadata">

**Author:** [@Rahul\_Rawat](https://forum.ansible.com/u/Rahul_Rawat)\
**Replies:** 1\
**Last updated:** [January 9, 2020, 10:14am UTC](https://forum.ansible.com/t/ansible-playbook-to-install-software-on-desired-location/31939 "2020-01-09T10:14:02Z")

</div>

Hi, What parameter should we use to install .exe on desired location. Means in root of C drive not in Program Files regards, Rahul

---

## [Upgrading Ansible Tower to 3.6](https://forum.ansible.com/t/upgrading-ansible-tower-to-3-6/31920)

<div class="topic-metadata">

**Author:** [@gineesh](https://forum.ansible.com/u/gineesh)\
**Replies:** 4\
**Last updated:** [January 9, 2020, 9:53am UTC](https://forum.ansible.com/t/upgrading-ansible-tower-to-3-6/31920 "2020-01-09T09:53:42Z")

</div>

\#ansibletower upgrade Anyone got a proper instruction set to upgrade Ansible Tower 3.4 to 3.6 ? (Ansible 2.5, Database - postgres 9.6) thanks

---

## [Update releases.ansible.com Repository](https://forum.ansible.com/t/update-releases-ansible-com-repository/31940)

<div class="topic-metadata">

**Author:** [@lee](https://forum.ansible.com/u/lee)\
**Replies:** 0\
**Last updated:** [January 9, 2020, 8:12am UTC](https://forum.ansible.com/t/update-releases-ansible-com-repository/31940 "2020-01-09T08:12:28Z")

</div>

Hi, Please update the repository https://releases.ansible.com/ansible/rpm/release/ with recent epel and fedora rpms/srpms. thanks

---

## [Why doesn't this task to check when a server has booted work?](https://forum.ansible.com/t/why-doesnt-this-task-to-check-when-a-server-has-booted-work/31928)

<div class="topic-metadata">

**Author:** [@RobertF](https://forum.ansible.com/u/RobertF)\
**Replies:** 2\
**Last updated:** [January 9, 2020, 12:10am UTC](https://forum.ansible.com/t/why-doesnt-this-task-to-check-when-a-server-has-booted-work/31928 "2020-01-09T00:10:17Z")

</div>

I have an Ansible playbook for creating Linode servers. The problem I’m having is that my playbook isn’t able to determine when the new server is up. I’m using Ansible 2.8.4. My playbook is as follows:

---

## [How do I use Ansible loop for generalizing things in a role](https://forum.ansible.com/t/how-do-i-use-ansible-loop-for-generalizing-things-in-a-role/31934)

<div class="topic-metadata">

**Author:** [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Replies:** 1\
**Last updated:** [January 8, 2020, 9:34pm UTC](https://forum.ansible.com/t/how-do-i-use-ansible-loop-for-generalizing-things-in-a-role/31934 "2020-01-08T21:34:43Z")

</div>

Hello, I’m creating a Ansible role to place a set of scripts to managed hosts so that they can start by cron in a defined schedule. Since it is a set of scripts, I want to generalize the play execution sequence to use a…

---

## [unicode errors and inconsistency.](https://forum.ansible.com/t/unicode-errors-and-inconsistency/31888)

<div class="topic-metadata">

**Author:** [@queglay](https://forum.ansible.com/u/queglay)\
**Replies:** 2\
**Last updated:** [January 8, 2020, 11:07am UTC](https://forum.ansible.com/t/unicode-errors-and-inconsistency/31888 "2020-01-08T11:07:43Z")

</div>

I get errors when passing some passwords into a shell command and I’d love some pointers on the best way out. The strange thing is, the ansible script works fine on centos 7 in AWS, but not on RHEL 7 on my local machine,…

---

## [Changing variable value based on another variable value](https://forum.ansible.com/t/changing-variable-value-based-on-another-variable-value/31923)

<div class="topic-metadata">

**Author:** [@Yehuda\_Pinhas](https://forum.ansible.com/u/Yehuda_Pinhas)\
**Replies:** 2\
**Last updated:** [January 8, 2020, 7:48am UTC](https://forum.ansible.com/t/changing-variable-value-based-on-another-variable-value/31923 "2020-01-08T07:48:09Z")

</div>

Hi guys! This is my code:

---

## [I can't download ansible](https://forum.ansible.com/t/i-cant-download-ansible/31926)

<div class="topic-metadata">

**Author:** [@sentyrion](https://forum.ansible.com/u/sentyrion)\
**Replies:** 2\
**Last updated:** [January 7, 2020, 9:25pm UTC](https://forum.ansible.com/t/i-cant-download-ansible/31926 "2020-01-07T21:25:42Z")

</div>

Hello ansible community, I call for your help because I would like to download ansible on linux but I am stuck in the description sheet because I have no business(Company), I work alone. Can someone help me

---

## [ansible\_hosts issue with 2.9.2](https://forum.ansible.com/t/ansible-hosts-issue-with-2-9-2/31925)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 1\
**Last updated:** [January 7, 2020, 7:58pm UTC](https://forum.ansible.com/t/ansible-hosts-issue-with-2-9-2/31925 "2020-01-07T19:58:33Z")

</div>

Hello, I recently have installed ansible 2.9.2 from pip3 on CentOS 8. Prior to that I was on whatever came from EPEL. Right now I am having an issue no matter what playbook I run. This is my output on just about any pl…

---

## [Calling the same role from multiple playbooks](https://forum.ansible.com/t/calling-the-same-role-from-multiple-playbooks/31892)

<div class="topic-metadata">

**Author:** [@audiolomb](https://forum.ansible.com/u/audiolomb)\
**Replies:** 10\
**Last updated:** [January 7, 2020, 6:23pm UTC](https://forum.ansible.com/t/calling-the-same-role-from-multiple-playbooks/31892 "2020-01-07T18:23:43Z")

</div>

Hello All. I am trying to solve the following issue. I have a SSSD role which configures my target machine via a .j2 template which contains a bunch of stuff, including the ldap\_access\_filter parameter. I also hav…

---

## [Running shell script using Ansible](https://forum.ansible.com/t/running-shell-script-using-ansible/31918)

<div class="topic-metadata">

**Author:** [@Amit\_Kulkarni](https://forum.ansible.com/u/Amit_Kulkarni)\
**Replies:** 5\
**Last updated:** [January 7, 2020, 5:25pm UTC](https://forum.ansible.com/t/running-shell-script-using-ansible/31918 "2020-01-07T17:25:29Z")

</div>

Hello All, I need to execute shell script using ansible but need to pass arguments to this script without using -e arguments. Is there anyway if we can read the file kept inside the package and read those variables in …

---

## [Ansible and specific switch info.](https://forum.ansible.com/t/ansible-and-specific-switch-info/31922)

<div class="topic-metadata">

**Author:** [@chr00ted](https://forum.ansible.com/u/chr00ted)\
**Replies:** 4\
**Last updated:** [January 7, 2020, 3:59pm UTC](https://forum.ansible.com/t/ansible-and-specific-switch-info/31922 "2020-01-07T15:59:03Z")

</div>

I have the ip’s of all of my switches along with logon info. I’d like to somehow have ansible generate a list of all managed switches containing hostname, model number, and serial number. Is that possible?

---

## [git module question](https://forum.ansible.com/t/git-module-question/31897)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 1\
**Last updated:** [January 7, 2020, 3:31pm UTC](https://forum.ansible.com/t/git-module-question/31897 "2020-01-07T15:31:59Z")

</div>

What is the equivalent of \[1\] git submodule update --init using the git \[2\] module? Would "update: yes" (the default) as in - git: repo: 'https://foosball.example.org/path/to/repo.git’ dest: /srv/checkout …

---

## [Getting Terminated Message if playbook is executed in Docker](https://forum.ansible.com/t/getting-terminated-message-if-playbook-is-executed-in-docker/31921)

<div class="topic-metadata">

**Author:** [@Abhishek\_Inani](https://forum.ansible.com/u/Abhishek_Inani)\
**Replies:** 1\
**Last updated:** [January 7, 2020, 8:15am UTC](https://forum.ansible.com/t/getting-terminated-message-if-playbook-is-executed-in-docker/31921 "2020-01-07T08:15:47Z")

</div>

Hi, I am running a playbook with few tasks in Docker After some tasks the playbook is stopped with message as \[Terminated\] While in VMs or bare metal it’s works properly Any idea ? Thanks Abhishek Inani

---

## [Ansible error when running for multiple hosts in inventory file](https://forum.ansible.com/t/ansible-error-when-running-for-multiple-hosts-in-inventory-file/31908)

<div class="topic-metadata">

**Author:** [@Yehuda\_Pinhas](https://forum.ansible.com/u/Yehuda_Pinhas)\
**Replies:** 2\
**Last updated:** [January 7, 2020, 7:55am UTC](https://forum.ansible.com/t/ansible-error-when-running-for-multiple-hosts-in-inventory-file/31908 "2020-01-07T07:55:30Z")

</div>

Hi guys! Inventory POC\_ENV.yml file: all: children: POC\_ENV: hosts: TEST-NXOS2 TEST-NXOS3 vars: ansible\_ssh\_private\_key\_file: /home/ansible/.ssh/id\_rsa ansible\_ssh\_common\_args: -o StrictHostKeyChecking=no -o Us…

---

## [ansible collections](https://forum.ansible.com/t/ansible-collections/31917)

<div class="topic-metadata">

**Author:** [@Andrew\_Meyer1](https://forum.ansible.com/u/Andrew_Meyer1)\
**Replies:** 1\
**Last updated:** [January 7, 2020, 7:50am UTC](https://forum.ansible.com/t/ansible-collections/31917 "2020-01-07T07:50:28Z")

</div>

Do I need to treat collections like ansible modules or plugins? Is there somewhere in the ansible.cfg I need to tell ansible where to look?

---

## [How to handle windows update errors](https://forum.ansible.com/t/how-to-handle-windows-update-errors/30621)

<div class="topic-metadata">

**Author:** [@Angel\_Rengifo\_Cancin](https://forum.ansible.com/u/Angel_Rengifo_Cancin)\
**Replies:** 1\
**Last updated:** [January 6, 2020, 9:34pm UTC](https://forum.ansible.com/t/how-to-handle-windows-update-errors/30621 "2020-01-06T21:34:25Z")

</div>

Hello guys: I’m trying to patch my Windows servers by using an until loop, so Ansible can keep patching and rebooting while needed. This is my code: name: Apply patches win\_updates: category\_names: SecurityUpdates C…

---

## [git module vs command module](https://forum.ansible.com/t/git-module-vs-command-module/31899)

<div class="topic-metadata">

**Author:** [@Mauricio\_Tavares](https://forum.ansible.com/u/Mauricio_Tavares)\
**Replies:** 1\
**Last updated:** [January 6, 2020, 8:24pm UTC](https://forum.ansible.com/t/git-module-vs-command-module/31899 "2020-01-06T20:24:10Z")

</div>

So I am using the git module to get two packages I am building locally. First one, a library, I download and then run the make module and built it (without installing. I will include the library as is). That works fin…

---

## [Random Unreachable Errors](https://forum.ansible.com/t/random-unreachable-errors/31915)

<div class="topic-metadata">

**Author:** [@DC1](https://forum.ansible.com/u/DC1)\
**Replies:** 0\
**Last updated:** [January 6, 2020, 6:25pm UTC](https://forum.ansible.com/t/random-unreachable-errors/31915 "2020-01-06T18:25:42Z")

</div>

Hello, We are experiencing unreachable errors during test restores. This issue randomly occurs and we can not recreate it when we want to. One day it will work with no issues and then a couple of days later it will erro…

---

## [The TRANSFORM\_INVALID\_GROUP\_CHARS settings Warning after upgrade to 2.8.x](https://forum.ansible.com/t/the-transform-invalid-group-chars-settings-warning-after-upgrade-to-2-8-x/31910)

<div class="topic-metadata">

**Author:** [@Arbab\_Nazar1](https://forum.ansible.com/u/Arbab_Nazar1)\
**Replies:** 2\
**Last updated:** [January 6, 2020, 3:29pm UTC](https://forum.ansible.com/t/the-transform-invalid-group-chars-settings-warning-after-upgrade-to-2-8-x/31910 "2020-01-06T15:29:40Z")

</div>

I am using ec2 dynamic inventory to get the ip address of my ec2 instance, it was working fine until 2.7.x but once I have updated to 2.8.x, start getting this Warning: \[DEPRECATION WARNING\]: The TRANSFORM\_INVALID\_GROUP…

---

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

<div class="topic-metadata">

**Author:** [@Sunitha\_Iyer](https://forum.ansible.com/u/Sunitha_Iyer)\
**Replies:** 10\
**Last updated:** [January 6, 2020, 2:54pm UTC](https://forum.ansible.com/t/ansible-docker/31476 "2020-01-06T14:54:39Z")

</div>

I am trying to run a play book from host(ansible VM) to pull an image from docker host, I tried pip install docker still it not working, can you please help. failed to import the required python library (docker sdk for …

---

## [podman\_image AWS ECR](https://forum.ansible.com/t/podman-image-aws-ecr/31909)

<div class="topic-metadata">

**Author:** [@Sudheer\_S1](https://forum.ansible.com/u/Sudheer_S1)\
**Replies:** 0\
**Last updated:** [January 6, 2020, 2:03pm UTC](https://forum.ansible.com/t/podman-image-aws-ecr/31909 "2020-01-06T14:03:07Z")

</div>

Hello, I see the documentation for podman\_image: https://docs.ansible.com/ansible/latest/modules/podman\_image\_module.html I do not understand how to pull an image from a private AWS ECR repository. Can someone explain…

---

## [Dynamically reusable ansible roles](https://forum.ansible.com/t/dynamically-reusable-ansible-roles/31907)

<div class="topic-metadata">

**Author:** [@Irfan\_Pasha](https://forum.ansible.com/u/Irfan_Pasha)\
**Replies:** 0\
**Last updated:** [January 6, 2020, 12:38pm UTC](https://forum.ansible.com/t/dynamically-reusable-ansible-roles/31907 "2020-01-06T12:38:30Z")

</div>

Hi, I was looking at ways to re-use the ansible roles that are already defined in github by someone else. I see the options are running the local command and execute ansible-galaxy with requirements.yml and recently I h…

---

## [API Call output via Ansible URI Module Not Getting the Complete Output](https://forum.ansible.com/t/api-call-output-via-ansible-uri-module-not-getting-the-complete-output/31904)

<div class="topic-metadata">

**Author:** [@Pradeep\_Antil](https://forum.ansible.com/u/Pradeep_Antil)\
**Replies:** 4\
**Last updated:** [January 6, 2020, 11:24am UTC](https://forum.ansible.com/t/api-call-output-via-ansible-uri-module-not-getting-the-complete-output/31904 "2020-01-06T11:24:23Z")

</div>

Hi Team, I have a small playbook which connects to InfoBlox Server and collects useful data via API and then save API commands out to variable and later redirecting variable output to a log file. Issue is that Variable…

---

## [Ansible fetch only fetch specific file from directory not entire directory contents](https://forum.ansible.com/t/ansible-fetch-only-fetch-specific-file-from-directory-not-entire-directory-contents/31903)

<div class="topic-metadata">

**Author:** [@Vivek\_Kothawale](https://forum.ansible.com/u/Vivek_Kothawale)\
**Replies:** 2\
**Last updated:** [January 6, 2020, 10:20am UTC](https://forum.ansible.com/t/ansible-fetch-only-fetch-specific-file-from-directory-not-entire-directory-contents/31903 "2020-01-06T10:20:31Z")

</div>

Hi Team While working with ansible fetch feature which is one of the best feature I found in ansible, I found that ansible fetch will only pull in the single file form remote machine it can not fetch (pull) entire direc…

---

## [Install Microsoft SQL standard using ansible](https://forum.ansible.com/t/install-microsoft-sql-standard-using-ansible/31905)

<div class="topic-metadata">

**Author:** [@Soma\_Ahilan](https://forum.ansible.com/u/Soma_Ahilan)\
**Replies:** 0\
**Last updated:** [January 6, 2020, 8:54am UTC](https://forum.ansible.com/t/install-microsoft-sql-standard-using-ansible/31905 "2020-01-06T08:54:13Z")

</div>

Hi Team, I need help with sorting out why my ansible script is not throwing any errors when executed but on the windows server it has failed to completed the installation of the application. The error log with install s…

---

## [Marking particular hosts when using linode dynamic inventory](https://forum.ansible.com/t/marking-particular-hosts-when-using-linode-dynamic-inventory/31902)

<div class="topic-metadata">

**Author:** [@oloryn](https://forum.ansible.com/u/oloryn)\
**Replies:** 2\
**Last updated:** [January 6, 2020, 12:26am UTC](https://forum.ansible.com/t/marking-particular-hosts-when-using-linode-dynamic-inventory/31902 "2020-01-06T00:26:02Z")

</div>

I'm just figuring out using Ansible. One of the things I'm trying to figure out is marking particular hosts using the linode dynamic inventory. E.g. I monitor my hosts using Nagios, so most hosts should have the Nag…

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

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