# Latest

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

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

**Page:** 741

---

## [Lineinfile Idempotency issue](https://forum.ansible.com/t/lineinfile-idempotency-issue/22091)

<div class="topic-metadata">

**Author:** [@GANA\_SAGAR](https://forum.ansible.com/u/GANA_SAGAR)\
**Replies:** 2\
**Last updated:** [July 25, 2016, 2:10pm UTC](https://forum.ansible.com/t/lineinfile-idempotency-issue/22091 "2016-07-25T14:10:56Z")

</div>

Is lineinfile really idempotent ?? I am using it to uncomment the logrorate option in logrotate.conf. Everytime I run the playbook. This play is being executed every single time and add the word compress at the bottom af…

---

## [CFEngine to Ansible Migration](https://forum.ansible.com/t/cfengine-to-ansible-migration/22111)

<div class="topic-metadata">

**Author:** [@GANA\_SAGAR](https://forum.ansible.com/u/GANA_SAGAR)\
**Replies:** 0\
**Last updated:** [July 25, 2016, 2:05pm UTC](https://forum.ansible.com/t/cfengine-to-ansible-migration/22111 "2016-07-25T14:05:02Z")

</div>

We are working on CM tool migration from CFEngine to Ansible. For all those who have done the same, any tips on creating groups from classes or any other generic suggestions would be helpful. Currently CFEngine creates d…

---

## [Role dependencies gets skipped in ansible 2](https://forum.ansible.com/t/role-dependencies-gets-skipped-in-ansible-2/20803)

<div class="topic-metadata">

**Author:** [@deep.d2010](https://forum.ansible.com/u/deep.d2010)\
**Replies:** 3\
**Last updated:** [July 25, 2016, 1:07pm UTC](https://forum.ansible.com/t/role-dependencies-gets-skipped-in-ansible-2/20803 "2016-07-25T13:07:50Z")

</div>

Hi, I was trying to upgrade from ansible 1.8.4 to ansible 2, and noticed that some of my roles with meta dependencies stopped working. I have these roles role-main1/meta/main.yml --- dependencies: - { role: role-de…

---

## [redhat-subscription module functionality enhancement](https://forum.ansible.com/t/redhat-subscription-module-functionality-enhancement/21677)

<div class="topic-metadata">

**Author:** [@Jeff\_Richards](https://forum.ansible.com/u/Jeff_Richards)\
**Replies:** 3\
**Last updated:** [July 25, 2016, 12:33pm UTC](https://forum.ansible.com/t/redhat-subscription-module-functionality-enhancement/21677 "2016-07-25T12:33:13Z")

</div>

We currently use a role comprising shell commands to subscribe systems to Red Hat Network but I noticed that there is now a redhat\_subscription module, providing basic functionality in this area. Are there any plans to …

---

## [Ansile Return Value](https://forum.ansible.com/t/ansile-return-value/22106)

<div class="topic-metadata">

**Author:** [@Kevin-Ian\_Giermann](https://forum.ansible.com/u/Kevin-Ian_Giermann)\
**Replies:** 0\
**Last updated:** [July 25, 2016, 6:24am UTC](https://forum.ansible.com/t/ansile-return-value/22106 "2016-07-25T06:24:45Z")

</div>

Hey guys, i’ve got a question. So we are currently using Ansible in conjunction with OpenStack. i’ve written a playbook (to deploy new server via OpenStack) where i use the module “os\_server” where i use “auto\_ip: yes…

---

## [Confused with writing modules.](https://forum.ansible.com/t/confused-with-writing-modules/22105)

<div class="topic-metadata">

**Author:** [@Amrit\_Bhandari](https://forum.ansible.com/u/Amrit_Bhandari)\
**Replies:** 0\
**Last updated:** [July 25, 2016, 5:28am UTC](https://forum.ansible.com/t/confused-with-writing-modules/22105 "2016-07-25T05:28:43Z")

</div>

Hello everyone, I am trying to use Ansible to start certain tasks in remode nodes.So, I run a python script which starts a JVM in the remode nodes using an integration tool named “jpype”.The code produces 3 different da…

---

## [Ansible 2.1.1 RC5 is ready for testing](https://forum.ansible.com/t/ansible-2-1-1-rc5-is-ready-for-testing/22103)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [July 24, 2016, 11:22pm UTC](https://forum.ansible.com/t/ansible-2-1-1-rc5-is-ready-for-testing/22103 "2016-07-24T23:22:36Z")

</div>

Hi all, we’re happy to announce that RC5 for 2.1.1 is now available for testing. This release candidate adds in one more patch, which restores some functionality provided by an internal API method related to getting va…

---

## [Retrieving value from nested list?](https://forum.ansible.com/t/retrieving-value-from-nested-list/22099)

<div class="topic-metadata">

**Author:** [@Anthony\_Cheng](https://forum.ansible.com/u/Anthony_Cheng)\
**Replies:** 1\
**Last updated:** [July 24, 2016, 7:04am UTC](https://forum.ansible.com/t/retrieving-value-from-nested-list/22099 "2016-07-24T07:04:41Z")

</div>

Let’s say if I got this ugly debug output (nested list?), how about would I go to retrieve this value? ok: \[127.0.0.1\] =\> { "foo.stdout": \[ \[ \[ "bar" \] \] \] } Tried: \` with\_items: “{{ foo.stdout }}” with\_items: “{{ f…

---

## [Galaxy - Install Role from Subdirectory of Github Repo](https://forum.ansible.com/t/galaxy-install-role-from-subdirectory-of-github-repo/20677)

<div class="topic-metadata">

**Author:** [@Nick\_Allen](https://forum.ansible.com/u/Nick_Allen)\
**Replies:** 4\
**Last updated:** [July 24, 2016, 5:35am UTC](https://forum.ansible.com/t/galaxy-install-role-from-subdirectory-of-github-repo/20677 "2016-07-24T05:35:08Z")

</div>

I have a Github repository that contains multiple roles, each in separate subdirectories. For example, I have separate roles ‘role-alpha’ and ‘role-beta’ in a repo at https://github.com/whoami/project.git each located in…

---

## [1.9.4 vs 2.1 get\_url regression](https://forum.ansible.com/t/1-9-4-vs-2-1-get-url-regression/22100)

<div class="topic-metadata">

**Author:** [@barrett](https://forum.ansible.com/u/barrett)\
**Replies:** 0\
**Last updated:** [July 24, 2016, 1:54am UTC](https://forum.ansible.com/t/1-9-4-vs-2-1-get-url-regression/22100 "2016-07-24T01:54:01Z")

</div>

I have an action - name: download flyaway get\_url: url=https://bintray.com/artifact/download/business/maven/flyway-commandline-3.2.1-linux-x64.tar.gz dest=/opt/ mode=0660 register: flyway\_status tags: \[ db \] When…

---

## [Ansible 2.1.1 RC4 is ready for testing](https://forum.ansible.com/t/ansible-2-1-1-rc4-is-ready-for-testing/22098)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [July 23, 2016, 9:09pm UTC](https://forum.ansible.com/t/ansible-2-1-1-rc4-is-ready-for-testing/22098 "2016-07-23T21:09:10Z")

</div>

Hi all, we’re happy to announce that RC4 for 2.1.1 is now available for testing. This release candidate fixes several more bugs since the RC3 release: Fixed a regression in the way we handle variables from dependent r…

---

## [Permissions to Create Azure Blob and Container](https://forum.ansible.com/t/permissions-to-create-azure-blob-and-container/22095)

<div class="topic-metadata">

**Author:** [@barrett](https://forum.ansible.com/u/barrett)\
**Replies:** 1\
**Last updated:** [July 23, 2016, 6:58pm UTC](https://forum.ansible.com/t/permissions-to-create-azure-blob-and-container/22095 "2016-07-23T18:58:57Z")

</div>

Hello all, I’m attempting to use the azure\_rm functionality I appear to be having an issue I have an action like - name: azure\_rm\_storageblob: resource\_group: MY\_COMPANY storage\_account\_name: testdeletemebnr…

---

## [ERROR: Ansible filedescriptor out of range in select()](https://forum.ansible.com/t/error-ansible-filedescriptor-out-of-range-in-select/22097)

<div class="topic-metadata">

**Author:** [@varun\_bhatnagar](https://forum.ansible.com/u/varun_bhatnagar)\
**Replies:** 0\
**Last updated:** [July 23, 2016, 11:39am UTC](https://forum.ansible.com/t/error-ansible-filedescriptor-out-of-range-in-select/22097 "2016-07-23T11:39:50Z")

</div>

Hi, I am using Ansible 1.9 and during the execution on playbook I am getting below error message: PLAY \[Setup mysql\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* TASK: \[installing\_galera | Fix expire\_l…

---

## [Ansible filedescriptor error](https://forum.ansible.com/t/ansible-filedescriptor-error/22096)

<div class="topic-metadata">

**Author:** [@varun\_bhatnagar](https://forum.ansible.com/u/varun_bhatnagar)\
**Replies:** 0\
**Last updated:** [July 23, 2016, 4:32am UTC](https://forum.ansible.com/t/ansible-filedescriptor-error/22096 "2016-07-23T04:32:21Z")

</div>

Hi, I am using Ansible 1.9 and during the execution of one of the playbooks I am getting the below error: TASK: \[installing\_galera | Fix expire\_logs\_days value in my.cnf\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* \<192.168.0.33\> ESTABLISH C…

---

## [Ansible 2.1.0 RC1 has been released](https://forum.ansible.com/t/ansible-2-1-0-rc1-has-been-released/21282)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 5\
**Last updated:** [July 22, 2016, 8:30pm UTC](https://forum.ansible.com/t/ansible-2-1-0-rc1-has-been-released/21282 "2016-07-22T20:30:17Z")

</div>

Hi all, we’re happy to announce the RC1 release candidate for Ansible 2.0.1! This release includes many new features and modules, including (but not limited to): Official support for the networking modules, originally…

---

## [Ansible Contributor Summit (27 July) - Information and remote participation details](https://forum.ansible.com/t/ansible-contributor-summit-27-july-information-and-remote-participation-details/22093)

<div class="topic-metadata">

**Author:** [@Robyn\_Bergeron2](https://forum.ansible.com/u/Robyn_Bergeron2)\
**Replies:** 0\
**Last updated:** [July 22, 2016, 7:27pm UTC](https://forum.ansible.com/t/ansible-contributor-summit-27-july-information-and-remote-participation-details/22093 "2016-07-22T19:27:23Z")

</div>

Greetings! In case you haven’t heard: The Ansible Contributor Summit will be happening this coming Wednesday, 27 July, the day before AnsibleFest in San Francisco. Similar to our last Contributor Summit, we’ll be having…

---

## [GCE.PY](https://forum.ansible.com/t/gce-py/22092)

<div class="topic-metadata">

**Author:** [@sekov](https://forum.ansible.com/u/sekov)\
**Replies:** 0\
**Last updated:** [July 22, 2016, 5:44pm UTC](https://forum.ansible.com/t/gce-py/22092 "2016-07-22T17:44:29Z")

</div>

Hello everyone in order to playbook in a google cloud deploid machine you need to use gce.py fill out the gce.ini and secrets.py in order to authenticated infront of google cloud machine and project and after that you ha…

---

## [docker module requirements met, but ansible misses docker-py](https://forum.ansible.com/t/docker-module-requirements-met-but-ansible-misses-docker-py/21165)

<div class="topic-metadata">

**Author:** [@Goetz\_Leupold](https://forum.ansible.com/u/Goetz_Leupold)\
**Replies:** 4\
**Last updated:** [July 22, 2016, 5:25pm UTC](https://forum.ansible.com/t/docker-module-requirements-met-but-ansible-misses-docker-py/21165 "2016-07-22T17:25:28Z")

</div>

Hello everybody, got 2 Servers with docker and ansible requirements to manipulate them. But at server B , ansible doent find docker-py allthough it is installed. The versions of the installed softwares differ, so i gues…

---

## [Can ansible parse and act based on information in an input xml / yaml / json file?](https://forum.ansible.com/t/can-ansible-parse-and-act-based-on-information-in-an-input-xml-yaml-json-file/22058)

<div class="topic-metadata">

**Author:** [@K\_Dawg](https://forum.ansible.com/u/K_Dawg)\
**Replies:** 3\
**Last updated:** [July 22, 2016, 5:09pm UTC](https://forum.ansible.com/t/can-ansible-parse-and-act-based-on-information-in-an-input-xml-yaml-json-file/22058 "2016-07-22T17:09:38Z")

</div>

Is there a way ansible can use an input file like xml / yaml / json to control its actions? I know “lookup” works on “flat” file types, but I cannot find reference to a feature that can walk a tree-like hierarchical inp…

---

## [How to use variables while creating VMs using vsphere\_guest?](https://forum.ansible.com/t/how-to-use-variables-while-creating-vms-using-vsphere-guest/22084)

<div class="topic-metadata">

**Author:** [@Chethan\_S](https://forum.ansible.com/u/Chethan_S)\
**Replies:** 1\
**Last updated:** [July 22, 2016, 3:56pm UTC](https://forum.ansible.com/t/how-to-use-variables-while-creating-vms-using-vsphere-guest/22084 "2016-07-22T15:56:26Z")

</div>

I am in the process of developing a playbook to create VMs in VMware vCenter Server wherein I need to be able to name the VMs with incremental number suffixes - VM(x) becomes VM1, VM2. Since the number of VMs would be fi…

---

## [local\_action calling python script in ansible 2.1](https://forum.ansible.com/t/local-action-calling-python-script-in-ansible-2-1/22090)

<div class="topic-metadata">

**Author:** [@Mohan\_L](https://forum.ansible.com/u/Mohan_L)\
**Replies:** 0\
**Last updated:** [July 22, 2016, 3:28pm UTC](https://forum.ansible.com/t/local-action-calling-python-script-in-ansible-2-1/22090 "2016-07-22T15:28:18Z")

</div>

Hi All, I am using the below code with Ansible 1.9 and works well: name: Gether Info local\_action: Infos.py host={{ hostname }} user={{ username }} password={{ mypassword }} vm\_name={{ myhostname }} All the above va…

---

## [Ansible Acton Plugins](https://forum.ansible.com/t/ansible-acton-plugins/21163)

<div class="topic-metadata">

**Author:** [@Monty1](https://forum.ansible.com/u/Monty1)\
**Replies:** 7\
**Last updated:** [July 22, 2016, 3:25pm UTC](https://forum.ansible.com/t/ansible-acton-plugins/21163 "2016-07-22T15:25:38Z")

</div>

I am trying to write a ansible action plugin. The reason i am doing this is, I want to access my variables available in playbook (modules can only deal with args as far i understand, please correct me if i am wrong ) No…

---

## [vSphere guest support for Guest Customizations.](https://forum.ansible.com/t/vsphere-guest-support-for-guest-customizations/22060)

<div class="topic-metadata">

**Author:** [@John\_Smith1](https://forum.ansible.com/u/John_Smith1)\
**Replies:** 1\
**Last updated:** [July 22, 2016, 2:59pm UTC](https://forum.ansible.com/t/vsphere-guest-support-for-guest-customizations/22060 "2016-07-22T14:59:55Z")

</div>

Hello, is there any chance that the vSphere\_guest module will add support for Guest Customization? For instance in vCenter for Windows VMs we can create different customization profiles that allow us to setup the hostna…

---

## [Ansible Playbook AWS](https://forum.ansible.com/t/ansible-playbook-aws/22089)

<div class="topic-metadata">

**Author:** [@Amedix](https://forum.ansible.com/u/Amedix)\
**Replies:** 0\
**Last updated:** [July 22, 2016, 1:35pm UTC](https://forum.ansible.com/t/ansible-playbook-aws/22089 "2016-07-22T13:35:22Z")

</div>

Hi, I am new to ansible playbbok and I am trying to create AWS EC2 instance using a playbook based in some examples found in internet. But when I run the play-book I got the following error ! but I when execute a scrip…

---

## [How to write Ansible modules](https://forum.ansible.com/t/how-to-write-ansible-modules/21742)

<div class="topic-metadata">

**Author:** [@Mark\_Maglana](https://forum.ansible.com/u/Mark_Maglana)\
**Replies:** 5\
**Last updated:** [July 22, 2016, 1:25pm UTC](https://forum.ansible.com/t/how-to-write-ansible-modules/21742 "2016-07-22T13:25:08Z")

</div>

I'd like to share my notes on writing modules: http://www.relaxdiego.com/2016/06/writing-ansible-modules-with-tests.html Hoping to get some feedback on it.

---

## [docker\_images module push does not work](https://forum.ansible.com/t/docker-images-module-push-does-not-work/22087)

<div class="topic-metadata">

**Author:** [@Wei\_Wei](https://forum.ansible.com/u/Wei_Wei)\
**Replies:** 0\
**Last updated:** [July 22, 2016, 12:35pm UTC](https://forum.ansible.com/t/docker-images-module-push-does-not-work/22087 "2016-07-22T12:35:24Z")

</div>

From the docs I read: - name: Build an image ad push it to a private repo docker\_image: path: ./sinatra name: registry.ansible.com/chouseknecht/sinatra tag: v1 but when I tried to build an image, I saw i…

---

## [Could a value refer another key’s value as variable](https://forum.ansible.com/t/could-a-value-refer-another-key-s-value-as-variable/22025)

<div class="topic-metadata">

**Author:** [@David\_Wong](https://forum.ansible.com/u/David_Wong)\
**Replies:** 4\
**Last updated:** [July 22, 2016, 9:11am UTC](https://forum.ansible.com/t/could-a-value-refer-another-key-s-value-as-variable/22025 "2016-07-22T09:11:39Z")

</div>

Hi, I would like to do something in playbook like myapp: version: 1.2 path: xxxx\_{{version} I want to refer another key’s value to devise new value. It does not work. Is it possible at all? Regards, David

---

## [curl playbook](https://forum.ansible.com/t/curl-playbook/22081)

<div class="topic-metadata">

**Author:** [@GBANE\_FETIGUE](https://forum.ansible.com/u/GBANE_FETIGUE)\
**Replies:** 1\
**Last updated:** [July 22, 2016, 6:20am UTC](https://forum.ansible.com/t/curl-playbook/22081 "2016-07-22T06:20:23Z")

</div>

Hi guys, I am running an ansible playbook that supposed to return an apllication ID that I am having some issue; here the playbook action: shell curl --basic -u admin:admin -F file=/etc/ansible/playbooks/ms3-samples.z…

---

## [including roles from roles?](https://forum.ansible.com/t/including-roles-from-roles/22023)

<div class="topic-metadata">

**Author:** [@Lorenzo\_Pisani](https://forum.ansible.com/u/Lorenzo_Pisani)\
**Replies:** 6\
**Last updated:** [July 22, 2016, 6:16am UTC](https://forum.ansible.com/t/including-roles-from-roles/22023 "2016-07-22T06:16:44Z")

</div>

I’m quite sure this has been asked before. But I can’t find any discussions on it and the current functionality seems a bit crippled. Please let me know if I am missing something. I would love to be able to define a rol…

---

## [callback plugin Task obj changes](https://forum.ansible.com/t/callback-plugin-task-obj-changes/21833)

<div class="topic-metadata">

**Author:** [@Mike\_Biancaniello](https://forum.ansible.com/u/Mike_Biancaniello)\
**Replies:** 1\
**Last updated:** [July 22, 2016, 4:11am UTC](https://forum.ansible.com/t/callback-plugin-task-obj-changes/21833 "2016-07-22T04:11:43Z")

</div>

With 2.0, in my callback plugin, I could access the task\_vars like: def v2\_playbook\_on\_task\_start(self, task, is\_conditional): task\_vars = task.get\_vars() feature = task\_vars.get('feature',None) if feature is not None: …

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

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