# Latest

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

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

**Page:** 924

---

## [stopping ec2 spot instances](https://forum.ansible.com/t/stopping-ec2-spot-instances/16630)

<div class="topic-metadata">

**Author:** [@Bryan\_Hunt](https://forum.ansible.com/u/Bryan_Hunt)\
**Replies:** 2\
**Last updated:** [November 3, 2014, 10:37am UTC](https://forum.ansible.com/t/stopping-ec2-spot-instances/16630 "2014-11-03T10:37:44Z")

</div>

I’m writing an ansible demo, showing how to provision Riak clusters, and I want to make it super self contained. With that in mind, I’ve been playing with the ec2.py inventory script, and the ansible ec2 module. Starti…

---

## [Those going to AWS:reInvent in November?](https://forum.ansible.com/t/those-going-to-aws-reinvent-in-november/16665)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [November 2, 2014, 10:07pm UTC](https://forum.ansible.com/t/those-going-to-aws-reinvent-in-november/16665 "2014-11-02T22:07:37Z")

</div>

I figure there’s a good chance of a lot of folks being at this one. Tentatively seeing if a small group of folks from the devel list might want to get together for dinner/drinks Tuesday night after the Expo social. If …

---

## [Gathering Facts Hangs after Reboot](https://forum.ansible.com/t/gathering-facts-hangs-after-reboot/16658)

<div class="topic-metadata">

**Author:** [@Tony\_Kinsley](https://forum.ansible.com/u/Tony_Kinsley)\
**Replies:** 2\
**Last updated:** [November 1, 2014, 8:23pm UTC](https://forum.ansible.com/t/gathering-facts-hangs-after-reboot/16658 "2014-11-01T20:23:54Z")

</div>

Today I stumbled upon what I think is an extremely rare bug with the paramiko ssh connection plugin. It seems that something my team added recently to our startup scripts has caused the ssh connection to hang when attemp…

---

## [using the assemble module and backup recovery](https://forum.ansible.com/t/using-the-assemble-module-and-backup-recovery/16655)

<div class="topic-metadata">

**Author:** [@Tennis\_Smith](https://forum.ansible.com/u/Tennis_Smith)\
**Replies:** 2\
**Last updated:** [November 1, 2014, 3:18pm UTC](https://forum.ansible.com/t/using-the-assemble-module-and-backup-recovery/16655 "2014-11-01T15:18:15Z")

</div>

Hi, I really like the idea behind the “assemble” module. But what I cannot figure out is a good way to recover the backup file if a backup is created. For example, if I do assemble: src=/somedir/foo dest=/some/other/d…

---

## [Connection backend to manage remote LXC containers](https://forum.ansible.com/t/connection-backend-to-manage-remote-lxc-containers/16636)

<div class="topic-metadata">

**Author:** [@Gu1](https://forum.ansible.com/u/Gu1)\
**Replies:** 3\
**Last updated:** [November 1, 2014, 2:54pm UTC](https://forum.ansible.com/t/connection-backend-to-manage-remote-lxc-containers/16636 "2014-11-01T14:54:24Z")

</div>

Hello, I recently submitted a pull request to add support for managing LXC containers with ansible by directly ssh'ing on the host. The pull request contains some change to the ssh connection plugin, and while it sho…

---

## [Consistent docker\_image module failure on ec2 instances](https://forum.ansible.com/t/consistent-docker-image-module-failure-on-ec2-instances/16650)

<div class="topic-metadata">

**Author:** [@Ananda\_Debnath](https://forum.ansible.com/u/Ananda_Debnath)\
**Replies:** 4\
**Last updated:** [November 1, 2014, 2:51pm UTC](https://forum.ansible.com/t/consistent-docker-image-module-failure-on-ec2-instances/16650 "2014-11-01T14:51:18Z")

</div>

Gurus, I’m trying to create a docker image from a Dockerfile in an ec2 instance. I’m able to create the ec2 instances and copy over the dockerfile fine. However, for every ec2 instance I fire up, it always fails the fir…

---

## [Using (partially) host-specific lists with with\_items](https://forum.ansible.com/t/using-partially-host-specific-lists-with-with-items/16616)

<div class="topic-metadata">

**Author:** [@Tore\_Olsen](https://forum.ansible.com/u/Tore_Olsen)\
**Replies:** 3\
**Last updated:** [November 1, 2014, 2:49pm UTC](https://forum.ansible.com/t/using-partially-host-specific-lists-with-with-items/16616 "2014-11-01T14:49:07Z")

</div>

Hi, I want to use logentries to forward important log files. Most servers have the same files, but there are some which are specific based on which services are running. So I figured out one way to do this by using with…

---

## [make SSH interactive or bulking adding SSH host keys?](https://forum.ansible.com/t/make-ssh-interactive-or-bulking-adding-ssh-host-keys/16652)

<div class="topic-metadata">

**Author:** [@Kevin\_Burton](https://forum.ansible.com/u/Kevin_Burton)\
**Replies:** 4\
**Last updated:** [November 1, 2014, 2:47pm UTC](https://forum.ansible.com/t/make-ssh-interactive-or-bulking-adding-ssh-host-keys/16652 "2014-11-01T14:47:33Z")

</div>

I’m trying to migrate an existing cloud cluster to ansible. It’s about 10 machines. I want to use Ansible to add my SSH key to all boxes so I can just ssh authenticate. But the I have the following problems: none o…

---

## [Better output for ad-hoc commands?](https://forum.ansible.com/t/better-output-for-ad-hoc-commands/16647)

<div class="topic-metadata">

**Author:** [@Alex\_Scoble](https://forum.ansible.com/u/Alex_Scoble)\
**Replies:** 8\
**Last updated:** [November 1, 2014, 2:45pm UTC](https://forum.ansible.com/t/better-output-for-ad-hoc-commands/16647 "2014-11-01T14:45:50Z")

</div>

Is there any way to get Ansible to provide cleaner/human readable output when running ad-hoc commands? Sometimes, particularly when output of a process is voluminous, it drops newlines and munges everything together. Usi…

---

## [the precedence of var\_files includes when path is constructed from vars](https://forum.ansible.com/t/the-precedence-of-var-files-includes-when-path-is-constructed-from-vars/16620)

<div class="topic-metadata">

**Author:** [@Nick](https://forum.ansible.com/u/Nick)\
**Replies:** 4\
**Last updated:** [November 1, 2014, 2:45pm UTC](https://forum.ansible.com/t/the-precedence-of-var-files-includes-when-path-is-constructed-from-vars/16620 "2014-11-01T14:45:08Z")

</div>

Hello, Something I discovered about ansible this morning surprised me. Essentially: when loading vars files, anything loaded with a \*dynamically constructed name depending on the host\* seems to be lower precedence than …

---

## [configure your docker with ansible](https://forum.ansible.com/t/configure-your-docker-with-ansible/16579)

<div class="topic-metadata">

**Author:** [@Michael\_Bitard](https://forum.ansible.com/u/Michael_Bitard)\
**Replies:** 10\
**Last updated:** [November 1, 2014, 12:41pm UTC](https://forum.ansible.com/t/configure-your-docker-with-ansible/16579 "2014-11-01T12:41:52Z")

</div>

Hi ansible-users, I have a little problem with my use case. I use ansible to create a docker instance with an random ssh port open I use ansible to customize the docker instance newly created I can’t specify the ssh …

---

## [Is there a way to list commands?](https://forum.ansible.com/t/is-there-a-way-to-list-commands/16656)

<div class="topic-metadata">

**Author:** [@Tiglath](https://forum.ansible.com/u/Tiglath)\
**Replies:** 1\
**Last updated:** [October 31, 2014, 9:07pm UTC](https://forum.ansible.com/t/is-there-a-way-to-list-commands/16656 "2014-10-31T21:07:02Z")

</div>

Same as --list-host warns of what horses will be acted on, is there a way to also list what tasks and commands will execute on each? Thanks

---

## [How To Write Simple Messages To The Screen In A Module?](https://forum.ansible.com/t/how-to-write-simple-messages-to-the-screen-in-a-module/16641)

<div class="topic-metadata">

**Author:** [@Tennis\_Smith](https://forum.ansible.com/u/Tennis_Smith)\
**Replies:** 3\
**Last updated:** [October 31, 2014, 3:04pm UTC](https://forum.ansible.com/t/how-to-write-simple-messages-to-the-screen-in-a-module/16641 "2014-10-31T15:04:53Z")

</div>

Hi, I’m writing a small module in Python. What is the preferred way to write informational (i.e. non-error) messages to the user’s screen while the module runs? The methods “fail\_json” and “exit\_json” both cause the mod…

---

## [npm is not a legal parameter at this level in an Ansible playbook](https://forum.ansible.com/t/npm-is-not-a-legal-parameter-at-this-level-in-an-ansible-playbook/16566)

<div class="topic-metadata">

**Author:** [@ansi11](https://forum.ansible.com/u/ansi11)\
**Replies:** 7\
**Last updated:** [October 31, 2014, 8:37am UTC](https://forum.ansible.com/t/npm-is-not-a-legal-parameter-at-this-level-in-an-ansible-playbook/16566 "2014-10-31T08:37:48Z")

</div>

I am trying to install forever through npm on Centos 6.3 version. Getting the error as above if my .yml file is first level of playbook.

---

## [Ansible ignoring Ubuntu yml file](https://forum.ansible.com/t/ansible-ignoring-ubuntu-yml-file/16633)

<div class="topic-metadata">

**Author:** [@Vikas\_Kumar](https://forum.ansible.com/u/Vikas_Kumar)\
**Replies:** 3\
**Last updated:** [October 31, 2014, 6:25am UTC](https://forum.ansible.com/t/ansible-ignoring-ubuntu-yml-file/16633 "2014-10-31T06:25:33Z")

</div>

Hello Everyone, I am new to Ansible world. I am just trying to create a small playbook to install apache2 on Debian 7.4 and Ubuntu14.04 servers. I have defined few variables in two different yml files - Ubuntu.yml and …

---

## [ansible-shell](https://forum.ansible.com/t/ansible-shell/12927)

<div class="topic-metadata">

**Author:** [@Nandor\_Sivok](https://forum.ansible.com/u/Nandor_Sivok)\
**Replies:** 10\
**Last updated:** [October 30, 2014, 11:21pm UTC](https://forum.ansible.com/t/ansible-shell/12927 "2014-10-30T23:21:18Z")

</div>

Hello Guys, I’m using ansible cli a lot for my daily work to run commands simultaneously on our cluster. Mainly I’m using the shell module but sometimes easier to use the specified module for a job. However I always for…

---

## [pyinstaller can't pick up Ansible plug-ins](https://forum.ansible.com/t/pyinstaller-cant-pick-up-ansible-plug-ins/16649)

<div class="topic-metadata">

**Author:** [@sampsont](https://forum.ansible.com/u/sampsont)\
**Replies:** 1\
**Last updated:** [October 30, 2014, 9:03pm UTC](https://forum.ansible.com/t/pyinstaller-cant-pick-up-ansible-plug-ins/16649 "2014-10-30T21:03:07Z")

</div>

PyInstaller is a program that goes through your Python code and finds all the dependencies and creates a folder or file that you can distribute. This file can be run on other computers without the need to install anythin…

---

## [Example to customize modules errors](https://forum.ansible.com/t/example-to-customize-modules-errors/16648)

<div class="topic-metadata">

**Author:** [@Tiglath](https://forum.ansible.com/u/Tiglath)\
**Replies:** 2\
**Last updated:** [October 30, 2014, 8:56pm UTC](https://forum.ansible.com/t/example-to-customize-modules-errors/16648 "2014-10-30T20:56:49Z")

</div>

I followed the docs example to add a module as with the time.py example. So I have:

---

## [Tomcat / Apache playbook](https://forum.ansible.com/t/tomcat-apache-playbook/16643)

<div class="topic-metadata">

**Author:** [@Mark3](https://forum.ansible.com/u/Mark3)\
**Replies:** 3\
**Last updated:** [October 30, 2014, 8:53pm UTC](https://forum.ansible.com/t/tomcat-apache-playbook/16643 "2014-10-30T20:53:54Z")

</div>

Greetings all, I’m struggling to find the sollution to this ‘problem’. I’ve created a role that installs and configures tomcat. After this is complete I’d like the role to update the webservers’ /etc/httpd/conf.d/{{ vh…

---

## [Ansible-pull fail tasks notifications ?](https://forum.ansible.com/t/ansible-pull-fail-tasks-notifications/16644)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 2\
**Last updated:** [October 30, 2014, 8:50pm UTC](https://forum.ansible.com/t/ansible-pull-fail-tasks-notifications/16644 "2014-10-30T20:50:45Z")

</div>

Hi, One of the benefits of running Ansible in push mode is that you can see exactly when and what task have failed. I’m planning to use ansible in pull mode and I would like to know when a task have failed in pull mode …

---

## [Using ansible cloudformation module with coreos](https://forum.ansible.com/t/using-ansible-cloudformation-module-with-coreos/16638)

<div class="topic-metadata">

**Author:** [@S.Mclaughlin](https://forum.ansible.com/u/S.Mclaughlin)\
**Replies:** 1\
**Last updated:** [October 30, 2014, 8:47pm UTC](https://forum.ansible.com/t/using-ansible-cloudformation-module-with-coreos/16638 "2014-10-30T20:47:45Z")

</div>

Hey, I am using Ansible Cloudformation module to provision the a CoreOS cluster. I configured the playbook based on the instructions on the Cloudformation module’s page but I am lost as to what should be in the host fil…

---

## [Ansible can't find module](https://forum.ansible.com/t/ansible-cant-find-module/16626)

<div class="topic-metadata">

**Author:** [@Tiglath](https://forum.ansible.com/u/Tiglath)\
**Replies:** 2\
**Last updated:** [October 30, 2014, 8:39pm UTC](https://forum.ansible.com/t/ansible-cant-find-module/16626 "2014-10-30T20:39:05Z")

</div>

Error is fatal: \[sysname\] =\> imported module support code does not exist at /usr/lib/python2.6/site-packages/ansible-1.6.6-py2.6.egg/ansible/module\_utils/splitter.py I have splitter.py installed in my user local dir, h…

---

## [include\_vars not working correctly in case of remote hosts](https://forum.ansible.com/t/include-vars-not-working-correctly-in-case-of-remote-hosts/16622)

<div class="topic-metadata">

**Author:** [@vikram\_patil](https://forum.ansible.com/u/vikram_patil)\
**Replies:** 2\
**Last updated:** [October 30, 2014, 8:38pm UTC](https://forum.ansible.com/t/include-vars-not-working-correctly-in-case-of-remote-hosts/16622 "2014-10-30T20:38:26Z")

</div>

Hello All, I am trying to setup ansible script which fetches config file from S3 and stores on remote node in home directory for User. In next task I would like to include\_vars from this file but somehow include\_vars fa…

---

## [Connecting to an instance via Bastion Host](https://forum.ansible.com/t/connecting-to-an-instance-via-bastion-host/16628)

<div class="topic-metadata">

**Author:** [@Bob\_Brown](https://forum.ansible.com/u/Bob_Brown)\
**Replies:** 1\
**Last updated:** [October 30, 2014, 8:35pm UTC](https://forum.ansible.com/t/connecting-to-an-instance-via-bastion-host/16628 "2014-10-30T20:35:45Z")

</div>

So I have Ansible setup in a local machine. My local machine has ssh access to a Bastion Host, essentially an ec2 instance that I can ssh to directly with my keys The instances I want to update/change/create all need t…

---

## [AttributeError: 'module' object has no attribute 'APIError'](https://forum.ansible.com/t/attributeerror-module-object-has-no-attribute-apierror/16621)

<div class="topic-metadata">

**Author:** [@Ananda\_Debnath](https://forum.ansible.com/u/Ananda_Debnath)\
**Replies:** 1\
**Last updated:** [October 30, 2014, 8:35pm UTC](https://forum.ansible.com/t/attributeerror-module-object-has-no-attribute-apierror/16621 "2014-10-30T20:35:03Z")

</div>

\# Failing on this task name: Build the docker Nginx image docker\_image: path: “{{ docker\_nginx\_dir }}” state: build name: nginx

---

## [SSH problems in VM](https://forum.ansible.com/t/ssh-problems-in-vm/16629)

<div class="topic-metadata">

**Author:** [@Rob\_Phoenix](https://forum.ansible.com/u/Rob_Phoenix)\
**Replies:** 1\
**Last updated:** [October 30, 2014, 8:32pm UTC](https://forum.ansible.com/t/ssh-problems-in-vm/16629 "2014-10-30T20:32:38Z")

</div>

I’m trying to get started with Ansible in a VM but can’t get the SSH configuration right. When I try to ping 127.0.0.1 this is the output: rmphoenix@rmphoenix-VirtualBox:/$ ansible 127.0.0.1 -m ping -vvvv \<127.0.0.1\> E…

---

## [Probably not possible, but ...](https://forum.ansible.com/t/probably-not-possible-but/16627)

<div class="topic-metadata">

**Author:** [@Tennis\_Smith](https://forum.ansible.com/u/Tennis_Smith)\
**Replies:** 1\
**Last updated:** [October 30, 2014, 8:29pm UTC](https://forum.ansible.com/t/probably-not-possible-but/16627 "2014-10-30T20:29:45Z")

</div>

Can a file in group\_vars (say /group\_vars/foo/all) set the ANSIBLE\_SSH\_ARGS variable and point to a new config file? I’m trying to figure out a way to have different groups have different ssh config files. Example: \` …

---

## ["Incorrect sudo password" when trying to dynamically set ansible\_sudo\_pass](https://forum.ansible.com/t/incorrect-sudo-password-when-trying-to-dynamically-set-ansible-sudo-pass/16618)

<div class="topic-metadata">

**Author:** [@Aaron\_Caskey](https://forum.ansible.com/u/Aaron_Caskey)\
**Replies:** 1\
**Last updated:** [October 30, 2014, 8:27pm UTC](https://forum.ansible.com/t/incorrect-sudo-password-when-trying-to-dynamically-set-ansible-sudo-pass/16618 "2014-10-30T20:27:11Z")

</div>

Hi. I am trying to set up an environment using different passwords for different hosts: In ./group\_vars/all I have the line: ansible\_sudo\_pass: “{{ lookup(‘password’, ‘passwords/’ + inventory\_hostname) }}” #ansible…

---

## [plugin deprecation and aliasing](https://forum.ansible.com/t/plugin-deprecation-and-aliasing/16625)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 6\
**Last updated:** [October 30, 2014, 7:14pm UTC](https://forum.ansible.com/t/plugin-deprecation-and-aliasing/16625 "2014-10-30T19:14:18Z")

</div>

So I have a branch with an update to the plugin loader, this should now enable renaming and deprecating plugins. https://github.com/bcoca/ansible/tree/load\_aliases To deprecate a module just rename it with a leading un…

---

## [Is aptitude really needed?](https://forum.ansible.com/t/is-aptitude-really-needed/16598)

<div class="topic-metadata">

**Author:** [@Goran\_Juric](https://forum.ansible.com/u/Goran_Juric)\
**Replies:** 4\
**Last updated:** [October 30, 2014, 5:57pm UTC](https://forum.ansible.com/t/is-aptitude-really-needed/16598 "2014-10-30T17:57:25Z")

</div>

I am running multiple services on lean (minimal) containers on Debian and aptitude package needs to be installed on the target system if you want to run: “apt: upgrade=full” command Is there a command that does the sam…

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

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