# Latest

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

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

**Page:** 910

---

## [URI module / json parsing problem with escaped doueble qoutes](https://forum.ansible.com/t/uri-module-json-parsing-problem-with-escaped-doueble-qoutes/17061)

<div class="topic-metadata">

**Author:** [@sascha.lucas](https://forum.ansible.com/u/sascha.lucas)\
**Replies:** 3\
**Last updated:** [December 17, 2014, 1:23pm UTC](https://forum.ansible.com/t/uri-module-json-parsing-problem-with-escaped-doueble-qoutes/17061 "2014-12-17T13:23:15Z")

</div>

Hi, I'm talking to a REST/json webservice via the URI module. The webservice is correctly returning a list like this: { "names": \[ "nameA", "\\"double quoted name\\"", "nameB" \] } However the uri module does n…

---

## [Disable host key checking when triggering Ansible from Python app](https://forum.ansible.com/t/disable-host-key-checking-when-triggering-ansible-from-python-app/17088)

<div class="topic-metadata">

**Author:** [@pavel1](https://forum.ansible.com/u/pavel1)\
**Replies:** 1\
**Last updated:** [December 17, 2014, 1:18pm UTC](https://forum.ansible.com/t/disable-host-key-checking-when-triggering-ansible-from-python-app/17088 "2014-12-17T13:18:01Z")

</div>

Hello everyone, I’m trying to trigger Ansible run from a Python application and I can’t disable host key checking. I’ve already tried: passing parameter via extra\_vars in the same manner as from CLI, and then transfo…

---

## [Loop over two tasks](https://forum.ansible.com/t/loop-over-two-tasks/16580)

<div class="topic-metadata">

**Author:** [@chen\_Augustin](https://forum.ansible.com/u/chen_Augustin)\
**Replies:** 2\
**Last updated:** [December 17, 2014, 12:51pm UTC](https://forum.ansible.com/t/loop-over-two-tasks/16580 "2014-12-17T12:51:29Z")

</div>

I have a play which has two tasks, something looks like the following snippet of code. The Task2 has dependency on the result of Task 1. And I want to loop over the two tasks, is it feasible? It appears the ‘with\_items’ …

---

## [cross-playbook serial?](https://forum.ansible.com/t/cross-playbook-serial/17077)

<div class="topic-metadata">

**Author:** [@Hagai\_Kariti](https://forum.ansible.com/u/Hagai_Kariti)\
**Replies:** 5\
**Last updated:** [December 17, 2014, 8:32am UTC](https://forum.ansible.com/t/cross-playbook-serial/17077 "2014-12-17T08:32:20Z")

</div>

Hi I’m running a deployment that consists of different plays, some of which are already written that I would like to reuse. There’s about one one play for each stage: Remove server from cluster Shut down the server Pr…

---

## [msg: Instance creation failed =\> InternalFailure: Not enough resources: no cluster controller is currently available to run instances.](https://forum.ansible.com/t/msg-instance-creation-failed-internalfailure-not-enough-resources-no-cluster-controller-is-currently-available-to-run-instances/17086)

<div class="topic-metadata">

**Author:** [@sibaprasad\_mahapatra](https://forum.ansible.com/u/sibaprasad_mahapatra)\
**Replies:** 0\
**Last updated:** [December 17, 2014, 7:24am UTC](https://forum.ansible.com/t/msg-instance-creation-failed-internalfailure-not-enough-resources-no-cluster-controller-is-currently-available-to-run-instances/17086 "2014-12-17T07:24:04Z")

</div>

Hi I am getting the following error when trying to create an instance over Eucalyptus cloud. msg: Instance creation failed =\> InternalFailure: Not enough resources: no cluster controller is currently available to run i…

---

## [Using Paramiko for Connection to Cisco device and need to specify parameters for the connection](https://forum.ansible.com/t/using-paramiko-for-connection-to-cisco-device-and-need-to-specify-parameters-for-the-connection/17082)

<div class="topic-metadata">

**Author:** [@Joseph\_Jenkins](https://forum.ansible.com/u/Joseph_Jenkins)\
**Replies:** 0\
**Last updated:** [December 16, 2014, 9:55pm UTC](https://forum.ansible.com/t/using-paramiko-for-connection-to-cisco-device-and-need-to-specify-parameters-for-the-connection/17082 "2014-12-16T21:55:05Z")

</div>

Can you specify parameters for Paramiko to use when connecting to devices in the hosts file for a device? I need to provide certain parameters so that Paramiko will complete the connection. It works when I run Paramiko i…

---

## [AnsibleFest London CFP closes in less than 2 days](https://forum.ansible.com/t/ansiblefest-london-cfp-closes-in-less-than-2-days/17081)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 0\
**Last updated:** [December 16, 2014, 9:32pm UTC](https://forum.ansible.com/t/ansiblefest-london-cfp-closes-in-less-than-2-days/17081 "2014-12-16T21:32:46Z")

</div>

So far the AnsibleFest London CFP has 3x the submissions than any of our previous events – it looks GREAT. Should you want to submit a talk, competition may be tight, but you have a couple of days left. Submissions clo…

---

## [Limiting hosts when including playbooks stopped working in 1.8](https://forum.ansible.com/t/limiting-hosts-when-including-playbooks-stopped-working-in-1-8/16958)

<div class="topic-metadata">

**Author:** [@Wolfgang\_Ziegler](https://forum.ansible.com/u/Wolfgang_Ziegler)\
**Replies:** 8\
**Last updated:** [December 16, 2014, 8:53pm UTC](https://forum.ansible.com/t/limiting-hosts-when-including-playbooks-stopped-working-in-1-8/16958 "2014-12-16T20:53:29Z")

</div>

Hi! I’m using the pattern outlined at https://github.com/ansible/ansible/pull/1956 to include playbooks for a limitted group of hosts. In short: \`

---

## [We made a mistake and are sorry](https://forum.ansible.com/t/we-made-a-mistake-and-are-sorry/17069)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 2\
**Last updated:** [December 16, 2014, 8:03pm UTC](https://forum.ansible.com/t/we-made-a-mistake-and-are-sorry/17069 "2014-12-16T20:03:51Z")

</div>

Healthy discussion is one of the most important factors in the success of any open source community. At Ansible, we work hard to ensure that all of the conversations that happen in our community spaces are respectful, po…

---

## [Applying a delay to with\_items steps](https://forum.ansible.com/t/applying-a-delay-to-with-items-steps/17079)

<div class="topic-metadata">

**Author:** [@Guido](https://forum.ansible.com/u/Guido)\
**Replies:** 0\
**Last updated:** [December 16, 2014, 7:15pm UTC](https://forum.ansible.com/t/applying-a-delay-to-with-items-steps/17079 "2014-12-16T19:15:20Z")

</div>

Hi, I’ve been using Ansible for 5 months now and I must say I love it. My life is much more easier now! Well, I have a question for you, there is chance to apply a delay to the following task without using “do-until”?: …

---

## [sysctl.conf](https://forum.ansible.com/t/sysctl-conf/16996)

<div class="topic-metadata">

**Author:** [@Mzp45](https://forum.ansible.com/u/Mzp45)\
**Replies:** 8\
**Last updated:** [December 16, 2014, 6:41pm UTC](https://forum.ansible.com/t/sysctl-conf/16996 "2014-12-16T18:41:22Z")

</div>

Hello, Is there a way to create a backup of /etc/sysctl.conf when making a change using the sysctl core module? If not can this feature be added? Thanks

---

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

<div class="topic-metadata">

**Author:** [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Replies:** 4\
**Last updated:** [December 16, 2014, 6:12pm UTC](https://forum.ansible.com/t/creating-windows-modules/17032 "2014-12-16T18:12:09Z")

</div>

Are modules intended to run on windows remote nodes required to be written in powershell script or is there a way to turn python code into a “windows” module?

---

## [Passing register variable to a role called by playbook?](https://forum.ansible.com/t/passing-register-variable-to-a-role-called-by-playbook/17015)

<div class="topic-metadata">

**Author:** [@jimmy](https://forum.ansible.com/u/jimmy)\
**Replies:** 8\
**Last updated:** [December 16, 2014, 3:06pm UTC](https://forum.ansible.com/t/passing-register-variable-to-a-role-called-by-playbook/17015 "2014-12-16T15:06:13Z")

</div>

I am launching one-off ec2 instance for development purposes and in the main playbook I am launching an EC2 instance then assigning an elastic IP. Once all of that is done I am configuring the server via a role. I am abl…

---

## [copy fails for group ownership](https://forum.ansible.com/t/copy-fails-for-group-ownership/16145)

<div class="topic-metadata">

**Author:** [@Stein\_Inge\_Morisbak](https://forum.ansible.com/u/Stein_Inge_Morisbak)\
**Replies:** 19\
**Last updated:** [December 16, 2014, 1:16pm UTC](https://forum.ansible.com/t/copy-fails-for-group-ownership/16145 "2014-12-16T13:16:49Z")

</div>

I am trying to run the following task: name: copy httpd.conf to /etc/httpd/conf folder copy: src=httpd.conf dest=“/etc/httpd/conf” Ownership on the server is: drwxrwsr-x 2 root developers 4096 Sep 8 13:33 . drwxrws…

---

## [Ansible output (changed/ok)](https://forum.ansible.com/t/ansible-output-changed-ok/17075)

<div class="topic-metadata">

**Author:** [@wolfedale](https://forum.ansible.com/u/wolfedale)\
**Replies:** 0\
**Last updated:** [December 16, 2014, 12:47pm UTC](https://forum.ansible.com/t/ansible-output-changed-ok/17075 "2014-12-16T12:47:56Z")

</div>

Hi All, There is a way to control somehow the output from Ansible? The reason I’m asking is that I have a lot of problem to have on the result the real summary. The main problem I have with modules like: (SELINUX, CHKC…

---

## [Validation of variables](https://forum.ansible.com/t/validation-of-variables/17074)

<div class="topic-metadata">

**Author:** [@Torsten\_Reinhard](https://forum.ansible.com/u/Torsten_Reinhard)\
**Replies:** 0\
**Last updated:** [December 16, 2014, 7:59am UTC](https://forum.ansible.com/t/validation-of-variables/17074 "2014-12-16T07:59:06Z")

</div>

Hi all, We currently have all our configuration properties bundled with the application-and therefore its almost a big challenge to change some values. I’m thinking now of extracting all those properties and configs - …

---

## [fetch does not support space in file name ?](https://forum.ansible.com/t/fetch-does-not-support-space-in-file-name/16376)

<div class="topic-metadata">

**Author:** [@Paul\_Yan](https://forum.ansible.com/u/Paul_Yan)\
**Replies:** 2\
**Last updated:** [December 16, 2014, 1:53am UTC](https://forum.ansible.com/t/fetch-does-not-support-space-in-file-name/16376 "2014-12-16T01:53:28Z")

</div>

Hi, I just found fetch does not work very well with filenames has spaces in them. so I wrote a test script.

---

## [first time user - having ssh eror while trying to run a playbook](https://forum.ansible.com/t/first-time-user-having-ssh-eror-while-trying-to-run-a-playbook/17072)

<div class="topic-metadata">

**Author:** [@Eugene\_Goldberg](https://forum.ansible.com/u/Eugene_Goldberg)\
**Replies:** 0\
**Last updated:** [December 16, 2014, 12:04am UTC](https://forum.ansible.com/t/first-time-user-having-ssh-eror-while-trying-to-run-a-playbook/17072 "2014-12-16T00:04:02Z")

</div>

Greetings, For my first time use of Ansible, I have attempted to run a playbook, which installs OpenStack to a local computer. My target computer has a fresh Fedora 20 install, is all up to date, and has an IP of 10.0.…

---

## [dynamically updating ansible\_sudo\_pass](https://forum.ansible.com/t/dynamically-updating-ansible-sudo-pass/17071)

<div class="topic-metadata">

**Author:** [@Scott\_McWhirter](https://forum.ansible.com/u/Scott_McWhirter)\
**Replies:** 0\
**Last updated:** [December 15, 2014, 11:13pm UTC](https://forum.ansible.com/t/dynamically-updating-ansible-sudo-pass/17071 "2014-12-15T23:13:31Z")

</div>

Hi all, I’m currently working on a role that resets passwords based on a new policy. This includes the user that is set up to communicate with the host over ssh. Once I reset the users password, sudo will no longer work…

---

## [Two factor authentication?](https://forum.ansible.com/t/two-factor-authentication/17068)

<div class="topic-metadata">

**Author:** [@Adam\_Morris](https://forum.ansible.com/u/Adam_Morris)\
**Replies:** 2\
**Last updated:** [December 15, 2014, 10:50pm UTC](https://forum.ansible.com/t/two-factor-authentication/17068 "2014-12-15T22:50:58Z")

</div>

Greetings, We are looking at using two factor authentication on our hosts. Is it possible to use Ansible as well or not? To be clear we’re not using it for login but for sudo access. Adam

---

## [Inventory management tool (pull proposal)](https://forum.ansible.com/t/inventory-management-tool-pull-proposal/17064)

<div class="topic-metadata">

**Author:** [@Pawel\_Rozlach](https://forum.ansible.com/u/Pawel_Rozlach)\
**Replies:** 2\
**Last updated:** [December 15, 2014, 8:39pm UTC](https://forum.ansible.com/t/inventory-management-tool-pull-proposal/17064 "2014-12-15T20:39:47Z")

</div>

Hi, in order to streamline inventory management at Brainly we have developed a dynamic inventory plugin: https://github.com/brainly/inventory\_tool The basic idea is that if you want to automate things like DNS or have…

---

## [Users isn't created](https://forum.ansible.com/t/users-isnt-created/17052)

<div class="topic-metadata">

**Author:** [@Werner\_Dijkerman](https://forum.ansible.com/u/Werner_Dijkerman)\
**Replies:** 2\
**Last updated:** [December 15, 2014, 7:18pm UTC](https://forum.ansible.com/t/users-isnt-created/17052 "2014-12-15T19:18:16Z")

</div>

Hi there, I’m trying to setup an users role so that it will create users. This is not really difficult, but I only want to create users on a host if you are in a group. I’ve got the following vars: users: name: “Wer…

---

## [Create user on host if is in specific group](https://forum.ansible.com/t/create-user-on-host-if-is-in-specific-group/17059)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 2\
**Last updated:** [December 15, 2014, 7:16pm UTC](https://forum.ansible.com/t/create-user-on-host-if-is-in-specific-group/17059 "2014-12-15T19:16:14Z")

</div>

Looks like you may want: when: users\_group\[0\] in item.groups You may also just wish to change this: users\_group: admin

---

## [Template module question](https://forum.ansible.com/t/template-module-question/17055)

<div class="topic-metadata">

**Author:** [@Dmitry\_Moskowski](https://forum.ansible.com/u/Dmitry_Moskowski)\
**Replies:** 2\
**Last updated:** [December 15, 2014, 7:13pm UTC](https://forum.ansible.com/t/template-module-question/17055 "2014-12-15T19:13:40Z")

</div>

Hello. I am writing a custom module that works with files for my needs(it's my first module for Ansible) and I want to have templating system support. I have looked at template module source code\[1\] in core modules r…

---

## [ansible win\_ping "WINRM RESULT \<Response code 0, out "", err "ConvertTo-Json : Une"\>"](https://forum.ansible.com/t/ansible-win-ping-winrm-result-response-code-0-out-err-convertto-json-une/17063)

<div class="topic-metadata">

**Author:** [@youmarva](https://forum.ansible.com/u/youmarva)\
**Replies:** 3\
**Last updated:** [December 15, 2014, 6:39pm UTC](https://forum.ansible.com/t/ansible-win-ping-winrm-result-response-code-0-out-err-convertto-json-une/17063 "2014-12-15T18:39:38Z")

</div>

Hi, I have configured my server Ansible and my windows machines to use the windows modules, the connection is going well for most of the machines tested except for a few where I have the following error when i execute a…

---

## [Evaluating variables in tasks](https://forum.ansible.com/t/evaluating-variables-in-tasks/17058)

<div class="topic-metadata">

**Author:** [@Michael\_DeHaan1](https://forum.ansible.com/u/Michael_DeHaan1)\
**Replies:** 2\
**Last updated:** [December 15, 2014, 6:32pm UTC](https://forum.ansible.com/t/evaluating-variables-in-tasks/17058 "2014-12-15T18:32:15Z")

</div>

Hi, I’m a little confused by the above, in particular this part: stderr: kinit: Keytab contains no suitable keys for krb\_gdc\_co\_test01@MSGREEN.DOM while getting initial credentials This looks like krb\_gdc\_co\_test01@MSG…

---

## [Directory always marked as changed](https://forum.ansible.com/t/directory-always-marked-as-changed/17013)

<div class="topic-metadata">

**Author:** [@Mirko\_Friedenhagen](https://forum.ansible.com/u/Mirko_Friedenhagen)\
**Replies:** 5\
**Last updated:** [December 15, 2014, 5:26pm UTC](https://forum.ansible.com/t/directory-always-marked-as-changed/17013 "2014-12-15T17:26:51Z")

</div>

Hello, I have the following in a role definition for jenkins: - name: Ensure jenkins .vnc directory does exist. file: path: /var/lib/jenkins/.vnc/ state: directory owner: jenkins group: jenkins …

---

## [Can't execute command with su](https://forum.ansible.com/t/cant-execute-command-with-su/17067)

<div class="topic-metadata">

**Author:** [@adrien\_nayrat](https://forum.ansible.com/u/adrien_nayrat)\
**Replies:** 0\
**Last updated:** [December 15, 2014, 4:46pm UTC](https://forum.ansible.com/t/cant-execute-command-with-su/17067 "2014-12-15T16:46:24Z")

</div>

\##### Hello, I have an issue when using su mode in ansible. I wan’t ansible to log with the user “bill” and execute command with the user root. So to log with “bill” and then do an “su root”. Ansible Version: 1.7.2#####…

---

## [playbook variables defined in includes from vars\_files: not usable throughout the playbook., regression from 1.7.2 to 1.8.2](https://forum.ansible.com/t/playbook-variables-defined-in-includes-from-vars-files-not-usable-throughout-the-playbook-regression-from-1-7-2-to-1-8-2/17066)

<div class="topic-metadata">

**Author:** [@Jan\_Tryggveson](https://forum.ansible.com/u/Jan_Tryggveson)\
**Replies:** 0\
**Last updated:** [December 15, 2014, 4:25pm UTC](https://forum.ansible.com/t/playbook-variables-defined-in-includes-from-vars-files-not-usable-throughout-the-playbook-regression-from-1-7-2-to-1-8-2/17066 "2014-12-15T16:25:31Z")

</div>

The almost minimal example below works fine in ansible 1.7.2 but does not give same and expected result in 1.8.2. In short what this script is doing is to increment a counter in the hosts\_names.yml file whenever the var…

---

## [DNS zone serial module](https://forum.ansible.com/t/dns-zone-serial-module/17065)

<div class="topic-metadata">

**Author:** [@Pawel\_Rozlach](https://forum.ansible.com/u/Pawel_Rozlach)\
**Replies:** 0\
**Last updated:** [December 15, 2014, 4:22pm UTC](https://forum.ansible.com/t/dns-zone-serial-module/17065 "2014-12-15T16:22:03Z")

</div>

Hi, while automating dns we have created a simple plugin to automatically bump DNS zone serial numbers. Could you please take a look and if you think that it may be useful. Preparing a proper pull request will not be a …

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

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