# Archives

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

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

**Page:** 347

---

## [mySQL doesnt install on AWS EC2](https://forum.ansible.com/t/mysql-doesnt-install-on-aws-ec2/28690)

<div class="topic-metadata">

**Author:** [@adrian\_lee](https://forum.ansible.com/u/adrian_lee)\
**Replies:** 1\
**Last updated:** [October 1, 2018, 10:16am UTC](https://forum.ansible.com/t/mysql-doesnt-install-on-aws-ec2/28690 "2018-10-01T10:16:34Z")

</div>

I have 2 EC2 server instances where 1 I am using ansible to install mysql on the other ec2 instance. ISSUE TYPE Bug Report COMPONENT NAME- Installing mySQL on AWS EC2 Linux ANSIBLE VERSION ansible 2.6.5 CONFIGURATION S…

---

## [Ansible nested loop using index.](https://forum.ansible.com/t/ansible-nested-loop-using-index/28663)

<div class="topic-metadata">

**Author:** [@Lionel\_H](https://forum.ansible.com/u/Lionel_H)\
**Replies:** 6\
**Last updated:** [October 1, 2018, 9:00am UTC](https://forum.ansible.com/t/ansible-nested-loop-using-index/28663 "2018-10-01T09:00:42Z")

</div>

Hi all, Hope I will find the information here :slight\_smile: I need to loop over 2 lists, the first one is just a list of Integers, things get tricky here because the second list needs the input from the first list to …

---

## [Task need to be skipped by default by passing extra vars](https://forum.ansible.com/t/task-need-to-be-skipped-by-default-by-passing-extra-vars/28662)

<div class="topic-metadata">

**Author:** [@Kunalsing\_Thakur](https://forum.ansible.com/u/Kunalsing_Thakur)\
**Replies:** 12\
**Last updated:** [October 1, 2018, 7:22am UTC](https://forum.ansible.com/t/task-need-to-be-skipped-by-default-by-passing-extra-vars/28662 "2018-10-01T07:22:23Z")

</div>

SUMMARY When i want to use specific tag in playbook from role it will run all task which is defined in role. ISSUE TYPE Bug Report COMPONENT NAME ansible-core ANSIBLE VERSION ansible 2.6.1 config file = /etc/ansible/…

---

## [how to access dictionary key and value from group\_vars it is not working](https://forum.ansible.com/t/how-to-access-dictionary-key-and-value-from-group-vars-it-is-not-working/28688)

<div class="topic-metadata">

**Author:** [@Atul\_Sharma](https://forum.ansible.com/u/Atul_Sharma)\
**Replies:** 1\
**Last updated:** [October 1, 2018, 4:03am UTC](https://forum.ansible.com/t/how-to-access-dictionary-key-and-value-from-group-vars-it-is-not-working/28688 "2018-10-01T04:03:59Z")

</div>

group\_vars/vars.yml \[root@master mywork\]# cat group\_vars/vars

---

## [getting error when i set ssh-agent for root user](https://forum.ansible.com/t/getting-error-when-i-set-ssh-agent-for-root-user/28685)

<div class="topic-metadata">

**Author:** [@pranay\_varankar](https://forum.ansible.com/u/pranay_varankar)\
**Replies:** 11\
**Last updated:** [October 1, 2018, 1:37am UTC](https://forum.ansible.com/t/getting-error-when-i-set-ssh-agent-for-root-user/28685 "2018-10-01T01:37:43Z")

</div>

Hi, I need to add ssh-agent for root user. so I use below command through ansible task but getting an error. eval ssh-agent -s && ssh-add ~/.ssh/id\_rsa" please give me task to perform below command on my target machin…

---

## [Issue #45948 - Netbox Modules](https://forum.ansible.com/t/issue-45948-netbox-modules/28689)

<div class="topic-metadata">

**Author:** [@Mikhail\_Yohman](https://forum.ansible.com/u/Mikhail_Yohman)\
**Replies:** 0\
**Last updated:** [September 30, 2018, 11:23pm UTC](https://forum.ansible.com/t/issue-45948-netbox-modules/28689 "2018-09-30T23:23:18Z")

</div>

Here is the link: https://github.com/ansible/ansible/issues/45948 I was hoping to get some peer review on the first module I have made for interacting with Netbox to see if the code makes sense and where any improvement…

---

## [Ansible - Failed to add the host to the list of known hosts](https://forum.ansible.com/t/ansible-failed-to-add-the-host-to-the-list-of-known-hosts/28680)

<div class="topic-metadata">

**Author:** [@Riahi\_Mohamed-Amine](https://forum.ansible.com/u/Riahi_Mohamed-Amine)\
**Replies:** 2\
**Last updated:** [September 29, 2018, 12:44pm UTC](https://forum.ansible.com/t/ansible-failed-to-add-the-host-to-the-list-of-known-hosts/28680 "2018-09-29T12:44:42Z")

</div>

Hi i’m trying to run may first playbook with become\_user : cftadmin and i got this error msg : fatal: \[ANS\_IAWGAP01\]: FAILED! =\> {“changed”: false, “module\_stderr”: “Failed to add the host to the list of known hosts (/…

---

## [DB Migrations Failing on new install](https://forum.ansible.com/t/db-migrations-failing-on-new-install/28615)

<div class="topic-metadata">

**Author:** [@Alan\_Fraser](https://forum.ansible.com/u/Alan_Fraser)\
**Replies:** 2\
**Last updated:** [September 29, 2018, 2:17am UTC](https://forum.ansible.com/t/db-migrations-failing-on-new-install/28615 "2018-09-29T02:17:39Z")

</div>

I’m getting errors running AWX on Openshift. Openshift version : 3.7 AWX 1.0.8.0 Setup runs through correctly but there are errors in the migration. Postgres is running 9.6 on the openshift environment also with a cle…

---

## [Ansible 2.6.5 is available](https://forum.ansible.com/t/ansible-2-6-5-is-available/28682)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [September 28, 2018, 11:33pm UTC](https://forum.ansible.com/t/ansible-2-6-5-is-available/28682 "2018-09-28T23:33:52Z")

</div>

Hi all – we’re happy to announce that the general release of Ansible 2.6.5 is now available! How do you get it?

---

## [Ansible 2.6.5 is available](https://forum.ansible.com/t/ansible-2-6-5-is-available/28681)

<div class="topic-metadata">

**Author:** [@Matt\_Clay1](https://forum.ansible.com/u/Matt_Clay1)\
**Replies:** 0\
**Last updated:** [September 28, 2018, 11:33pm UTC](https://forum.ansible.com/t/ansible-2-6-5-is-available/28681 "2018-09-28T23:33:41Z")

</div>

Hi all – we’re happy to announce that the general release of Ansible 2.6.5 is now available! How do you get it?

---

## [Expect module won't timeout properly](https://forum.ansible.com/t/expect-module-wont-timeout-properly/28653)

<div class="topic-metadata">

**Author:** [@Guillaume\_Jeanne](https://forum.ansible.com/u/Guillaume_Jeanne)\
**Replies:** 1\
**Last updated:** [September 28, 2018, 8:37pm UTC](https://forum.ansible.com/t/expect-module-wont-timeout-properly/28653 "2018-09-28T20:37:28Z")

</div>

Hey, I have a script that i want to use with ansible. This script asks questions so I’m trying to use the expect module as below : name: Answer in term to the openvpn script to configure it expect: command: ./{{ scr…

---

## [Issue connecting to CLI on storage device](https://forum.ansible.com/t/issue-connecting-to-cli-on-storage-device/28678)

<div class="topic-metadata">

**Author:** [@Kai\_Stian\_Olstad](https://forum.ansible.com/u/Kai_Stian_Olstad)\
**Replies:** 0\
**Last updated:** [September 28, 2018, 7:56pm UTC](https://forum.ansible.com/t/issue-connecting-to-cli-on-storage-device/28678 "2018-09-28T19:56:36Z")

</div>

You need to use the expect module.

---

## [Copy file with sudo; sudo /bin/sh not allowed](https://forum.ansible.com/t/copy-file-with-sudo-sudo-bin-sh-not-allowed/28675)

<div class="topic-metadata">

**Author:** [@Nicola\_Apicella](https://forum.ansible.com/u/Nicola_Apicella)\
**Replies:** 17\
**Last updated:** [September 28, 2018, 7:32pm UTC](https://forum.ansible.com/t/copy-file-with-sudo-sudo-bin-sh-not-allowed/28675 "2018-09-28T19:32:27Z")

</div>

Hi, I am sorry for the newbie question, I ve just started looking into Ansible but I did not find any info in the docs or anywhere else that could help me find a resolution. I have a bunch of hosts on which I have sudo…

---

## [Unable to process the JSON request in POST method](https://forum.ansible.com/t/unable-to-process-the-json-request-in-post-method/28677)

<div class="topic-metadata">

**Author:** [@Shyam](https://forum.ansible.com/u/Shyam)\
**Replies:** 4\
**Last updated:** [September 28, 2018, 7:07pm UTC](https://forum.ansible.com/t/unable-to-process-the-json-request-in-post-method/28677 "2018-09-28T19:07:20Z")

</div>

Hi, Unable process the JSON request in POST method can any one help.

---

## [Unable to run .exe file](https://forum.ansible.com/t/unable-to-run-exe-file/28673)

<div class="topic-metadata">

**Author:** [@Karthik\_Chandrasheka](https://forum.ansible.com/u/Karthik_Chandrasheka)\
**Replies:** 2\
**Last updated:** [September 28, 2018, 4:44pm UTC](https://forum.ansible.com/t/unable-to-run-exe-file/28673 "2018-09-28T16:44:54Z")

</div>

Hi everyone, Need help in understanding below error message and how to fix it. I am trying to run a .exe file using ansible tried ( raw, win\_shell and win\_command ) but, all end up throwing same error. FAILED! =\> {“ch…

---

## [How to relaunch failed job template so that downstream job template also run](https://forum.ansible.com/t/how-to-relaunch-failed-job-template-so-that-downstream-job-template-also-run/28676)

<div class="topic-metadata">

**Author:** [@shambhu\_kumar](https://forum.ansible.com/u/shambhu_kumar)\
**Replies:** 0\
**Last updated:** [September 28, 2018, 4:38pm UTC](https://forum.ansible.com/t/how-to-relaunch-failed-job-template-so-that-downstream-job-template-also-run/28676 "2018-09-28T16:38:17Z")

</div>

I have started exploring AWX workflow functionality recently.I am stuck to a point where i am not able to relaunch from failed job template so that downstream job template run after it.Relaunching workflow template start…

---

## [Ansible - Azure Cloud module - azure\_rm\_loadbalancer - Query on backend\_availability\_pools](https://forum.ansible.com/t/ansible-azure-cloud-module-azure-rm-loadbalancer-query-on-backend-availability-pools/28674)

<div class="topic-metadata">

**Author:** [@AnsibleDev](https://forum.ansible.com/u/AnsibleDev)\
**Replies:** 0\
**Last updated:** [September 28, 2018, 4:24pm UTC](https://forum.ansible.com/t/ansible-azure-cloud-module-azure-rm-loadbalancer-query-on-backend-availability-pools/28674 "2018-09-28T16:24:46Z")

</div>

Hi, In Azure portal, when I created Load Balancer, in the Backend Pool section, I had associated an availability set. From the availability set, I was able to add the VMs configured in that availability set to the Load …

---

## [Ansible Python Module Error.](https://forum.ansible.com/t/ansible-python-module-error/28660)

<div class="topic-metadata">

**Author:** [@Saurabh](https://forum.ansible.com/u/Saurabh)\
**Replies:** 3\
**Last updated:** [September 28, 2018, 2:10pm UTC](https://forum.ansible.com/t/ansible-python-module-error/28660 "2018-09-28T14:10:42Z")

</div>

Hi All, if i give os.path.dirname(os.path.abspath(os.path.realpath(ansible.file))) command in python terminal will give me “/usr/lib/python2.7/site-packages/ansible” but if same command i write in own ansible python mo…

---

## [cant execute bashfile using ansible](https://forum.ansible.com/t/cant-execute-bashfile-using-ansible/28637)

<div class="topic-metadata">

**Author:** [@vivek\_mv](https://forum.ansible.com/u/vivek_mv)\
**Replies:** 15\
**Last updated:** [September 28, 2018, 11:51am UTC](https://forum.ansible.com/t/cant-execute-bashfile-using-ansible/28637 "2018-09-28T11:51:23Z")

</div>

Hi Experts, I am automating IBM CLM application and i would need to run the application default .bat file for starting the server. Eg: (server.startup.bat). I tried with win\_command, script and win\_shell modules and its…

---

## [How can i add additional Python packages and save changes in Docker container for AWX](https://forum.ansible.com/t/how-can-i-add-additional-python-packages-and-save-changes-in-docker-container-for-awx/28652)

<div class="topic-metadata">

**Author:** [@Ankit2](https://forum.ansible.com/u/Ankit2)\
**Replies:** 2\
**Last updated:** [September 28, 2018, 10:21am UTC](https://forum.ansible.com/t/how-can-i-add-additional-python-packages-and-save-changes-in-docker-container-for-awx/28652 "2018-09-28T10:21:39Z")

</div>

I need to install new Python packages for some of the Ansible modules. I have referred the documentation which specifies creation of virtual environment and then installing the packages inside the venv in awx\_task contai…

---

## [Ansible Support for IBM AIX Platform](https://forum.ansible.com/t/ansible-support-for-ibm-aix-platform/28672)

<div class="topic-metadata">

**Author:** [@Sairam\_Krishna\_Lakko](https://forum.ansible.com/u/Sairam_Krishna_Lakko)\
**Replies:** 0\
**Last updated:** [September 28, 2018, 2:11am UTC](https://forum.ansible.com/t/ansible-support-for-ibm-aix-platform/28672 "2018-09-28T02:11:48Z")

</div>

Hey, Looking for pointers if ansible has support for AIX platform

---

## [Ansible-2.7.0rc4 released](https://forum.ansible.com/t/ansible-2-7-0rc4-released/28671)

<div class="topic-metadata">

**Author:** [@tkuratom](https://forum.ansible.com/u/tkuratom)\
**Replies:** 0\
**Last updated:** [September 28, 2018, 1:28am UTC](https://forum.ansible.com/t/ansible-2-7-0rc4-released/28671 "2018-09-28T01:28:01Z")

</div>

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

---

## [Ansible 2.5.10 is available](https://forum.ansible.com/t/ansible-2-5-10-is-available/28670)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [September 28, 2018, 12:15am UTC](https://forum.ansible.com/t/ansible-2-5-10-is-available/28670 "2018-09-28T00:15:16Z")

</div>

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

---

## [Ansible 2.5.10 is available](https://forum.ansible.com/t/ansible-2-5-10-is-available/28669)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [September 28, 2018, 12:14am UTC](https://forum.ansible.com/t/ansible-2-5-10-is-available/28669 "2018-09-28T00:14:54Z")

</div>

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

---

## [Tower scanning for tags and pre-populating "exclude tags" etc.](https://forum.ansible.com/t/tower-scanning-for-tags-and-pre-populating-exclude-tags-etc/28668)

<div class="topic-metadata">

**Author:** [@dmakovey](https://forum.ansible.com/u/dmakovey)\
**Replies:** 1\
**Last updated:** [September 27, 2018, 8:59pm UTC](https://forum.ansible.com/t/tower-scanning-for-tags-and-pre-populating-exclude-tags-etc/28668 "2018-09-27T20:59:22Z")

</div>

Hi, currently if I run 'ansible-playbook --list-tags playbook.yml' I get nice list of all tags present. However with Tower I don't have any view into existing tags I just have to \*know\* them. Is that the way things a…

---

## [One server is slow to respond to ansible (but does) gather\_facts](https://forum.ansible.com/t/one-server-is-slow-to-respond-to-ansible-but-does-gather-facts/28070)

<div class="topic-metadata">

**Author:** [@John\_Harmon](https://forum.ansible.com/u/John_Harmon)\
**Replies:** 7\
**Last updated:** [September 27, 2018, 8:19pm UTC](https://forum.ansible.com/t/one-server-is-slow-to-respond-to-ansible-but-does-gather-facts/28070 "2018-09-27T20:19:47Z")

</div>

Just trying to track down what changed on a server. I will run a playbook against 20-30 servers and all of them (configured the same with ansible) respond quickly to gather\_facts; however, just one server takes its own s…

---

## [Why is ConfigureRemotingForAnsible.ps1 not suitable for production?](https://forum.ansible.com/t/why-is-configureremotingforansible-ps1-not-suitable-for-production/28661)

<div class="topic-metadata">

**Author:** [@swinickitom](https://forum.ansible.com/u/swinickitom)\
**Replies:** 1\
**Last updated:** [September 27, 2018, 7:35pm UTC](https://forum.ansible.com/t/why-is-configureremotingforansible-ps1-not-suitable-for-production/28661 "2018-09-27T19:35:15Z")

</div>

The ConfigureRemotingForAnsible.ps1 file to setup Windows hosts for Ansible is not suitable for production according to the documentation. Why is it not suitable for production and what can I tweak in the file to make it…

---

## [Ansible Tower - MS Azure RM Credentials](https://forum.ansible.com/t/ansible-tower-ms-azure-rm-credentials/28667)

<div class="topic-metadata">

**Author:** [@AnsibleDev](https://forum.ansible.com/u/AnsibleDev)\
**Replies:** 0\
**Last updated:** [September 27, 2018, 5:38pm UTC](https://forum.ansible.com/t/ansible-tower-ms-azure-rm-credentials/28667 "2018-09-27T17:38:55Z")

</div>

Hi, I was trying out the Azure sample programs through ansible playbook and one of them is provided in the below link. https://github.com/Azure-Samples/ansible-playbooks/blob/master/vm\_create.yml I was able to create …

---

## [Ansible Tower\\AWX jobs template & credentials](https://forum.ansible.com/t/ansible-tower-awx-jobs-template-credentials/28614)

<div class="topic-metadata">

**Author:** [@Tito](https://forum.ansible.com/u/Tito)\
**Replies:** 1\
**Last updated:** [September 27, 2018, 3:58pm UTC](https://forum.ansible.com/t/ansible-tower-awx-jobs-template-credentials/28614 "2018-09-27T15:58:46Z")

</div>

Hey all. There is something that i do not understand and would like to get some help. I have a group of host called DBServers, each host has different SSH private key. When i am adding a job template i can provide onl…

---

## [Starting Stopped AWS EC2 Instances from Ansible Tower](https://forum.ansible.com/t/starting-stopped-aws-ec2-instances-from-ansible-tower/28665)

<div class="topic-metadata">

**Author:** [@John\_Peters](https://forum.ansible.com/u/John_Peters)\
**Replies:** 1\
**Last updated:** [September 27, 2018, 3:52pm UTC](https://forum.ansible.com/t/starting-stopped-aws-ec2-instances-from-ansible-tower/28665 "2018-09-27T15:52:29Z")

</div>

Any clue as to how to accomplish this? My Ansible Tower inventory has a list of hosts in it, all in ‘stopped’ state. I’d like to use that inventory, assign it to a playbook, that will loop through each machine in the i…

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

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