# Archives

**URL:** https://forum.ansible.com/c/archives/31.md?page=569

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

**Page:** 570

---

## [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: …

---

## [Using ec2\_vol with dynamic inventory](https://forum.ansible.com/t/using-ec2-vol-with-dynamic-inventory/22078)

<div class="topic-metadata">

**Author:** [@Max\_Leon1](https://forum.ansible.com/u/Max_Leon1)\
**Replies:** 2\
**Last updated:** [July 21, 2016, 10:53pm UTC](https://forum.ansible.com/t/using-ec2-vol-with-dynamic-inventory/22078 "2016-07-21T22:53:34Z")

</div>

Hi, I’m trying to create a playbook that will attach a volume to the specified instances and install casssandra as a cluster. I have almost everything worked out but the ec2\_vol part. tasks file for cassandra name: …

---

## [\[Regression\] Implicit localhost with --limit not working in 2.x](https://forum.ansible.com/t/regression-implicit-localhost-with-limit-not-working-in-2-x/22082)

<div class="topic-metadata">

**Author:** [@Strahinja\_Kustudic1](https://forum.ansible.com/u/Strahinja_Kustudic1)\
**Replies:** 0\
**Last updated:** [July 21, 2016, 9:52pm UTC](https://forum.ansible.com/t/regression-implicit-localhost-with-limit-not-working-in-2-x/22082 "2016-07-21T21:52:34Z")

</div>

It is a very common thing in rolling updates playbooks to run a few tasks on localhost (on the control machine) e.g. to set maintenance in monitoring, to prepare something, etc. So a playbook like this is very common: \` …

---

## [launching VM in openstack throws shade error](https://forum.ansible.com/t/launching-vm-in-openstack-throws-shade-error/22080)

<div class="topic-metadata">

**Author:** [@Shabari\_Nath](https://forum.ansible.com/u/Shabari_Nath)\
**Replies:** 0\
**Last updated:** [July 21, 2016, 8:20pm UTC](https://forum.ansible.com/t/launching-vm-in-openstack-throws-shade-error/22080 "2016-07-21T20:20:57Z")

</div>

i have tried launching a VM in openstack env with os\_server module. When i execute the playbook it throws following error: fatal: \[vsilmasv24-vzbi-com\]: FAILED! =\> {“changed”: false, “failed”: true, “msg”: “shade is req…

---

## [lineinfile tasks adds line when exists](https://forum.ansible.com/t/lineinfile-tasks-adds-line-when-exists/22079)

<div class="topic-metadata">

**Author:** [@Robert\_Margeson](https://forum.ansible.com/u/Robert_Margeson)\
**Replies:** 2\
**Last updated:** [July 21, 2016, 7:12pm UTC](https://forum.ansible.com/t/lineinfile-tasks-adds-line-when-exists/22079 "2016-07-21T19:12:14Z")

</div>

I wrote a playbook to make a config edit in /etc/postgreql/95/main/pg\_hba.conf. Basically, it’s to search for an existing string and replace it. Trouble is, when the playbook is ran for a second time, it adds the line …

---

## [Using win\_regedit to harden Windows server ciphers](https://forum.ansible.com/t/using-win-regedit-to-harden-windows-server-ciphers/21988)

<div class="topic-metadata">

**Author:** [@Matt\_Betts](https://forum.ansible.com/u/Matt_Betts)\
**Replies:** 3\
**Last updated:** [July 21, 2016, 6:49pm UTC](https://forum.ansible.com/t/using-win-regedit-to-harden-windows-server-ciphers/21988 "2016-07-21T18:49:09Z")

</div>

Hi, I’m trying to create a playbook that I can use to bring a windows server up to the latest secure hardening standards and I’m stuck with configuring Ciphers. An example is as follows: ansible {HOST} -m win\_regedit -a…

---

## [NTLM Delegation](https://forum.ansible.com/t/ntlm-delegation/22039)

<div class="topic-metadata">

**Author:** [@Karol\_Olczak](https://forum.ansible.com/u/Karol_Olczak)\
**Replies:** 5\
**Last updated:** [July 21, 2016, 6:48pm UTC](https://forum.ansible.com/t/ntlm-delegation/22039 "2016-07-21T18:48:00Z")

</div>

Does Ansible 2.1 and pywinrm 0.2.p support NTLM delegation or only kerberos delegation ? If not, when can we expect to implement NTLM delegation functionality ? Regards Karol

---

## [Creating ansible modules for windows](https://forum.ansible.com/t/creating-ansible-modules-for-windows/22054)

<div class="topic-metadata">

**Author:** [@Deepak\_Kumar](https://forum.ansible.com/u/Deepak_Kumar)\
**Replies:** 2\
**Last updated:** [July 21, 2016, 6:44pm UTC](https://forum.ansible.com/t/creating-ansible-modules-for-windows/22054 "2016-07-21T18:44:42Z")

</div>

Hi, I am trying to develop ansible modules for windows target machines. I don’t know how to import them in my playbooks. Should I need to edit the config file? Can anybody help me?

---

## [host\_vars/all does not work anymore?](https://forum.ansible.com/t/host-vars-all-does-not-work-anymore/22077)

<div class="topic-metadata">

**Author:** [@Do\_Hoang\_Khiem](https://forum.ansible.com/u/Do_Hoang_Khiem)\
**Replies:** 1\
**Last updated:** [July 21, 2016, 4:58pm UTC](https://forum.ansible.com/t/host-vars-all-does-not-work-anymore/22077 "2016-07-21T16:58:36Z")

</div>

My simple test case: ubuntu@ansible-tower-server:~/temp/ansible$ ansible --version ansible 1.9.4 configured module search path = None ubuntu@ansible-tower-server:~/temp/ansible$ tree . . ├── env │ └── staging │ └…

---

## [What I supposed to do with a long time no response Ansible playbook process?](https://forum.ansible.com/t/what-i-supposed-to-do-with-a-long-time-no-response-ansible-playbook-process/22024)

<div class="topic-metadata">

**Author:** [@tivon\_zhang](https://forum.ansible.com/u/tivon_zhang)\
**Replies:** 2\
**Last updated:** [July 21, 2016, 4:28pm UTC](https://forum.ansible.com/t/what-i-supposed-to-do-with-a-long-time-no-response-ansible-playbook-process/22024 "2016-07-21T16:28:33Z")

</div>

Hi guys, I just start to use Ansible to provision my environment, the playbook yml is from my partner and it’s undoubtedly workable. Unfortunately, I have been trapped here for 14 hours with no more response: TASK \[co…

---

## [Running ansible playbooks in Bamboo?](https://forum.ansible.com/t/running-ansible-playbooks-in-bamboo/22043)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 2\
**Last updated:** [July 21, 2016, 4:03pm UTC](https://forum.ansible.com/t/running-ansible-playbooks-in-bamboo/22043 "2016-07-21T16:03:04Z")

</div>

I saw this post, but my problem is different. https://groups.google.com/forum/#!searchin/ansible-project/ansible$20in$20bamboo/ansible-project/BvITeLL0hiA/orjip4bMAgAJ I have Bamboo agents that runs scripts under a “ba…

---

## [Dynamic inventory with OpenStack](https://forum.ansible.com/t/dynamic-inventory-with-openstack/22076)

<div class="topic-metadata">

**Author:** [@sergio\_gonzalez](https://forum.ansible.com/u/sergio_gonzalez)\
**Replies:** 0\
**Last updated:** [July 21, 2016, 10:28am UTC](https://forum.ansible.com/t/dynamic-inventory-with-openstack/22076 "2016-07-21T10:28:22Z")

</div>

Hello I am trying to use the dynamic inventory script: $ ./openstack.py --host 10.2.1.111 Traceback (most recent call last): File “./openstack.py”, line 246, in main() File “./openstack.py”, line 232, in main inv…

---

## [azure\_rm\_virtualmachine and ssh\_public\_key dict](https://forum.ansible.com/t/azure-rm-virtualmachine-and-ssh-public-key-dict/21971)

<div class="topic-metadata">

**Author:** [@Steven\_Carter](https://forum.ansible.com/u/Steven_Carter)\
**Replies:** 4\
**Last updated:** [July 21, 2016, 7:51am UTC](https://forum.ansible.com/t/azure-rm-virtualmachine-and-ssh-public-key-dict/21971 "2016-07-21T07:51:34Z")

</div>

When I do: name: Create the Host VM azure\_rm\_virtualmachine: state: present resource\_group: ‘{{ cloud\_tag }}’ name: ‘{{ cloud\_tag }}-host’ vm\_size: ‘Standard\_DS1\_v2’ storage\_account: ‘{{ storage\_group }}’ admin\_…

---

## [become method - pbrun and su](https://forum.ansible.com/t/become-method-pbrun-and-su/22066)

<div class="topic-metadata">

**Author:** [@Veda\_K](https://forum.ansible.com/u/Veda_K)\
**Replies:** 1\
**Last updated:** [July 21, 2016, 7:09am UTC](https://forum.ansible.com/t/become-method-pbrun-and-su/22066 "2016-07-21T07:09:53Z")

</div>

Hi, On our servers we usually do pbrun su - to switch to a privileged application user. These application users have no password set. But Ansible’s become\_method only supports any one method either pbrun or su or sudo…

[Previous page](https://forum.ansible.com/c/archives/31.md?page=568)

[Next page](https://forum.ansible.com/c/archives/31.md?page=570)
