# Latest

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

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

**Page:** 848

---

## [\--list-tasks does not correlate with --start-at-task](https://forum.ansible.com/t/list-tasks-does-not-correlate-with-start-at-task/18893)

<div class="topic-metadata">

**Author:** [@Edwin\_Fine](https://forum.ansible.com/u/Edwin_Fine)\
**Replies:** 2\
**Last updated:** [July 29, 2015, 8:24pm UTC](https://forum.ansible.com/t/list-tasks-does-not-correlate-with-start-at-task/18893 "2015-07-29T20:24:27Z")

</div>

Using ansible 1.9.0.1, if I combine --start-at-task=“…” with --list-tasks, it lists all tasks. I would have expected it would list only the tasks beginning at start-at-task, similar to using it with --tags=‘…’. I could…

---

## [azure required for this module error](https://forum.ansible.com/t/azure-required-for-this-module-error/18886)

<div class="topic-metadata">

**Author:** [@rsimbirtsev](https://forum.ansible.com/u/rsimbirtsev)\
**Replies:** 6\
**Last updated:** [July 29, 2015, 8:07pm UTC](https://forum.ansible.com/t/azure-required-for-this-module-error/18886 "2015-07-29T20:07:45Z")

</div>

Hello, I am new to ansible and trying to create new VM in Azure with azure module but getting the error: failed: \[localhost\] =\> {“failed”: true, “parsed”: false} failed=True msg=‘azure required for this module’ Here …

---

## [jsonfile fact caching error: error, fact\_caching\_connection is not set, cannot use fact cache](https://forum.ansible.com/t/jsonfile-fact-caching-error-error-fact-caching-connection-is-not-set-cannot-use-fact-cache/18892)

<div class="topic-metadata">

**Author:** [@senorsmile](https://forum.ansible.com/u/senorsmile)\
**Replies:** 5\
**Last updated:** [July 29, 2015, 7:49pm UTC](https://forum.ansible.com/t/jsonfile-fact-caching-error-error-fact-caching-connection-is-not-set-cannot-use-fact-cache/18892 "2015-07-29T19:49:13Z")

</div>

I have added the following to ansible.cfg \` fact\_caching = jsonfile fact\_caching\_location = /tmp/ansible\_facts fact\_caching\_timeout = 86400 \` With these set, any attempts to use ansible or ansible-playbook (tried m…

---

## [How to manage authorized\_keys?](https://forum.ansible.com/t/how-to-manage-authorized-keys/18840)

<div class="topic-metadata">

**Author:** [@Eugene\_Knoxville](https://forum.ansible.com/u/Eugene_Knoxville)\
**Replies:** 8\
**Last updated:** [July 29, 2015, 7:07pm UTC](https://forum.ansible.com/t/how-to-manage-authorized-keys/18840 "2015-07-29T19:07:18Z")

</div>

Hello, I’m using authorized\_keys core module for managing the same name files. So, what I need? I have a role, and var file with all ssh-keys. For exmpl: user1\_key: SSH PUB KEY HERE user2\_key: SSH PUB KEY HERE I wan…

---

## [ansible gem not installing dependencies](https://forum.ansible.com/t/ansible-gem-not-installing-dependencies/16614)

<div class="topic-metadata">

**Author:** [@J\_Soetanto](https://forum.ansible.com/u/J_Soetanto)\
**Replies:** 4\
**Last updated:** [July 29, 2015, 4:12pm UTC](https://forum.ansible.com/t/ansible-gem-not-installing-dependencies/16614 "2015-07-29T16:12:50Z")

</div>

Hi there, I tried to install fluentd elasticsearch plugin using ansible gem, however for some reason the installation does not install the dependencies even though i explicitly set to install dependencies Background: …

---

## [vmware modules\_utils missing](https://forum.ansible.com/t/vmware-modules-utils-missing/18885)

<div class="topic-metadata">

**Author:** [@Joseph\_Callen](https://forum.ansible.com/u/Joseph_Callen)\
**Replies:** 1\
**Last updated:** [July 29, 2015, 3:22pm UTC](https://forum.ansible.com/t/vmware-modules-utils-missing/18885 "2015-07-29T15:22:25Z")

</div>

Hello, We are about to submit PRs for the VMware modules and noticed that the vmware modules\_utils didn’t get moved over during the switch from v1 to v2. If there is something that needs to be done please let us know. T…

---

## [Run ansible playbook in uninitialized env?](https://forum.ansible.com/t/run-ansible-playbook-in-uninitialized-env/18884)

<div class="topic-metadata">

**Author:** [@Valeriy\_Solovyov](https://forum.ansible.com/u/Valeriy_Solovyov)\
**Replies:** 1\
**Last updated:** [July 29, 2015, 2:49pm UTC](https://forum.ansible.com/t/run-ansible-playbook-in-uninitialized-env/18884 "2015-07-29T14:49:55Z")

</div>

Hello, I use some script that executes a ansible playbook from upstart. If I use lookup for variable playbook/task/defaults/main.yml: user: “{{ lookup(‘env’,‘USER’) }}” home: “{{ lookup(‘env’,‘HOME’) }}” It will the…

---

## [how to abort execution upon a single fail on any host](https://forum.ansible.com/t/how-to-abort-execution-upon-a-single-fail-on-any-host/18883)

<div class="topic-metadata">

**Author:** [@Leon\_Xie](https://forum.ansible.com/u/Leon_Xie)\
**Replies:** 4\
**Last updated:** [July 29, 2015, 2:24pm UTC](https://forum.ansible.com/t/how-to-abort-execution-upon-a-single-fail-on-any-host/18883 "2015-07-29T14:24:34Z")

</div>

hi all, I have the below playbooks:

---

## [Ansible Tower: sudo task on localhost job failed](https://forum.ansible.com/t/ansible-tower-sudo-task-on-localhost-job-failed/18881)

<div class="topic-metadata">

**Author:** [@Do\_Hoang\_Khiem](https://forum.ansible.com/u/Do_Hoang_Khiem)\
**Replies:** 2\
**Last updated:** [July 29, 2015, 1:43pm UTC](https://forum.ansible.com/t/ansible-tower-sudo-task-on-localhost-job-failed/18881 "2015-07-29T13:43:30Z")

</div>

I’ve deployed an instance of Ansible Tower (using official Ansible EC2 AMI) on one of our server. There’re some of our playbooks that always run locally (so, hosts = localhost, connection = local). Normally those playboo…

---

## [Problem with var within a playbook](https://forum.ansible.com/t/problem-with-var-within-a-playbook/18877)

<div class="topic-metadata">

**Author:** [@KSS](https://forum.ansible.com/u/KSS)\
**Replies:** 2\
**Last updated:** [July 29, 2015, 1:36pm UTC](https://forum.ansible.com/t/problem-with-var-within-a-playbook/18877 "2015-07-29T13:36:58Z")

</div>

Hi, I’m having a problem with a particular variable. I’m hoping figuring out the problem below will help me understand the issue with a larger playbook. ansible --version ansible 1.9.2 A simple playbook (I need the l…

---

## [List of list and variables](https://forum.ansible.com/t/list-of-list-and-variables/18829)

<div class="topic-metadata">

**Author:** [@Guillaume\_Querso](https://forum.ansible.com/u/Guillaume_Querso)\
**Replies:** 4\
**Last updated:** [July 29, 2015, 11:41am UTC](https://forum.ansible.com/t/list-of-list-and-variables/18829 "2015-07-29T11:41:40Z")

</div>

i am not sure it is possible to do so, but i would like to have a list of list. it would look like this: my\_files: path: /data/ansible/testing1/ {name: ‘test1.reg’, ext: ‘.reg’} {name: ‘test1.lst’, ext: ‘.lst’} …

---

## [Unable to establish SSH connection using Ansible](https://forum.ansible.com/t/unable-to-establish-ssh-connection-using-ansible/18882)

<div class="topic-metadata">

**Author:** [@cmacrae](https://forum.ansible.com/u/cmacrae)\
**Replies:** 4\
**Last updated:** [July 29, 2015, 11:39am UTC](https://forum.ansible.com/t/unable-to-establish-ssh-connection-using-ansible/18882 "2015-07-29T11:39:51Z")

</div>

I’m working on a role to deploy my Ansible setup (sort of a ‘master node’ configuration - where I execute Ansible from). Issue Description I’ve encountered a rather strange issue: I’m able to SSH as the user I’m runnin…

---

## [Ansible v2.0 (master branch) not showing each item in with\_items](https://forum.ansible.com/t/ansible-v2-0-master-branch-not-showing-each-item-in-with-items/18856)

<div class="topic-metadata">

**Author:** [@Fotis\_Gimian](https://forum.ansible.com/u/Fotis_Gimian)\
**Replies:** 6\
**Last updated:** [July 29, 2015, 10:48am UTC](https://forum.ansible.com/t/ansible-v2-0-master-branch-not-showing-each-item-in-with-items/18856 "2015-07-29T10:48:37Z")

</div>

Hey there guys, hope everyone is well :slight\_smile: I’m trying to use v2 (current master from GitHub) but, I’ve come across a little problem; e.g. playbook

---

## [Use IP in hosts as variables in roles](https://forum.ansible.com/t/use-ip-in-hosts-as-variables-in-roles/18869)

<div class="topic-metadata">

**Author:** [@Alexandre\_Grais](https://forum.ansible.com/u/Alexandre_Grais)\
**Replies:** 1\
**Last updated:** [July 29, 2015, 5:25am UTC](https://forum.ansible.com/t/use-ip-in-hosts-as-variables-in-roles/18869 "2015-07-29T05:25:03Z")

</div>

Hi Ansible guys, I am using ansible to provision my django application composed of: A Django Webserver on (Machine A IP : 1.1.1.1) A PostgreSQL Database (Machine B IP: 2.2.2.2) RabbitMQ Server (Machine C) Celery Woeke…

---

## [Galaxy Maintenance Tonight](https://forum.ansible.com/t/galaxy-maintenance-tonight/18880)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 2\
**Last updated:** [July 29, 2015, 1:32am UTC](https://forum.ansible.com/t/galaxy-maintenance-tonight/18880 "2015-07-29T01:32:51Z")

</div>

Hi all, we’re going to be doing some maintenance on the Galaxy site tonight, starting at 9pm EDT. We don’t currently have a time estimate for the outage, so watch here for status updates. Thanks, and sorry for the late …

---

## [module naming conventions?](https://forum.ansible.com/t/module-naming-conventions/18878)

<div class="topic-metadata">

**Author:** [@Tim1](https://forum.ansible.com/u/Tim1)\
**Replies:** 2\
**Last updated:** [July 28, 2015, 11:36pm UTC](https://forum.ansible.com/t/module-naming-conventions/18878 "2015-07-28T23:36:23Z")

</div>

Hi folks, I’m looking for guidance on how one might name modules that potentially have long names based on a deep API hierarchy. For example, consider an API hierarchy that looks like this management \> traffic group \> …

---

## [ansible-galaxy problems?](https://forum.ansible.com/t/ansible-galaxy-problems/18879)

<div class="topic-metadata">

**Author:** [@Will\_Dennis](https://forum.ansible.com/u/Will_Dennis)\
**Replies:** 0\
**Last updated:** [July 28, 2015, 9:44pm UTC](https://forum.ansible.com/t/ansible-galaxy-problems/18879 "2015-07-28T21:44:42Z")

</div>

Just got this when I tried to init a new role structure: \` will@wdennis-p390:~/ansible-stuff$ ansible-galaxy init roles/laptop\_netcfg ^C- the API server (galaxy.ansible.com) is not responding, please try again later. …

---

## [Aggregating hosts by group\_by and groups](https://forum.ansible.com/t/aggregating-hosts-by-group-by-and-groups/18868)

<div class="topic-metadata">

**Author:** [@Offer\_Sharabi](https://forum.ansible.com/u/Offer_Sharabi)\
**Replies:** 2\
**Last updated:** [July 28, 2015, 7:47pm UTC](https://forum.ansible.com/t/aggregating-hosts-by-group-by-and-groups/18868 "2015-07-28T19:47:12Z")

</div>

Hi there, So my task is quite simple, run a play against a group of hosts. Then , in the next play report which hosts completed the task successfully and which don’t. I am using the group\_by keyword for that, but withou…

---

## [trouble with shell and error-handling](https://forum.ansible.com/t/trouble-with-shell-and-error-handling/18875)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 1\
**Last updated:** [July 28, 2015, 7:26pm UTC](https://forum.ansible.com/t/trouble-with-shell-and-error-handling/18875 "2015-07-28T19:26:19Z")

</div>

Hi all, I’m trying to build some logic around rebooting Windows nodes and waiting until they come back online. I’m building a role to easily allow us to check for pending reboots and reboot if necessary as part of a pla…

---

## [Yum module doesn't provide a large verbose output as apt](https://forum.ansible.com/t/yum-module-doesnt-provide-a-large-verbose-output-as-apt/18872)

<div class="topic-metadata">

**Author:** [@alessandro\_mazzoli](https://forum.ansible.com/u/alessandro_mazzoli)\
**Replies:** 1\
**Last updated:** [July 28, 2015, 3:51pm UTC](https://forum.ansible.com/t/yum-module-doesnt-provide-a-large-verbose-output-as-apt/18872 "2015-07-28T15:51:29Z")

</div>

Hi, i’m also using Ansible for rolling updates( dry-run first) on Ubuntu/CentOS but i recognized that with the same cli command, Apt provide a larger verbose output than Yum: \` ansible myhost -i inventories/production…

---

## [Use invenvtory\_hosts in templates](https://forum.ansible.com/t/use-invenvtory-hosts-in-templates/18873)

<div class="topic-metadata">

**Author:** [@Sagayaraj\_A](https://forum.ansible.com/u/Sagayaraj_A)\
**Replies:** 2\
**Last updated:** [July 28, 2015, 3:03pm UTC](https://forum.ansible.com/t/use-invenvtory-hosts-in-templates/18873 "2015-07-28T15:03:13Z")

</div>

Hi All, I’m trying to make use of the values in the inventory file to generate a configuration file out a of a Jinja template. Similarly I’m not able to use the ansible facts as well in the Jinja template (ex: { ansible…

---

## [96 new modules awaiting community review](https://forum.ansible.com/t/96-new-modules-awaiting-community-review/18866)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 2\
**Last updated:** [July 28, 2015, 2:49pm UTC](https://forum.ansible.com/t/96-new-modules-awaiting-community-review/18866 "2015-07-28T14:49:30Z")

</div>

The 96 modules listed below are currently under consideration for inclusion in Ansible Extras. If you believe that one of these modules might be useful to you, you can help speed its inclusion! Here are two ways to h…

---

## [How to use registered variable in with\_items list?](https://forum.ansible.com/t/how-to-use-registered-variable-in-with-items-list/18874)

<div class="topic-metadata">

**Author:** [@Tim\_John](https://forum.ansible.com/u/Tim_John)\
**Replies:** 0\
**Last updated:** [July 28, 2015, 1:49pm UTC](https://forum.ansible.com/t/how-to-use-registered-variable-in-with-items-list/18874 "2015-07-28T13:49:23Z")

</div>

Hey guys, I’m trying to use a registered variable in with\_items list, but can find a way to do it. Here is what I’m doing: - \*\*name\*\*: acquire Django root path \*\*shell\*\*: pip show django | grep 'Location' | sed 's/Loca…

---

## [Failed to connect to debian 8: Incompatible ssh peer (no acceptable kex algorithm),](https://forum.ansible.com/t/failed-to-connect-to-debian-8-incompatible-ssh-peer-no-acceptable-kex-algorithm/18858)

<div class="topic-metadata">

**Author:** [@hce](https://forum.ansible.com/u/hce)\
**Replies:** 4\
**Last updated:** [July 28, 2015, 3:53am UTC](https://forum.ansible.com/t/failed-to-connect-to-debian-8-incompatible-ssh-peer-no-acceptable-kex-algorithm/18858 "2015-07-28T03:53:41Z")

</div>

Hi, My Ansible version is 1.9, it works for debian 7, centos 6 and centos 7, but I have got errors to ping debian 8 “No handlers could be found for logger “paramiko.transport” FAILED =\> FAILED: Incompatible ssh peer (no…

---

## [variable set to a default value in play vars unexpectedly becomes not the default value](https://forum.ansible.com/t/variable-set-to-a-default-value-in-play-vars-unexpectedly-becomes-not-the-default-value/18817)

<div class="topic-metadata">

**Author:** [@Kathy\_Allen](https://forum.ansible.com/u/Kathy_Allen)\
**Replies:** 6\
**Last updated:** [July 27, 2015, 11:58pm UTC](https://forum.ansible.com/t/variable-set-to-a-default-value-in-play-vars-unexpectedly-becomes-not-the-default-value/18817 "2015-07-27T23:58:43Z")

</div>

Hi there, I’m using ansible 1.9.2. We don’t use ansible for configuration management, but instead for deployment automation. I’m trying to set some conditions early on in a play so that the right tasks get executed und…

---

## [diagnose error within a loop](https://forum.ansible.com/t/diagnose-error-within-a-loop/18870)

<div class="topic-metadata">

**Author:** [@Chuck\_Carlino](https://forum.ansible.com/u/Chuck_Carlino)\
**Replies:** 0\
**Last updated:** [July 27, 2015, 11:40pm UTC](https://forum.ansible.com/t/diagnose-error-within-a-loop/18870 "2015-07-27T23:40:37Z")

</div>

Hi, Here is my task and variable description: packages: kvm: libvirt-bin: libvirt-dev: libxml2-dev: libxslt-dev: name: Install libvirt packages apt: state=latest name={{ item.key }} sudo: yes with\_dict: packa…

---

## [ee835ff  does not fix #11746](https://forum.ansible.com/t/ee835ff-does-not-fix-11746/18867)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 4\
**Last updated:** [July 27, 2015, 9:05pm UTC](https://forum.ansible.com/t/ee835ff-does-not-fix-11746/18867 "2015-07-27T21:05:26Z")

</div>

ee835ff does not fixed #11746 (posting here because the issue was closed) Here is the play, pretty must the same as the play in #11746 name: deploy ssl keys and certificates copy: \> src={{ item }} dest=/etc/ssl/pri…

---

## [How do I properly escape a colon in a lineinfile string](https://forum.ansible.com/t/how-do-i-properly-escape-a-colon-in-a-lineinfile-string/18863)

<div class="topic-metadata">

**Author:** [@Dave\_Thacker](https://forum.ansible.com/u/Dave_Thacker)\
**Replies:** 3\
**Last updated:** [July 27, 2015, 8:28pm UTC](https://forum.ansible.com/t/how-do-i-properly-escape-a-colon-in-a-lineinfile-string/18863 "2015-07-27T20:28:50Z")

</div>

I want to add an alias to the end of my /etc/aliases file. I’ve tried action: lineinfile dest=“/etc/aliases” backup=yes state=present insertafter=EOF line=“root: unixadmin@example.com” action: lineinfile dest=“/etc/al…

---

## [Count registered results based on pattern](https://forum.ansible.com/t/count-registered-results-based-on-pattern/18865)

<div class="topic-metadata">

**Author:** [@Tom\_Paine1](https://forum.ansible.com/u/Tom_Paine1)\
**Replies:** 0\
**Last updated:** [July 27, 2015, 6:32pm UTC](https://forum.ansible.com/t/count-registered-results-based-on-pattern/18865 "2015-07-27T18:32:52Z")

</div>

I have a collection of registered shell commands captured and would like to be able to count how many match a pattern: \` name: run a shell command to produce ‘a’ or ‘b’ on all boxes and collect the results run\_once: …

---

## [How to install the packages using EC2 user data at the launch time](https://forum.ansible.com/t/how-to-install-the-packages-using-ec2-user-data-at-the-launch-time/18860)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 2\
**Last updated:** [July 27, 2015, 6:00pm UTC](https://forum.ansible.com/t/how-to-install-the-packages-using-ec2-user-data-at-the-launch-time/18860 "2015-07-27T18:00:49Z")

</div>

I want to install the nginx by passing it as the user data to the ec2 instance at the launch time. I am passing it like this name: WebServer | Create the WebServer Instance(s) local\_action: module: ec2 region: “{{ v…

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

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