# Latest

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

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

**Page:** 1082

---

## [Playbook interleaving](https://forum.ansible.com/t/playbook-interleaving/11642)

<div class="topic-metadata">

**Author:** [@CWS](https://forum.ansible.com/u/CWS)\
**Replies:** 4\
**Last updated:** [July 3, 2012, 7:13pm UTC](https://forum.ansible.com/t/playbook-interleaving/11642 "2012-07-03T19:13:39Z")

</div>

At some point or another I intend to have a way of interleaving playbooks to make tasks like setting up both sides of a connection easier. An example scenario would be: HostA is a monitoring server. HostB, HostC, an…

---

## [List in File command ?](https://forum.ansible.com/t/list-in-file-command/11641)

<div class="topic-metadata">

**Author:** [@ansibleguest](https://forum.ansible.com/u/ansibleguest)\
**Replies:** 4\
**Last updated:** [July 3, 2012, 12:48pm UTC](https://forum.ansible.com/t/list-in-file-command/11641 "2012-07-03T12:48:47Z")

</div>

To use a list in the file command is not possible ? I tried this: vars: user: root group: root basedir: /opt/basedir createdirectories: \["$basedir/test1","$basedir/test2"\] #createdirectories: …

---

## [Feature freeze for 0.5 / release scheduled for July 4](https://forum.ansible.com/t/feature-freeze-for-0-5-release-scheduled-for-july-4/11632)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [July 3, 2012, 11:02am UTC](https://forum.ansible.com/t/feature-freeze-for-0-5-release-scheduled-for-july-4/11632 "2012-07-03T11:02:27Z")

</div>

Various release-related news and administrative stuff: == Feature Freeze for 0.5 == I'm going to hold any pull requests for features from now until we release 0.5 If anyone has any bug fixes, you have until midnight T…

---

## [yum module not able to find package](https://forum.ansible.com/t/yum-module-not-able-to-find-package/11640)

<div class="topic-metadata">

**Author:** [@Wes\_Johnson](https://forum.ansible.com/u/Wes_Johnson)\
**Replies:** 0\
**Last updated:** [July 2, 2012, 11:18pm UTC](https://forum.ansible.com/t/yum-module-not-able-to-find-package/11640 "2012-07-02T23:18:51Z")

</div>

I’m running into an issue with ansible-playbook/yum module where the yum module isn’t able to find a package that I can find manually. This issue ‘goes away’ if I install the package manually. Has anyone experienced this…

---

## [Tweaks to authorized\_key module, questions about fine points.](https://forum.ansible.com/t/tweaks-to-authorized-key-module-questions-about-fine-points/11639)

<div class="topic-metadata">

**Author:** [@Brad\_Olson](https://forum.ansible.com/u/Brad_Olson)\
**Replies:** 2\
**Last updated:** [July 2, 2012, 5:32pm UTC](https://forum.ansible.com/t/tweaks-to-authorized-key-module-questions-about-fine-points/11639 "2012-07-02T17:32:26Z")

</div>

There are minor tweaks to the authorized\_key module. Pull request should come soon. Main change is mcodd suggested getting rid of “with” clauses so it runs under Python 2.4. Thanks, Matt! There are a couple minor behavi…

---

## [variable expansion by template](https://forum.ansible.com/t/variable-expansion-by-template/11638)

<div class="topic-metadata">

**Author:** [@ansibleguest](https://forum.ansible.com/u/ansibleguest)\
**Replies:** 4\
**Last updated:** [July 2, 2012, 3:29pm UTC](https://forum.ansible.com/t/variable-expansion-by-template/11638 "2012-07-02T15:29:44Z")

</div>

Hi, not sure if this i found a bug or this is by intention with the changes in 0.5 (using latest devel on CentOS6.2): cat test.yml

---

## [Issue 399 (support multiple hosts on different ports)](https://forum.ansible.com/t/issue-399-support-multiple-hosts-on-different-ports/11637)

<div class="topic-metadata">

**Author:** [@Cosmin\_Luta](https://forum.ansible.com/u/Cosmin_Luta)\
**Replies:** 0\
**Last updated:** [July 2, 2012, 8:42am UTC](https://forum.ansible.com/t/issue-399-support-multiple-hosts-on-different-ports/11637 "2012-07-02T08:42:31Z")

</div>

I’ve been quite busy lately, but I found some time to make an attempt at fixing the issue mentioned in the subject. My approach is to update the pieces of code that used to operate on a “host” string and make it work wit…

---

## [PyconPH sprint - ansible error - no hosts matched or remaining](https://forum.ansible.com/t/pyconph-sprint-ansible-error-no-hosts-matched-or-remaining/11636)

<div class="topic-metadata">

**Author:** [@Runin](https://forum.ansible.com/u/Runin)\
**Replies:** 1\
**Last updated:** [July 1, 2012, 1:58pm UTC](https://forum.ansible.com/t/pyconph-sprint-ansible-error-no-hosts-matched-or-remaining/11636 "2012-07-01T13:58:23Z")

</div>

Hi, I encountered an error when trying to install apache and running another command afterwards. Details are below: I'm using Ubuntu 12.04 LTS. COMMAND: ansible-playbook test.playbook -k -K FILE test.playbook:

---

## [simple pattern in /etc/ansible/hosts file so as to be DRY?](https://forum.ansible.com/t/simple-pattern-in-etc-ansible-hosts-file-so-as-to-be-dry/11635)

<div class="topic-metadata">

**Author:** [@Zack\_Perry](https://forum.ansible.com/u/Zack_Perry)\
**Replies:** 4\
**Last updated:** [July 1, 2012, 12:31am UTC](https://forum.ansible.com/t/simple-pattern-in-etc-ansible-hosts-file-so-as-to-be-dry/11635 "2012-07-01T00:31:18Z")

</div>

I have been using ansible for a while now, and really like it. Unless I have missed it In http://ansible.github.com/patterns.html#hosts-and-groups, we need to enumerate all hosts in a group, even the names of such host…

---

## [Copy module optimization](https://forum.ansible.com/t/copy-module-optimization/11634)

<div class="topic-metadata">

**Author:** [@Ed\_Greenberg](https://forum.ansible.com/u/Ed_Greenberg)\
**Replies:** 2\
**Last updated:** [June 30, 2012, 12:42pm UTC](https://forum.ansible.com/t/copy-module-optimization/11634 "2012-06-30T12:42:45Z")

</div>

I note that the copy module copies the file in all cases, then replaces it, and notifies, only if it’s changed. This moves a lot of bits that don’t need to be moved. I saw a few posts about this, but only a few. I was t…

---

## [Bug in file module (if a file doesn't have a corresponding user on the minion, a KeyError is raised) -- proposed change.](https://forum.ansible.com/t/bug-in-file-module-if-a-file-doesnt-have-a-corresponding-user-on-the-minion-a-keyerror-is-raised-proposed-change/11633)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [June 30, 2012, 3:36am UTC](https://forum.ansible.com/t/bug-in-file-module-if-a-file-doesnt-have-a-corresponding-user-on-the-minion-a-keyerror-is-raised-proposed-change/11633 "2012-06-30T03:36:19Z")

</div>

Just the numeric ID seems ok to me. --Michael

---

## [devel branch -- Verbose mode (-v/--verbose) in, debug mode (-D/--debug) out](https://forum.ansible.com/t/devel-branch-verbose-mode-v-verbose-in-debug-mode-d-debug-out/11631)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [June 29, 2012, 10:36pm UTC](https://forum.ansible.com/t/devel-branch-verbose-mode-v-verbose-in-debug-mode-d-debug-out/11631 "2012-06-29T22:36:06Z")

</div>

Previously in 0.4 (or so), -D used to show the standard error output of modules. This has been gone for some time, and I've now removed the option. Replacing it is -v/--verbose, which on /usr/bin/ansible-playbook now …

---

## [accessing host variables](https://forum.ansible.com/t/accessing-host-variables/11629)

<div class="topic-metadata">

**Author:** [@Ed\_Greenberg](https://forum.ansible.com/u/Ed_Greenberg)\
**Replies:** 2\
**Last updated:** [June 29, 2012, 1:05pm UTC](https://forum.ansible.com/t/accessing-host-variables/11629 "2012-06-29T13:05:08Z")

</div>

My host inventory carries a bunch of variables for each host. The one I’m interested in is “serverType”. I’d expected to be able to access that variable on the action line. When I use $serverType or ${serverType}, I do n…

---

## [No JSON \`setup' file when running as non-root with sudo](https://forum.ansible.com/t/no-json-setup-file-when-running-as-non-root-with-sudo/11627)

<div class="topic-metadata">

**Author:** [@jpmens1](https://forum.ansible.com/u/jpmens1)\
**Replies:** 8\
**Last updated:** [June 29, 2012, 12:12pm UTC](https://forum.ansible.com/t/no-json-setup-file-when-running-as-non-root-with-sudo/11627 "2012-06-29T12:12:36Z")

</div>

(I know from a previous conversation here, that Michael isn't fond of the setup file, but I am. :slight\_smile: Running devel (commit 3b83a87bcca6b394611d50fb143fccfbe635d5e1), I note that the JSON \`setup\` file (typica…

---

## [Getting Ansible to use /usr/bin/python2.4 on RHEL4](https://forum.ansible.com/t/getting-ansible-to-use-usr-bin-python2-4-on-rhel4/11628)

<div class="topic-metadata">

**Author:** [@Matthew\_Probst](https://forum.ansible.com/u/Matthew_Probst)\
**Replies:** 3\
**Last updated:** [June 28, 2012, 4:17pm UTC](https://forum.ansible.com/t/getting-ansible-to-use-usr-bin-python2-4-on-rhel4/11628 "2012-06-28T16:17:55Z")

</div>

I'm demoing Ansible to our sysadmin group, it looks highly promising. Is there a well-defined way to get Ansible to attempt using /usr/bin/ python2.4 instead of /usr/bin/python? We have a bunch of legacy RHEL4 boxes t…

---

## [Plesk Module, Database Module](https://forum.ansible.com/t/plesk-module-database-module/11457)

<div class="topic-metadata">

**Author:** [@Art\_Zemon](https://forum.ansible.com/u/Art_Zemon)\
**Replies:** 3\
**Last updated:** [June 27, 2012, 7:48pm UTC](https://forum.ansible.com/t/plesk-module-database-module/11457 "2012-06-27T19:48:44Z")

</div>

Folks, Thinking out loud and looking for feedback… One of the things we do a lot of is configure Parallels Plesk Panel. Virtually all of that configuration management is done by running Plesk command line tools or (occ…

---

## [make a task conditional on a file not existing on the managed host?](https://forum.ansible.com/t/make-a-task-conditional-on-a-file-not-existing-on-the-managed-host/11625)

<div class="topic-metadata">

**Author:** [@John\_Callender](https://forum.ansible.com/u/John_Callender)\
**Replies:** 2\
**Last updated:** [June 25, 2012, 6:13pm UTC](https://forum.ansible.com/t/make-a-task-conditional-on-a-file-not-existing-on-the-managed-host/11625 "2012-06-25T18:13:40Z")

</div>

I have a playbook that I’d like to use to populate a particular directory on the managed host by rsyncing the contents of that same directory on a different host, but only in the case where the directory in question does…

---

## [global config file](https://forum.ansible.com/t/global-config-file/11624)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [June 22, 2012, 1:40pm UTC](https://forum.ansible.com/t/global-config-file/11624 "2012-06-22T13:40:59Z")

</div>

Yeah, I think it’s reasonable as there are enough settings now. If it reads from ~/.ansible/ansible.cfg before /etc/ansible/ansible.cfg or something, and does not require either file to exist or raise any warnings about…

---

## [Announcing: lineinfile module](https://forum.ansible.com/t/announcing-lineinfile-module/11564)

<div class="topic-metadata">

**Author:** [@Art\_Zemon](https://forum.ansible.com/u/Art_Zemon)\
**Replies:** 5\
**Last updated:** [June 21, 2012, 12:20pm UTC](https://forum.ansible.com/t/announcing-lineinfile-module/11564 "2012-06-21T12:20:52Z")

</div>

Folks, I have written my lineinfile module which allows you to administer individual lines within files, using the same semantics that ansible currently uses to administer individual files within the filesystem. You ca…

---

## [Stay up to date with what's new in 0.5 so far / release status](https://forum.ansible.com/t/stay-up-to-date-with-whats-new-in-0-5-so-far-release-status/11623)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [June 20, 2012, 1:43am UTC](https://forum.ansible.com/t/stay-up-to-date-with-whats-new-in-0-5-so-far-release-status/11623 "2012-06-20T01:43:21Z")

</div>

Since not everything in the development release is available on ansible.github.com (the documentation site) yet, so here's (finally) a copy of the updated changelog. If you've just recently started following things, …

---

## ["Private" variables in vars\_prompt](https://forum.ansible.com/t/private-variables-in-vars-prompt/11622)

<div class="topic-metadata">

**Author:** [@Fred\_Alger](https://forum.ansible.com/u/Fred_Alger)\
**Replies:** 1\
**Last updated:** [June 19, 2012, 3:10pm UTC](https://forum.ansible.com/t/private-variables-in-vars-prompt/11622 "2012-06-19T15:10:08Z")

</div>

So I found a ‘private’ flag in the on\_vars\_prompt handler that switches between raw\_input() and getpass.getpass(), I’d like to be able to toggle that in my playbooks. Maybe something like: vars\_prompt: name: password p…

---

## [Colon embedded in a quoted string](https://forum.ansible.com/t/colon-embedded-in-a-quoted-string/11621)

<div class="topic-metadata">

**Author:** [@Fred\_Alger](https://forum.ansible.com/u/Fred_Alger)\
**Replies:** 0\
**Last updated:** [June 19, 2012, 2:40pm UTC](https://forum.ansible.com/t/colon-embedded-in-a-quoted-string/11621 "2012-06-19T14:40:32Z")

</div>

I’ve not tried the lineinfile module, however, you may need to quote the WHOLE value you pass in, i.e.: action: ‘lineinfile destfile=/etc/sudoers regexp=“^nagios” value=“nagios ALL=NOPASSWD: ALL” state=“present” inserta…

---

## [SSH command wrapper transport](https://forum.ansible.com/t/ssh-command-wrapper-transport/11619)

<div class="topic-metadata">

**Author:** [@Daniel\_Hokka\_Zakriss](https://forum.ansible.com/u/Daniel_Hokka_Zakriss)\
**Replies:** 3\
**Last updated:** [June 19, 2012, 11:58am UTC](https://forum.ansible.com/t/ssh-command-wrapper-transport/11619 "2012-06-19T11:58:55Z")

</div>

Hi, https://github.com/ansible/ansible/pull/485 has a simple shell-out-to-ssh transport, that allows me to use GSSAPI authentication and other ssh features that paramiko doesn't support. Unscientific benchmarks show …

---

## [ssh module to ignore when the hostname isnt set correctly](https://forum.ansible.com/t/ssh-module-to-ignore-when-the-hostname-isnt-set-correctly/11620)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Damick](https://forum.ansible.com/u/Jeffrey_Damick)\
**Replies:** 0\
**Last updated:** [June 18, 2012, 1:11pm UTC](https://forum.ansible.com/t/ssh-module-to-ignore-when-the-hostname-isnt-set-correctly/11620 "2012-06-18T13:11:33Z")

</div>

Commenting here as suggested in this issue, https://github.com/ansible/ansible/issues/468#issuecomment-6318930 I’d like the option (or default) to parse output from ssh and ignore the case when the hostname isn’t set up…

---

## [Node naming / Referencing nodes by "name"?](https://forum.ansible.com/t/node-naming-referencing-nodes-by-name/11618)

<div class="topic-metadata">

**Author:** [@Marten\_Gustafson](https://forum.ansible.com/u/Marten_Gustafson)\
**Replies:** 3\
**Last updated:** [June 18, 2012, 12:06am UTC](https://forum.ansible.com/t/node-naming-referencing-nodes-by-name/11618 "2012-06-18T00:06:56Z")

</div>

Howdy! I'm trying figure out how to best classify nodes in order to be able to run the same playbook(s) efficiently against multiple different target environments. To illustrate, let's say I have a playbook that sets…

---

## [Problem with raw connections](https://forum.ansible.com/t/problem-with-raw-connections/11616)

<div class="topic-metadata">

**Author:** [@jno](https://forum.ansible.com/u/jno)\
**Replies:** 8\
**Last updated:** [June 15, 2012, 7:52pm UTC](https://forum.ansible.com/t/problem-with-raw-connections/11616 "2012-06-15T19:52:41Z")

</div>

Hi! I'm experimenting with Ansible trying to use the raw command to run "apt-get update && apt-get install python-simplejson" on several hosts that are running Ubuntu 8.04 from a machine that have Ubuntu 12.04 with P…

---

## [understanding copy](https://forum.ansible.com/t/understanding-copy/11617)

<div class="topic-metadata">

**Author:** [@Nathan\_Feger](https://forum.ansible.com/u/Nathan_Feger)\
**Replies:** 2\
**Last updated:** [June 15, 2012, 7:02pm UTC](https://forum.ansible.com/t/understanding-copy/11617 "2012-06-15T19:02:16Z")

</div>

I’m looking at the copy module to get my head around trying to write my own module. Am I interpreting the code correctly when I say that copy always copys a file to the remote host, then runs md5sums on both files on the…

---

## [How to debug authentication failure](https://forum.ansible.com/t/how-to-debug-authentication-failure/11405)

<div class="topic-metadata">

**Author:** [@Dan8](https://forum.ansible.com/u/Dan8)\
**Replies:** 7\
**Last updated:** [June 15, 2012, 11:36am UTC](https://forum.ansible.com/t/how-to-debug-authentication-failure/11405 "2012-06-15T11:36:21Z")

</div>

Debugging help? ansible all -k -m ping SSH password: xsdsyb01 | FAILED =\> FAILED: Authentication failed. However I can ssh easily to the server and the key is fine, see no password promt e93204@dhcp66238:~$ ssh xs…

---

## [help debugging 'Operation not supported on socket'](https://forum.ansible.com/t/help-debugging-operation-not-supported-on-socket/11614)

<div class="topic-metadata">

**Author:** [@Nathan\_Feger](https://forum.ansible.com/u/Nathan_Feger)\
**Replies:** 3\
**Last updated:** [June 14, 2012, 6:51pm UTC](https://forum.ansible.com/t/help-debugging-operation-not-supported-on-socket/11614 "2012-06-14T18:51:23Z")

</div>

I have a simple playbook with a ping action. This action works fine on one group of machines, but does not on another. Here is the error: fatal: \[192.168.197.128\] =\> failed to parse: Traceback (most recent call last): F…

---

## [Package installation/management](https://forum.ansible.com/t/package-installation-management/11613)

<div class="topic-metadata">

**Author:** [@jpmens1](https://forum.ansible.com/u/jpmens1)\
**Replies:** 3\
**Last updated:** [June 14, 2012, 6:45pm UTC](https://forum.ansible.com/t/package-installation-management/11613 "2012-06-14T18:45:20Z")

</div>

Ansible currently has different modules (yum, apt) for software-package management, meaning playbooks need to be customized depending on the target platform. (Customization will be platform-specific usually in some wa…

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

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