# Archives

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

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

**Page:** 547

---

## [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…

---

## [How to use variables in a Jinja2 filter?](https://forum.ansible.com/t/how-to-use-variables-in-a-jinja2-filter/22753)

<div class="topic-metadata">

**Author:** [@David\_Li](https://forum.ansible.com/u/David_Li)\
**Replies:** 1\
**Last updated:** [October 10, 2016, 4:19pm UTC](https://forum.ansible.com/t/how-to-use-variables-in-a-jinja2-filter/22753 "2016-10-10T16:19:08Z")

</div>

Hi, I am trying to create an user with password hash filter like this: name: Create a user user: name: abc group: xyz password: {{ ‘mypass’|password\_hash(‘sha256’, ‘mysalt’) }} This works! Now I would like to us…

---

## [Anybody working on ansible modules for lxd?](https://forum.ansible.com/t/anybody-working-on-ansible-modules-for-lxd/21444)

<div class="topic-metadata">

**Author:** [@Brian\_Candler](https://forum.ansible.com/u/Brian_Candler)\
**Replies:** 5\
**Last updated:** [October 10, 2016, 3:50pm UTC](https://forum.ansible.com/t/anybody-working-on-ansible-modules-for-lxd/21444 "2016-10-10T15:50:17Z")

</div>

lxd is the new container system which is included by default in ubuntu 16.04: https://linuxcontainers.org/lxd/ Unlike docker, lxd containers are essentially lightweight VMs, with their own init daemon, sshd etc, and ty…

---

## [Ansible Synchronize Parallel Remote-To-Remote](https://forum.ansible.com/t/ansible-synchronize-parallel-remote-to-remote/22761)

<div class="topic-metadata">

**Author:** [@novice1023](https://forum.ansible.com/u/novice1023)\
**Replies:** 0\
**Last updated:** [October 10, 2016, 2:59pm UTC](https://forum.ansible.com/t/ansible-synchronize-parallel-remote-to-remote/22761 "2016-10-10T14:59:26Z")

</div>

I posted this question on stackoverflow on Friday and got no responses, so I thought I’d try my luck here. Since Friday, I have also tried using “command: rsync src dest”, but it hangs after outputting the last step. S…

---

## [A little surprised by vsphere\_guest's errors..](https://forum.ansible.com/t/a-little-surprised-by-vsphere-guests-errors/22758)

<div class="topic-metadata">

**Author:** [@teejaybee63](https://forum.ansible.com/u/teejaybee63)\
**Replies:** 0\
**Last updated:** [October 10, 2016, 12:18pm UTC](https://forum.ansible.com/t/a-little-surprised-by-vsphere-guests-errors/22758 "2016-10-10T12:18:53Z")

</div>

Just starting with Ansible, and in particular the vsphere\_guest module, and I’m just a little perplexed by the errors I’m getting… Any time I get an error from the module, it comes back as an undifferentiated blob of JS…

---

## [Failed to connect to the host via SSH](https://forum.ansible.com/t/failed-to-connect-to-the-host-via-ssh/22757)

<div class="topic-metadata">

**Author:** [@Pieter\_Breed](https://forum.ansible.com/u/Pieter_Breed)\
**Replies:** 0\
**Last updated:** [October 10, 2016, 11:34am UTC](https://forum.ansible.com/t/failed-to-connect-to-the-host-via-ssh/22757 "2016-10-10T11:34:20Z")

</div>

Hi, I am having a problem running the ansible -m ping command. The error that I am getting is UNREACHABLE, but this is silly as plain ssh ubuntu@ec2-11-222-111-44.compute-1.amazonaws.com works. When a add -c paramiko …

---

## [Output on Windows shows carriage return and new line feed](https://forum.ansible.com/t/output-on-windows-shows-carriage-return-and-new-line-feed/22733)

<div class="topic-metadata">

**Author:** [@Cory\_Coager](https://forum.ansible.com/u/Cory_Coager)\
**Replies:** 5\
**Last updated:** [October 10, 2016, 7:21am UTC](https://forum.ansible.com/t/output-on-windows-shows-carriage-return-and-new-line-feed/22733 "2016-10-10T07:21:24Z")

</div>

When looking at the output from a Windows host, all of the lines are appended together onto one line. You can see a “\\r\\n” instead of a new line. Is there an option to fix this for the output so they display as new lines…

---

## [Ansible Slow Performance in SLES 11 SP3 Remote VMs](https://forum.ansible.com/t/ansible-slow-performance-in-sles-11-sp3-remote-vms/22756)

<div class="topic-metadata">

**Author:** [@Anas\_Theo](https://forum.ansible.com/u/Anas_Theo)\
**Replies:** 0\
**Last updated:** [October 10, 2016, 7:14am UTC](https://forum.ansible.com/t/ansible-slow-performance-in-sles-11-sp3-remote-vms/22756 "2016-10-10T07:14:11Z")

</div>

I have installed (ansible-2.1.1.0-1.el7.noarch) in Centos 7 minimal installation OS in VMware ESXi 5.5.0 environment. I have a problem with the setup of ansible remote hosts only for the ones running SLES 11 SP3 OS. For …

---

## [does ansible support ssh signed keys?](https://forum.ansible.com/t/does-ansible-support-ssh-signed-keys/22729)

<div class="topic-metadata">

**Author:** [@mgogoulos](https://forum.ansible.com/u/mgogoulos)\
**Replies:** 1\
**Last updated:** [October 10, 2016, 6:34am UTC](https://forum.ansible.com/t/does-ansible-support-ssh-signed-keys/22729 "2016-10-10T06:34:40Z")

</div>

Hi all, ssh supports signed ssh keys by appending ‘-cert.pub’ to private keys . Can I specify this key to ansible, along with the private key? Thanks, Markos

---

## [Bug fix on ecs\_service\_facts.py](https://forum.ansible.com/t/bug-fix-on-ecs-service-facts-py/22754)

<div class="topic-metadata">

**Author:** [@Enrico\_Casti](https://forum.ansible.com/u/Enrico_Casti)\
**Replies:** 0\
**Last updated:** [October 9, 2016, 8:30pm UTC](https://forum.ansible.com/t/bug-fix-on-ecs-service-facts-py/22754 "2016-10-09T20:30:49Z")

</div>

Hi all, this is my first contribution on this list. Some months ago i opened a bug ( https://github.com/ansible/ansible-modules-extras/issues/2437 ) on module ecs\_service\_facts about limited number of results to 10 eve…

---

## [migrate server - from dhcp to static ip](https://forum.ansible.com/t/migrate-server-from-dhcp-to-static-ip/22539)

<div class="topic-metadata">

**Author:** [@Fidel\_Dominguez-Vale](https://forum.ansible.com/u/Fidel_Dominguez-Vale)\
**Replies:** 1\
**Last updated:** [October 9, 2016, 10:28am UTC](https://forum.ansible.com/t/migrate-server-from-dhcp-to-static-ip/22539 "2016-10-09T10:28:04Z")

</div>

There are any way to migrate the existing network configuration (IP, Netmask, Gateway) to static IP using ansible?

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

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