# Latest

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

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

**Page:** 784

---

## [Cannot build 2.0.1.0 with dpkg-buildpackage](https://forum.ansible.com/t/cannot-build-2-0-1-0-with-dpkg-buildpackage/20783)

<div class="topic-metadata">

**Author:** [@actionmystique](https://forum.ansible.com/u/actionmystique)\
**Replies:** 2\
**Last updated:** [March 9, 2016, 7:21am UTC](https://forum.ansible.com/t/cannot-build-2-0-1-0-with-dpkg-buildpackage/20783 "2016-03-09T07:21:26Z")

</div>

On Linux samsung-ubuntu 4.2.0-30-generic #36-Ubuntu SMP Fri Feb 26 00:58:07 UTC 2016 x86\_64 GNU/Linux With commit bb6cadefa2d68ed2a668fba14dc027947e043ae5 I copied packaging/debian under sources root folder and removed…

---

## [ansible-galaxy (ansible2.0.0) : backwards uncompatibility  (anisble1.9.4)](https://forum.ansible.com/t/ansible-galaxy-ansible2-0-0-backwards-uncompatibility-anisble1-9-4/20800)

<div class="topic-metadata">

**Author:** [@Nicolas\_Dupont-Jubie](https://forum.ansible.com/u/Nicolas_Dupont-Jubie)\
**Replies:** 3\
**Last updated:** [March 8, 2016, 10:24pm UTC](https://forum.ansible.com/t/ansible-galaxy-ansible2-0-0-backwards-uncompatibility-anisble1-9-4/20800 "2016-03-08T22:24:53Z")

</div>

Summary: Before Ansible2, we used ansible-galaxy program to assembly our project workspace (See above a sample ot requirements.yml file) ansible-galaxy install -f -r requirements.yml The directories path/name were then…

---

## ['Absolute basics' video](https://forum.ansible.com/t/absolute-basics-video/20809)

<div class="topic-metadata">

**Author:** [@Quentin\_Stafford-Fra](https://forum.ansible.com/u/Quentin_Stafford-Fra)\
**Replies:** 0\
**Last updated:** [March 8, 2016, 10:04pm UTC](https://forum.ansible.com/t/absolute-basics-video/20809 "2016-03-08T22:04:04Z")

</div>

I had some slides from when I first looked at Ansible and was explaining it to some friends. I put a soundtrack to them in case they’re useful for anybody else. Here you are: Ansible – the absolute basic overview It’s…

---

## [ansible automation script](https://forum.ansible.com/t/ansible-automation-script/20808)

<div class="topic-metadata">

**Author:** [@GBANE\_FETIGUE](https://forum.ansible.com/u/GBANE_FETIGUE)\
**Replies:** 0\
**Last updated:** [March 8, 2016, 7:47pm UTC](https://forum.ansible.com/t/ansible-automation-script/20808 "2016-03-08T19:47:00Z")

</div>

I want to create an automation script ; the automation is for us to stand up a new instance of all 3 mule: Mule ESB Mule API Gateway Mule MMC I know this is not related straight to the course. I received the …

---

## [can you use set\_fact to save information about HOSTX and then later in a different play, retrieve from HOSTY?](https://forum.ansible.com/t/can-you-use-set-fact-to-save-information-about-hostx-and-then-later-in-a-different-play-retrieve-from-hosty/20806)

<div class="topic-metadata">

**Author:** [@markpattisondev](https://forum.ansible.com/u/markpattisondev)\
**Replies:** 0\
**Last updated:** [March 8, 2016, 6:32pm UTC](https://forum.ansible.com/t/can-you-use-set-fact-to-save-information-about-hostx-and-then-later-in-a-different-play-retrieve-from-hosty/20806 "2016-03-08T18:32:32Z")

</div>

HI there. I’ve been playing around with ansible for the past few days and I have run across a question. I need a way to set a value on host x … and then have that information available to host y. Notice the playbook b…

---

## [Trying to create ansible playbook to reboot servers and getting an error](https://forum.ansible.com/t/trying-to-create-ansible-playbook-to-reboot-servers-and-getting-an-error/17661)

<div class="topic-metadata">

**Author:** [@codfather](https://forum.ansible.com/u/codfather)\
**Replies:** 7\
**Last updated:** [March 8, 2016, 5:51pm UTC](https://forum.ansible.com/t/trying-to-create-ansible-playbook-to-reboot-servers-and-getting-an-error/17661 "2016-03-08T17:51:53Z")

</div>

After much googling I haven’t found a solution to this. I want to reboot a single server from a group of servers in my hosts file. This is being done on OSX, with ansible 1.8. Playbook: name: restart server command:…

---

## [Develop Ansible plugin, are there any best practices or recommended notes to read ?](https://forum.ansible.com/t/develop-ansible-plugin-are-there-any-best-practices-or-recommended-notes-to-read/20795)

<div class="topic-metadata">

**Author:** [@Leoswaldo\_Macias\_Man](https://forum.ansible.com/u/Leoswaldo_Macias_Man)\
**Replies:** 3\
**Last updated:** [March 8, 2016, 5:10pm UTC](https://forum.ansible.com/t/develop-ansible-plugin-are-there-any-best-practices-or-recommended-notes-to-read/20795 "2016-03-08T17:10:43Z")

</div>

Hi there I found this group in http://docs.ansible.com/ansible/modules\_core.html, so I’m not pretty sure if its ok to write questions like mine here, but anyway here it goes (in case its not, is there any other channel …

---

## [Renaming a Windows directory](https://forum.ansible.com/t/renaming-a-windows-directory/20805)

<div class="topic-metadata">

**Author:** [@dyioulos](https://forum.ansible.com/u/dyioulos)\
**Replies:** 1\
**Last updated:** [March 8, 2016, 4:23pm UTC](https://forum.ansible.com/t/renaming-a-windows-directory/20805 "2016-03-08T16:23:32Z")

</div>

I need to preserve a Windows directory as “directory.bak”. I was hoping this might work, but it doesn’t: raw: c:\\windows\\system32\\cmd.exe rename C:\\directory C:\\directory.bak Is there a way to accomplish what I’m look…

---

## [Ansible ping working in some of the servers and not working in some of the list.](https://forum.ansible.com/t/ansible-ping-working-in-some-of-the-servers-and-not-working-in-some-of-the-list/20774)

<div class="topic-metadata">

**Author:** [@Akash\_John](https://forum.ansible.com/u/Akash_John)\
**Replies:** 7\
**Last updated:** [March 8, 2016, 4:08pm UTC](https://forum.ansible.com/t/ansible-ping-working-in-some-of-the-servers-and-not-working-in-some-of-the-list/20774 "2016-03-08T16:08:53Z")

</div>

Hi Team, We have configured ansible to perform activities on windows hosts and all are under the same AD. But some how some of the hosts are not providing positive ping response. Please find the response which we are ge…

---

## [Galaxy account dot trouble](https://forum.ansible.com/t/galaxy-account-dot-trouble/20798)

<div class="topic-metadata">

**Author:** [@Michael\_Heca](https://forum.ansible.com/u/Michael_Heca)\
**Replies:** 1\
**Last updated:** [March 8, 2016, 2:53pm UTC](https://forum.ansible.com/t/galaxy-account-dot-trouble/20798 "2016-03-08T14:53:52Z")

</div>

Hi, I have old account michael.heca which is linked with github. Account with dot are unusable. I create new account orgoj, linked with github. But login with github, log me to old michael.heca account. How to change …

---

## [playbook to install software on windows clients from linux control machine](https://forum.ansible.com/t/playbook-to-install-software-on-windows-clients-from-linux-control-machine/18531)

<div class="topic-metadata">

**Author:** [@priya.netrovert](https://forum.ansible.com/u/priya.netrovert)\
**Replies:** 10\
**Last updated:** [March 8, 2016, 11:35am UTC](https://forum.ansible.com/t/playbook-to-install-software-on-windows-clients-from-linux-control-machine/18531 "2016-03-08T11:35:33Z")

</div>

Hi, I am trying to write a playbook which will install windows software(exe files) on windows client machine from the control machine (software is on control machine) I want to either copy the software onto Windows mac…

---

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

<div class="topic-metadata">

**Author:** [@Sha](https://forum.ansible.com/u/Sha)\
**Replies:** 0\
**Last updated:** [March 8, 2016, 9:39am UTC](https://forum.ansible.com/t/error-filedescriptor-out-of-range-in-select/20799 "2016-03-08T09:39:48Z")

</div>

Hello, I am getting the following error when running ansible to control 500 machines. /home/sharath.g/codet\]$ ansible --version ansible 2.1.0 (devel 8f1303c81a) last updated 2016/03/04 12:01:52 (GMT +550) lib/ansible…

---

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

<div class="topic-metadata">

**Author:** [@Sha](https://forum.ansible.com/u/Sha)\
**Replies:** 0\
**Last updated:** [March 8, 2016, 9:29am UTC](https://forum.ansible.com/t/filedescriptor-out-of-range-in-select/20797 "2016-03-08T09:29:25Z")

</div>

I’m still getting this problem when I run ansible on 500 machines. I’m using ansible 2.1.0 right off github I’m using Python 2.7.3 I read this thread, https://github.com/ansible/ansible/issues/10157 but it doesnt he…

---

## ["Kerberos-based authentication was failed. Code 401" - but I've already acquired a valid ticket](https://forum.ansible.com/t/kerberos-based-authentication-was-failed-code-401-but-ive-already-acquired-a-valid-ticket/20767)

<div class="topic-metadata">

**Author:** [@mateusz.blaszkowski](https://forum.ansible.com/u/mateusz.blaszkowski)\
**Replies:** 2\
**Last updated:** [March 8, 2016, 8:59am UTC](https://forum.ansible.com/t/kerberos-based-authentication-was-failed-code-401-but-ive-already-acquired-a-valid-ticket/20767 "2016-03-08T08:59:48Z")

</div>

Hi, I’m struggling with 401 authentication error. I’ve got Windows Server 2012 R2 and Ubuntu 14.04 machine (with Ansible v2.0.0.2). I’m trying to authenticate as test user (who belongs to Domain Admins group). This is m…

---

## [Unzip on windows is giving You cannot call a method on a null-valued expression](https://forum.ansible.com/t/unzip-on-windows-is-giving-you-cannot-call-a-method-on-a-null-valued-expression/20792)

<div class="topic-metadata">

**Author:** [@Deepa\_Yr](https://forum.ansible.com/u/Deepa_Yr)\
**Replies:** 3\
**Last updated:** [March 8, 2016, 7:09am UTC](https://forum.ansible.com/t/unzip-on-windows-is-giving-you-cannot-call-a-method-on-a-null-valued-expression/20792 "2016-03-08T07:09:38Z")

</div>

---

## [installation failure on rhel 7.1:  failed dependency: python-jinja2](https://forum.ansible.com/t/installation-failure-on-rhel-7-1-failed-dependency-python-jinja2/20787)

<div class="topic-metadata">

**Author:** [@Shili\_Yang](https://forum.ansible.com/u/Shili_Yang)\
**Replies:** 2\
**Last updated:** [March 7, 2016, 10:30pm UTC](https://forum.ansible.com/t/installation-failure-on-rhel-7-1-failed-dependency-python-jinja2/20787 "2016-03-07T22:30:32Z")

</div>

Hi, I am trying to install Ansible on a RHEL 7.1 VM, and hitting the (last) outstanding dependency: -bash-4.2# rpm -Uvh ./rpm-build/ansible-\*.noarch.rpm error: Failed dependencies: python-jinja2 is needed by ansible-…

---

## [adhoc command to check all installed packets and their versions](https://forum.ansible.com/t/adhoc-command-to-check-all-installed-packets-and-their-versions/20790)

<div class="topic-metadata">

**Author:** [@Dimitar\_Ivanov](https://forum.ansible.com/u/Dimitar_Ivanov)\
**Replies:** 1\
**Last updated:** [March 7, 2016, 8:25pm UTC](https://forum.ansible.com/t/adhoc-command-to-check-all-installed-packets-and-their-versions/20790 "2016-03-07T20:25:29Z")

</div>

Hi all, I’m wondering how to check all installed packets and their versions in the box I can send ansible all -i /path-to-the-hosts/hosts -a “rpm -q glibc” but how to check all installed packets locally I’m using “y…

---

## [writing a lookup for random strings](https://forum.ansible.com/t/writing-a-lookup-for-random-strings/20796)

<div class="topic-metadata">

**Author:** [@ivica.kolenkas](https://forum.ansible.com/u/ivica.kolenkas)\
**Replies:** 0\
**Last updated:** [March 7, 2016, 7:45pm UTC](https://forum.ansible.com/t/writing-a-lookup-for-random-strings/20796 "2016-03-07T19:45:30Z")

</div>

Hello, I am interested in contributing code and I wanted to write a module which would generate a random\_string module as described in this pull request: https://github.com/ansible/ansible-modules-extras/pull/1799 Sive…

---

## [Need help with conditionals and a dict (?) or variable...](https://forum.ansible.com/t/need-help-with-conditionals-and-a-dict-or-variable/20785)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 5\
**Last updated:** [March 7, 2016, 7:14pm UTC](https://forum.ansible.com/t/need-help-with-conditionals-and-a-dict-or-variable/20785 "2016-03-07T19:14:12Z")

</div>

Hi everyone, I need help getting a role to run. Especially the part where one host has a list of users defined, and the other host has not. In the host\_vars for hostA I have this:

---

## [Is there a cache of some sort in vsphere\_guest (or possibly pysphere)?](https://forum.ansible.com/t/is-there-a-cache-of-some-sort-in-vsphere-guest-or-possibly-pysphere/20784)

<div class="topic-metadata">

**Author:** [@Anthony\_Cheng](https://forum.ansible.com/u/Anthony_Cheng)\
**Replies:** 1\
**Last updated:** [March 7, 2016, 6:24pm UTC](https://forum.ansible.com/t/is-there-a-cache-of-some-sort-in-vsphere-guest-or-possibly-pysphere/20784 "2016-03-07T18:24:06Z")

</div>

The reason I am asking is because I made some modification in my playbook /w vsphere\_guest module; specifically the host and datastore location but I find that when I run the playbook it is still using the previous host …

---

## [Group variables conditional based on OS distribution release](https://forum.ansible.com/t/group-variables-conditional-based-on-os-distribution-release/20693)

<div class="topic-metadata">

**Author:** [@Darren\_S](https://forum.ansible.com/u/Darren_S)\
**Replies:** 6\
**Last updated:** [March 7, 2016, 6:17pm UTC](https://forum.ansible.com/t/group-variables-conditional-based-on-os-distribution-release/20693 "2016-03-07T18:17:58Z")

</div>

Hi, After various docs and some trial and error, I can’t figure out how to handle setting a variable differently when the target operating system version is newer than a certain release. OpenBSD 5.8 and newer have repla…

---

## [How to copy a file from control machine to the host where task is running](https://forum.ansible.com/t/how-to-copy-a-file-from-control-machine-to-the-host-where-task-is-running/20758)

<div class="topic-metadata">

**Author:** [@Deepa\_Yr](https://forum.ansible.com/u/Deepa_Yr)\
**Replies:** 3\
**Last updated:** [March 7, 2016, 4:57pm UTC](https://forum.ansible.com/t/how-to-copy-a-file-from-control-machine-to-the-host-where-task-is-running/20758 "2016-03-07T16:57:11Z")

</div>

I have few files in control machine ie host1. My playbook/tasks are running on host2. I need to copy the files from host1 to host2. Please let me know how it can be done

---

## [Ansilbe option  --list-tasks  does not list any tasks](https://forum.ansible.com/t/ansilbe-option-list-tasks-does-not-list-any-tasks/20794)

<div class="topic-metadata">

**Author:** [@Phonthip\_Namkaew](https://forum.ansible.com/u/Phonthip_Namkaew)\
**Replies:** 0\
**Last updated:** [March 7, 2016, 4:13pm UTC](https://forum.ansible.com/t/ansilbe-option-list-tasks-does-not-list-any-tasks/20794 "2016-03-07T16:13:16Z")

</div>

Hi After an Ansible update from 1.9.2 to 2.0.1.0 the following command (–list-tasks) does not list any tasks anymore: foo:/data/ansible\> ansible-playbook -i inventory playbooks/playbook-s12-oracle-directory.yml --list…

---

## [Connecting to Azure Win Servers](https://forum.ansible.com/t/connecting-to-azure-win-servers/20793)

<div class="topic-metadata">

**Author:** [@Mark\_Matthews](https://forum.ansible.com/u/Mark_Matthews)\
**Replies:** 1\
**Last updated:** [March 7, 2016, 2:58pm UTC](https://forum.ansible.com/t/connecting-to-azure-win-servers/20793 "2016-03-07T14:58:50Z")

</div>

Hi I have setup some Windows servers is Azure, and now want to run some playbooks to those servers. I am getting the following error though (see attached). 10.85.50.8 | FAILED! =\> { “failed”: true, “msg”: “ERROR! ss…

---

## [set\_fact/include/role vars precedence](https://forum.ansible.com/t/set-fact-include-role-vars-precedence/20789)

<div class="topic-metadata">

**Author:** [@Takeshi\_Yaegashi](https://forum.ansible.com/u/Takeshi_Yaegashi)\
**Replies:** 0\
**Last updated:** [March 7, 2016, 9:01am UTC](https://forum.ansible.com/t/set-fact-include-role-vars-precedence/20789 "2016-03-07T09:01:24Z")

</div>

Hi, I’m confused with variable precedence of Ansible 2.0 documented in http://docs.ansible.com/ansible/playbooks\_variables.html#variable-precedence-where-should-i-put-a-variable . Suppose I have playbooks and roles as f…

---

## [Accept both " import \*" and " import AnsibleModule"](https://forum.ansible.com/t/accept-both-import-and-import-ansiblemodule/20788)

<div class="topic-metadata">

**Author:** [@dbarrosop](https://forum.ansible.com/u/dbarrosop)\
**Replies:** 1\
**Last updated:** [March 7, 2016, 7:52am UTC](https://forum.ansible.com/t/accept-both-import-and-import-ansiblemodule/20788 "2016-03-07T07:52:55Z")

</div>

Hello, in PR #14805 I provided a one line patch to allow writing modules with both: from ansible.module\_utils.\<lib name\> import \* and from ansible.module\_utils.\<lib name\> import AnsibleModule As you can see in the b…

---

## [Skip reading bash profile](https://forum.ansible.com/t/skip-reading-bash-profile/20768)

<div class="topic-metadata">

**Author:** [@Anton\_Balashov](https://forum.ansible.com/u/Anton_Balashov)\
**Replies:** 1\
**Last updated:** [March 6, 2016, 6:07pm UTC](https://forum.ansible.com/t/skip-reading-bash-profile/20768 "2016-03-06T18:07:01Z")

</div>

Hello. On the target machine in bash profile there are lines which checks if the bash session is interactive, then exit 0; By that, interactive logins are prohibited (in /etc/profile). But, I can run command by “ssh ho…

---

## [ec2\_vpc\_route\_table not working with NAT gateways](https://forum.ansible.com/t/ec2-vpc-route-table-not-working-with-nat-gateways/20786)

<div class="topic-metadata">

**Author:** [@Dean\_Mills](https://forum.ansible.com/u/Dean_Mills)\
**Replies:** 0\
**Last updated:** [March 6, 2016, 4:28pm UTC](https://forum.ansible.com/t/ec2-vpc-route-table-not-working-with-nat-gateways/20786 "2016-03-06T16:28:16Z")

</div>

Having troubles trying to setup the route tables in a VPC with a NAT gateway as the target. \` name: Create Private B route tables ec2\_vpc\_route\_table: vpc\_id: ‘{{ vpc\_id }}’ region: ‘{{ vpc\_region }}’ subnets: ‘{{…

---

## [changing hostname/ipadress](https://forum.ansible.com/t/changing-hostname-ipadress/20717)

<div class="topic-metadata">

**Author:** [@Daan\_Hoogland](https://forum.ansible.com/u/Daan_Hoogland)\
**Replies:** 1\
**Last updated:** [March 6, 2016, 10:58am UTC](https://forum.ansible.com/t/changing-hostname-ipadress/20717 "2016-03-06T10:58:33Z")

</div>

LS, When a play I write changes the adres or name by which a host is adressed (i.e. ansible\_host value) is it possible to tell ansible to use a new value for this target from there on? I am trying to recreate an instanc…

---

## [Ansible breaks on some quoted text and not others](https://forum.ansible.com/t/ansible-breaks-on-some-quoted-text-and-not-others/20764)

<div class="topic-metadata">

**Author:** [@bootstraponline](https://forum.ansible.com/u/bootstraponline)\
**Replies:** 1\
**Last updated:** [March 5, 2016, 10:27pm UTC](https://forum.ansible.com/t/ansible-breaks-on-some-quoted-text-and-not-others/20764 "2016-03-05T22:27:03Z")

</div>

If someone could explain the logic behind one string working and the other not then that’d be helpful. I think this is a bug in ansible’s yaml parser. https://github.com/ansible/ansible/issues/14783 I tried looking for…

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

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