# Latest

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

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

**Page:** 837

---

## [Access each object in "with\_items"](https://forum.ansible.com/t/access-each-object-in-with-items/19234)

<div class="topic-metadata">

**Author:** [@Anirudh\_Seshagirisa](https://forum.ansible.com/u/Anirudh_Seshagirisa)\
**Replies:** 0\
**Last updated:** [September 11, 2015, 12:04am UTC](https://forum.ansible.com/t/access-each-object-in-with-items/19234 "2015-09-11T00:04:53Z")

</div>

Hello All, I have a simple question regarding ansible script with ec2-instances. My code is the following. name: add host\_name with\_items: ec2.instances I know item.public\_id gives the public ip, but how do i get t…

---

## [Can't disable jenkins on Debian Jessie using service module](https://forum.ansible.com/t/cant-disable-jenkins-on-debian-jessie-using-service-module/19229)

<div class="topic-metadata">

**Author:** [@Jesus\_Alfredo\_Camber](https://forum.ansible.com/u/Jesus_Alfredo_Camber)\
**Replies:** 1\
**Last updated:** [September 10, 2015, 10:20pm UTC](https://forum.ansible.com/t/cant-disable-jenkins-on-debian-jessie-using-service-module/19229 "2015-09-10T22:20:31Z")

</div>

Hi everybody, I’m creating a playbook to install jenkins LTS (http://pkg.jenkins-ci.org/debian-stable/) on Debian Jessie. Everything seems to be working fine except when I try to disable the jenkins. I using Debian Jess…

---

## [Position of a host inside an inventory group](https://forum.ansible.com/t/position-of-a-host-inside-an-inventory-group/19220)

<div class="topic-metadata">

**Author:** [@Alejandro\_Comisario](https://forum.ansible.com/u/Alejandro_Comisario)\
**Replies:** 2\
**Last updated:** [September 10, 2015, 2:43pm UTC](https://forum.ansible.com/t/position-of-a-host-inside-an-inventory-group/19220 "2015-09-10T14:43:10Z")

</div>

Hi everyone, so happy to be here, this is my first post. Here’s what i need. I have two groups: \[group\_master\] host1 host2 host3 \[group\_slaves\] host4 host5 host6 i need to create a template that reflect a pair…

---

## [Oracle modules](https://forum.ansible.com/t/oracle-modules/19192)

<div class="topic-metadata">

**Author:** [@oravirt](https://forum.ansible.com/u/oravirt)\
**Replies:** 2\
**Last updated:** [September 10, 2015, 2:19pm UTC](https://forum.ansible.com/t/oracle-modules/19192 "2015-09-10T14:19:43Z")

</div>

Hi, I’ve created a bunch of modules for Oracle that handles: users roles grants (only system level grants atm, working on object grants as well) tablespaces parameter (init file parameters ‘alter system’, not database…

---

## [template functionality change between stable-1.9 and devel?](https://forum.ansible.com/t/template-functionality-change-between-stable-1-9-and-devel/19222)

<div class="topic-metadata">

**Author:** [@Bob\_Tanner](https://forum.ansible.com/u/Bob_Tanner)\
**Replies:** 3\
**Last updated:** [September 10, 2015, 2:18pm UTC](https://forum.ansible.com/t/template-functionality-change-between-stable-1-9-and-devel/19222 "2015-09-10T14:18:54Z")

</div>

name: deploy /etc/nagios/nrpe\_local.cfg template: \> src=nrpe\_local\_cfg.j2 dest=/etc/nagios/nrpe\_local.cfg owner=root group=root mode=0644 The above task works fine under the stable-1.9 branch but run under the de…

---

## [ansible paramiko fails with failed to open a SFTP connection (Channel closed.)](https://forum.ansible.com/t/ansible-paramiko-fails-with-failed-to-open-a-sftp-connection-channel-closed/19180)

<div class="topic-metadata">

**Author:** [@vadud3](https://forum.ansible.com/u/vadud3)\
**Replies:** 6\
**Last updated:** [September 10, 2015, 1:52pm UTC](https://forum.ansible.com/t/ansible-paramiko-fails-with-failed-to-open-a-sftp-connection-channel-closed/19180 "2015-09-10T13:52:34Z")

</div>

Hi All I am trying to connect to some freebsd server with custom password prompt. So I need to use paramiko since sshpass hangs on custom password prompt. With -c paramiko now I get the following error… $ ansible -vvv…

---

## [indexing variable list using a variable](https://forum.ansible.com/t/indexing-variable-list-using-a-variable/19218)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 5\
**Last updated:** [September 10, 2015, 1:15pm UTC](https://forum.ansible.com/t/indexing-variable-list-using-a-variable/19218 "2015-09-10T13:15:22Z")

</div>

Hi guys, I’m testing out some variable logic here, would really appreciate some help. I have the following content in one of my vars\_files:

---

## [Convert DOS to Uniix new lines](https://forum.ansible.com/t/convert-dos-to-uniix-new-lines/19221)

<div class="topic-metadata">

**Author:** [@larry.singer](https://forum.ansible.com/u/larry.singer)\
**Replies:** 1\
**Last updated:** [September 10, 2015, 1:02pm UTC](https://forum.ansible.com/t/convert-dos-to-uniix-new-lines/19221 "2015-09-10T13:02:02Z")

</div>

I am using both the copy and the template modules to upload files to a target system. The source files use DOS new lines. The target is Linux. It template module seems to convert the end of line characters to UNIX end of…

---

## [Ansible log location in command line?](https://forum.ansible.com/t/ansible-log-location-in-command-line/19223)

<div class="topic-metadata">

**Author:** [@Amir\_Luzon](https://forum.ansible.com/u/Amir_Luzon)\
**Replies:** 3\
**Last updated:** [September 10, 2015, 12:57pm UTC](https://forum.ansible.com/t/ansible-log-location-in-command-line/19223 "2015-09-10T12:57:12Z")

</div>

hi there, is it at all possible to run a playbook and configure in the command like a specific location for the log file for this run? say i have 4 playbook i want to run. i want to create separation of log files per e…

---

## [\[bump\] why dod notify not run?](https://forum.ansible.com/t/bump-why-dod-notify-not-run/19227)

<div class="topic-metadata">

**Author:** [@Randy\_Bush](https://forum.ansible.com/u/Randy_Bush)\
**Replies:** 0\
**Last updated:** [September 10, 2015, 10:18am UTC](https://forum.ansible.com/t/bump-why-dod-notify-not-run/19227 "2015-09-10T10:18:27Z")

</div>

\[ bump \] macosx 10.10.5 python 2.7.10 ansible 2.0.0 i can not figure out why the notify did not run {{{

---

## [can't start httpd service on RedHat Linux using ansible: Complaining about syntax errror](https://forum.ansible.com/t/cant-start-httpd-service-on-redhat-linux-using-ansible-complaining-about-syntax-errror/19224)

<div class="topic-metadata">

**Author:** [@Stephan\_Hradek](https://forum.ansible.com/u/Stephan_Hradek)\
**Replies:** 1\
**Last updated:** [September 10, 2015, 10:13am UTC](https://forum.ansible.com/t/cant-start-httpd-service-on-redhat-linux-using-ansible-complaining-about-syntax-errror/19224 "2015-09-10T10:13:23Z")

</div>

When I start the httpd servicefrom commandline, it works without an issue. When I use this in a playbook: \` name: Start HTTPD become: root service: name: httpd state: started \` I get this error message fatal: …

---

## [Handlers not firing from roles](https://forum.ansible.com/t/handlers-not-firing-from-roles/19225)

<div class="topic-metadata">

**Author:** [@Dragomir\_Radovanovic](https://forum.ansible.com/u/Dragomir_Radovanovic)\
**Replies:** 0\
**Last updated:** [September 10, 2015, 9:43am UTC](https://forum.ansible.com/t/handlers-not-firing-from-roles/19225 "2015-09-10T09:43:43Z")

</div>

This is my roles tree These are handlers and task Ansible shows that everything went as planned, but after I log in to test machine and check nginx service it is not running. Can I somehow know if the handlers fired of…

---

## [accessing json data](https://forum.ansible.com/t/accessing-json-data/14535)

<div class="topic-metadata">

**Author:** [@Brent\_Langston1](https://forum.ansible.com/u/Brent_Langston1)\
**Replies:** 7\
**Last updated:** [September 10, 2015, 9:07am UTC](https://forum.ansible.com/t/accessing-json-data/14535 "2015-09-10T09:07:48Z")

</div>

I’m sure this is probably something I’m doing wrong, but I can’t seem to figure out the right thing, so hopefully someone else can. This is the value of the registered variable “jenkinsStatus”: http://hastebin.com/cacus…

---

## [can i use a ansible.cfg var in a playbook?](https://forum.ansible.com/t/can-i-use-a-ansible-cfg-var-in-a-playbook/18855)

<div class="topic-metadata">

**Author:** [@Mauro\_Nigrele](https://forum.ansible.com/u/Mauro_Nigrele)\
**Replies:** 3\
**Last updated:** [September 9, 2015, 9:07pm UTC](https://forum.ansible.com/t/can-i-use-a-ansible-cfg-var-in-a-playbook/18855 "2015-09-09T21:07:11Z")

</div>

Hi! I need to access the roles\_path var which is configured in my ~/.ansible.cfg. I’m using this path because we have a main git repository with a lot of roles to use in our playbooks, so every developer can checkout th…

---

## [Variable to list current host's group membership](https://forum.ansible.com/t/variable-to-list-current-hosts-group-membership/19217)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 2\
**Last updated:** [September 9, 2015, 8:35pm UTC](https://forum.ansible.com/t/variable-to-list-current-hosts-group-membership/19217 "2015-09-09T20:35:33Z")

</div>

Hi Ansible people, I’m labbing some dynamic playbooks stuff, and would like to access a list of the current host’s group membership dynamically. I guess I can scan everyone of them and try and match with inventory\_hostn…

---

## [module win\_user](https://forum.ansible.com/t/module-win-user/19206)

<div class="topic-metadata">

**Author:** [@e.barausov](https://forum.ansible.com/u/e.barausov)\
**Replies:** 3\
**Last updated:** [September 9, 2015, 7:28pm UTC](https://forum.ansible.com/t/module-win-user/19206 "2015-09-09T19:28:04Z")

</div>

Hi. We have a vm ubuntu 14.04 LTS with ansible 1.9.3 and python 2.7. I want to create users on a machine with windows. Using module winrm on windows and win\_user module for creating profile. (Testing in o.s.: windows …

---

## [Confused about windows passwords and working with ec2?](https://forum.ansible.com/t/confused-about-windows-passwords-and-working-with-ec2/19208)

<div class="topic-metadata">

**Author:** [@Frank\_Perks](https://forum.ansible.com/u/Frank_Perks)\
**Replies:** 5\
**Last updated:** [September 9, 2015, 6:51pm UTC](https://forum.ansible.com/t/confused-about-windows-passwords-and-working-with-ec2/19208 "2015-09-09T18:51:58Z")

</div>

Hi, I am unsure exactly how i am supposed to handle and work with windows passwords when working with EC2 and inventories. I know i can query the passwords by using ec2\_win\_password, however i am unsure exactly how i ca…

---

## [Abridged summary of ansible-project@googlegroups.com - 18 updates in 8 topics](https://forum.ansible.com/t/abridged-summary-of-ansible-project-googlegroups-com-18-updates-in-8-topics/19216)

<div class="topic-metadata">

**Author:** [@Kesten\_Broughton2](https://forum.ansible.com/u/Kesten_Broughton2)\
**Replies:** 0\
**Last updated:** [September 9, 2015, 6:50pm UTC](https://forum.ansible.com/t/abridged-summary-of-ansible-project-googlegroups-com-18-updates-in-8-topics/19216 "2015-09-09T18:50:32Z")

</div>

I separate my creation and provisioning into aws.yml and site.yml. Often we start with a few servers and then increase the size later. I'd like to use aws exact\_count in the aws.yml but I do not want to allow destruct…

---

## [Template module options template\_path and template\_fullpath](https://forum.ansible.com/t/template-module-options-template-path-and-template-fullpath/19145)

<div class="topic-metadata">

**Author:** [@Steve\_McKuhr](https://forum.ansible.com/u/Steve_McKuhr)\
**Replies:** 1\
**Last updated:** [September 9, 2015, 6:43pm UTC](https://forum.ansible.com/t/template-module-options-template-path-and-template-fullpath/19145 "2015-09-09T18:43:09Z")

</div>

From http://docs.ansible.com/ansible/template\_module.html: \[…\] template\_path the absolute path of the template, template\_fullpath is the absolute path of the template \[…\] The documentation is correct, however I’m guess…

---

## [Google Cloud Deployment Manager & Ansible](https://forum.ansible.com/t/google-cloud-deployment-manager-ansible/19212)

<div class="topic-metadata">

**Author:** [@Jonathan\_Miller](https://forum.ansible.com/u/Jonathan_Miller)\
**Replies:** 0\
**Last updated:** [September 9, 2015, 11:03am UTC](https://forum.ansible.com/t/google-cloud-deployment-manager-ansible/19212 "2015-09-09T11:03:03Z")

</div>

Google recently released Google Cloud Deployment Manager, which gives access to their API for compute engine instances. You can use the \[gcloud deployment-manager … \] CLI to create deployments from yaml/jinja/python fil…

---

## [Interpolation in Jinja2 default() values](https://forum.ansible.com/t/interpolation-in-jinja2-default-values/19178)

<div class="topic-metadata">

**Author:** [@Mike\_Dillon](https://forum.ansible.com/u/Mike_Dillon)\
**Replies:** 2\
**Last updated:** [September 8, 2015, 11:03pm UTC](https://forum.ansible.com/t/interpolation-in-jinja2-default-values/19178 "2015-09-08T23:03:50Z")

</div>

I’d like to do something like the following, but I couldn’t find anything in the docs or on the mailing list that made it clear whether this should be possible or not: --- - name: add user keys from GitHub authorized\_…

---

## [Copr builds of ansible-2.0.0-alpha2](https://forum.ansible.com/t/copr-builds-of-ansible-2-0-0-alpha2/19209)

<div class="topic-metadata">

**Author:** [@Toshio\_Kuratomi](https://forum.ansible.com/u/Toshio_Kuratomi)\
**Replies:** 0\
**Last updated:** [September 8, 2015, 7:53pm UTC](https://forum.ansible.com/t/copr-builds-of-ansible-2-0-0-alpha2/19209 "2015-09-08T19:53:31Z")

</div>

If anyone is running Ansible on Fedora/RHEL/CentOS and has been waiting for some rpms to test the 2.0 alpha code, I now have some rpms built in copr: http://copr-fe.cloud.fedoraproject.org/coprs/toshio/ansible-upstrea…

---

## [ansible-playbook (still) ignores --limit option (#6449)](https://forum.ansible.com/t/ansible-playbook-still-ignores-limit-option-6449/19207)

<div class="topic-metadata">

**Author:** [@James\_Addison](https://forum.ansible.com/u/James_Addison)\
**Replies:** 0\
**Last updated:** [September 8, 2015, 5:09pm UTC](https://forum.ansible.com/t/ansible-playbook-still-ignores-limit-option-6449/19207 "2015-09-08T17:09:38Z")

</div>

ansible-playbook ignores --limit option · Issue #6449 · ansible/ansible · GitHub is still an issue in ansible 1.9.3 as far as I can tell. A previous commenter said it was still existing on 1.8.4. Here’s my vars, inventor…

---

## [Failling to create ec2 root volume with indicated size on spinning up instnce](https://forum.ansible.com/t/failling-to-create-ec2-root-volume-with-indicated-size-on-spinning-up-instnce/19188)

<div class="topic-metadata">

**Author:** [@Joseph\_DJOMEDA](https://forum.ansible.com/u/Joseph_DJOMEDA)\
**Replies:** 4\
**Last updated:** [September 8, 2015, 2:48pm UTC](https://forum.ansible.com/t/failling-to-create-ec2-root-volume-with-indicated-size-on-spinning-up-instnce/19188 "2015-09-08T14:48:18Z")

</div>

Hello All, I have been struggling with the past 3 hours trying to figure out why my ubuntu ec2 instances are not been created with the specified volume size. I have been following the documentation http://docs.ansible.…

---

## [Problem with permissions](https://forum.ansible.com/t/problem-with-permissions/19151)

<div class="topic-metadata">

**Author:** [@Roman\_H](https://forum.ansible.com/u/Roman_H)\
**Replies:** 3\
**Last updated:** [September 8, 2015, 1:43pm UTC](https://forum.ansible.com/t/problem-with-permissions/19151 "2015-09-08T13:43:35Z")

</div>

I have permission problem when I try do deploy something using Ansible, here is the log: host001:svc\_test\_prod02~/ansible$ ansible-playbook -i inventory/prod/ acc.yml -v --vault-password-file=~/.ansible-vault-pw --priva…

---

## [Set up authorized\_keys for purely new machine.](https://forum.ansible.com/t/set-up-authorized-keys-for-purely-new-machine/19205)

<div class="topic-metadata">

**Author:** [@Andrey\_Voronkov](https://forum.ansible.com/u/Andrey_Voronkov)\
**Replies:** 0\
**Last updated:** [September 8, 2015, 1:29pm UTC](https://forum.ansible.com/t/set-up-authorized-keys-for-purely-new-machine/19205 "2015-09-08T13:29:33Z")

</div>

Hello community, I’m at very beginning of ansible understanding for now. And main goal is to get proper keys for set of users on a new server. And work in normal mode after. Given: some server which have password ssh a…

---

## [Do decrypted variables get copied to the host?](https://forum.ansible.com/t/do-decrypted-variables-get-copied-to-the-host/19199)

<div class="topic-metadata">

**Author:** [@Tom\_Paine1](https://forum.ansible.com/u/Tom_Paine1)\
**Replies:** 2\
**Last updated:** [September 8, 2015, 1:26pm UTC](https://forum.ansible.com/t/do-decrypted-variables-get-copied-to-the-host/19199 "2015-09-08T13:26:30Z")

</div>

After decrypting a vault and running a task using that vault data: Do only the variables involved in that task get copied to the host or do all decrypted variables get copied (even temporarily)? If all get copied, do …

---

## [su\_exe feature](https://forum.ansible.com/t/su-exe-feature/16146)

<div class="topic-metadata">

**Author:** [@Edgars](https://forum.ansible.com/u/Edgars)\
**Replies:** 13\
**Last updated:** [September 8, 2015, 11:58am UTC](https://forum.ansible.com/t/su-exe-feature/16146 "2015-09-08T11:58:14Z")

</div>

Hi I see that Ansible has sudo\_exe feature for alternative sudo implementations. Would it be possible to implement also su\_exe for alternative su implementations? In particular I am interested in CA AccessControl sesu u…

---

## [Locality of reference: override semantics for ansible 1.9.2 are wrong (IMHO)](https://forum.ansible.com/t/locality-of-reference-override-semantics-for-ansible-1-9-2-are-wrong-imho/19204)

<div class="topic-metadata">

**Author:** [@jan.grant](https://forum.ansible.com/u/jan.grant)\
**Replies:** 0\
**Last updated:** [September 8, 2015, 9:00am UTC](https://forum.ansible.com/t/locality-of-reference-override-semantics-for-ansible-1-9-2-are-wrong-imho/19204 "2015-09-08T09:00:50Z")

</div>

Just came across a really hard bug to track down. The code in question looked, essentially, like this: \[\[\[ include: some\_file.yml vars: x: 1 \]\]\] The problem here was that some\_file.yml was not being invoked with x…

---

## [Ansible failing on Amazon Linux AMI 2015.03](https://forum.ansible.com/t/ansible-failing-on-amazon-linux-ami-2015-03/18983)

<div class="topic-metadata">

**Author:** [@cosbug](https://forum.ansible.com/u/cosbug)\
**Replies:** 6\
**Last updated:** [September 8, 2015, 8:59am UTC](https://forum.ansible.com/t/ansible-failing-on-amazon-linux-ami-2015-03/18983 "2015-09-08T08:59:05Z")

</div>

Hi All, Just launched an instance with Amazon Linux 2015.03 image, added epel-release repository and run “yum install ansible”. All went fine so far. Now when I try to run “ansible” or “ansible-playbook” from command l…

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

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