# Latest

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

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

**Page:** 913

---

## [Is this a bug or a security feature?  I am not sure...](https://forum.ansible.com/t/is-this-a-bug-or-a-security-feature-i-am-not-sure/16992)

<div class="topic-metadata">

**Author:** [@Steven\_Truong](https://forum.ansible.com/u/Steven_Truong)\
**Replies:** 2\
**Last updated:** [December 9, 2014, 1:11pm UTC](https://forum.ansible.com/t/is-this-a-bug-or-a-security-feature-i-am-not-sure/16992 "2014-12-09T13:11:18Z")

</div>

Hi all, Here is the situation that I am not sure how to deal with it. shell: echo {{ ec2\_tag\_Name | regex\_replace(‘(\[1\]±\[a-z0-9\]+).\*’, ‘\\1’) }} And certainly, I have other shell command where I echo something and use …

---

## [Get output from ansible.playbook.PlayBook()](https://forum.ansible.com/t/get-output-from-ansible-playbook-playbook/16973)

<div class="topic-metadata">

**Author:** [@Romey-Rome](https://forum.ansible.com/u/Romey-Rome)\
**Replies:** 3\
**Last updated:** [December 9, 2014, 1:08pm UTC](https://forum.ansible.com/t/get-output-from-ansible-playbook-playbook/16973 "2014-12-09T13:08:35Z")

</div>

I’m executing a playbook from a Flask web service. All output goes to stdout console. I need it in my webapp so that I can send it back to the browser. Best I can get on the server is the summary stats counter from the p…

---

## [AWS VPC - subnets, routers, sg's and acl's](https://forum.ansible.com/t/aws-vpc-subnets-routers-sgs-and-acls/16935)

<div class="topic-metadata">

**Author:** [@polfilm](https://forum.ansible.com/u/polfilm)\
**Replies:** 7\
**Last updated:** [December 9, 2014, 9:38am UTC](https://forum.ansible.com/t/aws-vpc-subnets-routers-sgs-and-acls/16935 "2014-12-09T09:38:45Z")

</div>

Hi All, Love Ansible. I have few questions as I’m creating a VPC with 800 subnets: Does anyone know if there is a way to get list of routers without having to parse them with shell aws describe? Would I have to const…

---

## [Loops in loops for VPC creation](https://forum.ansible.com/t/loops-in-loops-for-vpc-creation/16991)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 0\
**Last updated:** [December 9, 2014, 3:42am UTC](https://forum.ansible.com/t/loops-in-loops-for-vpc-creation/16991 "2014-12-09T03:42:17Z")

</div>

I am trying to create a play that defines by VPC infrastructure. I have a number of environments that are all set up in the same way but with different subnets. I’m trying to loop over a dict for each environment and the…

---

## [Implicit localhost won't load host\_vars/localhost/\*.yml](https://forum.ansible.com/t/implicit-localhost-wont-load-host-vars-localhost-yml/16989)

<div class="topic-metadata">

**Author:** [@Capi\_Etheriel](https://forum.ansible.com/u/Capi_Etheriel)\
**Replies:** 0\
**Last updated:** [December 8, 2014, 10:18pm UTC](https://forum.ansible.com/t/implicit-localhost-wont-load-host-vars-localhost-yml/16989 "2014-12-08T22:18:38Z")

</div>

I’d expect implicit localhost to behave just like any other host when it comes to loading variables from host\_vars. But it doesn’t load vars from host\_vars/localhost.yml nor host\_vars/localhost/somefile.yml Of course, …

---

## [Inventory pattern not matching in runbook](https://forum.ansible.com/t/inventory-pattern-not-matching-in-runbook/16976)

<div class="topic-metadata">

**Author:** [@titleistfour](https://forum.ansible.com/u/titleistfour)\
**Replies:** 4\
**Last updated:** [December 8, 2014, 10:16pm UTC](https://forum.ansible.com/t/inventory-pattern-not-matching-in-runbook/16976 "2014-12-08T22:16:11Z")

</div>

Hello, I’ve got a simple inventory file setup and am using Ansible 1.8 \` \[tl-prod-mongo\] tl-prod-mgdb-\[01:06\] \[tl-prod-web\] tl-prod-aweb-\[01:06\] tl-prod-bweb-\[01:06\] tl-prod-cweb-\[01:06\] \` However, the followin…

---

## [delegate\_to not working with hosts not in inventory?](https://forum.ansible.com/t/delegate-to-not-working-with-hosts-not-in-inventory/16970)

<div class="topic-metadata">

**Author:** [@Tim\_Rice](https://forum.ansible.com/u/Tim_Rice)\
**Replies:** 4\
**Last updated:** [December 8, 2014, 10:13pm UTC](https://forum.ansible.com/t/delegate-to-not-working-with-hosts-not-in-inventory/16970 "2014-12-08T22:13:34Z")

</div>

Just upgraded to 1.8.2 and noticed a change in behavior (previosuly on 1.7.2) delegate\_to only works when the host we wnat to delegate to is in the current inventory, is this intentional? It was working fine on 1.7.2 A…

---

## [I'd like to extend the htpasswd module to support libpam-pwdfile](https://forum.ansible.com/t/id-like-to-extend-the-htpasswd-module-to-support-libpam-pwdfile/16981)

<div class="topic-metadata">

**Author:** [@Alex\_King](https://forum.ansible.com/u/Alex_King)\
**Replies:** 2\
**Last updated:** [December 8, 2014, 9:19pm UTC](https://forum.ansible.com/t/id-like-to-extend-the-htpasswd-module-to-support-libpam-pwdfile/16981 "2014-12-08T21:19:56Z")

</div>

I need to manage a password file with encrypted passwords in a style similar to htpasswd files. The files are read by libpam-pwdfile, which allows pam authentication against arbitrary passwd-style files. This could be m…

---

## [Upgrading to centos 6.6 has broken some ansible plays](https://forum.ansible.com/t/upgrading-to-centos-6-6-has-broken-some-ansible-plays/16985)

<div class="topic-metadata">

**Author:** [@shadybee.dev](https://forum.ansible.com/u/shadybee.dev)\
**Replies:** 5\
**Last updated:** [December 8, 2014, 7:20pm UTC](https://forum.ansible.com/t/upgrading-to-centos-6-6-has-broken-some-ansible-plays/16985 "2014-12-08T19:20:58Z")

</div>

Hi I am running ansible 1.8.1. It was working fine on centos 6.5 but upgrading to centos 6.6 has broken it for certain use cases. I am using jenkins to run an ansible playbook via shell. The play will start a PHP queue…

---

## [Extend ec2\_facts or new module?](https://forum.ansible.com/t/extend-ec2-facts-or-new-module/16982)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 1\
**Last updated:** [December 8, 2014, 5:19pm UTC](https://forum.ansible.com/t/extend-ec2-facts-or-new-module/16982 "2014-12-08T17:19:48Z")

</div>

I am going to write some code to take advantage of the ec2-get-password function (http://docs.aws.amazon.com/AWSEC2/latest/CommandLineReference/ApiReference-cmd-GetPassword.html). In my eyes, this is an ec2 fact. It is a…

---

## [with\_allocate: distribute some list of items into a list of "slots"](https://forum.ansible.com/t/with-allocate-distribute-some-list-of-items-into-a-list-of-slots/16979)

<div class="topic-metadata">

**Author:** [@herby.gillot1](https://forum.ansible.com/u/herby.gillot1)\
**Replies:** 1\
**Last updated:** [December 6, 2014, 6:15pm UTC](https://forum.ansible.com/t/with-allocate-distribute-some-list-of-items-into-a-list-of-slots/16979 "2014-12-06T18:15:15Z")

</div>

https://github.com/ansible/ansible/pull/9735

---

## [Role namespacing directories vs. dot notation](https://forum.ansible.com/t/role-namespacing-directories-vs-dot-notation/16977)

<div class="topic-metadata">

**Author:** [@Mirko\_Friedenhagen](https://forum.ansible.com/u/Mirko_Friedenhagen)\
**Replies:** 3\
**Last updated:** [December 6, 2014, 9:58am UTC](https://forum.ansible.com/t/role-namespacing-directories-vs-dot-notation/16977 "2014-12-06T09:58:06Z")

</div>

Hello, when you have a lot of roles, it might be feasible give them a structure. What's the preferred way in ansible? Using directory hierarchies like roles/fizz/buzz or dots roles/fizz.buzz? Regards Mirko

---

## [Add a all\_vars flag to debug module](https://forum.ansible.com/t/add-a-all-vars-flag-to-debug-module/16978)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [December 6, 2014, 1:59am UTC](https://forum.ansible.com/t/add-a-all-vars-flag-to-debug-module/16978 "2014-12-06T01:59:57Z")

</div>

Against – that’s a very huge amount of data and will only get bigger. Though it’s easy enough to make a template to dump all of hostvars and such if you want.

---

## [Hi Europe! Want to speak at cfgmgmtcamp.eu and/or FOSDEM?](https://forum.ansible.com/t/hi-europe-want-to-speak-at-cfgmgmtcamp-eu-and-or-fosdem/16975)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 0\
**Last updated:** [December 5, 2014, 7:22pm UTC](https://forum.ansible.com/t/hi-europe-want-to-speak-at-cfgmgmtcamp-eu-and-or-fosdem/16975 "2014-12-05T19:22:50Z")

</div>

Hi all. Are you an Ansible fan and want to talk about the great stuff you're doing with Ansible -- and also planning to be at FOSDEM and/or cfgmgmtcamp.eu in Belgium in late January / early February? If you're interes…

---

## [apt-key with HKP keyserver](https://forum.ansible.com/t/apt-key-with-hkp-keyserver/14677)

<div class="topic-metadata">

**Author:** [@Michael\_Mahemoff](https://forum.ansible.com/u/Michael_Mahemoff)\
**Replies:** 4\
**Last updated:** [December 5, 2014, 4:55pm UTC](https://forum.ansible.com/t/apt-key-with-hkp-keyserver/14677 "2014-12-05T16:55:17Z")

</div>

I’m trying to follow the instructions for installing MaraDB apt package (https://downloads.mariadb.org/mariadb/repositories/#distro=Ubuntu&distro\_release=precise&version=5.5). It proposes to add a key like this: sudo ap…

---

## [Using a list variable to generate a list of dicts for another variable setting](https://forum.ansible.com/t/using-a-list-variable-to-generate-a-list-of-dicts-for-another-variable-setting/16971)

<div class="topic-metadata">

**Author:** [@Bret\_Martin](https://forum.ansible.com/u/Bret_Martin)\
**Replies:** 0\
**Last updated:** [December 5, 2014, 3:35pm UTC](https://forum.ansible.com/t/using-a-list-variable-to-generate-a-list-of-dicts-for-another-variable-setting/16971 "2014-12-05T15:35:10Z")

</div>

I’d like to have a list of networks in a variable in group\_vars/all, something like internal-networks: 10.2.3.0/24 10.3.4.0/24 and ideally reference it in a later variable setting, say in host\_vars/aws-vpc-foo: secu…

---

## [rds module sets Postgres to listen on port 3306 if not specified](https://forum.ansible.com/t/rds-module-sets-postgres-to-listen-on-port-3306-if-not-specified/16963)

<div class="topic-metadata">

**Author:** [@vaida.dan](https://forum.ansible.com/u/vaida.dan)\
**Replies:** 2\
**Last updated:** [December 5, 2014, 10:00am UTC](https://forum.ansible.com/t/rds-module-sets-postgres-to-listen-on-port-3306-if-not-specified/16963 "2014-12-05T10:00:52Z")

</div>

Ansible version is 1.9

---

## [Ansible 1.8.2 Released](https://forum.ansible.com/t/ansible-1-8-2-released/16964)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [December 5, 2014, 7:41am UTC](https://forum.ansible.com/t/ansible-1-8-2-released/16964 "2014-12-05T07:41:40Z")

</div>

Hi all, We have released Ansible 1.8.2, which fixes a few of the outstanding bugs left from the 1.8.0/.1 releases. Windows modules should now be packaged correctly. A bug regarding wildcard grant strings in the mysql\_…

---

## [how to execute shell script passing parameters](https://forum.ansible.com/t/how-to-execute-shell-script-passing-parameters/16967)

<div class="topic-metadata">

**Author:** [@vinay.bhasker](https://forum.ansible.com/u/vinay.bhasker)\
**Replies:** 1\
**Last updated:** [December 5, 2014, 2:13am UTC](https://forum.ansible.com/t/how-to-execute-shell-script-passing-parameters/16967 "2014-12-05T02:13:51Z")

</div>

How can we execute shell script passing parameters using ansible? Eg: execute test.sh

---

## [ansible-playbook fails, even though I can ssh into the machine](https://forum.ansible.com/t/ansible-playbook-fails-even-though-i-can-ssh-into-the-machine/16965)

<div class="topic-metadata">

**Author:** [@Tanner\_Semerad](https://forum.ansible.com/u/Tanner_Semerad)\
**Replies:** 1\
**Last updated:** [December 5, 2014, 2:12am UTC](https://forum.ansible.com/t/ansible-playbook-fails-even-though-i-can-ssh-into-the-machine/16965 "2014-12-05T02:12:36Z")

</div>

I have an AWS machine that I want to run an Ansible playbook against. The playbook has been running great against my local Vagrant vm, but now I’m having trouble’s running it against the AWS machine. I am able to ssh int…

---

## [1.8.2 and future things planned for 1.9](https://forum.ansible.com/t/1-8-2-and-future-things-planned-for-1-9/16952)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 1\
**Last updated:** [December 5, 2014, 1:20am UTC](https://forum.ansible.com/t/1-8-2-and-future-things-planned-for-1-9/16952 "2014-12-05T01:20:19Z")

</div>

Hi all, There are currently some issues in the 1.8.1 tree regarding filters used in when and with\_items loops, that we didn’t have integration tests for – OH NO! PANIC! (Many of you might not be using these features, bu…

---

## [set\_fact retain the fact between run?](https://forum.ansible.com/t/set-fact-retain-the-fact-between-run/16968)

<div class="topic-metadata">

**Author:** [@Steve\_Kieu](https://forum.ansible.com/u/Steve_Kieu)\
**Replies:** 1\
**Last updated:** [December 5, 2014, 1:19am UTC](https://forum.ansible.com/t/set-fact-retain-the-fact-between-run/16968 "2014-12-05T01:19:35Z")

</div>

Hi Team, I read that it is retained between each play. So I got TASK: \[web\_base | set fact CUSTOMER\_LOCATOR\_PORT\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* ok: \[demo-web-kr\] =\> {“ansible\_facts”: {“CUSTOMER\_LOCATOR\_PORT”: “52360”…

---

## [Three questions regarding asynchronous jobs](https://forum.ansible.com/t/three-questions-regarding-asynchronous-jobs/16758)

<div class="topic-metadata">

**Author:** [@Ingmar\_Schlecht](https://forum.ansible.com/u/Ingmar_Schlecht)\
**Replies:** 2\
**Last updated:** [December 5, 2014, 12:29am UTC](https://forum.ansible.com/t/three-questions-regarding-asynchronous-jobs/16758 "2014-12-05T00:29:44Z")

</div>

Hi there, just three short questions regarding async jobs. 1.) How can I check the async\_status of a “fire and forget” job on all my servers at once? So instead of checking a specific server’s job id 115503716196.18657…

---

## [Can't understand output](https://forum.ansible.com/t/cant-understand-output/16961)

<div class="topic-metadata">

**Author:** [@Paul\_Letskiy](https://forum.ansible.com/u/Paul_Letskiy)\
**Replies:** 6\
**Last updated:** [December 4, 2014, 8:58pm UTC](https://forum.ansible.com/t/cant-understand-output/16961 "2014-12-04T20:58:01Z")

</div>

Hello, I’m trying Ansible without playbooks. Just oneliner from console. Want to do ‘apt-get update’ on remote server. Here is ansible.cfg: \[defaults\] remote\_port = 2224 remote\_user = che sudo\_user = che Here is c…

---

## [Ansible Windows](https://forum.ansible.com/t/ansible-windows/16538)

<div class="topic-metadata">

**Author:** [@Bryan\_Cochrane](https://forum.ansible.com/u/Bryan_Cochrane)\
**Replies:** 7\
**Last updated:** [December 4, 2014, 8:07pm UTC](https://forum.ansible.com/t/ansible-windows/16538 "2014-12-04T20:07:50Z")

</div>

I am trying to setup windows remoting for ansible. I have Ansible version 1.7.2, ee-bryan is Windows 8.1, ee-csg is Windows Server 2012. Both have Powershell 4. under /etc/ansible I have created hosts as \[windows\] ee…

---

## [Playbook look for hosts file](https://forum.ansible.com/t/playbook-look-for-hosts-file/16957)

<div class="topic-metadata">

**Author:** [@Yvo](https://forum.ansible.com/u/Yvo)\
**Replies:** 3\
**Last updated:** [December 4, 2014, 7:24pm UTC](https://forum.ansible.com/t/playbook-look-for-hosts-file/16957 "2014-12-04T19:24:58Z")

</div>

Hi, It seems common practice for playbooks to have a “hosts” file in the root of the playbook. When you run a playbook you have to supply it via the -i parameter, otherwise you will get the error: “ERROR: Unable to fin…

---

## [failed to transfer file; Read from socket failed](https://forum.ansible.com/t/failed-to-transfer-file-read-from-socket-failed/16962)

<div class="topic-metadata">

**Author:** [@Jim\_McMahon](https://forum.ansible.com/u/Jim_McMahon)\
**Replies:** 2\
**Last updated:** [December 4, 2014, 6:53pm UTC](https://forum.ansible.com/t/failed-to-transfer-file-read-from-socket-failed/16962 "2014-12-04T18:53:36Z")

</div>

Not sure if my error is related to the control path (see link below) or not, but I got a error about not being able to transfer a file in my logs. http://docs.ansible.com/intro\_configuration.html#control-path 2014-12-0…

---

## [provisioning EC2 hosts with multiple interfaces](https://forum.ansible.com/t/provisioning-ec2-hosts-with-multiple-interfaces/16953)

<div class="topic-metadata">

**Author:** [@pkaeding](https://forum.ansible.com/u/pkaeding)\
**Replies:** 1\
**Last updated:** [December 4, 2014, 6:12pm UTC](https://forum.ansible.com/t/provisioning-ec2-hosts-with-multiple-interfaces/16953 "2014-12-04T18:12:22Z")

</div>

Is it possible to provision EC2 instances with multiple interfaces? From reading the docs, there is no indication that this is possible, and from the code1, it looks like it is not possible, but I figured I should ask in…

---

## [Authentication failure error](https://forum.ansible.com/t/authentication-failure-error/16960)

<div class="topic-metadata">

**Author:** [@aditya\_patnaik](https://forum.ansible.com/u/aditya_patnaik)\
**Replies:** 1\
**Last updated:** [December 4, 2014, 5:50pm UTC](https://forum.ansible.com/t/authentication-failure-error/16960 "2014-12-04T17:50:03Z")

</div>

I am new to ansible . I crated this simple playbook to extract the log files of remote server

---

## [ansible-pull with inventory in repository](https://forum.ansible.com/t/ansible-pull-with-inventory-in-repository/16959)

<div class="topic-metadata">

**Author:** [@Baptiste\_Lafontaine](https://forum.ansible.com/u/Baptiste_Lafontaine)\
**Replies:** 1\
**Last updated:** [December 4, 2014, 4:39pm UTC](https://forum.ansible.com/t/ansible-pull-with-inventory-in-repository/16959 "2014-12-04T16:39:10Z")

</div>

Hi, Ansible-pull man pages states : -i PATH, --inventory=PATH The PATH to the inventory hosts file. This can be a relative path within the checkout. So I have been trying : ansible-pull -U git@mygit:ansible.git -i “i…

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

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