# Ansible Developer

**URL:** https://forum.ansible.com/c/archives/ansible-developer/29.md?page=62

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

**Page:** 63

---

## [ec2\_vpc\_route\_table update?](https://forum.ansible.com/t/ec2-vpc-route-table-update/20536)

<div class="topic-metadata">

**Author:** [@Matthew\_Graham](https://forum.ansible.com/u/Matthew_Graham)\
**Replies:** 0\
**Last updated:** [February 11, 2016, 11:12am UTC](https://forum.ansible.com/t/ec2-vpc-route-table-update/20536 "2016-02-11T11:12:18Z")

</div>

Hi All Using the ec2\_vpc\_route\_table module to create a route table. It works but if I terminate the NAT’s that are referenced in item.instance, it leaves the lovely “black hole” in the Route table in AWS. When I run th…

---

## [Github issue: 14132  (https://github.com/ansible/ansible/issues/14132)](https://forum.ansible.com/t/github-issue-14132-https-github-com-ansible-ansible-issues-14132/20533)

<div class="topic-metadata">

**Author:** [@Nitin\_Rathi](https://forum.ansible.com/u/Nitin_Rathi)\
**Replies:** 0\
**Last updated:** [February 11, 2016, 9:59am UTC](https://forum.ansible.com/t/github-issue-14132-https-github-com-ansible-ansible-issues-14132/20533 "2016-02-11T09:59:22Z")

</div>

Hi, I want to fix this issue, but I am not sure where to start looking for it in the code. I will be very happy if you can provide with a high-level over view of how ansible works

---

## [Fatal 191.168.0,2, ansible -playbook](https://forum.ansible.com/t/fatal-191-168-0-2-ansible-playbook/20518)

<div class="topic-metadata">

**Author:** [@Valentino\_Massimo](https://forum.ansible.com/u/Valentino_Massimo)\
**Replies:** 2\
**Last updated:** [February 10, 2016, 6:59pm UTC](https://forum.ansible.com/t/fatal-191-168-0-2-ansible-playbook/20518 "2016-02-10T18:59:46Z")

</div>

vagrant@ansible:~$ ansible-playbook -i hosts -u root nginx.yml PLAY \[webservers\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* GATHERING FACTS \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Ansible Linode NodeBalancer Module](https://forum.ansible.com/t/ansible-linode-nodebalancer-module/18741)

<div class="topic-metadata">

**Author:** [@Duncan\_Morris](https://forum.ansible.com/u/Duncan_Morris)\
**Replies:** 3\
**Last updated:** [February 10, 2016, 6:37pm UTC](https://forum.ansible.com/t/ansible-linode-nodebalancer-module/18741 "2016-02-10T18:37:38Z")

</div>

Hi all. I’ve just written a module to manage the three parts of a Linode NodeBalancer (The Node Balancer, the config and the nodes themselves). I am successfully using it for deployments after installing it locally and …

---

## [Failure on 2.0.0.2](https://forum.ansible.com/t/failure-on-2-0-0-2/20510)

<div class="topic-metadata">

**Author:** [@oleksandrc](https://forum.ansible.com/u/oleksandrc)\
**Replies:** 0\
**Last updated:** [February 10, 2016, 1:15pm UTC](https://forum.ansible.com/t/failure-on-2-0-0-2/20510 "2016-02-10T13:15:04Z")

</div>

Hi all, I’m trying to use my roles with ansible 2.0. In short I’m experiencing a strange error on 2.0.0.2 release (latest at the moment), and no errors on latest stable-2.0 branch and 2.0.1.0 rc tag. Detail on how to re…

---

## [Generate a dynamic list to be used by with\_items](https://forum.ansible.com/t/generate-a-dynamic-list-to-be-used-by-with-items/20478)

<div class="topic-metadata">

**Author:** [@hce](https://forum.ansible.com/u/hce)\
**Replies:** 3\
**Last updated:** [February 9, 2016, 1:14am UTC](https://forum.ansible.com/t/generate-a-dynamic-list-to-be-used-by-with-items/20478 "2016-02-09T01:14:31Z")

</div>

Hi, I thought the following should work, but I got a syntax error. Can the yml condition check syntax be used inside with\_items? If not, how can I generate a dynamic list in the role to be used by with\_items (register ?…

---

## [A systemd-nspawn connection driver](https://forum.ansible.com/t/a-systemd-nspawn-connection-driver/20491)

<div class="topic-metadata">

**Author:** [@larsks](https://forum.ansible.com/u/larsks)\
**Replies:** 0\
**Last updated:** [February 8, 2016, 9:48pm UTC](https://forum.ansible.com/t/a-systemd-nspawn-connection-driver/20491 "2016-02-08T21:48:59Z")

</div>

I’ve submitted a patch that adds a systemd-nspawn connection driver to Ansible. It started out as a clone of the existing “chroot” driver, but it’s a lot easier to use (since nspawn takes care of setting up things like /…

---

## [no\_log / no\_target\_syslog ??](https://forum.ansible.com/t/no-log-no-target-syslog/20382)

<div class="topic-metadata">

**Author:** [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Replies:** 8\
**Last updated:** [February 8, 2016, 12:05pm UTC](https://forum.ansible.com/t/no-log-no-target-syslog/20382 "2016-02-08T12:05:52Z")

</div>

Hey, on the documentation its said: “no\_target\_syslog - prevents logging of tasks, but only on the targets, data is still logged on the master/controller” whats the meaning of log on “master/controller”. syslog, stdout…

---

## [PR #14359: foldling long lines in inventory files](https://forum.ansible.com/t/pr-14359-foldling-long-lines-in-inventory-files/20479)

<div class="topic-metadata">

**Author:** [@larsks](https://forum.ansible.com/u/larsks)\
**Replies:** 0\
**Last updated:** [February 8, 2016, 2:31am UTC](https://forum.ansible.com/t/pr-14359-foldling-long-lines-in-inventory-files/20479 "2016-02-08T02:31:11Z")

</div>

Over the weekend I submitted an RFE, https://github.com/ansible/ansible/issues/14358, for being able to fold long lines in Ansible inventory files. I’m working with some inventory files that have several per-host variabl…

---

## [Deprecate ec2\_vpc?](https://forum.ansible.com/t/deprecate-ec2-vpc/20399)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 4\
**Last updated:** [February 7, 2016, 5:19pm UTC](https://forum.ansible.com/t/deprecate-ec2-vpc/20399 "2016-02-07T17:19:40Z")

</div>

I see that new bugs are being raised against ec2\_vpc. To avoid duplicate effort against ec2\_vpc and the newer vpc\_net, vpc\_route\_table and vpc\_subnet modules, can we deprecate ec2\_vpc?

---

## [Proof of concept: Docker module state: reloaded testing](https://forum.ansible.com/t/proof-of-concept-docker-module-state-reloaded-testing/20473)

<div class="topic-metadata">

**Author:** [@alv2412](https://forum.ansible.com/u/alv2412)\
**Replies:** 1\
**Last updated:** [February 6, 2016, 1:52pm UTC](https://forum.ansible.com/t/proof-of-concept-docker-module-state-reloaded-testing/20473 "2016-02-06T13:52:06Z")

</div>

Hello, To avoid the various bugs in the Docker module related to state: reloaded we need some kind of automated testing. As a proof of concept I wrote a simple playbook that creates containers, applies some state chang…

---

## [another option besides sleep(1) in async\_wrapper](https://forum.ansible.com/t/another-option-besides-sleep-1-in-async-wrapper/20471)

<div class="topic-metadata">

**Author:** [@Casey\_Lucas](https://forum.ansible.com/u/Casey_Lucas)\
**Replies:** 0\
**Last updated:** [February 5, 2016, 11:24pm UTC](https://forum.ansible.com/t/another-option-besides-sleep-1-in-async-wrapper/20471 "2016-02-05T23:24:25Z")

</div>

I run some tasks asynchronously (localhost against AWS) and noticed that the start time of a list of tasks (using with\_item) is always pretty much equal to the number of items in the list times 1 second. This startup tim…

---

## [DEFUNCT procs: ansible not closing gracefully for unreachable hosts](https://forum.ansible.com/t/defunct-procs-ansible-not-closing-gracefully-for-unreachable-hosts/20468)

<div class="topic-metadata">

**Author:** [@Fletcher\_Cocquyt](https://forum.ansible.com/u/Fletcher_Cocquyt)\
**Replies:** 0\
**Last updated:** [February 5, 2016, 6:27pm UTC](https://forum.ansible.com/t/defunct-procs-ansible-not-closing-gracefully-for-unreachable-hosts/20468 "2016-02-05T18:27:45Z")

</div>

Hi, I’ve been a happy ansible automation user for 3 months with 1032 hosts in our list. Security asked me to add 200+ hosts to the list - now I am seeing my daily ansible jobs result in hung / defunct processes NB: I …

---

## [Ansible command succeeded but playbook failed](https://forum.ansible.com/t/ansible-command-succeeded-but-playbook-failed/20461)

<div class="topic-metadata">

**Author:** [@jaycoolzhao](https://forum.ansible.com/u/jaycoolzhao)\
**Replies:** 1\
**Last updated:** [February 5, 2016, 12:34pm UTC](https://forum.ansible.com/t/ansible-command-succeeded-but-playbook-failed/20461 "2016-02-05T12:34:03Z")

</div>

Hi, When I execute ansible command, it return success result: root@\*\*\*\*temps# ansible release -m raw -u root -a “pwd” -c paramiko -k SSH password: 10.170.124.24 | SUCCESS | rc=0 \>\> /root But if I write this module …

---

## [expect module throw exception when decoding responses dict](https://forum.ansible.com/t/expect-module-throw-exception-when-decoding-responses-dict/20444)

<div class="topic-metadata">

**Author:** [@jaycoolzhao](https://forum.ansible.com/u/jaycoolzhao)\
**Replies:** 4\
**Last updated:** [February 5, 2016, 6:38am UTC](https://forum.ansible.com/t/expect-module-throw-exception-when-decoding-responses-dict/20444 "2016-02-05T06:38:44Z")

</div>

Hi, When I ran this sample: expect: command: passwd master responses: (?i)password: “234567” sudo: yes register: hello name: Debug hello.stdout as part of a string debug: msg={{ hello.stdout }} Print all conte…

---

## [clone git bare repo from local machne  to remote server.](https://forum.ansible.com/t/clone-git-bare-repo-from-local-machne-to-remote-server/20459)

<div class="topic-metadata">

**Author:** [@Praveen\_Singh](https://forum.ansible.com/u/Praveen_Singh)\
**Replies:** 0\
**Last updated:** [February 5, 2016, 3:28am UTC](https://forum.ansible.com/t/clone-git-bare-repo-from-local-machne-to-remote-server/20459 "2016-02-05T03:28:06Z")

</div>

Hello, I think cloning a private repository from GitHub to remote server is quite a hassle. The steps are:- Create ssh key add it Github ssh keys copy private and public key to the remote server and clone Can I clone…

---

## [CentOS Configuration Management SIG](https://forum.ansible.com/t/centos-configuration-management-sig/19445)

<div class="topic-metadata">

**Author:** [@Julien\_Pivotto](https://forum.ansible.com/u/Julien_Pivotto)\
**Replies:** 1\
**Last updated:** [February 4, 2016, 7:17pm UTC](https://forum.ansible.com/t/centos-configuration-management-sig/19445 "2016-02-04T19:17:25Z")

</div>

Dear Ansible Developers, I would like to announce that I am bootstrapping a CentOS Configuration Management SIG. A SIG (Special Interest Group) is a group in the CentOS community who focuses on a specific goal. In th…

---

## [Results after processing ansible script using Python](https://forum.ansible.com/t/results-after-processing-ansible-script-using-python/20446)

<div class="topic-metadata">

**Author:** [@Shreyas\_Patil](https://forum.ansible.com/u/Shreyas_Patil)\
**Replies:** 0\
**Last updated:** [February 4, 2016, 9:44am UTC](https://forum.ansible.com/t/results-after-processing-ansible-script-using-python/20446 "2016-02-04T09:44:52Z")

</div>

Hi, I am trying to build a system for automated installations using python ansible. I am able to run the example program. But, I need to get feedback from the server to know whether my installation succeeded or failed w…

---

## [How do I get a module to work with --diff?](https://forum.ansible.com/t/how-do-i-get-a-module-to-work-with-diff/20318)

<div class="topic-metadata">

**Author:** [@Tobias\_Wolf](https://forum.ansible.com/u/Tobias_Wolf)\
**Replies:** 10\
**Last updated:** [February 2, 2016, 4:14pm UTC](https://forum.ansible.com/t/how-do-i-get-a-module-to-work-with-diff/20318 "2016-02-02T16:14:32Z")

</div>

So, I want to get --diff to output something useful when using the synchronize module. As I understand it so far, making a diff for changes entails returning a list of ‘before’ and ‘after’ pairs in result\[‘diff’\]. These…

---

## [Creating an ec2 instance with custom secusity group and public ip](https://forum.ansible.com/t/creating-an-ec2-instance-with-custom-secusity-group-and-public-ip/20189)

<div class="topic-metadata">

**Author:** [@Danishka\_Navin](https://forum.ansible.com/u/Danishka_Navin)\
**Replies:** 1\
**Last updated:** [February 1, 2016, 11:17am UTC](https://forum.ansible.com/t/creating-an-ec2-instance-with-custom-secusity-group-and-public-ip/20189 "2016-02-01T11:17:24Z")

</div>

Hi, I was trying to create an ec2 instance with custom secusity group and public ip. But when the instance create, only default security group attached but not custom security groups. And also there is no public IP at …

---

## [Skip or fail in check mode with missing dependencies?](https://forum.ansible.com/t/skip-or-fail-in-check-mode-with-missing-dependencies/20397)

<div class="topic-metadata">

**Author:** [@mattclay](https://forum.ansible.com/u/mattclay)\
**Replies:** 0\
**Last updated:** [February 1, 2016, 10:14am UTC](https://forum.ansible.com/t/skip-or-fail-in-check-mode-with-missing-dependencies/20397 "2016-02-01T10:14:47Z")

</div>

When running in check mode, should a module report skipped or failed if it has dependencies which cannot be satisfied? For example, the apt\_repository module requires python-apt, which it will automatically install, exc…

---

## [Some important features in Ansible that I'd like to see ('creates', 'removes', 'run\_once\_by')](https://forum.ansible.com/t/some-important-features-in-ansible-that-id-like-to-see-creates-removes-run-once-by/20265)

<div class="topic-metadata">

**Author:** [@alexey.vazhnov](https://forum.ansible.com/u/alexey.vazhnov)\
**Replies:** 2\
**Last updated:** [February 1, 2016, 2:30am UTC](https://forum.ansible.com/t/some-important-features-in-ansible-that-id-like-to-see-creates-removes-run-once-by/20265 "2016-02-01T02:30:16Z")

</div>

Hi! I want to suggest a few major and valuable, as I see it, features and invite community to discuss: Add ‘creates’ and ‘removes’ parameters for any task, not only for modules like ‘shell’, as it works now. Add ‘run\_…

---

## [delegate\_to and with\_items together: only the first item is executed/looped](https://forum.ansible.com/t/delegate-to-and-with-items-together-only-the-first-item-is-executed-looped/20387)

<div class="topic-metadata">

**Author:** [@Henri\_Volotinen](https://forum.ansible.com/u/Henri_Volotinen)\
**Replies:** 2\
**Last updated:** [January 30, 2016, 10:57am UTC](https://forum.ansible.com/t/delegate-to-and-with-items-together-only-the-first-item-is-executed-looped/20387 "2016-01-30T10:57:16Z")

</div>

Hey, I have Ansible version 2.0.0.2 running in OS X. I have noticed that when delegate\_to is used together with with\_items, only the first item in the list is executed and the rest are just ignored (although they show …

---

## [custom action module include\_dir](https://forum.ansible.com/t/custom-action-module-include-dir/20313)

<div class="topic-metadata">

**Author:** [@Adham\_H](https://forum.ansible.com/u/Adham_H)\
**Replies:** 1\
**Last updated:** [January 29, 2016, 8:33pm UTC](https://forum.ansible.com/t/custom-action-module-include-dir/20313 "2016-01-29T20:33:16Z")

</div>

Hey, I am currently using ansible v1. I have created a custom action module in v1 that is based on include\_vars that loads directory of yaml into an array. And we just started upgrading to ansible v2 So I have to port …

---

## [Run from source hacking script broken?](https://forum.ansible.com/t/run-from-source-hacking-script-broken/20372)

<div class="topic-metadata">

**Author:** [@marc.petrivelli](https://forum.ansible.com/u/marc.petrivelli)\
**Replies:** 4\
**Last updated:** [January 28, 2016, 7:16pm UTC](https://forum.ansible.com/t/run-from-source-hacking-script-broken/20372 "2016-01-28T19:16:03Z")

</div>

I followed the instructions here: http://docs.ansible.com/ansible/intro\_installation.html#running-from-source However when I run ansible from the newly cloned repo, I get the following error: mpetrive@mpetrive-laptop ~…

---

## [win\_file module - won't delete file when special characters in path](https://forum.ansible.com/t/win-file-module-wont-delete-file-when-special-characters-in-path/20361)

<div class="topic-metadata">

**Author:** [@Ricky\_Basra](https://forum.ansible.com/u/Ricky_Basra)\
**Replies:** 1\
**Last updated:** [January 28, 2016, 3:45pm UTC](https://forum.ansible.com/t/win-file-module-wont-delete-file-when-special-characters-in-path/20361 "2016-01-28T15:45:43Z")

</div>

Issue Type:- Bug Report Ansible Version: ansible 2.0.0.1 Ansible Configuration: No change Environment: Running from GNU Linux and managing Windows 2012 server Summary: Trying to delete a file on the server using th…

---

## [Support for shell process substitution or /dev/stdin inventory source](https://forum.ansible.com/t/support-for-shell-process-substitution-or-dev-stdin-inventory-source/20356)

<div class="topic-metadata">

**Author:** [@Remi\_Ferrand](https://forum.ansible.com/u/Remi_Ferrand)\
**Replies:** 1\
**Last updated:** [January 27, 2016, 8:01pm UTC](https://forum.ansible.com/t/support-for-shell-process-substitution-or-dev-stdin-inventory-source/20356 "2016-01-27T20:01:02Z")

</div>

Hello everyone, I’m brand new to this list and this is my first message. Apologize if this subject has already been mentioned anywhere. I’m trying to use shell Process substitution as an Ansible inventory source. Exa…

---

## [Jinja2 variable substitution in the YAML map key](https://forum.ansible.com/t/jinja2-variable-substitution-in-the-yaml-map-key/20352)

<div class="topic-metadata">

**Author:** [@Jiri](https://forum.ansible.com/u/Jiri)\
**Replies:** 0\
**Last updated:** [January 26, 2016, 1:03pm UTC](https://forum.ansible.com/t/jinja2-variable-substitution-in-the-yaml-map-key/20352 "2016-01-26T13:03:05Z")

</div>

I have notices that if I use a Jinja2 variable in the YAML map key, it’s not substituted by the variable’s value as in the array and the map value. For example if I have the following playbook: \`

---

## [Filter plugin proposal: Compact list of dicts](https://forum.ansible.com/t/filter-plugin-proposal-compact-list-of-dicts/20329)

<div class="topic-metadata">

**Author:** [@Dominic\_Barnard](https://forum.ansible.com/u/Dominic_Barnard)\
**Replies:** 2\
**Last updated:** [January 24, 2016, 8:05pm UTC](https://forum.ansible.com/t/filter-plugin-proposal-compact-list-of-dicts/20329 "2016-01-24T20:05:41Z")

</div>

I’ve created a filter plugin for use with my own project and thought it might be useful to others. It’s a filter which takes a list of dicts which have been compacted down to reduce duplicated values between items and i…

---

## [Custom module with connection via TCP API. No files transfered.](https://forum.ansible.com/t/custom-module-with-connection-via-tcp-api-no-files-transfered/20332)

<div class="topic-metadata">

**Author:** [@Lukasz\_Kostka](https://forum.ansible.com/u/Lukasz_Kostka)\
**Replies:** 0\
**Last updated:** [January 24, 2016, 5:29pm UTC](https://forum.ansible.com/t/custom-module-with-connection-via-tcp-api-no-files-transfered/20332 "2016-01-24T17:29:39Z")

</div>

Hi I’d like to develop custom module that will configure remote network device (MikroTik) via API (TCP). I know that I need a connection plugin and a module for specific task. If I add with\_items to my module, will it …

[Previous page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=61)

[Next page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=63)
