# Latest

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

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

**Page:** 955

---

## [Ansible cloud module names](https://forum.ansible.com/t/ansible-cloud-module-names/15680)

<div class="topic-metadata">

**Author:** [@Kurt\_Yoder](https://forum.ansible.com/u/Kurt_Yoder)\
**Replies:** 1\
**Last updated:** [July 15, 2014, 5:48pm UTC](https://forum.ansible.com/t/ansible-cloud-module-names/15680 "2014-07-15T17:48:27Z")

</div>

Hello list, I notice the Rackspace modules are prefixed with “rax”. However, other providers are more complicated: AWS modules mostly have an “ec2” prefix. Why “ec2”, and not “aws”? Why do some AWS modules start with …

---

## [How to pull code from local machine](https://forum.ansible.com/t/how-to-pull-code-from-local-machine/15673)

<div class="topic-metadata">

**Author:** [@9devmail](https://forum.ansible.com/u/9devmail)\
**Replies:** 5\
**Last updated:** [July 15, 2014, 4:32pm UTC](https://forum.ansible.com/t/how-to-pull-code-from-local-machine/15673 "2014-07-15T16:32:48Z")

</div>

I do not have remote git repo, only a local one. Is it possible to pull a local repo to a remote machine? I tried the following: \` name: pull the code git: repo=file:///home/username/myproject/.git dest=/var/www \` …

---

## [error: (4, 'Interrupted system call')](https://forum.ansible.com/t/error-4-interrupted-system-call/15675)

<div class="topic-metadata">

**Author:** [@sampsont](https://forum.ansible.com/u/sampsont)\
**Replies:** 1\
**Last updated:** [July 15, 2014, 3:35pm UTC](https://forum.ansible.com/t/error-4-interrupted-system-call/15675 "2014-07-15T15:35:33Z")

</div>

I’m using the Ansible PlayBook class in my own Python program. My playbooks usually run fine but occasionally I get the error below. Can you give me any hints as to why this is happening? Googling seems to suggest that i…

---

## [Conditional include.](https://forum.ansible.com/t/conditional-include/15672)

<div class="topic-metadata">

**Author:** [@Nico\_K](https://forum.ansible.com/u/Nico_K)\
**Replies:** 2\
**Last updated:** [July 15, 2014, 3:34pm UTC](https://forum.ansible.com/t/conditional-include/15672 "2014-07-15T15:34:11Z")

</div>

Hi, main.yml: include: somefile.yml when: variable is defined somefile.yml: name: do some stuff file: path=“/x/y/x/application{{ item }}” state=directory with\_sequence: start=“{{variable.start}}” end=“{{variable…

---

## [Remove task loop item from output (again)](https://forum.ansible.com/t/remove-task-loop-item-from-output-again/15677)

<div class="topic-metadata">

**Author:** [@Oliver\_Heinz](https://forum.ansible.com/u/Oliver_Heinz)\
**Replies:** 2\
**Last updated:** [July 15, 2014, 12:58pm UTC](https://forum.ansible.com/t/remove-task-loop-item-from-output-again/15677 "2014-07-15T12:58:46Z")

</div>

About a month ago, there was discussion about how to hide secret vars (usually those from vault files) from the output when iterating over items. Was there any progress on this since then? Would it be possible to use ca…

---

## [How to use hosts listed in a group in a template, excluding the current host.](https://forum.ansible.com/t/how-to-use-hosts-listed-in-a-group-in-a-template-excluding-the-current-host/15662)

<div class="topic-metadata">

**Author:** [@John\_Wang](https://forum.ansible.com/u/John_Wang)\
**Replies:** 3\
**Last updated:** [July 15, 2014, 2:05am UTC](https://forum.ansible.com/t/how-to-use-hosts-listed-in-a-group-in-a-template-excluding-the-current-host/15662 "2014-07-15T02:05:55Z")

</div>

I’m new to Ansible and want use it to configure a NTP service. here is my situation: my hosts file: \[ntp\_servers\] s1.aaa.com s2.aaa.com s3.aaa.com s4.aaa.com The “/taskts/mail.yaml” for role “ntp\_server”: name:…

---

## [PR review? (Bug fix for template relative path references)](https://forum.ansible.com/t/pr-review-bug-fix-for-template-relative-path-references/15669)

<div class="topic-metadata">

**Author:** [@David\_Simon](https://forum.ansible.com/u/David_Simon)\
**Replies:** 1\
**Last updated:** [July 14, 2014, 9:49pm UTC](https://forum.ansible.com/t/pr-review-bug-fix-for-template-relative-path-references/15669 "2014-07-14T21:49:11Z")

</div>

Hey all, I’ve made a small fix to correct an issue I was having with templates extending from other templates. PR: https://github.com/ansible/ansible/pull/8127 This is a pretty simple change, but I wonder if anyone was …

---

## [lineinfile module replace only if line is present, do not add](https://forum.ansible.com/t/lineinfile-module-replace-only-if-line-is-present-do-not-add/13332)

<div class="topic-metadata">

**Author:** [@Kavin\_Kankeshwar](https://forum.ansible.com/u/Kavin_Kankeshwar)\
**Replies:** 15\
**Last updated:** [July 14, 2014, 8:53pm UTC](https://forum.ansible.com/t/lineinfile-module-replace-only-if-line-is-present-do-not-add/13332 "2014-07-14T20:53:20Z")

</div>

Hi, Wanted to know if it is possible for lineinfile to only replace line if regex matches, if it does not match do not add new line. Is this possible ? From looks of it , does not seem to work. Regards,

---

## [Configuring AWS metric alarm using newly created scaling policy ARN](https://forum.ansible.com/t/configuring-aws-metric-alarm-using-newly-created-scaling-policy-arn/15666)

<div class="topic-metadata">

**Author:** [@Claire\_Lee](https://forum.ansible.com/u/Claire_Lee)\
**Replies:** 2\
**Last updated:** [July 14, 2014, 8:47pm UTC](https://forum.ansible.com/t/configuring-aws-metric-alarm-using-newly-created-scaling-policy-arn/15666 "2014-07-14T20:47:37Z")

</div>

Hi guys, I’m still pretty new to Ansible and was wondering if you could answer a question I have. I’m trying to create an AWS scaling policy and attach a metric alarm to it. From what I understand, the ec2\_metric\_alarm …

---

## [AnsibleFest SF date now set - October 14th](https://forum.ansible.com/t/ansiblefest-sf-date-now-set-october-14th/15667)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [July 14, 2014, 7:13pm UTC](https://forum.ansible.com/t/ansiblefest-sf-date-now-set-october-14th/15667 "2014-07-14T19:13:28Z")

</div>

For those interested in AnsibleFest SF, there’s now a date set, which is October 14th. It’s going to be downtown near Union Square at the Parc 55 hotel. http://www.ansible.com/ansiblefest-san-francisco If you would li…

---

## [Getting 'ansible\_processor' is undefined error](https://forum.ansible.com/t/getting-ansible-processor-is-undefined-error/15661)

<div class="topic-metadata">

**Author:** [@Dhastha\_Gheer](https://forum.ansible.com/u/Dhastha_Gheer)\
**Replies:** 1\
**Last updated:** [July 14, 2014, 7:06pm UTC](https://forum.ansible.com/t/getting-ansible-processor-is-undefined-error/15661 "2014-07-14T19:06:51Z")

</div>

Hi all, I am running a role with following command to deploy it in a remote machine sudo ansible-playbook run\_role.yml -c ssh -i inventory.ini --limit=hostname -e role=rolename -u username -k -K But I am getting follo…

---

## [execute roles more then one times (with\_sequence ?)](https://forum.ansible.com/t/execute-roles-more-then-one-times-with-sequence/15641)

<div class="topic-metadata">

**Author:** [@Serkan\_C](https://forum.ansible.com/u/Serkan_C)\
**Replies:** 11\
**Last updated:** [July 14, 2014, 6:54pm UTC](https://forum.ansible.com/t/execute-roles-more-then-one-times-with-sequence/15641 "2014-07-14T18:54:08Z")

</div>

Hi All, I would like to execute some rules more than one time at the playbook, i tried to use; with\_sequence: count=2 but ERROR: with\_sequence is not a legal parameter in an Ansible Playbook I would like to do somet…

---

## [make deb issue](https://forum.ansible.com/t/make-deb-issue/15664)

<div class="topic-metadata">

**Author:** [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Replies:** 8\
**Last updated:** [July 14, 2014, 4:59pm UTC](https://forum.ansible.com/t/make-deb-issue/15664 "2014-07-14T16:59:51Z")

</div>

Hi, I try to make a deb package from the sources and when it works fine with the git repository (dev version), yet it doesn't with the latest version 1.6.6. I ran a diff here : http://pastebin.com/c9WKEkVB But I cou…

---

## [in same playbook, create docker host and target that host](https://forum.ansible.com/t/in-same-playbook-create-docker-host-and-target-that-host/15657)

<div class="topic-metadata">

**Author:** [@Brian\_Grossman](https://forum.ansible.com/u/Brian_Grossman)\
**Replies:** 3\
**Last updated:** [July 13, 2014, 8:24pm UTC](https://forum.ansible.com/t/in-same-playbook-create-docker-host-and-target-that-host/15657 "2014-07-13T20:24:36Z")

</div>

Say I’ve created a docker host with the docker\_image and docker modules. In the same playbook where I apply the role that creates the host, I’d like to apply a role to the newly created host. The problem I’m running in…

---

## [adding vault to lookups](https://forum.ansible.com/t/adding-vault-to-lookups/15658)

<div class="topic-metadata">

**Author:** [@Brian\_Coca1](https://forum.ansible.com/u/Brian_Coca1)\
**Replies:** 1\
**Last updated:** [July 13, 2014, 8:05pm UTC](https://forum.ansible.com/t/adding-vault-to-lookups/15658 "2014-07-13T20:05:53Z")

</div>

So I needed file lookup with vault and here is a 1st draft: https://github.com/ansible/ansible/pull/8110 it should be easy to add vault support to other lookups using this.

---

## [Access to local files from module](https://forum.ansible.com/t/access-to-local-files-from-module/15659)

<div class="topic-metadata">

**Author:** [@Gregor\_Giesen](https://forum.ansible.com/u/Gregor_Giesen)\
**Replies:** 1\
**Last updated:** [July 13, 2014, 6:39pm UTC](https://forum.ansible.com/t/access-to-local-files-from-module/15659 "2014-07-13T18:39:38Z")

</div>

Hello everyone, I try to write a module which reads a local file (e.g. from a playbook). How can I achieve it? I’ve tried to start with the “copy” module which reads a local file given by the src argument. As far as I …

---

## [Help understanding shell modules](https://forum.ansible.com/t/help-understanding-shell-modules/15605)

<div class="topic-metadata">

**Author:** [@Stuart\_Reynolds](https://forum.ansible.com/u/Stuart_Reynolds)\
**Replies:** 2\
**Last updated:** [July 12, 2014, 7:41pm UTC](https://forum.ansible.com/t/help-understanding-shell-modules/15605 "2014-07-12T19:41:26Z")

</div>

\[Moved from ansible-project\] I’m trying to understand what I can expect when writing my own modules. My hope would be to more quickly move and existing Makefile and shell script configuration to ansible. However, just …

---

## [Waiting for servers after reboot](https://forum.ansible.com/t/waiting-for-servers-after-reboot/14371)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev2](https://forum.ansible.com/u/Anand_Buddhdev2)\
**Replies:** 6\
**Last updated:** [July 12, 2014, 6:51pm UTC](https://forum.ansible.com/t/waiting-for-servers-after-reboot/14371 "2014-07-12T18:51:49Z")

</div>

Hi ansible users, I have a playbook to reboot all my servers serially, using the “serial: 1” option in the playbook. I have the tasks: command: /sbin/reboot local\_action: wait\_for host={{inventory\_hostname}} port=…

---

## [No support for rds resource tags?](https://forum.ansible.com/t/no-support-for-rds-resource-tags/15656)

<div class="topic-metadata">

**Author:** [@Stuart\_Reynolds](https://forum.ansible.com/u/Stuart_Reynolds)\
**Replies:** 1\
**Last updated:** [July 12, 2014, 6:40pm UTC](https://forum.ansible.com/t/no-support-for-rds-resource-tags/15656 "2014-07-12T18:40:31Z")

</div>

I don’t seem to be able to find a way to tag and query by rds instances by tag in Ansible. It looks like this is only supported since the introduction of boto.rds2. NB boto.rds2 is much simplified – all the instance va…

---

## [Local path to a file within a role](https://forum.ansible.com/t/local-path-to-a-file-within-a-role/15585)

<div class="topic-metadata">

**Author:** [@Jon\_Warbrick](https://forum.ansible.com/u/Jon_Warbrick)\
**Replies:** 6\
**Last updated:** [July 12, 2014, 12:54pm UTC](https://forum.ansible.com/t/local-path-to-a-file-within-a-role/15585 "2014-07-12T12:54:44Z")

</div>

Apologies for what may be a silly question. Within a role, I'd like to run a verification command on some files from the .../files/ directory before installing them. I can see how to use a 'local\_action' and the command…

---

## [GIT module bug?](https://forum.ansible.com/t/git-module-bug/15644)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 4\
**Last updated:** [July 12, 2014, 12:53pm UTC](https://forum.ansible.com/t/git-module-bug/15644 "2014-07-12T12:53:42Z")

</div>

Not sure whether I am doing something wrong. Using the following playbook hosts: myhosts tasks: name: Update git repo der Anwendung git: dest=/my/webapp repo=repo@host:repos/my-webapp recursive=no update=yes acc…

---

## [ansible-inventory-grapher updated](https://forum.ansible.com/t/ansible-inventory-grapher-updated/15654)

<div class="topic-metadata">

**Author:** [@willthames](https://forum.ansible.com/u/willthames)\
**Replies:** 0\
**Last updated:** [July 12, 2014, 2:16am UTC](https://forum.ansible.com/t/ansible-inventory-grapher-updated/15654 "2014-07-12T02:16:21Z")

</div>

I’ve updated the ansible-inventory-grapher to make good use of Serge’s inventory refactor. As a result, it should display the source of each variable in the graph. It hasn’t had enough of a tweak to cope with merging d…

---

## [Documentation process improvement ideas?](https://forum.ansible.com/t/documentation-process-improvement-ideas/15652)

<div class="topic-metadata">

**Author:** [@Stuart\_Reynolds](https://forum.ansible.com/u/Stuart_Reynolds)\
**Replies:** 3\
**Last updated:** [July 11, 2014, 10:42pm UTC](https://forum.ansible.com/t/documentation-process-improvement-ideas/15652 "2014-07-11T22:42:55Z")

</div>

As I read through the Ansible docs, I’m constantly finding there are many small details missing. Some examples: how is the current directory of the command module decided what are the all the possible parameters to a t…

---

## [Contributing to Ansible by helping move issues / pull requests along](https://forum.ansible.com/t/contributing-to-ansible-by-helping-move-issues-pull-requests-along/15650)

<div class="topic-metadata">

**Author:** [@Jonathan\_Mainguy](https://forum.ansible.com/u/Jonathan_Mainguy)\
**Replies:** 1\
**Last updated:** [July 11, 2014, 10:37pm UTC](https://forum.ansible.com/t/contributing-to-ansible-by-helping-move-issues-pull-requests-along/15650 "2014-07-11T22:37:52Z")

</div>

I noticed some labels were out of date on the github issues / pull requests and that no comments had been made in some for months. Would it be beneficial at all if I made comments in them to say the label needed updating…

---

## [what would be the best way to set variable based on group](https://forum.ansible.com/t/what-would-be-the-best-way-to-set-variable-based-on-group/15648)

<div class="topic-metadata">

**Author:** [@Steve\_Lee](https://forum.ansible.com/u/Steve_Lee)\
**Replies:** 2\
**Last updated:** [July 11, 2014, 10:33pm UTC](https://forum.ansible.com/t/what-would-be-the-best-way-to-set-variable-based-on-group/15648 "2014-07-11T22:33:19Z")

</div>

Is it possible to have condition statement on variable? What would be the best way to assign Variable based on inventory group? Below is the basic idea. vars: epic: true when: inventory\_hostname == groups.database …

---

## [Bug with composer module on OSX](https://forum.ansible.com/t/bug-with-composer-module-on-osx/15627)

<div class="topic-metadata">

**Author:** [@Cameron\_Junge](https://forum.ansible.com/u/Cameron_Junge)\
**Replies:** 5\
**Last updated:** [July 11, 2014, 10:28pm UTC](https://forum.ansible.com/t/bug-with-composer-module-on-osx/15627 "2014-07-11T22:28:21Z")

</div>

Hi All, I guess this isn’t a common case, but I’ve experienced an error with using the composer module on an OSX machine. Runs perfectly on Linux, with the same exact settings! \` TASK: \[Composer install\] \*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [synchronize module update request](https://forum.ansible.com/t/synchronize-module-update-request/15626)

<div class="topic-metadata">

**Author:** [@Seba\_Grillo](https://forum.ansible.com/u/Seba_Grillo)\
**Replies:** 2\
**Last updated:** [July 11, 2014, 10:27pm UTC](https://forum.ansible.com/t/synchronize-module-update-request/15626 "2014-07-11T22:27:07Z")

</div>

Hello fellow admins and programmers, I was wondering if it’s possible to have the synchronize module modified so compression is optional (like compression=yes/no, etc), rather than hardcoded. I was working on a playboo…

---

## [Pre\_tasks using best practices layout](https://forum.ansible.com/t/pre-tasks-using-best-practices-layout/15643)

<div class="topic-metadata">

**Author:** [@fokeyjo](https://forum.ansible.com/u/fokeyjo)\
**Replies:** 1\
**Last updated:** [July 11, 2014, 10:26pm UTC](https://forum.ansible.com/t/pre-tasks-using-best-practices-layout/15643 "2014-07-11T22:26:33Z")

</div>

Hiya, Hopefully this is an easy quick question… I’m using the layout described in http://docs.ansible.com/playbooks\_best\_practices.html. I want to define a pre-task to a role defined in meta/main.yml, but I can’t seem …

---

## [Multiple groups with rackspace and dynamic inventory](https://forum.ansible.com/t/multiple-groups-with-rackspace-and-dynamic-inventory/15484)

<div class="topic-metadata">

**Author:** [@Mehul\_Ved](https://forum.ansible.com/u/Mehul_Ved)\
**Replies:** 3\
**Last updated:** [July 11, 2014, 10:25pm UTC](https://forum.ansible.com/t/multiple-groups-with-rackspace-and-dynamic-inventory/15484 "2014-07-11T22:25:04Z")

</div>

Hi, I am using rax module to create rackspace server and setting a group using group parameter. Currently, I use it for determining if the server belongs to web or db group. In addition, I also want to add capabili…

---

## [lineinfile changes symbolic link to file](https://forum.ansible.com/t/lineinfile-changes-symbolic-link-to-file/15642)

<div class="topic-metadata">

**Author:** [@jepper](https://forum.ansible.com/u/jepper)\
**Replies:** 1\
**Last updated:** [July 11, 2014, 10:24pm UTC](https://forum.ansible.com/t/lineinfile-changes-symbolic-link-to-file/15642 "2014-07-11T22:24:03Z")

</div>

I am not sure if this is a feature or a bug. I’m using ansible to update tnsnames.ora - pre-run we have lrwxrwxrwx 1 oracle dba 17 Sep 24 2012 tnsnames.ora → /etc/tnsnames.ora I then run something like lineinfile: des…

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

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