# Archives

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

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

**Page:** 524

---

## [SSH via Jumpbox](https://forum.ansible.com/t/ssh-via-jumpbox/17431)

<div class="topic-metadata">

**Author:** [@Ethan\_Zhan](https://forum.ansible.com/u/Ethan_Zhan)\
**Replies:** 9\
**Last updated:** [January 13, 2017, 2:58pm UTC](https://forum.ansible.com/t/ssh-via-jumpbox/17431 "2017-01-13T14:58:13Z")

</div>

Hi, I’m in trouble with how to use ansible on jumpbox, here is the issue. from jumpbox I have to use command sudo ssh box\_ip to get login with root permission. How can I let ansible know to use sudo ssh instead of ssh…

---

## [Ansible Update on CVE and Versions](https://forum.ansible.com/t/ansible-update-on-cve-and-versions/23455)

<div class="topic-metadata">

**Author:** [@jmckerr](https://forum.ansible.com/u/jmckerr)\
**Replies:** 0\
**Last updated:** [January 13, 2017, 2:51pm UTC](https://forum.ansible.com/t/ansible-update-on-cve-and-versions/23455 "2017-01-13T14:51:20Z")

</div>

To All in the Ansible Community, As you’ve likely heard, Computest.nl reported a security vulnerability to the Ansible Core engineering team and Red Hat Security. The Ansible Core team has been working hard to fix the i…

---

## [Ansible update on CVE and Versions](https://forum.ansible.com/t/ansible-update-on-cve-and-versions/23454)

<div class="topic-metadata">

**Author:** [@jmckerr](https://forum.ansible.com/u/jmckerr)\
**Replies:** 0\
**Last updated:** [January 13, 2017, 2:50pm UTC](https://forum.ansible.com/t/ansible-update-on-cve-and-versions/23454 "2017-01-13T14:50:28Z")

</div>

To All in the Ansible Community, As you’ve likely heard, Computest.nl reported a security vulnerability to the Ansible Core engineering team and Red Hat Security. The Ansible Core team has been working hard to fix the i…

---

## [Register same instance in more than one ELB in parallel using ec2\_elb](https://forum.ansible.com/t/register-same-instance-in-more-than-one-elb-in-parallel-using-ec2-elb/23452)

<div class="topic-metadata">

**Author:** [@ivan\_farre\_Vicente](https://forum.ansible.com/u/ivan_farre_Vicente)\
**Replies:** 0\
**Last updated:** [January 13, 2017, 11:57am UTC](https://forum.ansible.com/t/register-same-instance-in-more-than-one-elb-in-parallel-using-ec2-elb/23452 "2017-01-13T11:57:12Z")

</div>

We have the same instances behind a group of ELB’s. During deploy we register them using ec2\_elb module like this name: Instance Register tags: balancer,balancer-register environment: “{{ aws\_env }}” local\_action: …

---

## [Sort hosts by gathered fact](https://forum.ansible.com/t/sort-hosts-by-gathered-fact/23450)

<div class="topic-metadata">

**Author:** [@Alexander\_Brand](https://forum.ansible.com/u/Alexander_Brand)\
**Replies:** 0\
**Last updated:** [January 13, 2017, 10:15am UTC](https://forum.ansible.com/t/sort-hosts-by-gathered-fact/23450 "2017-01-13T10:15:17Z")

</div>

Is it possible to sort the hosts by a given fact? The use case is producing a list of machine name → free disk space with the top N machines that have the most free disk space. The hosts need to be sorted by a fact, and…

---

## [How to check status of service running on a remote host via Ansible](https://forum.ansible.com/t/how-to-check-status-of-service-running-on-a-remote-host-via-ansible/23444)

<div class="topic-metadata">

**Author:** [@Kishor\_Ramanan](https://forum.ansible.com/u/Kishor_Ramanan)\
**Replies:** 1\
**Last updated:** [January 13, 2017, 9:06am UTC](https://forum.ansible.com/t/how-to-check-status-of-service-running-on-a-remote-host-via-ansible/23444 "2017-01-13T09:06:21Z")

</div>

I am in need of a ansbile play to check the status of a service in CENTOS 7 / RHEL Expected output: ● docker.service - Docker Application Container Engine Loaded: loaded (/usr/lib/systemd/system/docker.service; enable…

---

## [Public Key works but not username password](https://forum.ansible.com/t/public-key-works-but-not-username-password/23441)

<div class="topic-metadata">

**Author:** [@Worked\_Whe](https://forum.ansible.com/u/Worked_Whe)\
**Replies:** 1\
**Last updated:** [January 13, 2017, 8:58am UTC](https://forum.ansible.com/t/public-key-works-but-not-username-password/23441 "2017-01-13T08:58:13Z")

</div>

My “Ansible Server” connect to remote “Host” as below. Ansible Server —\> JumpServer → Host I configured “Ansible Server” Appropriately for SSH Proxy. Now I can directly SSH to “Host” from “Ansible Server”, both with us…

---

## [Core Module to Informix](https://forum.ansible.com/t/core-module-to-informix/23449)

<div class="topic-metadata">

**Author:** [@Miguel\_Ribeiro](https://forum.ansible.com/u/Miguel_Ribeiro)\
**Replies:** 0\
**Last updated:** [January 13, 2017, 8:40am UTC](https://forum.ansible.com/t/core-module-to-informix/23449 "2017-01-13T08:40:48Z")

</div>

Hi I am interested to know if someone already used Ansible with Informix and i like to leave the question if Ansible going to prepare a core module for Informix. Thank You

---

## [The setup task to windows machine hangs](https://forum.ansible.com/t/the-setup-task-to-windows-machine-hangs/23395)

<div class="topic-metadata">

**Author:** [@Deepa\_Yr](https://forum.ansible.com/u/Deepa_Yr)\
**Replies:** 2\
**Last updated:** [January 13, 2017, 5:48am UTC](https://forum.ansible.com/t/the-setup-task-to-windows-machine-hangs/23395 "2017-01-13T05:48:53Z")

</div>

Hi At some point of time in the execution of playbooks, it hangs at the setup task with windows machine. It does not send the response back to ansible controller I guess, and playbook hangs. in windows machine, i see po…

---

## [jinja2 line formatting (white space)](https://forum.ansible.com/t/jinja2-line-formatting-white-space/23447)

<div class="topic-metadata">

**Author:** [@andrew.hudson](https://forum.ansible.com/u/andrew.hudson)\
**Replies:** 0\
**Last updated:** [January 13, 2017, 5:46am UTC](https://forum.ansible.com/t/jinja2-line-formatting-white-space/23447 "2017-01-13T05:46:11Z")

</div>

I have this jinja2 going on in a play: \` with\_items: "{% for host in play\_hosts -%} {% if (host != inventory\_hostname) -%} {{host}} slave {% endif -%} {% endfor -%}" \` which basically appends some lines to a file…

---

## [IMPORTANT - Updated RCs for Security Bug CVE-2016-9587](https://forum.ansible.com/t/important-updated-rcs-for-security-bug-cve-2016-9587/23439)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 6\
**Last updated:** [January 12, 2017, 11:49pm UTC](https://forum.ansible.com/t/important-updated-rcs-for-security-bug-cve-2016-9587/23439 "2017-01-12T23:49:17Z")

</div>

Hi all, We’ve just released the following release candidates to address a few more corner cases found after the release of the previous RCs for CVE-2016-9587: 2.1.4 RC2 2.2.1 RC4 Thanks again to Computest for double-…

---

## [Failed to get D-Bus connection in Docker Container](https://forum.ansible.com/t/failed-to-get-d-bus-connection-in-docker-container/23228)

<div class="topic-metadata">

**Author:** [@Coolman](https://forum.ansible.com/u/Coolman)\
**Replies:** 1\
**Last updated:** [January 12, 2017, 6:52pm UTC](https://forum.ansible.com/t/failed-to-get-d-bus-connection-in-docker-container/23228 "2017-01-12T18:52:15Z")

</div>

Hello there, I get the error described in the title when I execute systemctl in a docker container launcher with Ansible docker module. Thus, I cannot manage services in the docker container (eg. satrt/stop/reload nginx…

---

## [Using Ansible with Archiva](https://forum.ansible.com/t/using-ansible-with-archiva/23435)

<div class="topic-metadata">

**Author:** [@g.roberts](https://forum.ansible.com/u/g.roberts)\
**Replies:** 1\
**Last updated:** [January 12, 2017, 12:45pm UTC](https://forum.ansible.com/t/using-ansible-with-archiva/23435 "2017-01-12T12:45:41Z")

</div>

I am new to Ansible and am trying to get a download from an Archiva respository. I am using the extra called maven\_artifact. I can successfully download an artifact from Maven Central but not from my local Archiva. By al…

---

## [Developers Guide](https://forum.ansible.com/t/developers-guide/23442)

<div class="topic-metadata">

**Author:** [@oleg\_mukolaichenko](https://forum.ansible.com/u/oleg_mukolaichenko)\
**Replies:** 1\
**Last updated:** [January 12, 2017, 11:02am UTC](https://forum.ansible.com/t/developers-guide/23442 "2017-01-12T11:02:05Z")

</div>

Hello buddies, I wanna make some changes for fixing bugs in Ansible (my favourite infrastructure automation tool). Please, tell me where I can find manual like ‘getting started’, or ‘developers guide’? At this moment …

---

## [Network and Prompts](https://forum.ansible.com/t/network-and-prompts/23438)

<div class="topic-metadata">

**Author:** [@Billy\_B](https://forum.ansible.com/u/Billy_B)\
**Replies:** 1\
**Last updated:** [January 12, 2017, 10:04am UTC](https://forum.ansible.com/t/network-and-prompts/23438 "2017-01-12T10:04:48Z")

</div>

Hi I am quite new to ansible and I hope I could ask a few questions here please. My goal To use ansible to try and configure both Juniper and Cisco devices in one playbook and then test them Eg: run a ping, How can I …

---

## [Differences between systems](https://forum.ansible.com/t/differences-between-systems/23437)

<div class="topic-metadata">

**Author:** [@Tom\_Christopher](https://forum.ansible.com/u/Tom_Christopher)\
**Replies:** 1\
**Last updated:** [January 12, 2017, 10:02am UTC](https://forum.ansible.com/t/differences-between-systems/23437 "2017-01-12T10:02:22Z")

</div>

Trying to set\_fact based on user input: set\_fact: wls\_bounce\_jvm: True when: bounce\_managed\_instance == True and deploy == True On my Mac OSX system running version 2.1.2.0.1\_0 and 2.2.0.0.1\_0 works without issue. I…

---

## [Initializing "List" with dynamic values through "with\_items" is not working .](https://forum.ansible.com/t/initializing-list-with-dynamic-values-through-with-items-is-not-working/23387)

<div class="topic-metadata">

**Author:** [@Ritesh\_Sharma](https://forum.ansible.com/u/Ritesh_Sharma)\
**Replies:** 4\
**Last updated:** [January 12, 2017, 7:17am UTC](https://forum.ansible.com/t/initializing-list-with-dynamic-values-through-with-items-is-not-working/23387 "2017-01-12T07:17:09Z")

</div>

Hi Guys , i am attempting to initialise list (array) with set\_fact method with some dynamic values through with\_items ; but getting failure for same ; it seems like my list is acting as a normal variable and printing th…

---

## [IMPORTANT - New RCs for Security Bug CVE-2016-9587](https://forum.ansible.com/t/important-new-rcs-for-security-bug-cve-2016-9587/23410)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 6\
**Last updated:** [January 12, 2017, 5:18am UTC](https://forum.ansible.com/t/important-new-rcs-for-security-bug-cve-2016-9587/23410 "2017-01-12T05:18:21Z")

</div>

Hi all, Today we are releasing two new release candidates to address CVE-2016-9587, which we are removing from embargo today: 2.1.4 RC1 2.2.1 RC3 CVE-2016-9587 is rated as HIGH in risk, as a compromised remote syste…

---

## [Unable to Install Ansible](https://forum.ansible.com/t/unable-to-install-ansible/23430)

<div class="topic-metadata">

**Author:** [@Ramesh](https://forum.ansible.com/u/Ramesh)\
**Replies:** 2\
**Last updated:** [January 12, 2017, 2:02am UTC](https://forum.ansible.com/t/unable-to-install-ansible/23430 "2017-01-12T02:02:40Z")

</div>

Hello all, I tried installing ansible on centos vagrant, but can’t install. As Im new to this, request some one to help me on this. \[vagrant@first yum.repos.d\]$ sudo easy\_install pip sudo: easy\_install: command not fou…

---

## [Run Ansible against a standalone Windows server](https://forum.ansible.com/t/run-ansible-against-a-standalone-windows-server/23426)

<div class="topic-metadata">

**Author:** [@Eric\_Chong](https://forum.ansible.com/u/Eric_Chong)\
**Replies:** 1\
**Last updated:** [January 12, 2017, 1:57am UTC](https://forum.ansible.com/t/run-ansible-against-a-standalone-windows-server/23426 "2017-01-12T01:57:54Z")

</div>

Is there a way to run Ansible against a standalone Windows server that is not in a domain? The document shows how to setup kerberos with Windows domain. What if the Windows server is not in any domain? Thanks

---

## [Extra character (carriage return?) when decoding base64-encoded string?](https://forum.ansible.com/t/extra-character-carriage-return-when-decoding-base64-encoded-string/23365)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 1\
**Last updated:** [January 11, 2017, 9:00pm UTC](https://forum.ansible.com/t/extra-character-carriage-return-when-decoding-base64-encoded-string/23365 "2017-01-11T21:00:15Z")

</div>

Dear all, I am not an expert on base64, but I guess this might be similar to this issue: \<https://github.com/ansible/ansible/issues/5262&gt; I have a variable myvariable that contains a base64-encoded string generat…

---

## [Create VM from template using vsphere\_guest module](https://forum.ansible.com/t/create-vm-from-template-using-vsphere-guest-module/23413)

<div class="topic-metadata">

**Author:** [@Robert\_Williams1](https://forum.ansible.com/u/Robert_Williams1)\
**Replies:** 3\
**Last updated:** [January 11, 2017, 8:14pm UTC](https://forum.ansible.com/t/create-vm-from-template-using-vsphere-guest-module/23413 "2017-01-11T20:14:08Z")

</div>

Hello, I am new to Ansible and am having trouble spinning up a vm from a template using Ansible. I am unsure on what to put for “hosts” in my playbook. Should this be the vcenter hostname , vsphere hostname or something …

---

## [getting 'play recap' changed variable from playbook](https://forum.ansible.com/t/getting-play-recap-changed-variable-from-playbook/23417)

<div class="topic-metadata">

**Author:** [@Pieter\_Voet](https://forum.ansible.com/u/Pieter_Voet)\
**Replies:** 2\
**Last updated:** [January 11, 2017, 4:12pm UTC](https://forum.ansible.com/t/getting-play-recap-changed-variable-from-playbook/23417 "2017-01-11T16:12:13Z")

</div>

Hi all, if any play in a playbook actually changes something, I want to display a ‘please restart something’ message to the playbook user. Is there a way to get the ‘PLAY RECAP’ changed variable value from a playbook ? …

---

## [zypper module no longer working in check\_mode: unknown option '--dry-run'](https://forum.ansible.com/t/zypper-module-no-longer-working-in-check-mode-unknown-option-dry-run/23415)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 5\
**Last updated:** [January 11, 2017, 3:28pm UTC](https://forum.ansible.com/t/zypper-module-no-longer-working-in-check-mode-unknown-option-dry-run/23415 "2017-01-11T15:28:30Z")

</div>

Dear all, the zypper module (and thus the package module) is no longer working on my openSUSE Leap 42.1 / 42.2 or Tumbleweed machines, since zypper does not like being called with --dry-run in check\_mode: fatal: \[XXX…

---

## ["stableinterface" Module Status Question](https://forum.ansible.com/t/stableinterface-module-status-question/23425)

<div class="topic-metadata">

**Author:** [@Valentyn\_Boginskey](https://forum.ansible.com/u/Valentyn_Boginskey)\
**Replies:** 3\
**Last updated:** [January 11, 2017, 3:28pm UTC](https://forum.ansible.com/t/stableinterface-module-status-question/23425 "2017-01-11T15:28:23Z")

</div>

Hi, I’d like to propose a simple improvement to the ec2\_lc module. The module has a user\_data parameter that allows the user to pass an opaque blob of data to any instances launched with this launch configuration. Howev…

---

## [Feature request: Adding an option to yum module to just update the packagecache](https://forum.ansible.com/t/feature-request-adding-an-option-to-yum-module-to-just-update-the-packagecache/23436)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 0\
**Last updated:** [January 11, 2017, 1:44pm UTC](https://forum.ansible.com/t/feature-request-adding-an-option-to-yum-module-to-just-update-the-packagecache/23436 "2017-01-11T13:44:16Z")

</div>

Dear all, would anybody else find it useful to have the yum module just update the package cache? Instead of using a command-task calling "yum makecache" and getting yelled at by ansible to consider using the yum mod…

---

## [$HOME/.ansible/tmp not cleaned up](https://forum.ansible.com/t/home-ansible-tmp-not-cleaned-up/23419)

<div class="topic-metadata">

**Author:** [@fanvalt](https://forum.ansible.com/u/fanvalt)\
**Replies:** 2\
**Last updated:** [January 11, 2017, 1:40pm UTC](https://forum.ansible.com/t/home-ansible-tmp-not-cleaned-up/23419 "2017-01-11T13:40:18Z")

</div>

Hello, I use ansible 2.1.2.0 When running a playbook , the $HOME/.ansible/tmp temporary files are not cleaned up on the remote server, , a copy file is created and not deleted. Do you know why ? We have 3Go a tempora…

---

## [Question about ec2\_asg module](https://forum.ansible.com/t/question-about-ec2-asg-module/23434)

<div class="topic-metadata">

**Author:** [@Cvijan\_Uros](https://forum.ansible.com/u/Cvijan_Uros)\
**Replies:** 0\
**Last updated:** [January 11, 2017, 1:39pm UTC](https://forum.ansible.com/t/question-about-ec2-asg-module/23434 "2017-01-11T13:39:35Z")

</div>

Hi, I have a question that is bothering me. I am using Anislbe to do the rolling deploy on Amazon. Have set the health check to be ELB, set up all the intervals, number of checks or the instance to be healthy and unheal…

---

## [ERROR COMES WHEN ADD LDAP ENTRY](https://forum.ansible.com/t/error-comes-when-add-ldap-entry/23431)

<div class="topic-metadata">

**Author:** [@Arvind\_Jha](https://forum.ansible.com/u/Arvind_Jha)\
**Replies:** 0\
**Last updated:** [January 11, 2017, 10:44am UTC](https://forum.ansible.com/t/error-comes-when-add-ldap-entry/23431 "2017-01-11T10:44:08Z")

</div>

when i want to add ldap entry in bdb database using ansible following error is comming please help me out. fatal: \[IP: FAILED! =\> {“changed”: false, “failed”: true, “module\_stderr”: “”, “module\_stdout”: “Traceback (most…

---

## [remove files from host that are not in a dictionary](https://forum.ansible.com/t/remove-files-from-host-that-are-not-in-a-dictionary/23416)

<div class="topic-metadata">

**Author:** [@mekonhead100](https://forum.ansible.com/u/mekonhead100)\
**Replies:** 1\
**Last updated:** [January 11, 2017, 10:28am UTC](https://forum.ansible.com/t/remove-files-from-host-that-are-not-in-a-dictionary/23416 "2017-01-11T10:28:34Z")

</div>

I’m trying to remove config files from a host if they are no longer managed by ansible. The ansible managed files are in a dictionary similar to the following : config\_files: vhost01: servername: vhost01 domain: com…

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

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