# Latest

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

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

**Page:** 1013

---

## [accelerated mode: decryption failed](https://forum.ansible.com/t/accelerated-mode-decryption-failed/13869)

<div class="topic-metadata">

**Author:** [@David\_Birdsong](https://forum.ansible.com/u/David_Birdsong)\
**Replies:** 2\
**Last updated:** [November 10, 2013, 9:30pm UTC](https://forum.ansible.com/t/accelerated-mode-decryption-failed/13869 "2013-11-10T21:30:36Z")

</div>

I’m trying out accelerated mode on a bunch of Centos6.4 nodes and getting random “decryption failed” errors on a few nodes, while many others work fine. Here’s /var/log/messages on an afflicted node: https://gist.githu…

---

## [stdout leaks information](https://forum.ansible.com/t/stdout-leaks-information/13840)

<div class="topic-metadata">

**Author:** [@Leo\_Baltus](https://forum.ansible.com/u/Leo_Baltus)\
**Replies:** 5\
**Last updated:** [November 10, 2013, 9:27pm UTC](https://forum.ansible.com/t/stdout-leaks-information/13840 "2013-11-10T21:27:27Z")

</div>

Hi, I am setting up a playbook to set passwords in /etc/shadow on some machines. I have set up a task in roles/common/main.yml:

---

## [Push multiple configuration files to multiple servers](https://forum.ansible.com/t/push-multiple-configuration-files-to-multiple-servers/13858)

<div class="topic-metadata">

**Author:** [@mtovey](https://forum.ansible.com/u/mtovey)\
**Replies:** 4\
**Last updated:** [November 10, 2013, 9:21pm UTC](https://forum.ansible.com/t/push-multiple-configuration-files-to-multiple-servers/13858 "2013-11-10T21:21:35Z")

</div>

I am trying to figure out a method of pushing configuration files to groups of servers. The requirement is that all servers receive file1, most servers receive file2, some servers receive file3, other servers receive fil…

---

## [Conditional 'notify' ?](https://forum.ansible.com/t/conditional-notify/13835)

<div class="topic-metadata">

**Author:** [@Renaud\_Guerin](https://forum.ansible.com/u/Renaud_Guerin)\
**Replies:** 6\
**Last updated:** [November 10, 2013, 9:17pm UTC](https://forum.ansible.com/t/conditional-notify/13835 "2013-11-10T21:17:14Z")

</div>

Hi Ansible people ! tl;dr : I’m wondering if there’s an elegant way to conditionally notify a handler (for example, only if it’s actually present as a handler in the role) Here’s what I’m trying to do : I have 2 kinds…

---

## [How to bootstrap a host with python-keyczar and a different ssh port, then keep going ?](https://forum.ansible.com/t/how-to-bootstrap-a-host-with-python-keyczar-and-a-different-ssh-port-then-keep-going/13855)

<div class="topic-metadata">

**Author:** [@Renaud\_Guerin](https://forum.ansible.com/u/Renaud_Guerin)\
**Replies:** 2\
**Last updated:** [November 10, 2013, 9:16pm UTC](https://forum.ansible.com/t/how-to-bootstrap-a-host-with-python-keyczar-and-a-different-ssh-port-then-keep-going/13855 "2013-11-10T21:16:43Z")

</div>

Hello, I’m provisioning hosts from a vanilla Ubuntu image (that lacks python-keyczar and has sshd on port 22) I want to end up using accelerate mode and moving sshd to a different port. Can you think of a way to do th…

---

## [template destination logic](https://forum.ansible.com/t/template-destination-logic/13814)

<div class="topic-metadata">

**Author:** [@Paul\_Angus1](https://forum.ansible.com/u/Paul_Angus1)\
**Replies:** 5\
**Last updated:** [November 10, 2013, 9:15pm UTC](https://forum.ansible.com/t/template-destination-logic/13814 "2013-11-10T21:15:53Z")

</div>

Hi there, I’m quite new to Ansible, and I’m trying to create multiple pxelinux.cfg files. I want to be able to generate files with the hex translation of the host’s IP address as the destination name. I can put the hex…

---

## [Running ansible in an unrelated virtualenv](https://forum.ansible.com/t/running-ansible-in-an-unrelated-virtualenv/13132)

<div class="topic-metadata">

**Author:** [@Joost\_Cassee](https://forum.ansible.com/u/Joost_Cassee)\
**Replies:** 31\
**Last updated:** [November 10, 2013, 4:36pm UTC](https://forum.ansible.com/t/running-ansible-in-an-unrelated-virtualenv/13132 "2013-11-10T16:36:25Z")

</div>

Hi, A Python project of mine uses virtualenv to isolate packages. I want to use Ansible to provision a Vagrant box for testing. However, when I run Vagrant it fails with this error: \[default\] Running provisioner: ansib…

---

## [is there a way of specifying ask-sudo-pass in the inventory file?](https://forum.ansible.com/t/is-there-a-way-of-specifying-ask-sudo-pass-in-the-inventory-file/13876)

<div class="topic-metadata">

**Author:** [@Harry\_Percival](https://forum.ansible.com/u/Harry_Percival)\
**Replies:** 1\
**Last updated:** [November 10, 2013, 1:44pm UTC](https://forum.ansible.com/t/is-there-a-way-of-specifying-ask-sudo-pass-in-the-inventory-file/13876 "2013-11-10T13:44:34Z")

</div>

if i have one server in my inventory that requires sudo password, but all the others don’t… it would save me from having to remember to selectively use --ask-sudo-pass at the command-line…

---

## [Ansible Cheat Sheet ??](https://forum.ansible.com/t/ansible-cheat-sheet/13879)

<div class="topic-metadata">

**Author:** [@Andy\_L](https://forum.ansible.com/u/Andy_L)\
**Replies:** 1\
**Last updated:** [November 10, 2013, 11:08am UTC](https://forum.ansible.com/t/ansible-cheat-sheet/13879 "2013-11-10T11:08:08Z")

</div>

Is there an up-to-date cheat-sheet somewhere, so I can get a complete inventory of Ansible options w/o having to wade thru page upon page of documentation?

---

## [Hiding Output for the Custom Module](https://forum.ansible.com/t/hiding-output-for-the-custom-module/13878)

<div class="topic-metadata">

**Author:** [@Andy\_L](https://forum.ansible.com/u/Andy_L)\
**Replies:** 0\
**Last updated:** [November 10, 2013, 2:11am UTC](https://forum.ansible.com/t/hiding-output-for-the-custom-module/13878 "2013-11-10T02:11:15Z")

</div>

I have written a custom module to define a bunch of variables. The module returns json with ansible\_facts, and everything works great. tasks: local\_action: my\_custom\_module sudo: false But I have one problem - the a…

---

## [Somebody wagged a war with Ansible.](https://forum.ansible.com/t/somebody-wagged-a-war-with-ansible/13877)

<div class="topic-metadata">

**Author:** [@Steven\_Truong](https://forum.ansible.com/u/Steven_Truong)\
**Replies:** 0\
**Last updated:** [November 9, 2013, 11:41pm UTC](https://forum.ansible.com/t/somebody-wagged-a-war-with-ansible/13877 "2013-11-09T23:41:32Z")

</div>

https://news.ycombinator.com/item?id=6701362

---

## [Sharing tasks between roles](https://forum.ansible.com/t/sharing-tasks-between-roles/13784)

<div class="topic-metadata">

**Author:** [@Francois\_Durand](https://forum.ansible.com/u/Francois_Durand)\
**Replies:** 2\
**Last updated:** [November 9, 2013, 11:27pm UTC](https://forum.ansible.com/t/sharing-tasks-between-roles/13784 "2013-11-09T23:27:10Z")

</div>

Hi, I’d like to have all instances be installed with a set of common packages (common role), an then each role installed with its own specific set of packages. I’d like to code the package installation tasks only once …

---

## [Firing handlers after error](https://forum.ansible.com/t/firing-handlers-after-error/13787)

<div class="topic-metadata">

**Author:** [@Francois\_Durand](https://forum.ansible.com/u/Francois_Durand)\
**Replies:** 2\
**Last updated:** [November 9, 2013, 11:17pm UTC](https://forum.ansible.com/t/firing-handlers-after-error/13787 "2013-11-09T23:17:29Z")

</div>

Hello, When adjusting playbooks, it sometimes happen that something fails. The problem is that it stops everything, including handlers that were to be run because of past successful tasks. Then, I fix the problem, and …

---

## [Sublime Text and syntax highlighting](https://forum.ansible.com/t/sublime-text-and-syntax-highlighting/12847)

<div class="topic-metadata">

**Author:** [@Lorin\_Hochstein1](https://forum.ansible.com/u/Lorin_Hochstein1)\
**Replies:** 12\
**Last updated:** [November 8, 2013, 8:56pm UTC](https://forum.ansible.com/t/sublime-text-and-syntax-highlighting/12847 "2013-11-08T20:56:48Z")

</div>

Does anybody know if there is a sublime text plugin that does syntax highlighting for Ansible playbooks? I’m using the YAML one, but it gets confused by braces such as with the new {{ var }} variable substitution and the…

---

## [variables in with\_items:](https://forum.ansible.com/t/variables-in-with-items/13854)

<div class="topic-metadata">

**Author:** [@Paul\_Angus1](https://forum.ansible.com/u/Paul_Angus1)\
**Replies:** 3\
**Last updated:** [November 8, 2013, 5:21pm UTC](https://forum.ansible.com/t/variables-in-with-items/13854 "2013-11-08T17:21:15Z")

</div>

Hi all, can someone help me with a problem - I get some facts from my xenserver… the i want to use the version fact to get a list of required hotfixes i use: with\_items: “${ansible\_xenserver\_version}-hotfixes” to ret…

---

## [passwordless sudo](https://forum.ansible.com/t/passwordless-sudo/13866)

<div class="topic-metadata">

**Author:** [@Luke\_Tislow](https://forum.ansible.com/u/Luke_Tislow)\
**Replies:** 3\
**Last updated:** [November 8, 2013, 5:16pm UTC](https://forum.ansible.com/t/passwordless-sudo/13866 "2013-11-08T17:16:04Z")

</div>

Is there anyway to adjust ansible to use an account with passwordless sudo?

---

## [ansible-pull git checkout Host key verification](https://forum.ansible.com/t/ansible-pull-git-checkout-host-key-verification/13862)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 7\
**Last updated:** [November 7, 2013, 9:44pm UTC](https://forum.ansible.com/t/ansible-pull-git-checkout-host-key-verification/13862 "2013-11-07T21:44:18Z")

</div>

Hi, I’m having the bellow problem trying to run ansible-pull mode cronjob. When I bring up a new instance and install the cronjob, ansible-pull mode will fail because Host key verification failure : “”" Running: ‘ansi…

---

## [New feature request: specify login shell for the shell module](https://forum.ansible.com/t/new-feature-request-specify-login-shell-for-the-shell-module/13864)

<div class="topic-metadata">

**Author:** [@Bernat\_Rafales](https://forum.ansible.com/u/Bernat_Rafales)\
**Replies:** 3\
**Last updated:** [November 7, 2013, 8:32pm UTC](https://forum.ansible.com/t/new-feature-request-specify-login-shell-for-the-shell-module/13864 "2013-11-07T20:32:35Z")

</div>

Hi guys, I just started using ansible, and chatting with some of you on the freenode irc server I asked about which would be the best approach to execute shell commands on a login shell. After some discussion, the solu…

---

## [Setting proxy for maven on remote host](https://forum.ansible.com/t/setting-proxy-for-maven-on-remote-host/13865)

<div class="topic-metadata">

**Author:** [@Soumya\_Simanta](https://forum.ansible.com/u/Soumya_Simanta)\
**Replies:** 1\
**Last updated:** [November 7, 2013, 7:18pm UTC](https://forum.ansible.com/t/setting-proxy-for-maven-on-remote-host/13865 "2013-11-07T19:18:03Z")

</div>

I’m trying to run a task using maven. However, my machine is behind a proxy and therefore I need to set it before executing my mvn command. I tried setting the proxy values in environment but it doesn’t work. Any idea h…

---

## [java install working in push mode but permission denied in pull mode](https://forum.ansible.com/t/java-install-working-in-push-mode-but-permission-denied-in-pull-mode/13851)

<div class="topic-metadata">

**Author:** [@Nicolas\_G](https://forum.ansible.com/u/Nicolas_G)\
**Replies:** 2\
**Last updated:** [November 7, 2013, 3:18pm UTC](https://forum.ansible.com/t/java-install-working-in-push-mode-but-permission-denied-in-pull-mode/13851 "2013-11-07T15:18:54Z")

</div>

Hi All, I have a task that installs java and is working fine in Ansible push mode but it seems to be failing in Ansible Pull mode: java-install.yml “”" name: downloading java binary from s3 shell: /usr/bin/s3cmd g…

---

## [gathering facts problem](https://forum.ansible.com/t/gathering-facts-problem/13861)

<div class="topic-metadata">

**Author:** [@marek\_cervenka](https://forum.ansible.com/u/marek_cervenka)\
**Replies:** 1\
**Last updated:** [November 7, 2013, 12:25pm UTC](https://forum.ansible.com/t/gathering-facts-problem/13861 "2013-11-07T12:25:42Z")

</div>

i have this problem when running ansible all -m setup somehost | FAILED =\> failed to parse: SUDO-SUCCESS-enlzpbznnqxrommewxjtbltwnzyntwha Traceback (most recent call last): File “/home/noc/.ansible/tmp/ansible-1383814…

---

## [Hadoop+Hive+Facebook Presto](https://forum.ansible.com/t/hadoop-hive-facebook-presto/13860)

<div class="topic-metadata">

**Author:** [@Mathias\_Bogaert](https://forum.ansible.com/u/Mathias_Bogaert)\
**Replies:** 0\
**Last updated:** [November 7, 2013, 7:22am UTC](https://forum.ansible.com/t/hadoop-hive-facebook-presto/13860 "2013-11-07T07:22:49Z")

</div>

FYI I’ve just added Hive and Facebook Presto (see http://prestodb.io/) to my Hadoop Ansible playbook. I’ve tested it with Ansible 1.3 and 1.4 in Git. https://github.com/analytically/hadoop-ansible Enjoy, Mathias

---

## [Module local action.](https://forum.ansible.com/t/module-local-action/13834)

<div class="topic-metadata">

**Author:** [@Hafizh\_Wahab](https://forum.ansible.com/u/Hafizh_Wahab)\
**Replies:** 4\
**Last updated:** [November 7, 2013, 6:42am UTC](https://forum.ansible.com/t/module-local-action/13834 "2013-11-07T06:42:21Z")

</div>

Hi, I’m trying to understand Ansible internal process flow, especially on how it performs the actions. What I dont understand is how it differentiates between a local action vs remote action. I’ve read the ‘copy’ modu…

---

## [Shell/command newgrp \<somegroup\> fails](https://forum.ansible.com/t/shell-command-newgrp-somegroup-fails/12968)

<div class="topic-metadata">

**Author:** [@Mathias\_Bogaert](https://forum.ansible.com/u/Mathias_Bogaert)\
**Replies:** 3\
**Last updated:** [November 6, 2013, 6:12pm UTC](https://forum.ansible.com/t/shell-command-newgrp-somegroup-fails/12968 "2013-11-06T18:12:17Z")

</div>

Hi, When running Ansible 1.2 on Ubuntu 13.04, the following stops the process: name: Newgrp command: newgrp rvm Ansible just ‘sits’, nothing happens. When I type in the command it returns immediately. Any idea? Th…

---

## [Is "environment" a reserved variable name?](https://forum.ansible.com/t/is-environment-a-reserved-variable-name/13838)

<div class="topic-metadata">

**Author:** [@Joost\_Cassee](https://forum.ansible.com/u/Joost_Cassee)\
**Replies:** 15\
**Last updated:** [November 6, 2013, 2:10pm UTC](https://forum.ansible.com/t/is-environment-a-reserved-variable-name/13838 "2013-11-06T14:10:42Z")

</div>

Hi, When I set the variable name “environment” and use it in a playbook, it is empty. Is it a reserved variable name? Regards, Joost

---

## [Filter inventory list based on facts](https://forum.ansible.com/t/filter-inventory-list-based-on-facts/13846)

<div class="topic-metadata">

**Author:** [@Gonzalo\_Servat](https://forum.ansible.com/u/Gonzalo_Servat)\
**Replies:** 2\
**Last updated:** [November 6, 2013, 2:07pm UTC](https://forum.ansible.com/t/filter-inventory-list-based-on-facts/13846 "2013-11-06T14:07:12Z")

</div>

Hi, Another question: is it possible to filter an inventory listing based on facts? For example: having the ability to run a playbook or some custom command on all hosts where ansible\_facts.facter\_operatingsystemreleas…

---

## [Error while passing json string in command line](https://forum.ansible.com/t/error-while-passing-json-string-in-command-line/13849)

<div class="topic-metadata">

**Author:** [@cpatanaik](https://forum.ansible.com/u/cpatanaik)\
**Replies:** 1\
**Last updated:** [November 6, 2013, 2:06pm UTC](https://forum.ansible.com/t/error-while-passing-json-string-in-command-line/13849 "2013-11-06T14:06:52Z")

</div>

Hi, I have written a simple playbook to create an EBS using ec2\_vol module. I am trying to pass some variables via command line as a part of json string. playbook(test.yml):

---

## [How to copy file between two ansible clients](https://forum.ansible.com/t/how-to-copy-file-between-two-ansible-clients/13842)

<div class="topic-metadata">

**Author:** [@miukal](https://forum.ansible.com/u/miukal)\
**Replies:** 2\
**Last updated:** [November 6, 2013, 1:53pm UTC](https://forum.ansible.com/t/how-to-copy-file-between-two-ansible-clients/13842 "2013-11-06T13:53:55Z")

</div>

Currently ansible control machine: A Currently ansible working host: B Another host in inventory: C I want to copy a file from C to B At first, I tried rsync without ssh. I create a rsync daemon in C and try to add …

---

## [Lookup plugin with roles and passed-in file references](https://forum.ansible.com/t/lookup-plugin-with-roles-and-passed-in-file-references/13843)

<div class="topic-metadata">

**Author:** [@Jim\_Kleckner](https://forum.ansible.com/u/Jim_Kleckner)\
**Replies:** 1\
**Last updated:** [November 6, 2013, 1:52pm UTC](https://forum.ansible.com/t/lookup-plugin-with-roles-and-passed-in-file-references/13843 "2013-11-06T13:52:40Z")

</div>

In issue 2697, Michael added the ability to use the lookup plugin to find files directly in a role’s files/ directory: https://github.com/ansible/ansible/issues/2697Thus, the directory containing the play (generally rol…

---

## [Problems with copy module](https://forum.ansible.com/t/problems-with-copy-module/13848)

<div class="topic-metadata">

**Author:** [@igor.masen](https://forum.ansible.com/u/igor.masen)\
**Replies:** 3\
**Last updated:** [November 6, 2013, 1:08pm UTC](https://forum.ansible.com/t/problems-with-copy-module/13848 "2013-11-06T13:08:34Z")

</div>

I have a problem with the ansible copy module. We have a ansible-repository which I checked out on machine “A” and I have a second machine where I want to install jenkins, “B”. So I start ansible-playbook like this on m…

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

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