# Latest

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

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

**Page:** 1000

---

## [Can group\_by add hosts to an existing group?](https://forum.ansible.com/t/can-group-by-add-hosts-to-an-existing-group/14297)

<div class="topic-metadata">

**Author:** [@Mark\_Casey](https://forum.ansible.com/u/Mark_Casey)\
**Replies:** 3\
**Last updated:** [January 8, 2014, 8:14pm UTC](https://forum.ansible.com/t/can-group-by-add-hosts-to-an-existing-group/14297 "2014-01-08T20:14:42Z")

</div>

If you use group\_by but the resulting group name already exists in your inventory, what happens? I’d assume the hosts that matched the group\_by and weren’t already in the group just get added to the group? If necessary …

---

## [Within a role... trying to use a group\_by created in the previously run role](https://forum.ansible.com/t/within-a-role-trying-to-use-a-group-by-created-in-the-previously-run-role/14278)

<div class="topic-metadata">

**Author:** [@Mark\_Casey](https://forum.ansible.com/u/Mark_Casey)\
**Replies:** 9\
**Last updated:** [January 8, 2014, 5:13pm UTC](https://forum.ansible.com/t/within-a-role-trying-to-use-a-group-by-created-in-the-previously-run-role/14278 "2014-01-08T17:13:45Z")

</div>

Hello everyone, My situation is that my playbook calls a role to split my hosts up using group\_by. I then immediately call another role in which I want to use the newly created groups. The problem is that in the second…

---

## [long term optimization idea](https://forum.ansible.com/t/long-term-optimization-idea/14296)

<div class="topic-metadata">

**Author:** [@Jerome\_Wagner](https://forum.ansible.com/u/Jerome_Wagner)\
**Replies:** 1\
**Last updated:** [January 8, 2014, 5:03pm UTC](https://forum.ansible.com/t/long-term-optimization-idea/14296 "2014-01-08T17:03:20Z")

</div>

Hello, regarding the number of ssh roundrips, ssh\_alt lowers them down for all modules that do not need files transfered (eg template, copy) the overall principle of the execution path of a module is module = render(…

---

## [Galaxy username rules](https://forum.ansible.com/t/galaxy-username-rules/14275)

<div class="topic-metadata">

**Author:** [@Michael\_Heca](https://forum.ansible.com/u/Michael_Heca)\
**Replies:** 3\
**Last updated:** [January 8, 2014, 2:01pm UTC](https://forum.ansible.com/t/galaxy-username-rules/14275 "2014-01-08T14:01:58Z")

</div>

Hi, I have problem with username michael.heca to Galaxy. Role is not installable from this account, because ‘.’ in username. Please disallow ‘.’ in username. Please allow same username as on Github. There if now limit…

---

## [Error reading SSH protocol banner / No handlers could be found for logger "paramiko.transport"](https://forum.ansible.com/t/error-reading-ssh-protocol-banner-no-handlers-could-be-found-for-logger-paramiko-transport/14294)

<div class="topic-metadata">

**Author:** [@Johannes\_Zillmann](https://forum.ansible.com/u/Johannes_Zillmann)\
**Replies:** 1\
**Last updated:** [January 8, 2014, 1:59pm UTC](https://forum.ansible.com/t/error-reading-ssh-protocol-banner-no-handlers-could-be-found-for-logger-paramiko-transport/14294 "2014-01-08T13:59:29Z")

</div>

Hey guys, i’m using ansible now since some month (awesome, thanks!) to deploy an system repeatedly to freshly booted ec2 instances. Since a few days now i’m faced with such errors (from time to time onl): build 08-Ja…

---

## [Looking up key/value pairs without iteration](https://forum.ansible.com/t/looking-up-key-value-pairs-without-iteration/14290)

<div class="topic-metadata">

**Author:** [@Richard\_Schick](https://forum.ansible.com/u/Richard_Schick)\
**Replies:** 8\
**Last updated:** [January 8, 2014, 4:37am UTC](https://forum.ansible.com/t/looking-up-key-value-pairs-without-iteration/14290 "2014-01-08T04:37:58Z")

</div>

Greetings, We have long list of packages with versions that change frequently, those packages need to be installed on quite a lot of servers but each server needs a different combination of those packages. Defining a ro…

---

## [Confirm behavior of 'register'  when using sudo and script module](https://forum.ansible.com/t/confirm-behavior-of-register-when-using-sudo-and-script-module/14288)

<div class="topic-metadata">

**Author:** [@lucc](https://forum.ansible.com/u/lucc)\
**Replies:** 4\
**Last updated:** [January 8, 2014, 12:31am UTC](https://forum.ansible.com/t/confirm-behavior-of-register-when-using-sudo-and-script-module/14288 "2014-01-08T00:31:13Z")

</div>

Hello, I've possibly found a bug, but I would like to confirm before creating a ticket. I'm trying to capture output of a remote script executed using the 'script' module. If sudo is not enabled, everything works just …

---

## [Improved EC2 multiple account support](https://forum.ansible.com/t/improved-ec2-multiple-account-support/14282)

<div class="topic-metadata">

**Author:** [@Jameel\_Al-Aziz](https://forum.ansible.com/u/Jameel_Al-Aziz)\
**Replies:** 1\
**Last updated:** [January 8, 2014, 12:01am UTC](https://forum.ansible.com/t/improved-ec2-multiple-account-support/14282 "2014-01-08T00:01:56Z")

</div>

Continuing the discussion from https://github.com/ansible/ansible/pull/5156. I don’t see anything stopping users from creating directories and symlinking to a shared script. That’s basically what I’m doing using my syml…

---

## [cron job variable gets split up](https://forum.ansible.com/t/cron-job-variable-gets-split-up/14291)

<div class="topic-metadata">

**Author:** [@David\_Reagan](https://forum.ansible.com/u/David_Reagan)\
**Replies:** 2\
**Last updated:** [January 7, 2014, 10:35pm UTC](https://forum.ansible.com/t/cron-job-variable-gets-split-up/14291 "2014-01-07T22:35:18Z")

</div>

I’m trying to make a task that takes a dict of cronjobs, passes the dict through dictsort so that it is a list, the goes through that list via “with\_items” to add each cronjob. For some reason, the job= variable gets scr…

---

## [Ansible leaving empty directories](https://forum.ansible.com/t/ansible-leaving-empty-directories/14289)

<div class="topic-metadata">

**Author:** [@Anand\_Buddhdev2](https://forum.ansible.com/u/Anand_Buddhdev2)\
**Replies:** 3\
**Last updated:** [January 7, 2014, 5:21pm UTC](https://forum.ansible.com/t/ansible-leaving-empty-directories/14289 "2014-01-07T17:21:11Z")

</div>

We’re using ansible 1.4.3 with the “local” connection type on our servers. We noticed recently that the inode usage on all our server was climbing steadily, and we’ve tracked it down to ansible leaving empty directories …

---

## [different config per environnement](https://forum.ansible.com/t/different-config-per-environnement/14281)

<div class="topic-metadata">

**Author:** [@David\_Tourel](https://forum.ansible.com/u/David_Tourel)\
**Replies:** 2\
**Last updated:** [January 7, 2014, 4:39pm UTC](https://forum.ansible.com/t/different-config-per-environnement/14281 "2014-01-07T16:39:29Z")

</div>

Hi, I’m very new to ansible, my question seems I’ve created a task that simply deploy phpmyadmin on a given webserver. The selected webserver was targeted by an inventory file. I’ve an inventory per environment, dev, s…

---

## [path\_dwim assumes basedir is set](https://forum.ansible.com/t/path-dwim-assumes-basedir-is-set/14287)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 2\
**Last updated:** [January 7, 2014, 1:49pm UTC](https://forum.ansible.com/t/path-dwim-assumes-basedir-is-set/14287 "2014-01-07T13:49:34Z")

</div>

Hi, I bumped into a small bug. Easily patched, but I’m not 100% sure what I did is the best way here. Can be reproduced with this basic playbook hosts: localhost gather\_facts: false connection: local vars: my: “…

---

## [Running command as newly created user](https://forum.ansible.com/t/running-command-as-newly-created-user/14279)

<div class="topic-metadata">

**Author:** [@Jared\_Duncan](https://forum.ansible.com/u/Jared_Duncan)\
**Replies:** 1\
**Last updated:** [January 6, 2014, 10:06pm UTC](https://forum.ansible.com/t/running-command-as-newly-created-user/14279 "2014-01-06T22:06:03Z")

</div>

Hi, I have a scenario where I need to create a new user, and then execute commands as that user. E.g.: name: create user user: name=newUser password=hashedPass shell=/bin/bash name: run command as user shell: echo $…

---

## [Edit JSON config file using ansible "lineinfile" module](https://forum.ansible.com/t/edit-json-config-file-using-ansible-lineinfile-module/14273)

<div class="topic-metadata">

**Author:** [@Guillaume\_DEDRIE](https://forum.ansible.com/u/Guillaume_DEDRIE)\
**Replies:** 3\
**Last updated:** [January 6, 2014, 9:48pm UTC](https://forum.ansible.com/t/edit-json-config-file-using-ansible-lineinfile-module/14273 "2014-01-06T21:48:04Z")

</div>

Hi, I’m looking for some help. I’m trying to edit with “lineinfile” module a JSON config file: name: Task lineinfile: dest=/etc/pkg/settings.json state=present regexp=‘{{ item.key }}’ line=‘“{{ item.key }}”: {{…

---

## [Playbook says successful on a nonexistent host](https://forum.ansible.com/t/playbook-says-successful-on-a-nonexistent-host/14266)

<div class="topic-metadata">

**Author:** [@Seth\_Edwards](https://forum.ansible.com/u/Seth_Edwards)\
**Replies:** 2\
**Last updated:** [January 6, 2014, 6:25pm UTC](https://forum.ansible.com/t/playbook-says-successful-on-a-nonexistent-host/14266 "2014-01-06T18:25:38Z")

</div>

I’m sorry if this has been asked before. I ran my playbook for the first time against a server we have on ec2. I had a typo in the host name, however the playbook said it finished successfully. Is there something I am do…

---

## [Ansible 1.4.3 update slightly modifies ansible-galaxy CLI (and that's it)](https://forum.ansible.com/t/ansible-1-4-3-update-slightly-modifies-ansible-galaxy-cli-and-thats-it/14197)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 1\
**Last updated:** [January 6, 2014, 4:46pm UTC](https://forum.ansible.com/t/ansible-1-4-3-update-slightly-modifies-ansible-galaxy-cli-and-thats-it/14197 "2014-01-06T16:46:30Z")

</div>

Just wanted to let you know about a quick update release we’ve made to improve ansible-galaxy CLI a little. It now will read your ansible.cfg “roles\_path” and automatically download roles to the configured location so y…

---

## [EC2 Autoscaling](https://forum.ansible.com/t/ec2-autoscaling/13437)

<div class="topic-metadata">

**Author:** [@dcodix](https://forum.ansible.com/u/dcodix)\
**Replies:** 12\
**Last updated:** [January 6, 2014, 4:29pm UTC](https://forum.ansible.com/t/ec2-autoscaling/13437 "2014-01-06T16:29:43Z")

</div>

Hi, I’m studying the possibility of using ansible instead of puppet. I’ve been testing it lately and, so far, I think I’am falling in love with it… It fulfills almost all the needs I have, but yet there is one missing…

---

## [Indicating username with delegate\_to](https://forum.ansible.com/t/indicating-username-with-delegate-to/13996)

<div class="topic-metadata">

**Author:** [@Joshua\_Swink](https://forum.ansible.com/u/Joshua_Swink)\
**Replies:** 8\
**Last updated:** [January 5, 2014, 7:59pm UTC](https://forum.ansible.com/t/indicating-username-with-delegate-to/13996 "2014-01-05T19:59:18Z")

</div>

Is there a way to indicate the remote username when using delegate\_to? I’m trying to use the Nagios plugin, but it tries to log in to the Nagios server as the name of the user on the service host. Here’s my example recip…

---

## [Variable name composition](https://forum.ansible.com/t/variable-name-composition/14274)

<div class="topic-metadata">

**Author:** [@Antonio\_Marin\_Cerezu](https://forum.ansible.com/u/Antonio_Marin_Cerezu)\
**Replies:** 1\
**Last updated:** [January 5, 2014, 6:59pm UTC](https://forum.ansible.com/t/variable-name-composition/14274 "2014-01-05T18:59:20Z")

</div>

Hello, I'm trying to compose a variable name with another variable, to keep the variables for each host on a single file/definition. It looks like the following: vars.yml: netconf: iface: eth1 ip: …

---

## [ensure service is running](https://forum.ansible.com/t/ensure-service-is-running/14269)

<div class="topic-metadata">

**Author:** [@neubyr](https://forum.ansible.com/u/neubyr)\
**Replies:** 1\
**Last updated:** [January 5, 2014, 6:57pm UTC](https://forum.ansible.com/t/ensure-service-is-running/14269 "2014-01-05T18:57:14Z")

</div>

I have tried few Ansible playbooks and it looks nice. I am confused about task and handler association. Most example show tasks notifying handlers about service state/restart. I was wondering if service state can be cont…

---

## [Bug: in ec2\_elb - exception being thrown for new instance registration with ELB](https://forum.ansible.com/t/bug-in-ec2-elb-exception-being-thrown-for-new-instance-registration-with-elb/14271)

<div class="topic-metadata">

**Author:** [@Mohan\_Krishnan](https://forum.ansible.com/u/Mohan_Krishnan)\
**Replies:** 1\
**Last updated:** [January 5, 2014, 6:36pm UTC](https://forum.ansible.com/t/bug-in-ec2-elb-exception-being-thrown-for-new-instance-registration-with-elb/14271 "2014-01-05T18:36:41Z")

</div>

Hello, Currently if we are trying to register an instance that has not yetbeen registered with the elb an exception is thrown as follows: Traceback (most recent call last): File “/home/ubuntu/.ansible/tmp/ansible-1388…

---

## [Help: ec2\_rds needs some love](https://forum.ansible.com/t/help-ec2-rds-needs-some-love/14272)

<div class="topic-metadata">

**Author:** [@Mohan\_Krishnan](https://forum.ansible.com/u/Mohan_Krishnan)\
**Replies:** 1\
**Last updated:** [January 5, 2014, 6:35pm UTC](https://forum.ansible.com/t/help-ec2-rds-needs-some-love/14272 "2014-01-05T18:35:35Z")

</div>

Hi folks,## I have a pull request to fix a bug in ec2\_rds## - rds module: Fix: Cannot change security group of RDS instance in VPC - https://github.com/ansible/ansible/pull/5389There is a discussion thread where Michael …

---

## [Can't I use "Alternate Name" once I delete the role? (AnsibleWorks Galaxy)](https://forum.ansible.com/t/cant-i-use-alternate-name-once-i-delete-the-role-ansibleworks-galaxy/14265)

<div class="topic-metadata">

**Author:** [@Toshiya\_Kawasaki](https://forum.ansible.com/u/Toshiya_Kawasaki)\
**Replies:** 2\
**Last updated:** [January 5, 2014, 9:29am UTC](https://forum.ansible.com/t/cant-i-use-alternate-name-once-i-delete-the-role-ansibleworks-galaxy/14265 "2014-01-05T09:29:42Z")

</div>

Hello : ) I have a question. I registered a role to AnsibleWorks Galaxy, with Alternate Name. After soon, I deleted the role, because I found a bug. (this was mistake) Then, I tried to re-register the role again with…

---

## [Run a blocking node.js server script in the background through ansible](https://forum.ansible.com/t/run-a-blocking-node-js-server-script-in-the-background-through-ansible/14268)

<div class="topic-metadata">

**Author:** [@Jacob\_Lyles](https://forum.ansible.com/u/Jacob_Lyles)\
**Replies:** 1\
**Last updated:** [January 4, 2014, 10:36pm UTC](https://forum.ansible.com/t/run-a-blocking-node-js-server-script-in-the-background-through-ansible/14268 "2014-01-04T22:36:07Z")

</div>

Hi there, I’m trying to do something with ansible that sounds easy/common enough. Somewhere in my playbook, after setting up my reverse proxies, static directories, and mysql, I’d like to kick off my node.js app. The ty…

---

## [New docsite, new twitter, new office...](https://forum.ansible.com/t/new-docsite-new-twitter-new-office/14253)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan2](https://forum.ansible.com/u/Michael_DeHaan2)\
**Replies:** 5\
**Last updated:** [January 4, 2014, 4:22pm UTC](https://forum.ansible.com/t/new-docsite-new-twitter-new-office/14253 "2014-01-04T16:22:27Z")

</div>

Just a few new things today, all unrelated :slight\_smile: (A) Of interest to most: http://ansibleworks.com/docs/ now redirects to our new docsite, which is hosted at http://docs.ansible.com/ What? A new domain name? …

---

## [group\_by and group vars](https://forum.ansible.com/t/group-by-and-group-vars/14261)

<div class="topic-metadata">

**Author:** [@Matt\_Coddington](https://forum.ansible.com/u/Matt_Coddington)\
**Replies:** 4\
**Last updated:** [January 4, 2014, 4:28am UTC](https://forum.ansible.com/t/group-by-and-group-vars/14261 "2014-01-04T04:28:04Z")

</div>

I use group\_by to set up some groups in a play, but it looks like this doesn’t automatically load anything i have in group\_vars for those new groups. I suspect group\_vars are getting picked up only at the beginning of a …

---

## [Assemble module not working with remote\_src](https://forum.ansible.com/t/assemble-module-not-working-with-remote-src/14263)

<div class="topic-metadata">

**Author:** [@Jorge\_E\_Gomez](https://forum.ansible.com/u/Jorge_E_Gomez)\
**Replies:** 1\
**Last updated:** [January 4, 2014, 2:43am UTC](https://forum.ansible.com/t/assemble-module-not-working-with-remote-src/14263 "2014-01-04T02:43:03Z")

</div>

I haven’t been able to assemble a file on a host from fragments on the Ansible server. It fails with “msg: Source (/etc/ansible/roles/test/files/fragments/) does not exist”. If I create and populate that path in the de…

---

## [Devel branch FYI: only\_if, when\_\* properly removed!](https://forum.ansible.com/t/devel-branch-fyi-only-if-when-properly-removed/14262)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan](https://forum.ansible.com/u/Michael_DeHaan)\
**Replies:** 1\
**Last updated:** [January 4, 2014, 1:31am UTC](https://forum.ansible.com/t/devel-branch-fyi-only-if-when-properly-removed/14262 "2014-01-04T01:31:51Z")

</div>

Hi all, It’s time to clean out some legacy features that have not been needed for many many months. As you have seen in the deprecation warnings previously, when\_ and only\_if features slated for removal for 1.5 have be…

---

## [Pip Module Broken for pip 1.5](https://forum.ansible.com/t/pip-module-broken-for-pip-1-5/14260)

<div class="topic-metadata">

**Author:** [@Matt\_Ferrante](https://forum.ansible.com/u/Matt_Ferrante)\
**Replies:** 4\
**Last updated:** [January 3, 2014, 10:58pm UTC](https://forum.ansible.com/t/pip-module-broken-for-pip-1-5/14260 "2014-01-03T22:58:14Z")

</div>

Pip 1.5, released on 1/1/2014, doesn’t support --use-mirrors. The default should be use\_mirrors=no, as this should work correctly with all versions. I ran into the issue where we use Ansible to easy\_install pip and then …

---

## [suggestions for additions to set\_fact's documentation](https://forum.ansible.com/t/suggestions-for-additions-to-set-facts-documentation/14259)

<div class="topic-metadata">

**Author:** [@Nick](https://forum.ansible.com/u/Nick)\
**Replies:** 2\
**Last updated:** [January 3, 2014, 5:09pm UTC](https://forum.ansible.com/t/suggestions-for-additions-to-set-facts-documentation/14259 "2014-01-03T17:09:05Z")

</div>

Hello, I’m looking into using set\_fact module for something, but the documentation is very brief and leaves me with various unanswered questions. My attempts to peek into the source code don’t answer these - the source …

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

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