# Latest

**URL:** https://forum.ansible.com/latest.md?page=717

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

**Page:** 718

---

## [A question regarding openstack module authentication](https://forum.ansible.com/t/a-question-regarding-openstack-module-authentication/22792)

<div class="topic-metadata">

**Author:** [@Mihkel\_Parna](https://forum.ansible.com/u/Mihkel_Parna)\
**Replies:** 0\
**Last updated:** [October 14, 2016, 5:28pm UTC](https://forum.ansible.com/t/a-question-regarding-openstack-module-authentication/22792 "2016-10-14T17:28:23Z")

</div>

Hello, I’m trying to configure keystone domains/projects/users through Ansible using os\_keystone\_domain/os\_keystone\_project & os\_user modules but I’m having difficultys understanding the authentication method. I have p…

---

## [How can I get only json data as response from ANSIBLE REST APIS](https://forum.ansible.com/t/how-can-i-get-only-json-data-as-response-from-ansible-rest-apis/22790)

<div class="topic-metadata">

**Author:** [@Sumit\_Dangi](https://forum.ansible.com/u/Sumit_Dangi)\
**Replies:** 1\
**Last updated:** [October 14, 2016, 2:13pm UTC](https://forum.ansible.com/t/how-can-i-get-only-json-data-as-response-from-ansible-rest-apis/22790 "2016-10-14T14:13:29Z")

</div>

When I hit my Ansible REST API from REST Client, I get whole HTML document back. All I am interested in is the json data which should come back as response. Could you please help and let me know if there is any configu…

---

## [Visibility of facts/variables when using "become"](https://forum.ansible.com/t/visibility-of-facts-variables-when-using-become/22776)

<div class="topic-metadata">

**Author:** [@thokari81](https://forum.ansible.com/u/thokari81)\
**Replies:** 1\
**Last updated:** [October 14, 2016, 12:14am UTC](https://forum.ansible.com/t/visibility-of-facts-variables-when-using-become/22776 "2016-10-14T00:14:49Z")

</div>

Hi, I ran into the issue that I wanted to include a role based on a fact. Specifically, I wanted the firewall role (configuring iptables) to not be included when the playbook is run locally against a Vagrant VM. I not…

---

## [win\_copy failing (timeout)](https://forum.ansible.com/t/win-copy-failing-timeout/22433)

<div class="topic-metadata">

**Author:** [@Justin\_Dugan](https://forum.ansible.com/u/Justin_Dugan)\
**Replies:** 6\
**Last updated:** [October 14, 2016, 12:01am UTC](https://forum.ansible.com/t/win-copy-failing-timeout/22433 "2016-10-14T00:01:35Z")

</div>

I am using this in the playbook: name: copy {{eap\_dir}}.0.zip win\_copy: src=“{{eap\_dir}}.0.zip” dest=“c:/temp/{{eap\_dir}}.0.zip” And it’s failing with: TASK \[win\_JBoss : copy jboss-eap-6.4.0.zip\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Crypto Error On Ansible Playbook Start](https://forum.ansible.com/t/crypto-error-on-ansible-playbook-start/22773)

<div class="topic-metadata">

**Author:** [@steve5](https://forum.ansible.com/u/steve5)\
**Replies:** 4\
**Last updated:** [October 13, 2016, 9:55pm UTC](https://forum.ansible.com/t/crypto-error-on-ansible-playbook-start/22773 "2016-10-13T21:55:45Z")

</div>

I am on the devel branch of ansible and I just started getting this when I went to that branch: \` \[WARNING\]: Optional dependency ‘cryptography’ raised an exception, falling back to ‘Crypto’ \` Probably something I nee…

---

## [RDS instance snapshot and restore](https://forum.ansible.com/t/rds-instance-snapshot-and-restore/22781)

<div class="topic-metadata">

**Author:** [@Tony2](https://forum.ansible.com/u/Tony2)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 9:45pm UTC](https://forum.ansible.com/t/rds-instance-snapshot-and-restore/22781 "2016-10-13T21:45:47Z")

</div>

Hi All, I am trying to create a playbook intend to create an RDS MySQL snapshot and then create a restore form the snapshot. I used the aws cli locally and it works but don’t know how to translate the commands in a ansi…

---

## [Module Paths for junos-eznc](https://forum.ansible.com/t/module-paths-for-junos-eznc/22771)

<div class="topic-metadata">

**Author:** [@Zod](https://forum.ansible.com/u/Zod)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 8:19pm UTC](https://forum.ansible.com/t/module-paths-for-junos-eznc/22771 "2016-10-13T20:19:45Z")

</div>

Trying to setup Ansible on Mac OS X 10.10.3 Have ansible 2.1.1.0 python 2.7.12 installed junos-eznc Testing uploading a conf file to a juniper device and getting: fatal: \[srx\]: FAILED! =\> {“changed”: false, “failed”:…

---

## [Handle Host Unreachable cases or Test SSH Connectivity in yml playbook](https://forum.ansible.com/t/handle-host-unreachable-cases-or-test-ssh-connectivity-in-yml-playbook/22785)

<div class="topic-metadata">

**Author:** [@Anas\_Theo](https://forum.ansible.com/u/Anas_Theo)\
**Replies:** 2\
**Last updated:** [October 13, 2016, 7:46pm UTC](https://forum.ansible.com/t/handle-host-unreachable-cases-or-test-ssh-connectivity-in-yml-playbook/22785 "2016-10-13T19:46:39Z")

</div>

Hello, Is there any easy way to handle “host unreachable” cases in order to debug in a log file the problematic situation ? As an alternative it could also be useful to test SSH connectivity through explicit commands in…

---

## [Trying to delete a running app on Marathon by Ansible Playbook - Error](https://forum.ansible.com/t/trying-to-delete-a-running-app-on-marathon-by-ansible-playbook-error/22778)

<div class="topic-metadata">

**Author:** [@Yogesh\_Darji](https://forum.ansible.com/u/Yogesh_Darji)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 6:16pm UTC](https://forum.ansible.com/t/trying-to-delete-a-running-app-on-marathon-by-ansible-playbook-error/22778 "2016-10-13T18:16:21Z")

</div>

Hi, I deployed an app on Marathon with POST using uri module. My inventory file has just localhost which I am using to execute my playbooks. I have written a playbook to delete that app, it will successfully delete the…

---

## [Dependencies between plays](https://forum.ansible.com/t/dependencies-between-plays/22782)

<div class="topic-metadata">

**Author:** [@Nikita\_Gubenko](https://forum.ansible.com/u/Nikita_Gubenko)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 5:18pm UTC](https://forum.ansible.com/t/dependencies-between-plays/22782 "2016-10-13T17:18:13Z")

</div>

Hello, folks Is there any possible way to make plays depend on each other? E.g. in the example below do not start play2 if any of the hosts in play1 failed? \`

---

## [java.lang.OutOfMemoryError: Metaspace error installing Atlassian JIRA using Ansible](https://forum.ansible.com/t/java-lang-outofmemoryerror-metaspace-error-installing-atlassian-jira-using-ansible/22766)

<div class="topic-metadata">

**Author:** [@Jim\_Reprogle](https://forum.ansible.com/u/Jim_Reprogle)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 4:24pm UTC](https://forum.ansible.com/t/java-lang-outofmemoryerror-metaspace-error-installing-atlassian-jira-using-ansible/22766 "2016-10-13T16:24:26Z")

</div>

Greetings. I realize that much of this is going to sound crazy and a little noob-ish, but… I’m playing with Ansible for the first time, and I’m trying to automate the installation of a JIRA server (on Windows, mind you)…

---

## [Ansible unable to ping to windows host  error Failed command was: PowerShell -NoProfile -NonInteractive -ExecutionPolicy Unrestricted -EncodedCommand](https://forum.ansible.com/t/ansible-unable-to-ping-to-windows-host-error-failed-command-was-powershell-noprofile-noninteractive-executionpolicy-unrestricted-encodedcommand/22786)

<div class="topic-metadata">

**Author:** [@arnabsc74](https://forum.ansible.com/u/arnabsc74)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 3:53pm UTC](https://forum.ansible.com/t/ansible-unable-to-ping-to-windows-host-error-failed-command-was-powershell-noprofile-noninteractive-executionpolicy-unrestricted-encodedcommand/22786 "2016-10-13T15:53:03Z")

</div>

Hi When run this ansible command " ansible windows -m win\_ping" I am getting the below error , please can anyone help to fix this issue 10.51.239.192 | UNREACHABLE! =\> { “changed”: false, “msg”: “Authentication or pe…

---

## [Slow Performance in setup of SLES 11 SP3 Remote Virtual Machines (100sec)](https://forum.ansible.com/t/slow-performance-in-setup-of-sles-11-sp3-remote-virtual-machines-100sec/22749)

<div class="topic-metadata">

**Author:** [@Anas\_Theo](https://forum.ansible.com/u/Anas_Theo)\
**Replies:** 3\
**Last updated:** [October 13, 2016, 3:35pm UTC](https://forum.ansible.com/t/slow-performance-in-setup-of-sles-11-sp3-remote-virtual-machines-100sec/22749 "2016-10-13T15:35:19Z")

</div>

Hello everyone, I have installed Ansible in Centos 7 minimal environment , using the latest version in EPEL (ansible-2.1.1.0-1.el7.noarch). I have to deal with a very strange phenomenon where the execution of a .yml con…

---

## [using ansible on aws, then get the IP address of the aws instances.](https://forum.ansible.com/t/using-ansible-on-aws-then-get-the-ip-address-of-the-aws-instances/22775)

<div class="topic-metadata">

**Author:** [@John\_Smith](https://forum.ansible.com/u/John_Smith)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 3:13pm UTC](https://forum.ansible.com/t/using-ansible-on-aws-then-get-the-ip-address-of-the-aws-instances/22775 "2016-10-13T15:13:58Z")

</div>

I have an ansible playbook that starts up some aws instances. once they are up I can see the instances have public ip and private ip. is there a way I can programmatically get the ip addresses from outside aws cliud in…

---

## [Updateing a password in Grub.conf file using Ansible and Replace](https://forum.ansible.com/t/updateing-a-password-in-grub-conf-file-using-ansible-and-replace/22780)

<div class="topic-metadata">

**Author:** [@Alan\_Harkleroad1](https://forum.ansible.com/u/Alan_Harkleroad1)\
**Replies:** 3\
**Last updated:** [October 13, 2016, 2:48pm UTC](https://forum.ansible.com/t/updateing-a-password-in-grub-conf-file-using-ansible-and-replace/22780 "2016-10-13T14:48:43Z")

</div>

So I wrote a short playbook to update our VMs to update the /boot/grub/grub.conf file to use a new hashed password but the playbook comes back green with no changes. Not sure what I am doing wrong, any help is appreciate…

---

## [Variable substitution while file lookup](https://forum.ansible.com/t/variable-substitution-while-file-lookup/22784)

<div class="topic-metadata">

**Author:** [@ankur.cool](https://forum.ansible.com/u/ankur.cool)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 1:33pm UTC](https://forum.ansible.com/t/variable-substitution-while-file-lookup/22784 "2016-10-13T13:33:16Z")

</div>

Hi, I am loading a file using lookup eg “{{ lookup(‘file’, ‘cluster\_policies.json’) | from\_json }}” Now my file cluster\_policies.json contains some ansible variables that I need to substitute. Any idea how can it be do…

---

## [Can I set ansible\_ssh\_pass in a task?](https://forum.ansible.com/t/can-i-set-ansible-ssh-pass-in-a-task/15621)

<div class="topic-metadata">

**Author:** [@Larry\_Fast](https://forum.ansible.com/u/Larry_Fast)\
**Replies:** 4\
**Last updated:** [October 13, 2016, 4:31am UTC](https://forum.ansible.com/t/can-i-set-ansible-ssh-pass-in-a-task/15621 "2016-10-13T04:31:25Z")

</div>

I’m using a database system for passwords. It has a CLI for pulling data. For each server I would like to do something like hosts: all gather\_facts: no tasks: local\_action: ansible\_ssh\_pass=db\_cli cli\_params I real…

---

## [Ansible and EC2 Auto-Scaling](https://forum.ansible.com/t/ansible-and-ec2-auto-scaling/22745)

<div class="topic-metadata">

**Author:** [@Chris\_Short](https://forum.ansible.com/u/Chris_Short)\
**Replies:** 1\
**Last updated:** [October 12, 2016, 6:29pm UTC](https://forum.ansible.com/t/ansible-and-ec2-auto-scaling/22745 "2016-10-12T18:29:09Z")

</div>

We are slowly starting our migration away from Puppet towards Ansible and have a use case I’d like the community’s feedback on. Some notes to frame the question: Puppet isn’t going away immediately. We still have legac…

---

## [Getting template error while templating string: unexpected char while running a playbook with a role](https://forum.ansible.com/t/getting-template-error-while-templating-string-unexpected-char-while-running-a-playbook-with-a-role/22767)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 1\
**Last updated:** [October 12, 2016, 2:37pm UTC](https://forum.ansible.com/t/getting-template-error-while-templating-string-unexpected-char-while-running-a-playbook-with-a-role/22767 "2016-10-12T14:37:23Z")

</div>

Good morning, I’m getting the following Error when running my playbook: TASK \[patch\_rhel : Install Red Hat Security Advisory (RHSA)\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[rhel-t0.hrz.uni-bielefeld.de\]: FAILED! =\> {"failed": true…

---

## [Ansible Copy Files](https://forum.ansible.com/t/ansible-copy-files/22772)

<div class="topic-metadata">

**Author:** [@novice1023](https://forum.ansible.com/u/novice1023)\
**Replies:** 4\
**Last updated:** [October 12, 2016, 2:30pm UTC](https://forum.ansible.com/t/ansible-copy-files/22772 "2016-10-12T14:30:19Z")

</div>

I asked this on Stackoverflow and was wondering if anyone had experience with this problem: I am trying to copy a bunch of files from server X (not control machine) to a group of servers,targets: Y1, Y2, …, Yn (defined …

---

## [Using SSH config of 'become' user for pip installation](https://forum.ansible.com/t/using-ssh-config-of-become-user-for-pip-installation/22759)

<div class="topic-metadata">

**Author:** [@j.leadbetter](https://forum.ansible.com/u/j.leadbetter)\
**Replies:** 1\
**Last updated:** [October 12, 2016, 2:28pm UTC](https://forum.ansible.com/t/using-ssh-config-of-become-user-for-pip-installation/22759 "2016-10-12T14:28:59Z")

</div>

Hello, I have a server where I need to pip install requirements from two separate github instances with two separate deploy keys (github doesn’t allow having the same deploy key for two different repositories). This is …

---

## [How to use a gathered fact to get item from a dictionary?](https://forum.ansible.com/t/how-to-use-a-gathered-fact-to-get-item-from-a-dictionary/22774)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 1\
**Last updated:** [October 12, 2016, 2:27pm UTC](https://forum.ansible.com/t/how-to-use-a-gathered-fact-to-get-item-from-a-dictionary/22774 "2016-10-12T14:27:19Z")

</div>

I have a dictionary that defines AWS mounts based on IP address \` aws\_efs\_mount: 10.22.100.1: aws\_mount\_10\_22\_100\_1 10.22.100.2: aws\_mount\_10\_22\_100\_2 \` Now I want a task that creates an entry in /etc/fstab \` The…

---

## [ansible jinja template how can I get ip varible of aws instances](https://forum.ansible.com/t/ansible-jinja-template-how-can-i-get-ip-varible-of-aws-instances/22777)

<div class="topic-metadata">

**Author:** [@marcs345](https://forum.ansible.com/u/marcs345)\
**Replies:** 0\
**Last updated:** [October 12, 2016, 11:52am UTC](https://forum.ansible.com/t/ansible-jinja-template-how-can-i-get-ip-varible-of-aws-instances/22777 "2016-10-12T11:52:05Z")

</div>

I have 3 nodes neo4j databases ( all in AWS). I need to create config with jinja templates (neo4j-server.properties.j2) with diferent ip addr in option “elasticsearch.host\_name=” How can I add to this config ip varible …

---

## [get\_url and regex\_replace](https://forum.ansible.com/t/get-url-and-regex-replace/22755)

<div class="topic-metadata">

**Author:** [@cpb3ll](https://forum.ansible.com/u/cpb3ll)\
**Replies:** 1\
**Last updated:** [October 11, 2016, 9:40pm UTC](https://forum.ansible.com/t/get-url-and-regex-replace/22755 "2016-10-11T21:40:28Z")

</div>

Hi All I’m trying to use the get\_url module to download and rename at the same time. It does not work. Should it? \` name: Download get\_url: url: “{{ cfssl.download\_url }}/{{ item }}” dest: “{{ cfssl.install\_dir }…

---

## [yum module does not support yum --config=http://file-location](https://forum.ansible.com/t/yum-module-does-not-support-yum-config-http-file-location/22739)

<div class="topic-metadata">

**Author:** [@markus.gothe](https://forum.ansible.com/u/markus.gothe)\
**Replies:** 1\
**Last updated:** [October 11, 2016, 8:01pm UTC](https://forum.ansible.com/t/yum-module-does-not-support-yum-config-http-file-location/22739 "2016-10-11T20:01:28Z")

</div>

Hello, I just discoverd that the yum module does not support the yum option -c or --config as it is supposed to be. According to man yum (and successfully tested on commandline): -c, --config=\[config file\] Specifies …

---

## [Using compound AWS tags from dynamic inventory on a jinja template](https://forum.ansible.com/t/using-compound-aws-tags-from-dynamic-inventory-on-a-jinja-template/22765)

<div class="topic-metadata">

**Author:** [@Max\_Leon](https://forum.ansible.com/u/Max_Leon)\
**Replies:** 2\
**Last updated:** [October 11, 2016, 7:15pm UTC](https://forum.ansible.com/t/using-compound-aws-tags-from-dynamic-inventory-on-a-jinja-template/22765 "2016-10-11T19:15:04Z")

</div>

Hello everyone, I’m trying to use a combine call to AWS tags within a jinja template so I can select nodes for a cassandra cluster. seeds: {% set comma = joiner(“,”) %} {% for server in groups\[ ‘tag\_env\_{{ env }}:&ta…

---

## [Testing a group\_vars list and setting fact based on results...how?](https://forum.ansible.com/t/testing-a-group-vars-list-and-setting-fact-based-on-results-how/22769)

<div class="topic-metadata">

**Author:** [@Dayton\_Jones](https://forum.ansible.com/u/Dayton_Jones)\
**Replies:** 2\
**Last updated:** [October 11, 2016, 6:49pm UTC](https://forum.ansible.com/t/testing-a-group-vars-list-and-setting-fact-based-on-results-how/22769 "2016-10-11T18:49:06Z")

</div>

I have a couple of lists defined in group\_vars along with a lookup to determine the defined IP for the ilom: …ansbile/inventory/group\_vars/.yml ilom\_gateway: 10.224.64.1 10.85.0.1 10.234.50.161 ilom\_m…

---

## [whitespaces in include\_vars](https://forum.ansible.com/t/whitespaces-in-include-vars/22764)

<div class="topic-metadata">

**Author:** [@Harald\_Laabs](https://forum.ansible.com/u/Harald_Laabs)\
**Replies:** 0\
**Last updated:** [October 10, 2016, 8:08pm UTC](https://forum.ansible.com/t/whitespaces-in-include-vars/22764 "2016-10-10T20:08:44Z")

</div>

Hi all, somewhere in the last week ansible 2.2 changed to fail on tabs in include\_vars files. foo: 123 -- works foo: 123 -- fails Is that behaviour intentional? (I hope not. I thought I'm only a few days away from …

---

## [Ansible with winrm to WindowsServer 2008 with Exchange 2010 (Command Powershell)](https://forum.ansible.com/t/ansible-with-winrm-to-windowsserver-2008-with-exchange-2010-command-powershell/22760)

<div class="topic-metadata">

**Author:** [@Christian\_Sarazin](https://forum.ansible.com/u/Christian_Sarazin)\
**Replies:** 6\
**Last updated:** [October 10, 2016, 5:50pm UTC](https://forum.ansible.com/t/ansible-with-winrm-to-windowsserver-2008-with-exchange-2010-command-powershell/22760 "2016-10-10T17:50:32Z")

</div>

Hi Guys, i’m getting crazy about this setup. Maybe you got an idea. I’m connecting to our Exchange/Windows servers by winrm with the domain admin user. This is working. Running a role with the task \` name: Testnam…

---

## [UK-based Ansible enthusiast available for work](https://forum.ansible.com/t/uk-based-ansible-enthusiast-available-for-work/22762)

<div class="topic-metadata">

**Author:** [@Asfand\_Yar\_Qazi](https://forum.ansible.com/u/Asfand_Yar_Qazi)\
**Replies:** 0\
**Last updated:** [October 10, 2016, 4:49pm UTC](https://forum.ansible.com/t/uk-based-ansible-enthusiast-available-for-work/22762 "2016-10-10T16:49:42Z")

</div>

Hi, TL;DR I am a web developer turned “DevOps” freelancer from the UK, looking for contract and freelance work. Ansible is a core strength. I have been using Ansible for about 5 years now, 2 of those being commercially…

[Previous page](https://forum.ansible.com/latest.md?page=716)

[Next page](https://forum.ansible.com/latest.md?page=718)
