# Ansible Project

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

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

**Page:** 105

---

## [Ansible 2.5.1 APC Battery Backup Playbook to Reboot Outlet Group](https://forum.ansible.com/t/ansible-2-5-1-apc-battery-backup-playbook-to-reboot-outlet-group/33832)

<div class="topic-metadata">

**Author:** [@Calvin\_Kalabat](https://forum.ansible.com/u/Calvin_Kalabat)\
**Replies:** 0\
**Last updated:** [September 16, 2020, 9:09pm UTC](https://forum.ansible.com/t/ansible-2-5-1-apc-battery-backup-playbook-to-reboot-outlet-group/33832 "2020-09-16T21:09:36Z")

</div>

I’ve been trying my hand with a playbook that would connect to a APC UPS and reboot a specific outlet group. The command is very simple in order to get the outlet group to reboot but I’m having issues with submitting the…

---

## [Generate group\_var file from Ansible playbook](https://forum.ansible.com/t/generate-group-var-file-from-ansible-playbook/33831)

<div class="topic-metadata">

**Author:** [@Xinhuan\_Zheng](https://forum.ansible.com/u/Xinhuan_Zheng)\
**Replies:** 1\
**Last updated:** [September 16, 2020, 8:32pm UTC](https://forum.ansible.com/t/generate-group-var-file-from-ansible-playbook/33831 "2020-09-16T20:32:32Z")

</div>

Hello, I need to use an Ansible playbook to dynamically generate Ansible group\_var type file. Here is my inventory file: \[group1\] server1.example.com server2.example.com \[group2\] server3.example.com server4.exampl…

---

## [Processing data from Node](https://forum.ansible.com/t/processing-data-from-node/33830)

<div class="topic-metadata">

**Author:** [@Scott\_Fadden](https://forum.ansible.com/u/Scott_Fadden)\
**Replies:** 1\
**Last updated:** [September 16, 2020, 6:49pm UTC](https://forum.ansible.com/t/processing-data-from-node/33830 "2020-09-16T18:49:35Z")

</div>

What is the best approach using ansible to Query data from a VM Operate on the results I need to look up the sd device serial numbers on the VM then process that locally (on node running ansible) then run another play…

---

## [Copy module error in windows](https://forum.ansible.com/t/copy-module-error-in-windows/33826)

<div class="topic-metadata">

**Author:** [@rubod\_singh](https://forum.ansible.com/u/rubod_singh)\
**Replies:** 6\
**Last updated:** [September 16, 2020, 4:50pm UTC](https://forum.ansible.com/t/copy-module-error-in-windows/33826 "2020-09-16T16:50:41Z")

</div>

HI Team, please help me in this as i'm very new to this , i'm getting this error while testing the simple windows file copy module through awx. Ansible VM is on Azure Target Windows machine is also on Azure - No netw…

---

## [mysql\_user does not find /root/.my.cnf](https://forum.ansible.com/t/mysql-user-does-not-find-root-my-cnf/33829)

<div class="topic-metadata">

**Author:** [@Ed\_Greenberg](https://forum.ansible.com/u/Ed_Greenberg)\
**Replies:** 1\
**Last updated:** [September 16, 2020, 4:37pm UTC](https://forum.ansible.com/t/mysql-user-does-not-find-root-my-cnf/33829 "2020-09-16T16:37:35Z")

</div>

My ansible 2.9.10-1.el7 connects to the target machines as root. On my target machines, I have /root/.my.cnf with a root password defined under the section \[mysql\]. Here is the playbook and response hosts: databases…

---

## [new ansible server build](https://forum.ansible.com/t/new-ansible-server-build/33820)

<div class="topic-metadata">

**Author:** [@Chris\_Bidwell](https://forum.ansible.com/u/Chris_Bidwell)\
**Replies:** 2\
**Last updated:** [September 16, 2020, 2:19pm UTC](https://forum.ansible.com/t/new-ansible-server-build/33820 "2020-09-16T14:19:42Z")

</div>

Hi all, so this may be simple but I can’t seem to figure it out. :frowning: I built a new RHEL8 server from my RHEL7 system and ran my playbooks as normally would and now I’m getting these errors: WARNING\]: sftp transf…

---

## [problem using uri module with proxmox api](https://forum.ansible.com/t/problem-using-uri-module-with-proxmox-api/33828)

<div class="topic-metadata">

**Author:** [@Martin\_Etcheverry](https://forum.ansible.com/u/Martin_Etcheverry)\
**Replies:** 0\
**Last updated:** [September 16, 2020, 1:44pm UTC](https://forum.ansible.com/t/problem-using-uri-module-with-proxmox-api/33828 "2020-09-16T13:44:25Z")

</div>

Hi , i am pretty noob with ansible, i am struggling interacting with proxmox api using the module uri. I know that exist a proxmox module in ansible , but i need to send keys right after the vm boots , and that is not c…

---

## [Error when trying to run playbook to install vsftpd package](https://forum.ansible.com/t/error-when-trying-to-run-playbook-to-install-vsftpd-package/33823)

<div class="topic-metadata">

**Author:** [@Gebrina\_Divva\_Meuthi](https://forum.ansible.com/u/Gebrina_Divva_Meuthi)\
**Replies:** 1\
**Last updated:** [September 16, 2020, 9:18am UTC](https://forum.ansible.com/t/error-when-trying-to-run-playbook-to-install-vsftpd-package/33823 "2020-09-16T09:18:03Z")

</div>

Hello so I have a problem, I am trying to install vsftpd in debian 9 with ansible, but I always get this error: ERROR! Invalid callback for stdout specified: yaml This is my playbook I have tried to run it with ans…

---

## [Multiple Ansible YAML File Into SIngle](https://forum.ansible.com/t/multiple-ansible-yaml-file-into-single/33821)

<div class="topic-metadata">

**Author:** [@surabhy\_vaishakh](https://forum.ansible.com/u/surabhy_vaishakh)\
**Replies:** 1\
**Last updated:** [September 16, 2020, 9:15am UTC](https://forum.ansible.com/t/multiple-ansible-yaml-file-into-single/33821 "2020-09-16T09:15:00Z")

</div>

How to merge multiple YAML file into a single one?

---

## [How to add python path to environment variable using ansible](https://forum.ansible.com/t/how-to-add-python-path-to-environment-variable-using-ansible/33811)

<div class="topic-metadata">

**Author:** [@surabhy\_vaishakh](https://forum.ansible.com/u/surabhy_vaishakh)\
**Replies:** 3\
**Last updated:** [September 16, 2020, 9:14am UTC](https://forum.ansible.com/t/how-to-add-python-path-to-environment-variable-using-ansible/33811 "2020-09-16T09:14:17Z")

</div>

Can any one help with this? I am trying to install python 2.7 msi using ansible. Installation succeeded. But not sure how to add to environment variable using ansible. Pls help.

---

## [Ansible-2.10.0 release candidate 1](https://forum.ansible.com/t/ansible-2-10-0-release-candidate-1/33822)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 16, 2020, 7:50am UTC](https://forum.ansible.com/t/ansible-2-10-0-release-candidate-1/33822 "2020-09-16T07:50:32Z")

</div>

Hi all- For all those wanting to test the next version of Ansible, we're happy to announce that Ansible 2.10.0 release candidate 1 is now available on PyPI! Ansible 2.10.0rc1 pulls in the ansible-base-2.10.1 package …

---

## [Need help with Ansible loop](https://forum.ansible.com/t/need-help-with-ansible-loop/33795)

<div class="topic-metadata">

**Author:** [@Sky7](https://forum.ansible.com/u/Sky7)\
**Replies:** 4\
**Last updated:** [September 16, 2020, 2:03am UTC](https://forum.ansible.com/t/need-help-with-ansible-loop/33795 "2020-09-16T02:03:36Z")

</div>

Hi All, I have following code to call another file find\_elements.yaml from my current playbook. calling from my current playbook include: find\_elements.yaml loop: -“{{ vardata.L2.0 }}” -“{{ vardata.L2.1 }}” –“{{ …

---

## [Help using Win\_Copy Module From Windows Host To Windows Host](https://forum.ansible.com/t/help-using-win-copy-module-from-windows-host-to-windows-host/33798)

<div class="topic-metadata">

**Author:** [@Paul\_Bull](https://forum.ansible.com/u/Paul_Bull)\
**Replies:** 4\
**Last updated:** [September 15, 2020, 9:09pm UTC](https://forum.ansible.com/t/help-using-win-copy-module-from-windows-host-to-windows-host/33798 "2020-09-15T21:09:56Z")

</div>

Hi Guys, I would really welcome some help and input regarding the above in my lab. I have a server with the file and the path is correct, as well as the username and pass. This is the playbook: copy files hosts: win…

---

## [Looking for help testing Ansible documentation redirects!](https://forum.ansible.com/t/looking-for-help-testing-ansible-documentation-redirects/33816)

<div class="topic-metadata">

**Author:** [@samccann](https://forum.ansible.com/u/samccann)\
**Replies:** 0\
**Last updated:** [September 15, 2020, 7:55pm UTC](https://forum.ansible.com/t/looking-for-help-testing-ansible-documentation-redirects/33816 "2020-09-15T19:55:10Z")

</div>

Hi everyone! I’m one of the Ansible documentation writers and we’re looking for some help testing the updated docsite for collections. With Ansible 2.10, all the module documentation pages are moving to new URLs based o…

---

## [Ansible ping not giving an output](https://forum.ansible.com/t/ansible-ping-not-giving-an-output/33793)

<div class="topic-metadata">

**Author:** [@Eoghan\_O\_Hara](https://forum.ansible.com/u/Eoghan_O_Hara)\
**Replies:** 29\
**Last updated:** [September 15, 2020, 3:38pm UTC](https://forum.ansible.com/t/ansible-ping-not-giving-an-output/33793 "2020-09-15T15:38:08Z")

</div>

Hi, I am learning to use Ansible, and am at the stage of pinging a remote host, an AWS EC2 instance in this case. However, when I run ansible ping I get no output, as below: $ ssh ec2-user@ec2-DNS This system is not …

---

## [ansible call handler with variable from a loop](https://forum.ansible.com/t/ansible-call-handler-with-variable-from-a-loop/33813)

<div class="topic-metadata">

**Author:** [@Dibe](https://forum.ansible.com/u/Dibe)\
**Replies:** 0\
**Last updated:** [September 15, 2020, 3:07pm UTC](https://forum.ansible.com/t/ansible-call-handler-with-variable-from-a-loop/33813 "2020-09-15T15:07:44Z")

</div>

Hi all. I have a wait \_for task that iterate over a list of hosts. Every time that one host of the list is reachable, i want to call an handler passing the host as argument, and repeat it for every host when become reac…

---

## [Variables based on conditions](https://forum.ansible.com/t/variables-based-on-conditions/33810)

<div class="topic-metadata">

**Author:** [@Yantram\_Cloud](https://forum.ansible.com/u/Yantram_Cloud)\
**Replies:** 3\
**Last updated:** [September 15, 2020, 10:07am UTC](https://forum.ansible.com/t/variables-based-on-conditions/33810 "2020-09-15T10:07:45Z")

</div>

is there a way i can include only those variables which are defined in a task. for example: in below task, i want to include disk\_encryption\_key only when its passed from the user. else i want to exclude. basically i k…

---

## [New release: ansible-base 2.10.1](https://forum.ansible.com/t/new-release-ansible-base-2-10-1/33809)

<div class="topic-metadata">

**Author:** [@relrod](https://forum.ansible.com/u/relrod)\
**Replies:** 0\
**Last updated:** [September 14, 2020, 9:47pm UTC](https://forum.ansible.com/t/new-release-ansible-base-2-10-1/33809 "2020-09-14T21:47:42Z")

</div>

Hi all- we're happy to announce that the general release of ansible-base 2.10.1 is now available! How to get it

---

## [How to make and run Ansible Playbooks in CentOS 7?](https://forum.ansible.com/t/how-to-make-and-run-ansible-playbooks-in-centos-7/33792)

<div class="topic-metadata">

**Author:** [@Prabhakaran\_Karuppai](https://forum.ansible.com/u/Prabhakaran_Karuppai)\
**Replies:** 6\
**Last updated:** [September 14, 2020, 9:13pm UTC](https://forum.ansible.com/t/how-to-make-and-run-ansible-playbooks-in-centos-7/33792 "2020-09-14T21:13:20Z")

</div>

Hi All, I am reading a book to install and work on Asterisk 16. I am a beginner to both Linux and Asterisk but started reading the book properly and got stuck on a place in the book In that book, the Author just menti…

---

## [I have some set Of dyntrace automation](https://forum.ansible.com/t/i-have-some-set-of-dyntrace-automation/33802)

<div class="topic-metadata">

**Author:** [@prakash\_malakar](https://forum.ansible.com/u/prakash_malakar)\
**Replies:** 1\
**Last updated:** [September 14, 2020, 8:39pm UTC](https://forum.ansible.com/t/i-have-some-set-of-dyntrace-automation/33802 "2020-09-14T20:39:56Z")

</div>

Hi teams, Let me introduce my self i am Malakar from India.Iand having exp in production support,but i want to change my profile into ansible .Can anyone help me to to write the Playbook and json payload and jinja templ…

---

## [task to  assign result of a lookup to a registered variable](https://forum.ansible.com/t/task-to-assign-result-of-a-lookup-to-a-registered-variable/33806)

<div class="topic-metadata">

**Author:** [@Jonin](https://forum.ansible.com/u/Jonin)\
**Replies:** 2\
**Last updated:** [September 14, 2020, 5:55pm UTC](https://forum.ansible.com/t/task-to-assign-result-of-a-lookup-to-a-registered-variable/33806 "2020-09-14T17:55:51Z")

</div>

Hi, Is there a way to assign the value of a lookup (in this case a password) to a variable and register it so that the registered variable can then be used in different tasks of play without having to call the lookup it…

---

## [Error running AWX template, new to this](https://forum.ansible.com/t/error-running-awx-template-new-to-this/33808)

<div class="topic-metadata">

**Author:** [@Richard\_Wolford](https://forum.ansible.com/u/Richard_Wolford)\
**Replies:** 1\
**Last updated:** [September 14, 2020, 5:51pm UTC](https://forum.ansible.com/t/error-running-awx-template-new-to-this/33808 "2020-09-14T17:51:40Z")

</div>

Here is the error in it’s entirety from the JOBS page, I’ve no idea what’s wrong: When I try to run a template, I get this error: PLAYBOOK: Missing a revision to run due to failed project update. Here is the error from…

---

## [Ansible Devstack Integration](https://forum.ansible.com/t/ansible-devstack-integration/33804)

<div class="topic-metadata">

**Author:** [@Yantram\_Cloud](https://forum.ansible.com/u/Yantram_Cloud)\
**Replies:** 0\
**Last updated:** [September 14, 2020, 11:43am UTC](https://forum.ansible.com/t/ansible-devstack-integration/33804 "2020-09-14T11:43:14Z")

</div>

I am currently working on an devstack integration with ansible, The authentication seems to be an issue. i get this error. generic/base.py", line 208, in get\_auth\_ref\\n return self.\_plugin.get\_auth\_ref(session, \*\*kwarg…

---

## [Conditional copy based on the existence of a directory](https://forum.ansible.com/t/conditional-copy-based-on-the-existence-of-a-directory/33801)

<div class="topic-metadata">

**Author:** [@Victor\_Sudakov](https://forum.ansible.com/u/Victor_Sudakov)\
**Replies:** 0\
**Last updated:** [September 14, 2020, 7:35am UTC](https://forum.ansible.com/t/conditional-copy-based-on-the-existence-of-a-directory/33801 "2020-09-14T07:35:16Z")

</div>

Dear Colleagues, I’d like to be able to copy/template a file to a directory on a remote host depending upon the existence of the directory there (from a list of possible variants). Below I publish what I currently use b…

---

## [using host\_vars and variables](https://forum.ansible.com/t/using-host-vars-and-variables/33800)

<div class="topic-metadata">

**Author:** [@Johana\_Galarza\_Monta](https://forum.ansible.com/u/Johana_Galarza_Monta)\
**Replies:** 1\
**Last updated:** [September 14, 2020, 12:22am UTC](https://forum.ansible.com/t/using-host-vars-and-variables/33800 "2020-09-14T00:22:55Z")

</div>

I am trying to use the following configuration in hosts.yml all: hosts: 177.177.188.199: 177.177.188.200: vars: ansible\_connection= {{ ansible\_conn }} ansible\_user= {{ ansible\_usr }} ansible\_ssh\_common\_args= {{ c…

---

## [Hash password filter](https://forum.ansible.com/t/hash-password-filter/33799)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 4\
**Last updated:** [September 13, 2020, 6:43pm UTC](https://forum.ansible.com/t/hash-password-filter/33799 "2020-09-13T18:43:08Z")

</div>

Hello, SUMMARY When I tried to apply filter on variable password, Traefik BasicAuth rejected password. ISSUE TYPE Bug Report COMPONENT NAME ANSIBLE VERSION ansible 2.9.12 config file = /etc/ansible/ansible.cfg config…

---

## [Role/Collection publishers - feedback needed!](https://forum.ansible.com/t/role-collection-publishers-feedback-needed/33797)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [September 11, 2020, 11:26pm UTC](https://forum.ansible.com/t/role-collection-publishers-feedback-needed/33797 "2020-09-11T23:26:55Z")

</div>

If you use the ansible-galaxy CLI to publish roles or collections to Galaxy, you may care about this. The GitHub API that underlies the ansible-galaxy login command is being removed in November. Without it, users doing r…

---

## [FIPS compliant Ansible installation](https://forum.ansible.com/t/fips-compliant-ansible-installation/31783)

<div class="topic-metadata">

**Author:** [@Austin\_Wolfson](https://forum.ansible.com/u/Austin_Wolfson)\
**Replies:** 2\
**Last updated:** [September 11, 2020, 6:42pm UTC](https://forum.ansible.com/t/fips-compliant-ansible-installation/31783 "2020-09-11T18:42:28Z")

</div>

Hi Everyone, I’m attempting to deploy code with ansible CLI on a fully FIPS compliant environment. I know that AWX supports FIPS compliance, but I’m having trouble finding any documentation on whether ansible CLI native…

---

## [Remote execution via jumpserver asa\_config](https://forum.ansible.com/t/remote-execution-via-jumpserver-asa-config/33474)

<div class="topic-metadata">

**Author:** [@sajal\_tiwari](https://forum.ansible.com/u/sajal_tiwari)\
**Replies:** 7\
**Last updated:** [September 11, 2020, 3:24pm UTC](https://forum.ansible.com/t/remote-execution-via-jumpserver-asa-config/33474 "2020-09-11T15:24:42Z")

</div>

Hello, I am executing a simple ansible playbook using asa\_config module on a ASA via a Centos Jumpserver but i am getting below error. \` The full traceback is: Traceback (most recent call last): File “/root/.ansible…

---

## [Hi team can anyone let me know is there any chance of giving approval to awx work flow template from Microsoft teams.](https://forum.ansible.com/t/hi-team-can-anyone-let-me-know-is-there-any-chance-of-giving-approval-to-awx-work-flow-template-from-microsoft-teams/33791)

<div class="topic-metadata">

**Author:** [@Venu\_Devannagari](https://forum.ansible.com/u/Venu_Devannagari)\
**Replies:** 1\
**Last updated:** [September 11, 2020, 1:50pm UTC](https://forum.ansible.com/t/hi-team-can-anyone-let-me-know-is-there-any-chance-of-giving-approval-to-awx-work-flow-template-from-microsoft-teams/33791 "2020-09-11T13:50:56Z")

</div>

Like from flow app or outbound notfication. I have enabled incomig webhook for notification to microsoft but I need to know after notification came to teams is there any chance of giving approve from teams itselt not fr…

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

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