# Latest

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

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

**Page:** 953

---

## [Best way to add reusable provisioning steps to existing roles](https://forum.ansible.com/t/best-way-to-add-reusable-provisioning-steps-to-existing-roles/15736)

<div class="topic-metadata">

**Author:** [@itarchmerc](https://forum.ansible.com/u/itarchmerc)\
**Replies:** 3\
**Last updated:** [July 23, 2014, 3:38pm UTC](https://forum.ansible.com/t/best-way-to-add-reusable-provisioning-steps-to-existing-roles/15736 "2014-07-23T15:38:24Z")

</div>

What would be the best method to add reusable provisioning steps to existing roles? I am looking to try and accomplish the following: Ideally this could be it’s own role, or in some way reusable so I could tie it to an…

---

## [keeping ansible up to date](https://forum.ansible.com/t/keeping-ansible-up-to-date/15735)

<div class="topic-metadata">

**Author:** [@Michael\_Dur](https://forum.ansible.com/u/Michael_Dur)\
**Replies:** 3\
**Last updated:** [July 23, 2014, 12:03pm UTC](https://forum.ansible.com/t/keeping-ansible-up-to-date/15735 "2014-07-23T12:03:35Z")

</div>

I want to keep Ansible up to date, that is to say I want the latest stable, but not devel. I wrote tiny script that checks which tag we are on and determines if here is a newer one for our target version (currently 1.6.…

---

## [Linux host, windows servers. Cannot find python on windows servers](https://forum.ansible.com/t/linux-host-windows-servers-cannot-find-python-on-windows-servers/15740)

<div class="topic-metadata">

**Author:** [@celine](https://forum.ansible.com/u/celine)\
**Replies:** 1\
**Last updated:** [July 23, 2014, 6:13am UTC](https://forum.ansible.com/t/linux-host-windows-servers-cannot-find-python-on-windows-servers/15740 "2014-07-23T06:13:26Z")

</div>

Hi, I have done key pair exchange with my linux host and windows servers. I saw that servers need python to be installed. Hence I installed python on my windows machine. However, when i execute playbook command, this e…

---

## [Ansible 1.6.8 Released](https://forum.ansible.com/t/ansible-1-6-8-released/15737)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [July 22, 2014, 9:49pm UTC](https://forum.ansible.com/t/ansible-1-6-8-released/15737 "2014-07-22T21:49:52Z")

</div>

Hi everyone, We have released Ansible 1.6.8 to address the issues with shell quoting introduced in the 1.6.7 security release. The same fix was merged into devel earlier in the day, so users experiencing issues with the…

---

## [Copy module issues with SELinux on NFS](https://forum.ansible.com/t/copy-module-issues-with-selinux-on-nfs/15732)

<div class="topic-metadata">

**Author:** [@Melissa\_Tan](https://forum.ansible.com/u/Melissa_Tan)\
**Replies:** 2\
**Last updated:** [July 22, 2014, 9:13pm UTC](https://forum.ansible.com/t/copy-module-issues-with-selinux-on-nfs/15732 "2014-07-22T21:13:37Z")

</div>

Has anyone been able to resolve an SELinux issue when using the copy module when writing to an NFS mount? I tried specifying the SE options to force it, but that doesn’t appear to work. My /tmp is local disk where Ansib…

---

## [Ansible 1.6.7 - security release](https://forum.ansible.com/t/ansible-1-6-7-security-release/15724)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [July 22, 2014, 3:01pm UTC](https://forum.ansible.com/t/ansible-1-6-7-security-release/15724 "2014-07-22T15:01:47Z")

</div>

Hi everyone, Today we are updating Ansible to 1.6.7 to upgrade security based on untrusted or hidden inputs. As you remember, we previously made some previous updates based on some security findings from two individual…

---

## [Support for Jinja2 test plugins](https://forum.ansible.com/t/support-for-jinja2-test-plugins/15727)

<div class="topic-metadata">

**Author:** [@Brandon\_Mintern1](https://forum.ansible.com/u/Brandon_Mintern1)\
**Replies:** 11\
**Last updated:** [July 22, 2014, 2:05pm UTC](https://forum.ansible.com/t/support-for-jinja2-test-plugins/15727 "2014-07-22T14:05:05Z")

</div>

Ansible does not provide a way for users to register Jinja2 test plugins. Furthermore, many of Ansible’s filter plugins are logically tests, but they are not registered as such. I have submitted a Pull Request (there is …

---

## [Developing Windows modules: module is missing interpreter line](https://forum.ansible.com/t/developing-windows-modules-module-is-missing-interpreter-line/15730)

<div class="topic-metadata">

**Author:** [@Trond\_Hindenes](https://forum.ansible.com/u/Trond_Hindenes)\
**Replies:** 3\
**Last updated:** [July 22, 2014, 12:17pm UTC](https://forum.ansible.com/t/developing-windows-modules-module-is-missing-interpreter-line/15730 "2014-07-22T12:17:27Z")

</div>

Hi all, From time to time I’m getting this strange error: “module is missing interpreter line”. I’m developing several windows modules which i drop into library/windows. When I execute a playbook including the newly cr…

---

## [Can lineinfile take variable as parameters?](https://forum.ansible.com/t/can-lineinfile-take-variable-as-parameters/15728)

<div class="topic-metadata">

**Author:** [@Sean](https://forum.ansible.com/u/Sean)\
**Replies:** 5\
**Last updated:** [July 22, 2014, 12:07pm UTC](https://forum.ansible.com/t/can-lineinfile-take-variable-as-parameters/15728 "2014-07-22T12:07:25Z")

</div>

I tried to change one line in a file with lineinfile command, but it looks like this command does not resolve variables. See my playbook snippet below #in my playbook, {{ kibana\_doc\_root }}, {{ kibana\_version }}, {{kiba…

---

## [Utilizing a template from a module](https://forum.ansible.com/t/utilizing-a-template-from-a-module/15729)

<div class="topic-metadata">

**Author:** [@John\_Dewey](https://forum.ansible.com/u/John_Dewey)\
**Replies:** 4\
**Last updated:** [July 22, 2014, 2:47am UTC](https://forum.ansible.com/t/utilizing-a-template-from-a-module/15729 "2014-07-22T02:47:25Z")

</div>

I am writing a module which builds a config file. This template requires a bit of logic to determine the proper directives to include/exclude. This is a no-brainer in jinja, but fairly complex in pure stdlib. However, mo…

---

## [New Module: ec2\_getall](https://forum.ansible.com/t/new-module-ec2-getall/15719)

<div class="topic-metadata">

**Author:** [@Brandon\_Mintern](https://forum.ansible.com/u/Brandon_Mintern)\
**Replies:** 6\
**Last updated:** [July 21, 2014, 11:19pm UTC](https://forum.ansible.com/t/new-module-ec2-getall/15719 "2014-07-21T23:19:39Z")

</div>

We want to use Ansible to create a set of volumes based on an instance’s latest snapshot. Doing this requires a few queries, and I didn’t see anything that provided the functionality I was looking for, so I wrote a new m…

---

## [implementing hashes](https://forum.ansible.com/t/implementing-hashes/15709)

<div class="topic-metadata">

**Author:** [@Brandon\_Metcalf](https://forum.ansible.com/u/Brandon_Metcalf)\
**Replies:** 3\
**Last updated:** [July 21, 2014, 11:14pm UTC](https://forum.ansible.com/t/implementing-hashes/15709 "2014-07-21T23:14:38Z")

</div>

It seems this should work according to the docs. It does work if I use with\_items: app1 $ cat jj.yml

---

## [Starting Openstack VMs in parallel](https://forum.ansible.com/t/starting-openstack-vms-in-parallel/15647)

<div class="topic-metadata">

**Author:** [@Kurt\_Yoder](https://forum.ansible.com/u/Kurt_Yoder)\
**Replies:** 21\
**Last updated:** [July 21, 2014, 1:50pm UTC](https://forum.ansible.com/t/starting-openstack-vms-in-parallel/15647 "2014-07-21T13:50:00Z")

</div>

Hello list, I anticipate provisioning 10-20 VMs using Ansible, then assigning floating IPs to each, then waiting for SSH to become available for each VM. I would like to do this in parallel instead of serially. Specific…

---

## [Help in expressing a task in ansible](https://forum.ansible.com/t/help-in-expressing-a-task-in-ansible/15723)

<div class="topic-metadata">

**Author:** [@Raghu\_Udiyar](https://forum.ansible.com/u/Raghu_Udiyar)\
**Replies:** 0\
**Last updated:** [July 21, 2014, 1:39pm UTC](https://forum.ansible.com/t/help-in-expressing-a-task-in-ansible/15723 "2014-07-21T13:39:04Z")

</div>

Hello, I have the following task for user management, that I’m trying to express in ansible : User data is in a users key (vars/users.yml) Host group data is in a host\_groups keys ( vars/groups.yml) The users key con…

---

## [S3 Bucket creation - IAM](https://forum.ansible.com/t/s3-bucket-creation-iam/15718)

<div class="topic-metadata">

**Author:** [@Brian\_Dunbar](https://forum.ansible.com/u/Brian_Dunbar)\
**Replies:** 1\
**Last updated:** [July 21, 2014, 12:36pm UTC](https://forum.ansible.com/t/s3-bucket-creation-iam/15718 "2014-07-21T12:36:24Z")

</div>

I may need to provision and manage S3 buckets for clients, and set IAM policies for them. Obviously, this is doable using the AWS console, or command line. But we use Ansible for everything else so … are there any plans…

---

## [git module always sets '--remote' for submodule updates](https://forum.ansible.com/t/git-module-always-sets-remote-for-submodule-updates/15722)

<div class="topic-metadata">

**Author:** [@Michel\_Blanc](https://forum.ansible.com/u/Michel_Blanc)\
**Replies:** 1\
**Last updated:** [July 21, 2014, 12:33pm UTC](https://forum.ansible.com/t/git-module-always-sets-remote-for-submodule-updates/15722 "2014-07-21T12:33:50Z")

</div>

Hi, I'm sending a probe here to see if I got this right before opening an issue. When a git project is checked out using ansible, submodules are always updated with the '--remote' option. https://github.com/ansible/a…

---

## [Ansible managing Ansible](https://forum.ansible.com/t/ansible-managing-ansible/15721)

<div class="topic-metadata">

**Author:** [@Jason\_Edelman](https://forum.ansible.com/u/Jason_Edelman)\
**Replies:** 1\
**Last updated:** [July 21, 2014, 12:32pm UTC](https://forum.ansible.com/t/ansible-managing-ansible/15721 "2014-07-21T12:32:07Z")

</div>

I’m thinking of running Ansible on every server to monitor server interfaces and connectivity to the Top of Rack switch. I envision the server sending pings every 30 seconds to the TOR, and based on a condition, modify i…

---

## [ssh failure reporting between paramiko and ssh](https://forum.ansible.com/t/ssh-failure-reporting-between-paramiko-and-ssh/15705)

<div class="topic-metadata">

**Author:** [@Jordi\_Monfar](https://forum.ansible.com/u/Jordi_Monfar)\
**Replies:** 2\
**Last updated:** [July 21, 2014, 10:42am UTC](https://forum.ansible.com/t/ssh-failure-reporting-between-paramiko-and-ssh/15705 "2014-07-21T10:42:23Z")

</div>

Having recently moved my ansible install from a CentOS6 to a CentOS7 based node, now the ssh version is pretty modern, and ansible in smart mode has switched from using paramiko to ssh. Now it’s quicker thanks to pipeli…

---

## [Ansible book](https://forum.ansible.com/t/ansible-book/15720)

<div class="topic-metadata">

**Author:** [@Jeff\_Geerling](https://forum.ansible.com/u/Jeff_Geerling)\
**Replies:** 0\
**Last updated:** [July 21, 2014, 2:08am UTC](https://forum.ansible.com/t/ansible-book/15720 "2014-07-21T02:08:38Z")

</div>

Just wanted to add in another update (in case OP is still following this thread); I’m halfway through a new book on Ansible, Ansible for DevOps. My aim is to take developers and sysadmins who may or may not be using any …

---

## [How to correctly authenticate git user with SSH key](https://forum.ansible.com/t/how-to-correctly-authenticate-git-user-with-ssh-key/15717)

<div class="topic-metadata">

**Author:** [@9devmail](https://forum.ansible.com/u/9devmail)\
**Replies:** 1\
**Last updated:** [July 20, 2014, 12:19pm UTC](https://forum.ansible.com/t/how-to-correctly-authenticate-git-user-with-ssh-key/15717 "2014-07-20T12:19:10Z")

</div>

I want to pull code from Bitbucket.org \` copy: src=path/to/mykey.pub dest=/home/{{ username }}/.ssh/mykey.pub sudo: false copy: src=path/to/mykey dest=/home/{{ username }}/.ssh/mykey mode=0600 sudo: false cop…

---

## [when condition](https://forum.ansible.com/t/when-condition/15706)

<div class="topic-metadata">

**Author:** [@Diogene\_Laerce](https://forum.ansible.com/u/Diogene_Laerce)\
**Replies:** 2\
**Last updated:** [July 20, 2014, 10:38am UTC](https://forum.ansible.com/t/when-condition/15706 "2014-07-20T10:38:20Z")

</div>

Hi, I would like to evaluate the following condition :

---

## [module-returned 'ansible\_facts' precedence?](https://forum.ansible.com/t/module-returned-ansible-facts-precedence/15704)

<div class="topic-metadata">

**Author:** [@chwolfe2](https://forum.ansible.com/u/chwolfe2)\
**Replies:** 12\
**Last updated:** [July 20, 2014, 12:35am UTC](https://forum.ansible.com/t/module-returned-ansible-facts-precedence/15704 "2014-07-20T00:35:46Z")

</div>

All, Perhaps i’m being boneheaded, but I can’t seem to follow the exact order of application in updating the host facts that is performed by ansible on task completion. Particularly, I see the setup cache is updated wit…

---

## [Fact Caching Revisited](https://forum.ansible.com/t/fact-caching-revisited/15700)

<div class="topic-metadata">

**Author:** [@Josh\_Drake](https://forum.ansible.com/u/Josh_Drake)\
**Replies:** 5\
**Last updated:** [July 19, 2014, 10:56pm UTC](https://forum.ansible.com/t/fact-caching-revisited/15700 "2014-07-19T22:56:58Z")

</div>

Greetings, I know it has been attempted before and is still slated for the future, but I recently needed fact caching in my personal use of Ansible. I leveraged the work that was already done to fix the bugs that were p…

---

## [.retry files clutter the user's $HOME directory](https://forum.ansible.com/t/retry-files-clutter-the-users-home-directory/14248)

<div class="topic-metadata">

**Author:** [@Tim\_Cuthbertson](https://forum.ansible.com/u/Tim_Cuthbertson)\
**Replies:** 12\
**Last updated:** [July 19, 2014, 2:02pm UTC](https://forum.ansible.com/t/retry-files-clutter-the-users-home-directory/14248 "2014-07-19T14:02:02Z")

</div>

I recently discovered a bunch of .retry files cluttering up my home directory, which is not very tidy: /home/tim $ ls -l \*.retry -rw-r–r–. 1 tim tim 15 Dec 19 10:46 all.retry -rw-r–r–. 1 tim tim 21 Dec 19 13:56 check.…

---

## [running apt: update\_cache=yes is failing the entire play](https://forum.ansible.com/t/running-apt-update-cache-yes-is-failing-the-entire-play/15714)

<div class="topic-metadata">

**Author:** [@Lokesh\_Dokara](https://forum.ansible.com/u/Lokesh_Dokara)\
**Replies:** 2\
**Last updated:** [July 19, 2014, 12:50pm UTC](https://forum.ansible.com/t/running-apt-update-cache-yes-is-failing-the-entire-play/15714 "2014-07-19T12:50:27Z")

</div>

invalid output was: SUDO-SUCCESS-siogahtpvfcksvvxfxqslqrszpkxisfp bzip2: (stdin) is not a bzip2 file. bzip2: (stdin) is not a bzip2 file. bzip2: (stdin) is not a bzip2 file. bzip2: (stdin) is not a bzip2 file. Trace…

---

## [Confused with proxy / env](https://forum.ansible.com/t/confused-with-proxy-env/15707)

<div class="topic-metadata">

**Author:** [@Florian\_Heigl](https://forum.ansible.com/u/Florian_Heigl)\
**Replies:** 1\
**Last updated:** [July 19, 2014, 11:58am UTC](https://forum.ansible.com/t/confused-with-proxy-env/15707 "2014-07-19T11:58:02Z")

</div>

Hi, I have a little problem with conditionally setting a proxy. situation: many systems in different domains (since hosting env) two domains are internal and only get outside connection via a proxy So, I need no pro…

---

## [group\_vars and limits](https://forum.ansible.com/t/group-vars-and-limits/15713)

<div class="topic-metadata">

**Author:** [@paul.zielinski](https://forum.ansible.com/u/paul.zielinski)\
**Replies:** 3\
**Last updated:** [July 19, 2014, 11:53am UTC](https://forum.ansible.com/t/group-vars-and-limits/15713 "2014-07-19T11:53:17Z")

</div>

Background We use ansible for all our automated deployments, and have had success in managing separate environment configuration using group vars. Our inventories (running locally and also on ansible tower) have hosts b…

---

## [Azure module](https://forum.ansible.com/t/azure-module/15378)

<div class="topic-metadata">

**Author:** [@Martin\_Johren](https://forum.ansible.com/u/Martin_Johren)\
**Replies:** 11\
**Last updated:** [July 19, 2014, 6:08am UTC](https://forum.ansible.com/t/azure-module/15378 "2014-07-19T06:08:32Z")

</div>

Moved from ansible-project: It looks like we’ve received another contribution for this: https://github.com/ansible/ansible/pull/7593 This has not yet been merged in, but you may want to look at it and see if it meets y…

---

## [Best practices ansible-galaxy](https://forum.ansible.com/t/best-practices-ansible-galaxy/15712)

<div class="topic-metadata">

**Author:** [@Benjamin\_Bauer](https://forum.ansible.com/u/Benjamin_Bauer)\
**Replies:** 1\
**Last updated:** [July 18, 2014, 10:55pm UTC](https://forum.ansible.com/t/best-practices-ansible-galaxy/15712 "2014-07-18T22:55:52Z")

</div>

The answer to a question I asked was, that I should alter a role I installed from galaxy to solve my problem. I already utilized/altered several other roles from galaxy, but I’m still not sure of what’s the proper workfl…

---

## [Packaging module for native OS X?](https://forum.ansible.com/t/packaging-module-for-native-os-x/15711)

<div class="topic-metadata">

**Author:** [@John\_Oliver](https://forum.ansible.com/u/John_Oliver)\
**Replies:** 1\
**Last updated:** [July 18, 2014, 10:53pm UTC](https://forum.ansible.com/t/packaging-module-for-native-os-x/15711 "2014-07-18T22:53:08Z")

</div>

It’s nice that I can use ‘apt’, ‘yum’, ‘macports’, etc. But is there a module that I can point to an OS X ‘\*.pkg’ file to install? If not, is there a better way than using a ‘file’ module to upload, then a ‘script’, then…

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

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