# Latest

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

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

**Page:** 719

---

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

---

## [Command not working on remote host through shell module or playbook](https://forum.ansible.com/t/command-not-working-on-remote-host-through-shell-module-or-playbook/22590)

<div class="topic-metadata">

**Author:** [@DHAVAL\_JAISWAL](https://forum.ansible.com/u/DHAVAL_JAISWAL)\
**Replies:** 4\
**Last updated:** [October 9, 2016, 10:16am UTC](https://forum.ansible.com/t/command-not-working-on-remote-host-through-shell-module-or-playbook/22590 "2016-10-09T10:16:21Z")

</div>

Ansible version: ansible 1.9.2 I am unable to execute following command from shell module neither through playbook. It could be any command at the run time. While reading found $,% need the escape string. Tried but not …

---

## [Using consul for dynamic inventory](https://forum.ansible.com/t/using-consul-for-dynamic-inventory/22752)

<div class="topic-metadata">

**Author:** [@Mike\_Mester](https://forum.ansible.com/u/Mike_Mester)\
**Replies:** 0\
**Last updated:** [October 9, 2016, 4:33am UTC](https://forum.ansible.com/t/using-consul-for-dynamic-inventory/22752 "2016-10-09T04:33:40Z")

</div>

Hello, I am looking to utilize consul to dynamically update my inventory system for ansible. Here is the scenario: I am running openstack and using the openstack provisioning features in ansible. The instances get a dy…

---

## [Tmp files still being](https://forum.ansible.com/t/tmp-files-still-being/22750)

<div class="topic-metadata">

**Author:** [@harold\_T](https://forum.ansible.com/u/harold_T)\
**Replies:** 0\
**Last updated:** [October 9, 2016, 12:48am UTC](https://forum.ansible.com/t/tmp-files-still-being/22750 "2016-10-09T00:48:29Z")

</div>

install Ubuntu 13.1 then \` apt-get install git python-pip setuptools $ git clone git://github.com/ansible/ansible.git --recursive $ cd ./ansible \` $ source ./hacking/env-setup $ source ./hacking/env-setup -q p…

---

## [regex\_replace filter is not working](https://forum.ansible.com/t/regex-replace-filter-is-not-working/22730)

<div class="topic-metadata">

**Author:** [@Venkata\_Jaswanth\_U](https://forum.ansible.com/u/Venkata_Jaswanth_U)\
**Replies:** 2\
**Last updated:** [October 8, 2016, 3:04pm UTC](https://forum.ansible.com/t/regex-replace-filter-is-not-working/22730 "2016-10-08T15:04:03Z")

</div>

Hi all. I am trying to use regex\_replace to capture the host name in a url. This is the code : {{ openerp\_url | regex\_replace(‘^(?:h.//)?(.)(?:(?::|/).\*)$’, ‘\\1’) }}. But, when the playbook is run, it is only giving \\1 …

---

## [Using ansible api,tmp files still being](https://forum.ansible.com/t/using-ansible-api-tmp-files-still-being/22748)

<div class="topic-metadata">

**Author:** [@harold\_T](https://forum.ansible.com/u/harold_T)\
**Replies:** 0\
**Last updated:** [October 8, 2016, 5:42am UTC](https://forum.ansible.com/t/using-ansible-api-tmp-files-still-being/22748 "2016-10-08T05:42:22Z")

</div>

my env is Ubuntu 13.1，ansible 2.1 I am using the official example to learn ansible api, $ cat official.py https://github.com/haroldTlan/ansible/blob/master/official.py but tmp file still there $ cd /.ansible/tmp $ …

---

## [Confused about "statically included" playbooks in version "2.1.2.0"](https://forum.ansible.com/t/confused-about-statically-included-playbooks-in-version-2-1-2-0/22734)

<div class="topic-metadata">

**Author:** [@Jay\_LaCroix](https://forum.ansible.com/u/Jay_LaCroix)\
**Replies:** 1\
**Last updated:** [October 8, 2016, 12:19am UTC](https://forum.ansible.com/t/confused-about-statically-included-playbooks-in-version-2-1-2-0/22734 "2016-10-08T00:19:37Z")

</div>

I have just started seeing output on my playbook runs, similar to the following: statically included: /home/ansible/git/ansible/roles/base/tasks/mail.rc.yml statically included: /home/ansible/git/ansible/roles/base/tas…

---

## [Using Ansible docker\_service module to deploy service to swarm](https://forum.ansible.com/t/using-ansible-docker-service-module-to-deploy-service-to-swarm/22746)

<div class="topic-metadata">

**Author:** [@Bo\_Stone](https://forum.ansible.com/u/Bo_Stone)\
**Replies:** 0\
**Last updated:** [October 7, 2016, 9:22pm UTC](https://forum.ansible.com/t/using-ansible-docker-service-module-to-deploy-service-to-swarm/22746 "2016-10-07T21:22:35Z")

</div>

I’m trying to deploy a Docker service into swarm but always ending up with running container on my localhost (the one I use as a docker swarm manager) and no service Here’s my setup: I have 3 node Docker (v. 1.12.1) sw…

---

## [Best way to extend/configure roles from Ansible-Galaxy](https://forum.ansible.com/t/best-way-to-extend-configure-roles-from-ansible-galaxy/22743)

<div class="topic-metadata">

**Author:** [@Dave\_G](https://forum.ansible.com/u/Dave_G)\
**Replies:** 1\
**Last updated:** [October 7, 2016, 5:33pm UTC](https://forum.ansible.com/t/best-way-to-extend-configure-roles-from-ansible-galaxy/22743 "2016-10-07T17:33:25Z")

</div>

I really like how easy it is to import roles from Ansible-Galaxy. I have installed a redis role. I don’t want to check this remote role into my repo and have gitignored it (I install it with requirements.yml). What is …

---

## [ios clear command expect confirm](https://forum.ansible.com/t/ios-clear-command-expect-confirm/22604)

<div class="topic-metadata">

**Author:** [@Valerie\_P](https://forum.ansible.com/u/Valerie_P)\
**Replies:** 2\
**Last updated:** [October 7, 2016, 3:36pm UTC](https://forum.ansible.com/t/ios-clear-command-expect-confirm/22604 "2016-10-07T15:36:03Z")

</div>

Hi, I have a question regarding the network core module “ios\_command”. I want to clear counters on some interfaces through a play. When I send the command directly through an SSH connection, the process is the following…

---

## [Is there are way to prevent concurrent execution of a single task?](https://forum.ansible.com/t/is-there-are-way-to-prevent-concurrent-execution-of-a-single-task/22742)

<div class="topic-metadata">

**Author:** [@Richard\_Eggert](https://forum.ansible.com/u/Richard_Eggert)\
**Replies:** 1\
**Last updated:** [October 7, 2016, 3:30pm UTC](https://forum.ansible.com/t/is-there-are-way-to-prevent-concurrent-execution-of-a-single-task/22742 "2016-10-07T15:30:05Z")

</div>

I have a local\_action using the lineinfile module to modify a single file on Ansible control server on behalf of each host in the inventory active for the current play, using information obtained from an earlier task in …

---

## [The module github\_key was not found in configured module paths](https://forum.ansible.com/t/the-module-github-key-was-not-found-in-configured-module-paths/22736)

<div class="topic-metadata">

**Author:** [@Brian\_Smith](https://forum.ansible.com/u/Brian_Smith)\
**Replies:** 1\
**Last updated:** [October 7, 2016, 3:29pm UTC](https://forum.ansible.com/t/the-module-github-key-was-not-found-in-configured-module-paths/22736 "2016-10-07T15:29:48Z")

</div>

I am trying to get this working and am using the example on the docs, but getting the error “The module github\_key was not found in configured module paths. Additionally, core modules are missing. If this is a checkout, …

---

## [shell vs command with uuidgen](https://forum.ansible.com/t/shell-vs-command-with-uuidgen/22741)

<div class="topic-metadata">

**Author:** [@Francisco\_Javier\_Rom](https://forum.ansible.com/u/Francisco_Javier_Rom)\
**Replies:** 2\
**Last updated:** [October 7, 2016, 2:50pm UTC](https://forum.ansible.com/t/shell-vs-command-with-uuidgen/22741 "2016-10-07T14:50:55Z")

</div>

I have written next task: \` name: Generate uuidgen local\_action: command uuidgen -r \> {{ consul\_files\_dir }}/{{ datacenter }}/consul.uuidgen become: False run\_once: True when: consul\_uuidgen\_file.stat.exists == Fa…

---

## [Random \<ansible hostvar name\> is undefined error](https://forum.ansible.com/t/random-ansible-hostvar-name-is-undefined-error/22740)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 0\
**Last updated:** [October 7, 2016, 2:40pm UTC](https://forum.ansible.com/t/random-ansible-hostvar-name-is-undefined-error/22740 "2016-10-07T14:40:35Z")

</div>

I’m running ansible 2.2.0, and getting these weird varialbe is undefined errors. I’m getting them on variables i KNOW are in hostvars, such as ansible\_\_powershell\_version on a windows node. I know there was some chatter…

---

## [vsphere\_guest: is post-clone configuration on the roadmap?](https://forum.ansible.com/t/vsphere-guest-is-post-clone-configuration-on-the-roadmap/19984)

<div class="topic-metadata">

**Author:** [@Daniel\_Carl](https://forum.ansible.com/u/Daniel_Carl)\
**Replies:** 1\
**Last updated:** [October 7, 2016, 1:57pm UTC](https://forum.ansible.com/t/vsphere-guest-is-post-clone-configuration-on-the-roadmap/19984 "2016-10-07T13:57:55Z")

</div>

Hello, For out test environment we have a need to deploy a large number of Windows 7 VMs with customer software installed, which we run for a few days and destroy before the next build. I have been trying for a little o…

---

## [Unable to reach to EC2 instance using dynamic inventory with a single region](https://forum.ansible.com/t/unable-to-reach-to-ec2-instance-using-dynamic-inventory-with-a-single-region/22566)

<div class="topic-metadata">

**Author:** [@Nirav\_Radia](https://forum.ansible.com/u/Nirav_Radia)\
**Replies:** 11\
**Last updated:** [October 7, 2016, 1:36pm UTC](https://forum.ansible.com/t/unable-to-reach-to-ec2-instance-using-dynamic-inventory-with-a-single-region/22566 "2016-10-07T13:36:03Z")

</div>

Hi all, I am pretty new to Ansible. I am using ec2.py to connect to my EC2 instances and run my ansible scripts on them. Previously, it was working fine when I was using “all” regions. But now when I change the region t…

---

## [AES strength of vault encrypt?](https://forum.ansible.com/t/aes-strength-of-vault-encrypt/22738)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 2\
**Last updated:** [October 7, 2016, 12:19pm UTC](https://forum.ansible.com/t/aes-strength-of-vault-encrypt/22738 "2016-10-07T12:19:57Z")

</div>

Hello, in the documentation to Vault is written that AES is used to encrypt the files. Do someone know the key strenght? Is it aes-128 bits, aes-256 bits or maybe aes-512 bits? Thanks in advance for your reply. Regard…

---

## [How can i install Ansible dev versions on docker containers that do not have connectivity to internet](https://forum.ansible.com/t/how-can-i-install-ansible-dev-versions-on-docker-containers-that-do-not-have-connectivity-to-internet/22737)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 0\
**Last updated:** [October 7, 2016, 8:59am UTC](https://forum.ansible.com/t/how-can-i-install-ansible-dev-versions-on-docker-containers-that-do-not-have-connectivity-to-internet/22737 "2016-10-07T08:59:20Z")

</div>

I am trying to maintain different versions of Ansible in different centos 7 based docker containers. Due to some company policies, the containers are not allowed to make http calls. I used yum to install latest Ansible r…

---

## [Can't set ownership to system user](https://forum.ansible.com/t/cant-set-ownership-to-system-user/22555)

<div class="topic-metadata">

**Author:** [@user74](https://forum.ansible.com/u/user74)\
**Replies:** 9\
**Last updated:** [October 7, 2016, 6:53am UTC](https://forum.ansible.com/t/cant-set-ownership-to-system-user/22555 "2016-10-07T06:53:11Z")

</div>

Hello. I have a server with Ubuntu Server 16.04.1. I test some ansible features on it from my desktop with Ubuntu 16.04.1. So I have system user “www-data” for Apache with uid=33(www-data) gid=33(www-data) groups=33(ww…

---

## [more weirdness when testing include\_role](https://forum.ansible.com/t/more-weirdness-when-testing-include-role/22709)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 6\
**Last updated:** [October 6, 2016, 9:12pm UTC](https://forum.ansible.com/t/more-weirdness-when-testing-include-role/22709 "2016-10-06T21:12:35Z")

</div>

Here’s another oddity. As far as I can see from the docs, this should work (“myrole” lives in roles/myrole in the plabook folder)

---

## [How to configure Vyatta router using ansible 2.0 version?](https://forum.ansible.com/t/how-to-configure-vyatta-router-using-ansible-2-0-version/22724)

<div class="topic-metadata">

**Author:** [@Mick\_st\_john](https://forum.ansible.com/u/Mick_st_john)\
**Replies:** 1\
**Last updated:** [October 6, 2016, 7:26pm UTC](https://forum.ansible.com/t/how-to-configure-vyatta-router-using-ansible-2-0-version/22724 "2016-10-06T19:26:08Z")

</div>

I am trying to configure vyatta router using modules provided by ansible 2.0 version. However, the commands such as “configure” are not supported by shell module as it is the configure command is not executed from /bin/s…

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

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