# Latest

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

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

**Page:** 772

---

## [Using an inventory group with\_Items in playbook and in template](https://forum.ansible.com/t/using-an-inventory-group-with-items-in-playbook-and-in-template/21185)

<div class="topic-metadata">

**Author:** [@Rick\_O\_Shea](https://forum.ansible.com/u/Rick_O_Shea)\
**Replies:** 3\
**Last updated:** [April 18, 2016, 3:47am UTC](https://forum.ansible.com/t/using-an-inventory-group-with-items-in-playbook-and-in-template/21185 "2016-04-18T03:47:54Z")

</div>

This sort of works: - hosts: master tasks: - name loop through slaves and copy template results to master template: src=template.txt dest={item}.txt with\_items: {{groups.slaves}} What I really want is this but it f…

---

## [Set Environment help](https://forum.ansible.com/t/set-environment-help/21161)

<div class="topic-metadata">

**Author:** [@Pushparaj\_BS](https://forum.ansible.com/u/Pushparaj_BS)\
**Replies:** 2\
**Last updated:** [April 17, 2016, 2:30am UTC](https://forum.ansible.com/t/set-environment-help/21161 "2016-04-17T02:30:06Z")

</div>

Hi , I’m using the following to set the environment for an already extracted package to append to PATH \` name: Set Environment lineinfile: dest=‘/etc/environment’ state=present backrefs=yes regexp=‘PATH=(\["\])((?!.?{…

---

## [unable to delegate\_to in playbook](https://forum.ansible.com/t/unable-to-delegate-to-in-playbook/21181)

<div class="topic-metadata">

**Author:** [@Vivek\_Aggarwal](https://forum.ansible.com/u/Vivek_Aggarwal)\
**Replies:** 0\
**Last updated:** [April 16, 2016, 4:10pm UTC](https://forum.ansible.com/t/unable-to-delegate-to-in-playbook/21181 "2016-04-16T16:10:06Z")

</div>

i have a playbook in which there one particular task which i want to run only on one host & i m tried that using “delegate\_to” but while executing it is showing ssh error. SSH user is showing as NONE. PLease suggest wha…

---

## [Synchronize Module always copies](https://forum.ansible.com/t/synchronize-module-always-copies/21176)

<div class="topic-metadata">

**Author:** [@Pushparaj\_BS](https://forum.ansible.com/u/Pushparaj_BS)\
**Replies:** 1\
**Last updated:** [April 16, 2016, 9:14am UTC](https://forum.ansible.com/t/synchronize-module-always-copies/21176 "2016-04-16T09:14:01Z")

</div>

My files directory under roles has the following structure chat -ejabberd -erlang Need to copy these to the remote server under /srv So after the copy operation the structure on remote would be /srv -chat -ejabbe…

---

## [Ansible 1.9.6-1 has been released](https://forum.ansible.com/t/ansible-1-9-6-1-has-been-released/21177)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 0\
**Last updated:** [April 15, 2016, 7:34pm UTC](https://forum.ansible.com/t/ansible-1-9-6-1-has-been-released/21177 "2016-04-15T19:34:56Z")

</div>

Hi all, we’re happy to announce that 1.9.6-1 has been released. As noted in the RC1 announcement, 1.9.6 fixes a few bugs introduced in the 1.9.5 release, as well as a security flaw: Fixes several security bugs in the …

---

## [Ansible when statements NOT WORKING when checking the ansible\_os\_family fact](https://forum.ansible.com/t/ansible-when-statements-not-working-when-checking-the-ansible-os-family-fact/21175)

<div class="topic-metadata">

**Author:** [@vmartin](https://forum.ansible.com/u/vmartin)\
**Replies:** 2\
**Last updated:** [April 15, 2016, 5:46pm UTC](https://forum.ansible.com/t/ansible-when-statements-not-working-when-checking-the-ansible-os-family-fact/21175 "2016-04-15T17:46:38Z")

</div>

Ok so I have this code(using version 2.0.1.0 of ansible):

---

## [how to wait for a windows machine to come up after rebooting?](https://forum.ansible.com/t/how-to-wait-for-a-windows-machine-to-come-up-after-rebooting/21173)

<div class="topic-metadata">

**Author:** [@Mick\_st\_john](https://forum.ansible.com/u/Mick_st_john)\
**Replies:** 1\
**Last updated:** [April 15, 2016, 5:28pm UTC](https://forum.ansible.com/t/how-to-wait-for-a-windows-machine-to-come-up-after-rebooting/21173 "2016-04-15T17:28:02Z")

</div>

I am trying to reboot a windows machine and I want to wait for it come up. I tried the following playbook:

---

## [Add the functionality in bigip\_virtual\_server where you can specify an irule to be associated when you create a virtual server](https://forum.ansible.com/t/add-the-functionality-in-bigip-virtual-server-where-you-can-specify-an-irule-to-be-associated-when-you-create-a-virtual-server/21162)

<div class="topic-metadata">

**Author:** [@William\_Sia](https://forum.ansible.com/u/William_Sia)\
**Replies:** 1\
**Last updated:** [April 15, 2016, 4:12pm UTC](https://forum.ansible.com/t/add-the-functionality-in-bigip-virtual-server-where-you-can-specify-an-irule-to-be-associated-when-you-create-a-virtual-server/21162 "2016-04-15T16:12:00Z")

</div>

Hi All, The current implementation of bigip\_virtual\_server does not contain an irule properties when creating a virtual server. Any reason why this it not included in the initial implementation. We are thinking of intro…

---

## [i couldnt get facts for servers ... os\_server\_facts](https://forum.ansible.com/t/i-couldnt-get-facts-for-servers-os-server-facts/21174)

<div class="topic-metadata">

**Author:** [@Vahric\_Muhtaryan](https://forum.ansible.com/u/Vahric_Muhtaryan)\
**Replies:** 0\
**Last updated:** [April 15, 2016, 3:20pm UTC](https://forum.ansible.com/t/i-couldnt-get-facts-for-servers-os-server-facts/21174 "2016-04-15T15:20:17Z")

</div>

Hello Somehow i couldnt debug why and how i couldnt get facts for servers … TASK \[Retrieve facts for all servers\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* task path: /home/noroot/ansible/openstack\_server\_facts.yml:4 …

---

## [Newbie Developer Question: how does TaskQueueManager work exactly please?](https://forum.ansible.com/t/newbie-developer-question-how-does-taskqueuemanager-work-exactly-please/21081)

<div class="topic-metadata">

**Author:** [@Yang\_X](https://forum.ansible.com/u/Yang_X)\
**Replies:** 4\
**Last updated:** [April 15, 2016, 1:48pm UTC](https://forum.ansible.com/t/newbie-developer-question-how-does-taskqueuemanager-work-exactly-please/21081 "2016-04-15T13:48:22Z")

</div>

Hi, I am trying to retrofit the pre2.0 runner based script to use the new TaskQueueManager interface and I tried to tweak the example given in the ansible API documentation and it simply will NOT work. I have ssh keyle…

---

## [How to changing the transport lay from ssh to http?](https://forum.ansible.com/t/how-to-changing-the-transport-lay-from-ssh-to-http/21168)

<div class="topic-metadata">

**Author:** [@Sicheng\_Tang](https://forum.ansible.com/u/Sicheng_Tang)\
**Replies:** 2\
**Last updated:** [April 15, 2016, 1:03pm UTC](https://forum.ansible.com/t/how-to-changing-the-transport-lay-from-ssh-to-http/21168 "2016-04-15T13:03:35Z")

</div>

Recently we are trying to use ansible as our deployment tool. However, for security reason, we can not connect to our target machine through SSH2. Instead SSH2, our operations engineers provide a service based on HTTP t…

---

## [stderr: Missing argument for option:i (use -h for usage) Error while running the ansible script](https://forum.ansible.com/t/stderr-missing-argument-for-option-i-use-h-for-usage-error-while-running-the-ansible-script/21172)

<div class="topic-metadata">

**Author:** [@iamarunk1898](https://forum.ansible.com/u/iamarunk1898)\
**Replies:** 0\
**Last updated:** [April 15, 2016, 12:23pm UTC](https://forum.ansible.com/t/stderr-missing-argument-for-option-i-use-h-for-usage-error-while-running-the-ansible-script/21172 "2016-04-15T12:23:54Z")

</div>

Hi Team I am creating the NAT instance using Ansible. Below is my code. This is the NAT instance for routing traffic and jumphost, etc.

---

## [bare variables deprecated, what am I suppose to use instead?](https://forum.ansible.com/t/bare-variables-deprecated-what-am-i-suppose-to-use-instead/21171)

<div class="topic-metadata">

**Author:** [@Willjw1](https://forum.ansible.com/u/Willjw1)\
**Replies:** 0\
**Last updated:** [April 15, 2016, 11:59am UTC](https://forum.ansible.com/t/bare-variables-deprecated-what-am-i-suppose-to-use-instead/21171 "2016-04-15T11:59:19Z")

</div>

So first I’ll point out that we probably aren’t using this the standard way. I get that. But please tell me another way of doing this without as much user interaction which gets rid of these deprecation warnings and we’l…

---

## [URI Module in Ansible](https://forum.ansible.com/t/uri-module-in-ansible/21170)

<div class="topic-metadata">

**Author:** [@John\_McCormack](https://forum.ansible.com/u/John_McCormack)\
**Replies:** 0\
**Last updated:** [April 15, 2016, 10:46am UTC](https://forum.ansible.com/t/uri-module-in-ansible/21170 "2016-04-15T10:46:56Z")

</div>

Hi all Looking for help in using Tokens for my Cloud provider Curl works fine: curl -i -X POST https://api.madrid.gigas.com/token -d 'login=apiuser&password=apipswd' -H 'Accept: application/json' \`\` curl -i -X GET h…

---

## [Grunt Module](https://forum.ansible.com/t/grunt-module/12961)

<div class="topic-metadata">

**Author:** [@Shahar\_Kedar](https://forum.ansible.com/u/Shahar_Kedar)\
**Replies:** 11\
**Last updated:** [April 15, 2016, 7:48am UTC](https://forum.ansible.com/t/grunt-module/12961 "2016-04-15T07:48:42Z")

</div>

I was thinking of implementing a Grunt module and contributing it to the core modules. Is contributing a core module as simple as developing (following the guideline of course) and sending a pull request? If it is, wher…

---

## [win\_regedit; binary data](https://forum.ansible.com/t/win-regedit-binary-data/20675)

<div class="topic-metadata">

**Author:** [@j.r.hawkesworth](https://forum.ansible.com/u/j.r.hawkesworth)\
**Replies:** 2\
**Last updated:** [April 15, 2016, 7:43am UTC](https://forum.ansible.com/t/win-regedit-binary-data/20675 "2016-04-15T07:43:14Z")

</div>

Hi, Does anyone have an example of using win\_regedit to set binary data? I have a hex encoded string from a reg export but so far not found a way to convert it to whatever powershell needs. Many thanks, Jon

---

## [Need help with a curl command](https://forum.ansible.com/t/need-help-with-a-curl-command/21164)

<div class="topic-metadata">

**Author:** [@GBANE\_FETIGUE](https://forum.ansible.com/u/GBANE_FETIGUE)\
**Replies:** 0\
**Last updated:** [April 15, 2016, 5:26am UTC](https://forum.ansible.com/t/need-help-with-a-curl-command/21164 "2016-04-15T05:26:36Z")

</div>

Hi folks, I need help I am trying to translate a curl into ansible YAML and the curl supposed to return 201 or 200

---

## [Dict subelements containing arrays](https://forum.ansible.com/t/dict-subelements-containing-arrays/21058)

<div class="topic-metadata">

**Author:** [@Jeff\_Hardy](https://forum.ansible.com/u/Jeff_Hardy)\
**Replies:** 1\
**Last updated:** [April 15, 2016, 12:54am UTC](https://forum.ansible.com/t/dict-subelements-containing-arrays/21058 "2016-04-15T00:54:45Z")

</div>

Hello all, I am trying to build a play that allows for variable subelement selection, and subsequent iteration over array contained therein. The following test playbook hopefully illustrates the situation:

---

## [Question on import statement in ansible module?](https://forum.ansible.com/t/question-on-import-statement-in-ansible-module/21159)

<div class="topic-metadata">

**Author:** [@Pathangi\_Janardhanan](https://forum.ansible.com/u/Pathangi_Janardhanan)\
**Replies:** 2\
**Last updated:** [April 14, 2016, 10:46pm UTC](https://forum.ansible.com/t/question-on-import-statement-in-ansible-module/21159 "2016-04-14T22:46:49Z")

</div>

Hi, I am in the process of writting a python module for Ansible, and in this I need to import a non-standard shipped python module. How should I solve this? Should I first ensure that I get it installed in the target ho…

---

## [Syntax for running commands with braces in them](https://forum.ansible.com/t/syntax-for-running-commands-with-braces-in-them/21142)

<div class="topic-metadata">

**Author:** [@Ryan\_Groten](https://forum.ansible.com/u/Ryan_Groten)\
**Replies:** 7\
**Last updated:** [April 14, 2016, 2:26pm UTC](https://forum.ansible.com/t/syntax-for-running-commands-with-braces-in-them/21142 "2016-04-14T14:26:51Z")

</div>

I am trying to execute a task that runs the following command (which includes a number of quote, brackets, colons, etc): \` command: curl -XPUT “http://localhost:9200/\_cluster/settings” -d’{ “transient” : { “cluster.rou…

---

## [Is --user meant to override the remote\_user in the playbook? Because it doesn't seem to](https://forum.ansible.com/t/is-user-meant-to-override-the-remote-user-in-the-playbook-because-it-doesnt-seem-to/21155)

<div class="topic-metadata">

**Author:** [@Josh\_Grigonis](https://forum.ansible.com/u/Josh_Grigonis)\
**Replies:** 1\
**Last updated:** [April 14, 2016, 2:15pm UTC](https://forum.ansible.com/t/is-user-meant-to-override-the-remote-user-in-the-playbook-because-it-doesnt-seem-to/21155 "2016-04-14T14:15:22Z")

</div>

If this is the start of my playbook: \`

---

## [yml indentation quirkness](https://forum.ansible.com/t/yml-indentation-quirkness/21160)

<div class="topic-metadata">

**Author:** [@Steve\_Kieu1](https://forum.ansible.com/u/Steve_Kieu1)\
**Replies:** 2\
**Last updated:** [April 14, 2016, 1:27pm UTC](https://forum.ansible.com/t/yml-indentation-quirkness/21160 "2016-04-14T13:27:10Z")

</div>

Hi Team, I have a bug in the code that is simple to fix but hard to find out. It took me almost 30 minutes to see but it is due to the fact that yml indentation syntax quirkness! Lets see the block below block: name:…

---

## [sudo: not found - but installed](https://forum.ansible.com/t/sudo-not-found-but-installed/21118)

<div class="topic-metadata">

**Author:** [@mark.breyer](https://forum.ansible.com/u/mark.breyer)\
**Replies:** 1\
**Last updated:** [April 14, 2016, 1:04pm UTC](https://forum.ansible.com/t/sudo-not-found-but-installed/21118 "2016-04-14T13:04:53Z")

</div>

Hi, i have a strange problem with one of my ansible managed hosts. Error message: FAILED! =\> {“changed”: false, “failed”: true, “module\_stderr”: “”, “module\_stdout”: “sudo: not found\\r\\n”, “msg”: “MODULE FAILURE”, “pa…

---

## [Ansible for openstack](https://forum.ansible.com/t/ansible-for-openstack/21157)

<div class="topic-metadata">

**Author:** [@hce](https://forum.ansible.com/u/hce)\
**Replies:** 2\
**Last updated:** [April 14, 2016, 6:09am UTC](https://forum.ansible.com/t/ansible-for-openstack/21157 "2016-04-14T06:09:39Z")

</div>

Hi, I want to run ansible to install openstack from a bare metal commodity hardware, has anyone known if there is already an ansible project exists for installing openstack? I found an announcement https://www.ansible.c…

---

## [Fetch equivalent command in windows?](https://forum.ansible.com/t/fetch-equivalent-command-in-windows/21147)

<div class="topic-metadata">

**Author:** [@Deepa\_Yr](https://forum.ansible.com/u/Deepa_Yr)\
**Replies:** 1\
**Last updated:** [April 14, 2016, 1:11am UTC](https://forum.ansible.com/t/fetch-equivalent-command-in-windows/21147 "2016-04-14T01:11:26Z")

</div>

Hi I want to copy a file from windows client to Ansible controller machine (linux). I see fetch command which does that .What is the equivalent one for windows. I could not find it in the documentation Thanks

---

## [Hard Code Ansible return 302 error message](https://forum.ansible.com/t/hard-code-ansible-return-302-error-message/21154)

<div class="topic-metadata">

**Author:** [@GBANE\_FETIGUE](https://forum.ansible.com/u/GBANE_FETIGUE)\
**Replies:** 2\
**Last updated:** [April 13, 2016, 11:04pm UTC](https://forum.ansible.com/t/hard-code-ansible-return-302-error-message/21154 "2016-04-13T23:04:02Z")

</div>

Hi Folks, I am writing that ansible to register Mule server .It’s fine you don’t Mule I do believe you can still help me. Here is the Error : failed: \[ip-172-31-57-168.ec2.internal\] =\> {“content”: “”, “content\_length”:…

---

## [Ansible Network, junos\_command.](https://forum.ansible.com/t/ansible-network-junos-command/21094)

<div class="topic-metadata">

**Author:** [@Oscar\_Bengtsson](https://forum.ansible.com/u/Oscar_Bengtsson)\
**Replies:** 4\
**Last updated:** [April 13, 2016, 8:30pm UTC](https://forum.ansible.com/t/ansible-network-junos-command/21094 "2016-04-13T20:30:33Z")

</div>

Hi, I’m trying to get a playbook to connect to a juniper switch and do a ‘show version’ I’m totally new to this and wanted to do this without the use of yaml files for username and password. This is the code for the p…

---

## [Delete files from directory: delete all files except some special ones?](https://forum.ansible.com/t/delete-files-from-directory-delete-all-files-except-some-special-ones/21143)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 1\
**Last updated:** [April 13, 2016, 5:51pm UTC](https://forum.ansible.com/t/delete-files-from-directory-delete-all-files-except-some-special-ones/21143 "2016-04-13T17:51:45Z")

</div>

Hi all, excuse the subject, I'll try to explain: I can tell ansible to delete all files from a certain directory, at least I guess I can... But can I tell it to exclude certain files? I know I could use the synchron…

---

## [Ansible Core Public Meetings](https://forum.ansible.com/t/ansible-core-public-meetings/21130)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 5\
**Last updated:** [April 13, 2016, 3:11pm UTC](https://forum.ansible.com/t/ansible-core-public-meetings/21130 "2016-04-13T15:11:59Z")

</div>

Hi all, The core team will be resuming our public team meetings starting tomorrow, however with a bit of a change in format. Previously we had done them on a public hangout, we’re now going to be holding our meetings i…

---

## [Appending a variable's value to a list](https://forum.ansible.com/t/appending-a-variables-value-to-a-list/21152)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 0\
**Last updated:** [April 13, 2016, 2:04pm UTC](https://forum.ansible.com/t/appending-a-variables-value-to-a-list/21152 "2016-04-13T14:04:15Z")

</div>

Hi everyone, how to add the value of a variable to a list?

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

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