# Latest

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

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

**Page:** 1086

---

## [Appending text to file, download remote file and creating a module](https://forum.ansible.com/t/appending-text-to-file-download-remote-file-and-creating-a-module/11479)

<div class="topic-metadata">

**Author:** [@Harm\_Aarts](https://forum.ansible.com/u/Harm_Aarts)\
**Replies:** 9\
**Last updated:** [May 9, 2012, 11:52am UTC](https://forum.ansible.com/t/appending-text-to-file-download-remote-file-and-creating-a-module/11479 "2012-05-09T11:52:34Z")

</div>

Dear list, First off; awesome work on Ansible. It’s a breath of fresh air after using Chef/Cdist/Puppet. I do have a couple of questions. What would be the idiomatic way to append some text to a remote file (for examp…

---

## ["Host declaration is required" error while hosts are (seemingly) defined.](https://forum.ansible.com/t/host-declaration-is-required-error-while-hosts-are-seemingly-defined/11517)

<div class="topic-metadata">

**Author:** [@Wes\_Johnson](https://forum.ansible.com/u/Wes_Johnson)\
**Replies:** 2\
**Last updated:** [May 8, 2012, 11:20pm UTC](https://forum.ansible.com/t/host-declaration-is-required-error-while-hosts-are-seemingly-defined/11517 "2012-05-08T23:20:52Z")

</div>

Not sure why, but I get this error while trying to run my first playbook… \[wes@mgmt001 playbooks\]$ ansible-playbook nrpe.yml PLAY \[all\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* SETUP PHASE \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[test…

---

## [Displaying remote failures. Was "Using ansible and getting "No module named simplejson", here's where to find it."](https://forum.ansible.com/t/displaying-remote-failures-was-using-ansible-and-getting-no-module-named-simplejson-heres-where-to-find-it/11516)

<div class="topic-metadata">

**Author:** [@Wes\_Johnson](https://forum.ansible.com/u/Wes_Johnson)\
**Replies:** 0\
**Last updated:** [May 8, 2012, 6:18pm UTC](https://forum.ansible.com/t/displaying-remote-failures-was-using-ansible-and-getting-no-module-named-simplejson-heres-where-to-find-it/11516 "2012-05-08T18:18:38Z")

</div>

I had more thoughts on this, but I didn’t want to jeopardize your google ranking, and succinct post. I woke up this morning disagreeing with myself. After reading the error output for a 2nd time, it’s pretty clear that …

---

## [Python 2.4 compatibility and the user module](https://forum.ansible.com/t/python-2-4-compatibility-and-the-user-module/11514)

<div class="topic-metadata">

**Author:** [@John\_Kleint](https://forum.ansible.com/u/John_Kleint)\
**Replies:** 2\
**Last updated:** [May 8, 2012, 5:18pm UTC](https://forum.ansible.com/t/python-2-4-compatibility-and-the-user-module/11514 "2012-05-08T17:18:21Z")

</div>

I tried running the user module against my RHEL5 hosts, and discovered it uses Python's spwd (shadow password) module, which is only available on Python 2.5+. Is Python 2.4 compatibility on managed nodes a design goal…

---

## [Reminder -- 0.4 open bugs list](https://forum.ansible.com/t/reminder-0-4-open-bugs-list/11515)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [May 8, 2012, 4:55pm UTC](https://forum.ansible.com/t/reminder-0-4-open-bugs-list/11515 "2012-05-08T16:55:04Z")

</div>

I’m mostly going to be concentrating on documentation tickets this week. All – Please find unassigned bugs you can fix and work on them: https://github.com/ansible/ansible/issues?milestone=2&page=1&state=open I will n…

---

## [Using ansible and getting "No module named simplejson", here's where to find it.](https://forum.ansible.com/t/using-ansible-and-getting-no-module-named-simplejson-heres-where-to-find-it/11426)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [May 8, 2012, 10:47am UTC](https://forum.ansible.com/t/using-ansible-and-getting-no-module-named-simplejson-heres-where-to-find-it/11426 "2012-05-08T10:47:56Z")

</div>

If you get this message when running Ansible, this means you are using a version of Python less than 2.6 and need to provide JSON (either on your control machine or remote machines) support. To fix this, install the pyt…

---

## [Very Inefficient Remote Copy](https://forum.ansible.com/t/very-inefficient-remote-copy/11513)

<div class="topic-metadata">

**Author:** [@Frank](https://forum.ansible.com/u/Frank)\
**Replies:** 14\
**Last updated:** [May 8, 2012, 10:44am UTC](https://forum.ansible.com/t/very-inefficient-remote-copy/11513 "2012-05-08T10:44:12Z")

</div>

The copy module seams to always remote copy the file, event if it is not necessary. Example: Part of my play: - name: copy installation archive file action: copy src=files/foo.tar.gz dest=/var/cache/ansible/ f…

---

## [Announcing ansible in pull mode, still self bootstrapping! Very awesome new feature.](https://forum.ansible.com/t/announcing-ansible-in-pull-mode-still-self-bootstrapping-very-awesome-new-feature/11496)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [May 8, 2012, 9:50am UTC](https://forum.ansible.com/t/announcing-ansible-in-pull-mode-still-self-bootstrapping-very-awesome-new-feature/11496 "2012-05-08T09:50:23Z")

</div>

This email is about some really nice work done by Stephen Fromm. You should be TREMENDOUSLY excited about his work here, because it means Ansible now scales like a fish, and supports some pretty amazing self-remediatio…

---

## [only\_if syntax suggestion](https://forum.ansible.com/t/only-if-syntax-suggestion/11503)

<div class="topic-metadata">

**Author:** [@Art\_Zemon](https://forum.ansible.com/u/Art_Zemon)\
**Replies:** 3\
**Last updated:** [May 7, 2012, 1:08pm UTC](https://forum.ansible.com/t/only-if-syntax-suggestion/11503 "2012-05-07T13:08:57Z")

</div>

Michael, Your conditionals\_part2.yml contains this example line: only\_if: ‘not ($is\_favcolor\_blue)’ Since you do not allow binary operators in the value of only\_if, it seems odd that you allow the unary operator. Pers…

---

## [Sudo'ing to a particular user now possible in the development branch (0.4)](https://forum.ansible.com/t/sudoing-to-a-particular-user-now-possible-in-the-development-branch-0-4/11512)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 2\
**Last updated:** [May 7, 2012, 3:04am UTC](https://forum.ansible.com/t/sudoing-to-a-particular-user-now-possible-in-the-development-branch-0-4/11512 "2012-05-07T03:04:35Z")

</div>

Hi folks, It is now possible on the devel branch to sudo to a particular user where that user is NOT root. This is based on a patch from weaselkeeper, who gets the award for the best handle on all of github, plus s…

---

## [crypto error when running ansible](https://forum.ansible.com/t/crypto-error-when-running-ansible/11474)

<div class="topic-metadata">

**Author:** [@AD1](https://forum.ansible.com/u/AD1)\
**Replies:** 6\
**Last updated:** [May 7, 2012, 3:01am UTC](https://forum.ansible.com/t/crypto-error-when-running-ansible/11474 "2012-05-07T03:01:41Z")

</div>

Hello, I am on Centos 6.2 and when trying to run the ansible command i am getting crypto errors. Anyone hit this issue before? \[root@dev-m01 ansible\]# python -V Python 2.6.6 \[root@dev-m01 ansible\]# cat /etc/redhat-…

---

## [\[devel\] Refactored inventory handling is now live, what it means for you](https://forum.ansible.com/t/devel-refactored-inventory-handling-is-now-live-what-it-means-for-you/11511)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [May 6, 2012, 9:26pm UTC](https://forum.ansible.com/t/devel-refactored-inventory-handling-is-now-live-what-it-means-for-you/11511 "2012-05-06T21:26:26Z")

</div>

So as mentioned previously I have upgraded how inventory works today, and as a result taught the INI format how to do group variables and groups of groups -- this means that, as I wanted to do, I don't have to rely on…

---

## [developers: Preview of aforementioned inventory refactoring](https://forum.ansible.com/t/developers-preview-of-aforementioned-inventory-refactoring/11510)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [May 6, 2012, 7:01pm UTC](https://forum.ansible.com/t/developers-preview-of-aforementioned-inventory-refactoring/11510 "2012-05-06T19:01:32Z")

</div>

Things are looking pretty nice. I'm going to reimplement support for the executable inventory file next and likely the YAML format soon after. This is important because this means it will be much easier to work on ho…

---

## [WebApp deployment from a git repo over SSH](https://forum.ansible.com/t/webapp-deployment-from-a-git-repo-over-ssh/11509)

<div class="topic-metadata">

**Author:** [@Will2](https://forum.ansible.com/u/Will2)\
**Replies:** 2\
**Last updated:** [May 6, 2012, 5:27pm UTC](https://forum.ansible.com/t/webapp-deployment-from-a-git-repo-over-ssh/11509 "2012-05-06T17:27:23Z")

</div>

Hey all, I’ve looked through the docs and while I found the git module (which is very cool) but the docs say it only supports git or http. Up until now I’ve done all of my repo cloning/pulling via SSH, and would like to…

---

## [Please help me out: Ansible user survey: http://www.surveymonkey.com/s/8YH3B53](https://forum.ansible.com/t/please-help-me-out-ansible-user-survey-http-www-surveymonkey-com-s-8yh3b53/11507)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [May 6, 2012, 1:25pm UTC](https://forum.ansible.com/t/please-help-me-out-ansible-user-survey-http-www-surveymonkey-com-s-8yh3b53/11507 "2012-05-06T13:25:23Z")

</div>

Hi all, I’ve put together a brief survey to ask a little about everyone’s environment and Ansible usage. If you can help out, that would be hugely valuable to targeting Ansible better at everyone’s needs and understandi…

---

## [Minor state=absent/present consistency upgrade for apt/yum modules](https://forum.ansible.com/t/minor-state-absent-present-consistency-upgrade-for-apt-yum-modules/11505)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [May 5, 2012, 4:55pm UTC](https://forum.ansible.com/t/minor-state-absent-present-consistency-upgrade-for-apt-yum-modules/11505 "2012-05-05T16:55:54Z")

</div>

Most of our modules took state=absent/present. Yum and apt took state=installed/removed/latest/$version To make things less likely to cause frustration, absent is now an alias for 'removed', and 'present' is now an al…

---

## [ansible week and thoughts](https://forum.ansible.com/t/ansible-week-and-thoughts/11499)

<div class="topic-metadata">

**Author:** [@Seth\_Vidal](https://forum.ansible.com/u/Seth_Vidal)\
**Replies:** 10\
**Last updated:** [May 5, 2012, 2:09pm UTC](https://forum.ansible.com/t/ansible-week-and-thoughts/11499 "2012-05-05T14:09:07Z")

</div>

So this week, among other things I've been working on ansible playbooks and how to structure a repository for a bunch of systems. For our purposes let's say a bunch is not a massive number but a middle-range number - …

---

## [rpmbuild fails](https://forum.ansible.com/t/rpmbuild-fails/11502)

<div class="topic-metadata">

**Author:** [@Patric\_Buskas](https://forum.ansible.com/u/Patric_Buskas)\
**Replies:** 2\
**Last updated:** [May 5, 2012, 1:36pm UTC](https://forum.ansible.com/t/rpmbuild-fails/11502 "2012-05-05T13:36:36Z")

</div>

Hi, I'm getting this error when following the "getting started" guide on ansible webpage: http://piratepad.net/ep/pad/view/ro.vcSZlxtimVJ/latest Probably has to do with "devel" as default branch or? I'm on CentOS 6.…

---

## [Fedora Package Review COMPLETE!](https://forum.ansible.com/t/fedora-package-review-complete/11501)

<div class="topic-metadata">

**Author:** [@Tim\_Bielawa](https://forum.ansible.com/u/Tim_Bielawa)\
**Replies:** 1\
**Last updated:** [May 5, 2012, 3:12am UTC](https://forum.ansible.com/t/fedora-package-review-complete/11501 "2012-05-05T03:12:55Z")

</div>

Summary: We are about to get into the Fedora Package Repositories! What remains (basically) is administrative tasks. Full Story: Update on https://github.com/ansible/ansible/issues/137 "Make sure Fedora/EPEL package …

---

## [Minor change to template handling of "include:" loaded files in playbooks](https://forum.ansible.com/t/minor-change-to-template-handling-of-include-loaded-files-in-playbooks/11498)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [May 4, 2012, 3:39am UTC](https://forum.ansible.com/t/minor-change-to-template-handling-of-include-loaded-files-in-playbooks/11498 "2012-05-04T03:39:37Z")

</div>

TL/DR – include files are not Jinja2 templates. You can ignore this if you didn’t know that they used to be. Wanted to share though in case this throws anyone. If you don’t understand, you definitely can skip this. Lon…

---

## ["devel" is now the default branch on github.com](https://forum.ansible.com/t/devel-is-now-the-default-branch-on-github-com/11495)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [May 3, 2012, 7:32pm UTC](https://forum.ansible.com/t/devel-is-now-the-default-branch-on-github-com/11495 "2012-05-03T19:32:35Z")

</div>

Should hopefully encourage people testing and using the newness, which largely is more awesome than the oldness. Docs probably need some minor updates to reflect this re: checkout and patch instructions. –Michael

---

## [Ubuntu service module fixes (chkconfig, paths) available on devel branch](https://forum.ansible.com/t/ubuntu-service-module-fixes-chkconfig-paths-available-on-devel-branch/11494)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [May 3, 2012, 12:42pm UTC](https://forum.ansible.com/t/ubuntu-service-module-fixes-chkconfig-paths-available-on-devel-branch/11494 "2012-05-03T12:42:17Z")

</div>

leucos pushed some fixes to the devel branch that should address most concerns. See the latest on the devel branch if you are having issues with the service module for Ubuntu on either branch. We’ll look for the servic…

---

## [Module service reports successful start of Monit but it isn't](https://forum.ansible.com/t/module-service-reports-successful-start-of-monit-but-it-isnt/11492)

<div class="topic-metadata">

**Author:** [@Harm\_Aarts](https://forum.ansible.com/u/Harm_Aarts)\
**Replies:** 1\
**Last updated:** [May 3, 2012, 12:01pm UTC](https://forum.ansible.com/t/module-service-reports-successful-start-of-monit-but-it-isnt/11492 "2012-05-03T12:01:00Z")

</div>

Dear list, I must be doing something wrong. I run this command: $ ./bin/ansible riaknodes -i ansible\_hosts -u ops -s -k -m service -a ‘name=monit state=started’ To the best of my knowledge this starts Monit. The outpu…

---

## [Compiling some source with Ansible](https://forum.ansible.com/t/compiling-some-source-with-ansible/11493)

<div class="topic-metadata">

**Author:** [@Harm\_Aarts](https://forum.ansible.com/u/Harm_Aarts)\
**Replies:** 1\
**Last updated:** [May 3, 2012, 11:58am UTC](https://forum.ansible.com/t/compiling-some-source-with-ansible/11493 "2012-05-03T11:58:15Z")

</div>

Dear list, Our servers run Ubuntu 10.04. We’d like to run the latest Monit on it. This needs to be compiled from source. A snippet: name: move Monit source action: copy src=monit-5.3.2.tar.gz dest=/tmp/monit-5.3.2.ta…

---

## [Doc Pull Request reminder! A great way to help the project without coding.](https://forum.ansible.com/t/doc-pull-request-reminder-a-great-way-to-help-the-project-without-coding/11483)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [May 3, 2012, 10:32am UTC](https://forum.ansible.com/t/doc-pull-request-reminder-a-great-way-to-help-the-project-without-coding/11483 "2012-05-03T10:32:46Z")

</div>

Hi all, Pull requests for Ansible have been huge for me and have allowed me to concentrate on steering/testing more so than banging out a lot of feature requests. Thanks very much for this. For those that are le…

---

## [Remote system never exits issuing 'untar' command](https://forum.ansible.com/t/remote-system-never-exits-issuing-untar-command/11491)

<div class="topic-metadata">

**Author:** [@Mike\_Willekes](https://forum.ansible.com/u/Mike_Willekes)\
**Replies:** 8\
**Last updated:** [May 2, 2012, 6:58pm UTC](https://forum.ansible.com/t/remote-system-never-exits-issuing-untar-command/11491 "2012-05-02T18:58:11Z")

</div>

I'm trying to use Ansible to copy then untar software to a group of 'worker' machines. The Playbook is like this:

---

## [Defects! Here are easy things that should be fixed on devel. Have at.](https://forum.ansible.com/t/defects-here-are-easy-things-that-should-be-fixed-on-devel-have-at/11490)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 0\
**Last updated:** [May 2, 2012, 12:06pm UTC](https://forum.ansible.com/t/defects-here-are-easy-things-that-should-be-fixed-on-devel-have-at/11490 "2012-05-02T12:06:41Z")

</div>

Knock these out and be a hero! Service handling on Debian/Ubuntu https://github.com/ansible/ansible/issues/296 Set Exit Status To Non-Zero On Failure https://github.com/ansible/ansible/issues/207 Process Vars Files …

---

## [Rsync](https://forum.ansible.com/t/rsync/11488)

<div class="topic-metadata">

**Author:** [@Samuele\_Tognini](https://forum.ansible.com/u/Samuele_Tognini)\
**Replies:** 1\
**Last updated:** [May 2, 2012, 11:28am UTC](https://forum.ansible.com/t/rsync/11488 "2012-05-02T11:28:55Z")

</div>

Hi all, Are there plans to extend the git module to make use of rsync to deploy software? It think that the old way to push files from the master to nodes (and execute handlers when something has changed) sometimes cou…

---

## [binding vars to the output of tasks/plays](https://forum.ansible.com/t/binding-vars-to-the-output-of-tasks-plays/11487)

<div class="topic-metadata">

**Author:** [@Karthik\_Krishnamurth](https://forum.ansible.com/u/Karthik_Krishnamurth)\
**Replies:** 1\
**Last updated:** [May 2, 2012, 11:25am UTC](https://forum.ansible.com/t/binding-vars-to-the-output-of-tasks-plays/11487 "2012-05-02T11:25:29Z")

</div>

Hi, What i'm looking for specifically is to be able to do something like tasks: - include: ec2/new\_instance.yml region=us-west2 env=staging - include apiserver/setup.yml instanceid=(the one setup above) - …

---

## [Default SSH command timeout](https://forum.ansible.com/t/default-ssh-command-timeout/11489)

<div class="topic-metadata">

**Author:** [@Jeroen\_Hoekx](https://forum.ansible.com/u/Jeroen_Hoekx)\
**Replies:** 1\
**Last updated:** [May 2, 2012, 11:21am UTC](https://forum.ansible.com/t/default-ssh-command-timeout/11489 "2012-05-02T11:21:01Z")

</div>

Hello, Maybe it's a good idea to increase the command timeout for SSH connections. A first yum action can take quite some time since it's loading all the metadata. I hit the socket timeout of 10 seconds there: fatal…

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

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