# Archives

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

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

**Page:** 603

---

## [authorized\_key module with delegate\_to](https://forum.ansible.com/t/authorized-key-module-with-delegate-to/21107)

<div class="topic-metadata">

**Author:** [@deorene](https://forum.ansible.com/u/deorene)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 11:21am UTC](https://forum.ansible.com/t/authorized-key-module-with-delegate-to/21107 "2016-04-08T11:21:29Z")

</div>

Hi, In my playbook I copy the ssh public key to my local ansible master. name: fetch pub key from server fetch: src=/home/user/.ssh/id\_rsa.pub dest=/tmp/keys/{{ inventory\_hostname\_short }}\_id\_rsa.pub flat=yes Next I…

---

## [Variable precedence](https://forum.ansible.com/t/variable-precedence/21105)

<div class="topic-metadata">

**Author:** [@Michal\_Siska](https://forum.ansible.com/u/Michal_Siska)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 10:29am UTC](https://forum.ansible.com/t/variable-precedence/21105 "2016-04-08T10:29:37Z")

</div>

I’m trying to understand variable precedence in Ansible - more exactly the part about host\_vars and group\_vars in inventory or playbook. My layout looks like this: production/ ├── inventory (alfa, beta and gamma hosts) …

---

## [Throw exception when excute os\_image openstack module](https://forum.ansible.com/t/throw-exception-when-excute-os-image-openstack-module/21104)

<div class="topic-metadata">

**Author:** [@jaycoolzhao](https://forum.ansible.com/u/jaycoolzhao)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 9:42am UTC](https://forum.ansible.com/t/throw-exception-when-excute-os-image-openstack-module/21104 "2016-04-08T09:42:51Z")

</div>

Hi, I’m confused why os\_image throw this exception. $ ansible-playbook -i hosts openstack.yml -c local -vvv No config file found; using defaults 1 plays in openstack.yml PLAY \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [trouble use file lookup as variable](https://forum.ansible.com/t/trouble-use-file-lookup-as-variable/21102)

<div class="topic-metadata">

**Author:** [@Louis1](https://forum.ansible.com/u/Louis1)\
**Replies:** 0\
**Last updated:** [April 8, 2016, 8:43am UTC](https://forum.ansible.com/t/trouble-use-file-lookup-as-variable/21102 "2016-04-08T08:43:40Z")

</div>

I am having trouble using the file lookup plugin with a playbook that use two roles: roles: { role: role\_1 } { role: role\_Z } “role\_1” sets a variable using the lookup plugin in: role\_1/vars/main.yml: file\_contents:…

---

## [Ansible dynamic inventory pegs CPU and RAM reading in a 54K JSON object](https://forum.ansible.com/t/ansible-dynamic-inventory-pegs-cpu-and-ram-reading-in-a-54k-json-object/20431)

<div class="topic-metadata">

**Author:** [@Aleksey\_Tsalolikhin](https://forum.ansible.com/u/Aleksey_Tsalolikhin)\
**Replies:** 2\
**Last updated:** [April 8, 2016, 12:35am UTC](https://forum.ansible.com/t/ansible-dynamic-inventory-pegs-cpu-and-ram-reading-in-a-54k-json-object/20431 "2016-04-08T00:35:48Z")

</div>

Hi, I’m trying to feed Ansible 2.0.0.2 dynamic inventory from an Enterprise CMDB system. The Enterprise CM system already has lots of groups defined, I want to be able reference them through Ansible, so I’m trying to l…

---

## [redhat\_subscription in 2.0](https://forum.ansible.com/t/redhat-subscription-in-2-0/21098)

<div class="topic-metadata">

**Author:** [@Jamie\_Duncan](https://forum.ansible.com/u/Jamie_Duncan)\
**Replies:** 0\
**Last updated:** [April 7, 2016, 7:45pm UTC](https://forum.ansible.com/t/redhat-subscription-in-2-0/21098 "2016-04-07T19:45:26Z")

</div>

I have the following task that worked in 1.9.4 on Fedora 23 name: Register System with RHN Subscription Manager redhat\_subscription: state=present username={{ rhn\_user }} password={{ rhn\_pass }} autosubscribe=true …

---

## [Add a new filter 'range'](https://forum.ansible.com/t/add-a-new-filter-range/21092)

<div class="topic-metadata">

**Author:** [@Guillaume\_Abrioux](https://forum.ansible.com/u/Guillaume_Abrioux)\
**Replies:** 6\
**Last updated:** [April 7, 2016, 6:08pm UTC](https://forum.ansible.com/t/add-a-new-filter-range/21092 "2016-04-07T18:08:45Z")

</div>

Hello, I would like to use nested loop with two array. One predefined array \[ 'one', 'two', 'three', 'four' \] One dynamically generated like \[ 1, 2, 3, 4 \] I have some issue to build the second one. I have in mind fu…

---

## ["work in progress" now supported for pull requests](https://forum.ansible.com/t/work-in-progress-now-supported-for-pull-requests/21097)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 0\
**Last updated:** [April 7, 2016, 4:39pm UTC](https://forum.ansible.com/t/work-in-progress-now-supported-for-pull-requests/21097 "2016-04-07T16:39:11Z")

</div>

You know how sometimes you want to get a pull request out there so people know you're actually working on something, but you don't want the bot hassling you about it? Well, now you can just prepend \[WIP\] to the title …

---

## [AWS retries upon throttling errors](https://forum.ansible.com/t/aws-retries-upon-throttling-errors/21095)

<div class="topic-metadata">

**Author:** [@Joel\_Thompson](https://forum.ansible.com/u/Joel_Thompson)\
**Replies:** 1\
**Last updated:** [April 7, 2016, 4:32pm UTC](https://forum.ansible.com/t/aws-retries-upon-throttling-errors/21095 "2016-04-07T16:32:14Z")

</div>

Hi everybody, I’ve seen a number of Ansible module PRs lately which add retries upon throttling errors, and some have been done in different ways. For example, I just submitted https://github.com/ansible/ansible-modules…

---

## [How to get host/group name for dynamic inventory?](https://forum.ansible.com/t/how-to-get-host-group-name-for-dynamic-inventory/21072)

<div class="topic-metadata">

**Author:** [@Souren\_Abeghyan](https://forum.ansible.com/u/Souren_Abeghyan)\
**Replies:** 2\
**Last updated:** [April 7, 2016, 2:36pm UTC](https://forum.ansible.com/t/how-to-get-host-group-name-for-dynamic-inventory/21072 "2016-04-07T14:36:10Z")

</div>

Having ec2 dynamic inventory and pattern in hosts: - hosts: \[tag\_Name\_m\*\] which variable holds the full host/tag/group name?

---

## [PlaybookInclude does not support vars\_files](https://forum.ansible.com/t/playbookinclude-does-not-support-vars-files/21088)

<div class="topic-metadata">

**Author:** [@Saravanan\_KR](https://forum.ansible.com/u/Saravanan_KR)\
**Replies:** 1\
**Last updated:** [April 7, 2016, 1:42pm UTC](https://forum.ansible.com/t/playbookinclude-does-not-support-vars-files/21088 "2016-04-07T13:42:09Z")

</div>

Hello, In Ansible 2.0, PlaybookInclude \[1\] does not support vars\_files attribute. But vars attribute is supported. Is this a feature change from 1.9 to 2.0 or is it a mistake? Sample Code: vars\_files.yml \`

---

## [haw to save the output of a script in a file ansible 2.0.2](https://forum.ansible.com/t/haw-to-save-the-output-of-a-script-in-a-file-ansible-2-0-2/21087)

<div class="topic-metadata">

**Author:** [@imed\_khaskhoussi](https://forum.ansible.com/u/imed_khaskhoussi)\
**Replies:** 2\
**Last updated:** [April 7, 2016, 10:31am UTC](https://forum.ansible.com/t/haw-to-save-the-output-of-a-script-in-a-file-ansible-2-0-2/21087 "2016-04-07T10:31:09Z")

</div>

down votefavorite | i want to save the output of a command in a file , i tried to use : \<br\>- command: ./script1 \>\> file.txt 2\>&1 \<br\> but it’s give me an empty file. Is there any other method to save the …

---

## [Could not find a version that satisfies the requirement mysql-connector-python](https://forum.ansible.com/t/could-not-find-a-version-that-satisfies-the-requirement-mysql-connector-python/21086)

<div class="topic-metadata">

**Author:** [@schaf.mh](https://forum.ansible.com/u/schaf.mh)\
**Replies:** 0\
**Last updated:** [April 7, 2016, 7:03am UTC](https://forum.ansible.com/t/could-not-find-a-version-that-satisfies-the-requirement-mysql-connector-python/21086 "2016-04-07T07:03:51Z")

</div>

HI, I’m new in linux, django and ansible and I’m playing around with django and ansible and found an old playbook entry. name: djangoInst | Install requirements pip: requirements=/home/abc/req/requirements.txt extra\_ar…

---

## [Running the Following Playbook syntax appears to be correct but getting following ERROR!-  ERROR! 'blockinfile' is not a valid attribute for a Play](https://forum.ansible.com/t/running-the-following-playbook-syntax-appears-to-be-correct-but-getting-following-error-error-blockinfile-is-not-a-valid-attribute-for-a-play/21085)

<div class="topic-metadata">

**Author:** [@Karthik\_Veeragoni](https://forum.ansible.com/u/Karthik_Veeragoni)\
**Replies:** 0\
**Last updated:** [April 7, 2016, 7:03am UTC](https://forum.ansible.com/t/running-the-following-playbook-syntax-appears-to-be-correct-but-getting-following-error-error-blockinfile-is-not-a-valid-attribute-for-a-play/21085 "2016-04-07T07:03:40Z")

</div>

\` ERROR! 'blockinfile' is not a valid attribute for a Play The error appears to have been in '/root/playbook1.yml': line 2, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offendi…

---

## [Is there a way to find out network speed and bandwidth using ansible](https://forum.ansible.com/t/is-there-a-way-to-find-out-network-speed-and-bandwidth-using-ansible/21076)

<div class="topic-metadata">

**Author:** [@Deepa\_Yr](https://forum.ansible.com/u/Deepa_Yr)\
**Replies:** 2\
**Last updated:** [April 7, 2016, 5:44am UTC](https://forum.ansible.com/t/is-there-a-way-to-find-out-network-speed-and-bandwidth-using-ansible/21076 "2016-04-07T05:44:07Z")

</div>

Hi I want to check machine is provisioned with proper specifications or not. As part of that I need to check the speed and bandwidth. Setup does not give any info on this., ethtool eth0 Settings for eth0: Link detect…

---

## [Playbook over powershell](https://forum.ansible.com/t/playbook-over-powershell/21078)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Rapozo](https://forum.ansible.com/u/Rodrigo_Rapozo)\
**Replies:** 1\
**Last updated:** [April 7, 2016, 4:40am UTC](https://forum.ansible.com/t/playbook-over-powershell/21078 "2016-04-07T04:40:17Z")

</div>

Hello everyone! I’m trying to use ansible over powershell but when I use this command: “ansible chs -m win\_ping” Looks like that it’s using ssh because the error show to me: 10.10.3.21 | UNREACHABLE! =\> { “changed”:…

---

## [Ansible 1.9.6 RC1 and 2.0.2 RC3 are available for testing](https://forum.ansible.com/t/ansible-1-9-6-rc1-and-2-0-2-rc3-are-available-for-testing/21080)

<div class="topic-metadata">

**Author:** [@James\_Cammarata](https://forum.ansible.com/u/James_Cammarata)\
**Replies:** 1\
**Last updated:** [April 7, 2016, 2:04am UTC](https://forum.ansible.com/t/ansible-1-9-6-rc1-and-2-0-2-rc3-are-available-for-testing/21080 "2016-04-07T02:04:59Z")

</div>

Hi all, we’re happy to announce a twofer: Ansible 1.9.6 RC1 is available for testing, and fixes a couple of bugs introduced by the 1.9.5 release: Fixes several security bugs in the lxc\_container module, which could re…

---

## [What does this Ansible SSH unreachable error mean? "ERROR! (25, 'Inappropriate ioctl for device')", "unreachable": true}](https://forum.ansible.com/t/what-does-this-ansible-ssh-unreachable-error-mean-error-25-inappropriate-ioctl-for-device-unreachable-true/21084)

<div class="topic-metadata">

**Author:** [@Max\_Fowler](https://forum.ansible.com/u/Max_Fowler)\
**Replies:** 0\
**Last updated:** [April 7, 2016, 2:02am UTC](https://forum.ansible.com/t/what-does-this-ansible-ssh-unreachable-error-mean-error-25-inappropriate-ioctl-for-device-unreachable-true/21084 "2016-04-07T02:02:07Z")

</div>

I have a host (a rasberry pi connected to my macbook via an ethernet cable) which I am successfully able to connect to via SSH from terminal via the command ‘ssh pi@169.254.0.2’, yet my Ansible playbook fails to connect …

---

## [Ansible RDS Aurora support.](https://forum.ansible.com/t/ansible-rds-aurora-support/20233)

<div class="topic-metadata">

**Author:** [@vicmorycom](https://forum.ansible.com/u/vicmorycom)\
**Replies:** 1\
**Last updated:** [April 6, 2016, 7:54pm UTC](https://forum.ansible.com/t/ansible-rds-aurora-support/20233 "2016-04-06T19:54:22Z")

</div>

Can I launch a RDS instance with Aurora as the DB Engine? Thanks

---

## [Error ansible over powershell](https://forum.ansible.com/t/error-ansible-over-powershell/21077)

<div class="topic-metadata">

**Author:** [@Rodrigo\_Rapozo](https://forum.ansible.com/u/Rodrigo_Rapozo)\
**Replies:** 1\
**Last updated:** [April 6, 2016, 7:38pm UTC](https://forum.ansible.com/t/error-ansible-over-powershell/21077 "2016-04-06T19:38:36Z")

</div>

Hello everyone! I’m trying to use ansible over powershell but when I use this command: “ansible chs -m win\_ping” Looks like that it’s using ssh because the error is: x.x.x.x | UNREACHABLE! =\> { “changed”: false, “m…

---

## [redhat-subscription causing issues?](https://forum.ansible.com/t/redhat-subscription-causing-issues/21064)

<div class="topic-metadata">

**Author:** [@Adam\_Morris](https://forum.ansible.com/u/Adam_Morris)\
**Replies:** 6\
**Last updated:** [April 6, 2016, 4:58pm UTC](https://forum.ansible.com/t/redhat-subscription-causing-issues/21064 "2016-04-06T16:58:42Z")

</div>

Greetings, I have been using Ansible for a while now and one of my playbooks for configuring servers includes this… name: Register a Redhat system (\>= RHEL 6) redhat\_subscription: state=present username= password= …

---

## [Implementation question](https://forum.ansible.com/t/implementation-question/21071)

<div class="topic-metadata">

**Author:** [@mhalano](https://forum.ansible.com/u/mhalano)\
**Replies:** 1\
**Last updated:** [April 6, 2016, 7:03am UTC](https://forum.ansible.com/t/implementation-question/21071 "2016-04-06T07:03:21Z")

</div>

Hi fellows! I’m a relatively new on Ansible. I can write some code, but I don’t know how to do some things in the best possible way. So what’s why I’m asking for help. First, a little of contextualization: I’m working …

---

## [Filtering ssh stdout for compatibility](https://forum.ansible.com/t/filtering-ssh-stdout-for-compatibility/21073)

<div class="topic-metadata">

**Author:** [@Kenneth\_Bell](https://forum.ansible.com/u/Kenneth_Bell)\
**Replies:** 3\
**Last updated:** [April 6, 2016, 5:58am UTC](https://forum.ansible.com/t/filtering-ssh-stdout-for-compatibility/21073 "2016-04-06T05:58:43Z")

</div>

Hi, We’ve got a system that puts extraneous output in stdout when accessed via SSH, which breaks Ansible. I’ve prepared a patch (below) that tries to work-around this in a generic way, in case there are other systems ou…

---

## ['AnsibleError: unable to process as utf-8](https://forum.ansible.com/t/ansibleerror-unable-to-process-as-utf-8/21067)

<div class="topic-metadata">

**Author:** [@G\_Joe](https://forum.ansible.com/u/G_Joe)\
**Replies:** 2\
**Last updated:** [April 6, 2016, 4:34am UTC](https://forum.ansible.com/t/ansibleerror-unable-to-process-as-utf-8/21067 "2016-04-06T04:34:50Z")

</div>

Greetings. I am trying to setup a playbook for automating an installation. While transferring a file (binary response file) through template module, getting following error. fatal: \[xxxx.xxxx.local\] =\> {'msg': 'Ansi…

---

## [Ansible 2.0 window modules](https://forum.ansible.com/t/ansible-2-0-window-modules/21039)

<div class="topic-metadata">

**Author:** [@Quang\_Truong](https://forum.ansible.com/u/Quang_Truong)\
**Replies:** 3\
**Last updated:** [April 6, 2016, 12:50am UTC](https://forum.ansible.com/t/ansible-2-0-window-modules/21039 "2016-04-06T00:50:49Z")

</div>

Hi all, I’m using Ansible 2.0 but I have problem with: win\_file: can’t create new directory sample playbook - name: create Source directory win\_file: path=C:\\MySource state=directory - win\_service: can't manage…

---

## [Google Cloud: Target proxies and SSL certificate resources](https://forum.ansible.com/t/google-cloud-target-proxies-and-ssl-certificate-resources/21074)

<div class="topic-metadata">

**Author:** [@Ivan\_Jaros](https://forum.ansible.com/u/Ivan_Jaros)\
**Replies:** 0\
**Last updated:** [April 6, 2016, 12:44am UTC](https://forum.ansible.com/t/google-cloud-target-proxies-and-ssl-certificate-resources/21074 "2016-04-06T00:44:06Z")

</div>

Hi, I am setting up GCE infrastructure and I need to be able to configure target proxies for LB and ssl certificates(resources) for them as well but I haven’t found anything in documentation. Is there some documentatio…

---

## [Ansible 1.9.4 CERTIFICATE\_VERIFY\_FAILED when connecting to Windows Server](https://forum.ansible.com/t/ansible-1-9-4-certificate-verify-failed-when-connecting-to-windows-server/19480)

<div class="topic-metadata">

**Author:** [@Jason\_Levitt](https://forum.ansible.com/u/Jason_Levitt)\
**Replies:** 8\
**Last updated:** [April 5, 2016, 9:09pm UTC](https://forum.ansible.com/t/ansible-1-9-4-certificate-verify-failed-when-connecting-to-windows-server/19480 "2016-04-05T21:09:40Z")

</div>

Using Ansible 1.9.4 and Python 2.7.10 on MacOSX 10.10.5 When attempting: \` env ANSIBLE\_LOAD\_CALLBACK\_PLUGINS=1 ansible winserv -i …/windows\_servers -m win\_ping \` I get: \` 54.68.166.123 | FAILED =\> 500 WinRMTranspo…

---

## [AnsibleError: unable to process as utf-8](https://forum.ansible.com/t/ansibleerror-unable-to-process-as-utf-8/21070)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 0\
**Last updated:** [April 5, 2016, 5:46pm UTC](https://forum.ansible.com/t/ansibleerror-unable-to-process-as-utf-8/21070 "2016-04-05T17:46:49Z")

</div>

How should ansible change values in a binary file? Template module is for files, where placeholders should be replaced by variables or their values... I would think binary files should be transferred by the copy modul…

---

## [Checking the return-code before continuing](https://forum.ansible.com/t/checking-the-return-code-before-continuing/21050)

<div class="topic-metadata">

**Author:** [@Herbie\_van\_Dalsen](https://forum.ansible.com/u/Herbie_van_Dalsen)\
**Replies:** 2\
**Last updated:** [April 5, 2016, 5:33pm UTC](https://forum.ansible.com/t/checking-the-return-code-before-continuing/21050 "2016-04-05T17:33:19Z")

</div>

Hi there I literally jut started with Ansible, and I can already see it is going to be a long road to get where I can use if to install jboss :slight\_smile: I am therefore not ready for playbooks yet, and just like to …

---

## [New modules report: 05-Apr-2016](https://forum.ansible.com/t/new-modules-report-05-apr-2016/21069)

<div class="topic-metadata">

**Author:** [@Greg\_DeKoenigsberg1](https://forum.ansible.com/u/Greg_DeKoenigsberg1)\
**Replies:** 0\
**Last updated:** [April 5, 2016, 5:05pm UTC](https://forum.ansible.com/t/new-modules-report-05-apr-2016/21069 "2016-04-05T17:05:44Z")

</div>

There are currently 163 modules waiting for inclusion in Ansible Extras. One of them might be useful to you! New modules this week: \[WIP\] Let's Encrypt module https://github.com/ansible/ansible-modules-extras/pull/19…

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

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