# Latest

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

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

**Page:** 790

---

## [installl a bebian 8.1 from a computer to anpther computer](https://forum.ansible.com/t/installl-a-bebian-8-1-from-a-computer-to-anpther-computer/20638)

<div class="topic-metadata">

**Author:** [@Thierry\_Boibary-Gran](https://forum.ansible.com/u/Thierry_Boibary-Gran)\
**Replies:** 4\
**Last updated:** [February 20, 2016, 5:55pm UTC](https://forum.ansible.com/t/installl-a-bebian-8-1-from-a-computer-to-anpther-computer/20638 "2016-02-20T17:55:40Z")

</div>

Hi, i have a desktop pc with Debain 8.2 and another pc with completly different caracteristics. i’d like to copy the entire disk of this last pc to the first pc to have a Debain configuration complete. Is’it possible…

---

## [the remote target box haven't authority to create temp log for playbook](https://forum.ansible.com/t/the-remote-target-box-havent-authority-to-create-temp-log-for-playbook/20600)

<div class="topic-metadata">

**Author:** [@jaycoolzhao](https://forum.ansible.com/u/jaycoolzhao)\
**Replies:** 1\
**Last updated:** [February 20, 2016, 4:54pm UTC](https://forum.ansible.com/t/the-remote-target-box-havent-authority-to-create-temp-log-for-playbook/20600 "2016-02-20T16:54:31Z")

</div>

Hi, when playbook cli runs, it fails as below: fatal: \[10.170.115.221\]: FAILED! =\> {“failed”: true, “msg”: “ERROR! failed to transfer file to /flash/home/cde/ansible-tmp-1455696872.88-178149562002428/expect:\\n\\nlost co…

---

## [jinja2 is very useful](https://forum.ansible.com/t/jinja2-is-very-useful/20640)

<div class="topic-metadata">

**Author:** [@DD\_R](https://forum.ansible.com/u/DD_R)\
**Replies:** 0\
**Last updated:** [February 20, 2016, 2:31pm UTC](https://forum.ansible.com/t/jinja2-is-very-useful/20640 "2016-02-20T14:31:41Z")

</div>

Hi everyone ! I have Question : Sure I’m new in this community … why we are using jinja2 in our playbooks ? what can jinja2\_extensions do in our ansible.cfg ? e.g. \> \[defaults\] jinja2\_extensions=ji…

---

## [Ansible Role dependencies After Role](https://forum.ansible.com/t/ansible-role-dependencies-after-role/20436)

<div class="topic-metadata">

**Author:** [@profhase85](https://forum.ansible.com/u/profhase85)\
**Replies:** 6\
**Last updated:** [February 20, 2016, 11:54am UTC](https://forum.ansible.com/t/ansible-role-dependencies-after-role/20436 "2016-02-20T11:54:06Z")

</div>

Hello, how do I declare a role dependency which is executed after the role, e.g. : After every execution of role A, role B is executed According to this ons: http://docs.ansible.com/ansible/playbooks\_roles.html#roles …

---

## [Conditional looping through a dict with "when"](https://forum.ansible.com/t/conditional-looping-through-a-dict-with-when/20639)

<div class="topic-metadata">

**Author:** [@Alexander\_Rilik](https://forum.ansible.com/u/Alexander_Rilik)\
**Replies:** 0\
**Last updated:** [February 20, 2016, 9:47am UTC](https://forum.ansible.com/t/conditional-looping-through-a-dict-with-when/20639 "2016-02-20T09:47:07Z")

</div>

Hello all, I’m implementing a custom role to setup a bunch of network device profiles to be later associated to LXD containers. A loop over a list of eth/br devices would be used to achieve this. The loop is not an iss…

---

## [Ansible 1.9.4 localhost ansible\_python\_interpreter breaks playbook run](https://forum.ansible.com/t/ansible-1-9-4-localhost-ansible-python-interpreter-breaks-playbook-run/20637)

<div class="topic-metadata">

**Author:** [@Hongjun\_Ma](https://forum.ansible.com/u/Hongjun_Ma)\
**Replies:** 0\
**Last updated:** [February 20, 2016, 12:27am UTC](https://forum.ansible.com/t/ansible-1-9-4-localhost-ansible-python-interpreter-breaks-playbook-run/20637 "2016-02-20T00:27:17Z")

</div>

I have a playbook and I want to change python path from default /user/bin/python to /user/local/bin/python(on MAC book and brew installed latest 2.7.11 on /user/local/bin). I setup the hosts file and add a localhost ent…

---

## [Get groupname(s) from inventory](https://forum.ansible.com/t/get-groupname-s-from-inventory/20579)

<div class="topic-metadata">

**Author:** [@Rene\_Gallati](https://forum.ansible.com/u/Rene_Gallati)\
**Replies:** 2\
**Last updated:** [February 19, 2016, 11:10pm UTC](https://forum.ansible.com/t/get-groupname-s-from-inventory/20579 "2016-02-19T23:10:13Z")

</div>

Hello all, is it possible to get the groupname(s) where a host is placed from inventory to use later? I have a situation like this: \` \[setA\] HostA HostB \[setB\] HostC HostD \[setC\] HostE HostF \` So when I’m ru…

---

## [How do I extend the timeout value for long-duration playbooks ran against Windows servers?](https://forum.ansible.com/t/how-do-i-extend-the-timeout-value-for-long-duration-playbooks-ran-against-windows-servers/20624)

<div class="topic-metadata">

**Author:** [@Kiran1](https://forum.ansible.com/u/Kiran1)\
**Replies:** 1\
**Last updated:** [February 19, 2016, 8:47pm UTC](https://forum.ansible.com/t/how-do-i-extend-the-timeout-value-for-long-duration-playbooks-ran-against-windows-servers/20624 "2016-02-19T20:47:43Z")

</div>

I have Ansible playbooks that can transfer files. I have Ansible playbooks that can run small PowerShell scripts. But I cannot get an Ansible playbook to run a long-running PowerShell script. The playbook says it is succ…

---

## [escaping a backslash in a playbook](https://forum.ansible.com/t/escaping-a-backslash-in-a-playbook/20584)

<div class="topic-metadata">

**Author:** [@Ter\_Alexander](https://forum.ansible.com/u/Ter_Alexander)\
**Replies:** 3\
**Last updated:** [February 19, 2016, 8:30pm UTC](https://forum.ansible.com/t/escaping-a-backslash-in-a-playbook/20584 "2016-02-19T20:30:03Z")

</div>

I have a playbook that calls get\_url to download a file BUT the URL contains a backslash http://cijboss:8080/jenkins/job/prod/186/org.myorg\\$ear/artifact/org.org/ear/3.0.0-SNAPSHOT/ear-3.0.0-SNAPSHOT.ear" I have tried …

---

## [Feedback for pull requests](https://forum.ansible.com/t/feedback-for-pull-requests/20626)

<div class="topic-metadata">

**Author:** [@Hajo\_Kliemeck](https://forum.ansible.com/u/Hajo_Kliemeck)\
**Replies:** 3\
**Last updated:** [February 19, 2016, 7:48pm UTC](https://forum.ansible.com/t/feedback-for-pull-requests/20626 "2016-02-19T19:48:10Z")

</div>

Hey, since i’m not receiving any update for about 2 months on my pull requests, i appreciate any feedback on the following pull requests: https://github.com/ansible/ansible-modules-extras/pull/1213 https://github.com/…

---

## [get ec2 instance id after ec2 creation](https://forum.ansible.com/t/get-ec2-instance-id-after-ec2-creation/20622)

<div class="topic-metadata">

**Author:** [@Colin\_Byrne](https://forum.ansible.com/u/Colin_Byrne)\
**Replies:** 3\
**Last updated:** [February 19, 2016, 6:57pm UTC](https://forum.ansible.com/t/get-ec2-instance-id-after-ec2-creation/20622 "2016-02-19T18:57:03Z")

</div>

Hey, so I feel like I am following all the tutorials… but I can’t seem to get the instance id after I create and instance with the ec2 module, to use for other modules, like the ec2\_vol module, which depends on the ec2 i…

---

## [OpenStack command line with playbook](https://forum.ansible.com/t/openstack-command-line-with-playbook/20583)

<div class="topic-metadata">

**Author:** [@Ali\_SANHAJI](https://forum.ansible.com/u/Ali_SANHAJI)\
**Replies:** 1\
**Last updated:** [February 19, 2016, 4:17pm UTC](https://forum.ansible.com/t/openstack-command-line-with-playbook/20583 "2016-02-19T16:17:54Z")

</div>

Hello, I searched the available cloud modules for deploying OpenStack with Ansible, and I can’t find the module which can provide the same actions as the python-openstackclient. I know there is a module os\_user to manag…

---

## [Ansible 2.0 python-api: How to load playbooks or Tasks from file?](https://forum.ansible.com/t/ansible-2-0-python-api-how-to-load-playbooks-or-tasks-from-file/20633)

<div class="topic-metadata">

**Author:** [@Reinhard\_Kugler](https://forum.ansible.com/u/Reinhard_Kugler)\
**Replies:** 0\
**Last updated:** [February 19, 2016, 3:33pm UTC](https://forum.ansible.com/t/ansible-2-0-python-api-how-to-load-playbooks-or-tasks-from-file/20633 "2016-02-19T15:33:12Z")

</div>

Hi! I would like to load Tasks or Playbooks from file. I created a setup using http://docs.ansible.com/ansible/developing\_api.html for ansible 2.0 python-api. Currently I have this: https://gist.github.com/catmin/cd51dd…

---

## [\[galaxy\] Avoid broken dependencies - fork+git submodule vs Galaxy+TRUST](https://forum.ansible.com/t/galaxy-avoid-broken-dependencies-fork-git-submodule-vs-galaxy-trust/19311)

<div class="topic-metadata">

**Author:** [@Ferenc\_Szabo](https://forum.ansible.com/u/Ferenc_Szabo)\
**Replies:** 1\
**Last updated:** [February 19, 2016, 2:15pm UTC](https://forum.ansible.com/t/galaxy-avoid-broken-dependencies-fork-git-submodule-vs-galaxy-trust/19311 "2016-02-19T14:15:40Z")

</div>

Hi Guys, I’m kinda junior DevOps guy at my company and I’m learning quite a lot these days about Ansible and how to manage git projects on my own. So, here is what I’m thinking about. What happens if the user, who’s ro…

---

## [override dictionary field](https://forum.ansible.com/t/override-dictionary-field/20630)

<div class="topic-metadata">

**Author:** [@Tomaz\_Strukelj](https://forum.ansible.com/u/Tomaz_Strukelj)\
**Replies:** 0\
**Last updated:** [February 19, 2016, 1:23pm UTC](https://forum.ansible.com/t/override-dictionary-field/20630 "2016-02-19T13:23:22Z")

</div>

Using Ansible 2.0 , is there a way to override a dictionary field in vars file ? Let’s say I have a role with default dictionary values : system: packages\_default: \[curl, wget, python-software-properties, mc, dvtm, nc…

---

## ["NoneType object has no attribute split" when deriving 'inventory\_host\_shortname'](https://forum.ansible.com/t/nonetype-object-has-no-attribute-split-when-deriving-inventory-host-shortname/20629)

<div class="topic-metadata">

**Author:** [@Rob1](https://forum.ansible.com/u/Rob1)\
**Replies:** 0\
**Last updated:** [February 19, 2016, 10:03am UTC](https://forum.ansible.com/t/nonetype-object-has-no-attribute-split-when-deriving-inventory-host-shortname/20629 "2016-02-19T10:03:34Z")

</div>

Ever since moving from Ansible 1.9.4 to 2.0.0.2 on Ubuntu 14.04, running a local play such as… ansible-playbook -c local deploy.yml … throws… Traceback (most recent call last): File "/usr/bin/ansible-playbook", line 8…

---

## [backup location in template module](https://forum.ansible.com/t/backup-location-in-template-module/18227)

<div class="topic-metadata">

**Author:** [@Vikas\_Kumar](https://forum.ansible.com/u/Vikas_Kumar)\
**Replies:** 3\
**Last updated:** [February 19, 2016, 4:11am UTC](https://forum.ansible.com/t/backup-location-in-template-module/18227 "2016-02-19T04:11:24Z")

</div>

Dear All, I have below line from my ansible playbook which uses template module. \` template: src=nginx\_conf.j2 dest=/etc/nginx/nginx.conf backup=yes \` This works great, but create a backup in the same directory (/e…

---

## [Ansible 1.9.4 playbook randomly stops running after async](https://forum.ansible.com/t/ansible-1-9-4-playbook-randomly-stops-running-after-async/20625)

<div class="topic-metadata">

**Author:** [@gregory.gilbert](https://forum.ansible.com/u/gregory.gilbert)\
**Replies:** 0\
**Last updated:** [February 19, 2016, 3:00am UTC](https://forum.ansible.com/t/ansible-1-9-4-playbook-randomly-stops-running-after-async/20625 "2016-02-19T03:00:18Z")

</div>

Hey. I’ve got this in my playbook: name: Fire async to watch build shell: “CONTAINER=my\_{{ timestamp }} /app/deploy/watch-docker.sh” async: 1200 poll: 15 register: watch\_docker ignore\_errors: true name: Wait u…

---

## [Changed behavior with Serial?](https://forum.ansible.com/t/changed-behavior-with-serial/20623)

<div class="topic-metadata">

**Author:** [@Corwin\_Brown](https://forum.ansible.com/u/Corwin_Brown)\
**Replies:** 0\
**Last updated:** [February 19, 2016, 12:07am UTC](https://forum.ansible.com/t/changed-behavior-with-serial/20623 "2016-02-19T00:07:40Z")

</div>

No not the podcast. Ha. Anyway, according to this page: https://docs.ansible.com/ansible/playbooks\_delegation.html#maximum-failure-percentage Serial should continue on until it has attempted every single host. I’ve go…

---

## [ping multiple gateways](https://forum.ansible.com/t/ping-multiple-gateways/20501)

<div class="topic-metadata">

**Author:** [@Portia\_Wong](https://forum.ansible.com/u/Portia_Wong)\
**Replies:** 3\
**Last updated:** [February 18, 2016, 10:22pm UTC](https://forum.ansible.com/t/ping-multiple-gateways/20501 "2016-02-18T22:22:28Z")

</div>

Currently at my workplace, our hosts have multiple connections to different gateways. I am trying to find a way to see whether I can easily ping 4-5 gateways by either running an ad-hoc command or through a playbook to h…

---

## [Querying Version of Single Installed Package](https://forum.ansible.com/t/querying-version-of-single-installed-package/20618)

<div class="topic-metadata">

**Author:** [@Carwyn\_Edwards](https://forum.ansible.com/u/Carwyn_Edwards)\
**Replies:** 1\
**Last updated:** [February 18, 2016, 8:38pm UTC](https://forum.ansible.com/t/querying-version-of-single-installed-package/20618 "2016-02-18T20:38:29Z")

</div>

In light of the recent glibc issue. I’ve been trying to use ansible to query the installed version of glibc, can anyone suggest something I might be missing here. Option 1: ansible all -m yum -a “list=installed” Unfort…

---

## [Using dictionary keys as a list in with\_items](https://forum.ansible.com/t/using-dictionary-keys-as-a-list-in-with-items/12824)

<div class="topic-metadata">

**Author:** [@C\_Morgan\_Hamill](https://forum.ansible.com/u/C_Morgan_Hamill)\
**Replies:** 4\
**Last updated:** [February 18, 2016, 8:26pm UTC](https://forum.ansible.com/t/using-dictionary-keys-as-a-list-in-with-items/12824 "2016-02-18T20:26:15Z")

</div>

Excerpts from Rik Theys's message of 2013-05-17 09:20:26 -0400: Hi, I'm creating a playbook in which I register a variable to hold the virt info output: - name: build info on guests action: virt command=inf…

---

## [Using the version of a package that has been installed](https://forum.ansible.com/t/using-the-version-of-a-package-that-has-been-installed/20620)

<div class="topic-metadata">

**Author:** [@Johannes\_Kastl](https://forum.ansible.com/u/Johannes_Kastl)\
**Replies:** 0\
**Last updated:** [February 18, 2016, 6:49pm UTC](https://forum.ansible.com/t/using-the-version-of-a-package-that-has-been-installed/20620 "2016-02-18T18:49:16Z")

</div>

Hi everyone, say, we have a package, that different systems have in different versions. Depending on the version, that has been installed in the playbook previously, I would like to deploy a different version of the …

---

## [SSH authorization in Ansible between local and remote host](https://forum.ansible.com/t/ssh-authorization-in-ansible-between-local-and-remote-host/20619)

<div class="topic-metadata">

**Author:** [@Ferenc\_Fabian](https://forum.ansible.com/u/Ferenc_Fabian)\
**Replies:** 0\
**Last updated:** [February 18, 2016, 5:10pm UTC](https://forum.ansible.com/t/ssh-authorization-in-ansible-between-local-and-remote-host/20619 "2016-02-18T17:10:35Z")

</div>

I have a Vagrant box with centos 7 where I am creating LXC containers. An Ansible run in the Vagrant box. I create the container with Ansible like this: - name: Create containers lxc\_container: name: localdev\_nginx co…

---

## [Executing blocks after failed](https://forum.ansible.com/t/executing-blocks-after-failed/20617)

<div class="topic-metadata">

**Author:** [@dcodix](https://forum.ansible.com/u/dcodix)\
**Replies:** 2\
**Last updated:** [February 18, 2016, 4:49pm UTC](https://forum.ansible.com/t/executing-blocks-after-failed/20617 "2016-02-18T16:49:38Z")

</div>

Hi, I am not sure if this is the expected behaviour or it is a bug (I don’t even know if it happens to everybody), so before opening an issue I ask here. In a playbook like this: name: myname hosts: all gather\_fac…

---

## [msg: Failed to find required executable gem](https://forum.ansible.com/t/msg-failed-to-find-required-executable-gem/15841)

<div class="topic-metadata">

**Author:** [@Tze\_Yang\_Ng](https://forum.ansible.com/u/Tze_Yang_Ng)\
**Replies:** 11\
**Last updated:** [February 18, 2016, 4:37pm UTC](https://forum.ansible.com/t/msg-failed-to-find-required-executable-gem/15841 "2016-02-18T16:37:52Z")

</div>

Hi, I am new to Vagrant and Ansible. Trying to use a playbook to install compass using gem command but got the following error. Seem like i miss some setting on env? TASK: \[ruby | Ruby | Install compass gem\] \*\*\*\*\*\*\*\*\*\*…

---

## [Is there an index of common playbook directives?](https://forum.ansible.com/t/is-there-an-index-of-common-playbook-directives/20592)

<div class="topic-metadata">

**Author:** [@Brad\_Smith](https://forum.ansible.com/u/Brad_Smith)\
**Replies:** 2\
**Last updated:** [February 18, 2016, 4:01pm UTC](https://forum.ansible.com/t/is-there-an-index-of-common-playbook-directives/20592 "2016-02-18T16:01:48Z")

</div>

I’m looking for something like the module index pages, but with coverage of the shared directives that can be included in any play, e.g. name, sudo/become, when, register (bonus points for something that details all the …

---

## [Easy way to determine if user elevation is requested](https://forum.ansible.com/t/easy-way-to-determine-if-user-elevation-is-requested/20614)

<div class="topic-metadata">

**Author:** [@William\_Leemans](https://forum.ansible.com/u/William_Leemans)\
**Replies:** 0\
**Last updated:** [February 18, 2016, 1:09pm UTC](https://forum.ansible.com/t/easy-way-to-determine-if-user-elevation-is-requested/20614 "2016-02-18T13:09:33Z")

</div>

Is there an easy way to detect whether or not elevation is requested? determine if ansible-playbook … --become is executed or the ansible\_become: true is set? Thanks Will.

---

## [Running NSSM from copied executables on windows and avoid installing NSSM](https://forum.ansible.com/t/running-nssm-from-copied-executables-on-windows-and-avoid-installing-nssm/20537)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 6\
**Last updated:** [February 18, 2016, 12:37pm UTC](https://forum.ansible.com/t/running-nssm-from-copied-executables-on-windows-and-avoid-installing-nssm/20537 "2016-02-18T12:37:00Z")

</div>

Hi, I am trying to create some services on my windows machines with the help of NSSM and would like to automate the process with Ansible. NSSM module for ansible requires NSSM to be installed on the windows machine but …

---

## [Framework/module to test Ansible code](https://forum.ansible.com/t/framework-module-to-test-ansible-code/20613)

<div class="topic-metadata">

**Author:** [@Rajat\_Govind\_Chandak](https://forum.ansible.com/u/Rajat_Govind_Chandak)\
**Replies:** 1\
**Last updated:** [February 18, 2016, 9:56am UTC](https://forum.ansible.com/t/framework-module-to-test-ansible-code/20613 "2016-02-18T09:56:08Z")

</div>

Hey all, I am working with Ansible to spinup and provision intsances on AWS EC2. Is there any framework or module to test my ansible code, so that I can ensure that it is working properly as desired ? Thanks

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

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