# Archives

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

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

**Page:** 546

---

## [Questions about roles\_path](https://forum.ansible.com/t/questions-about-roles-path/22803)

<div class="topic-metadata">

**Author:** [@Brian\_Candler](https://forum.ansible.com/u/Brian_Candler)\
**Replies:** 1\
**Last updated:** [October 18, 2016, 7:39am UTC](https://forum.ansible.com/t/questions-about-roles-path/22803 "2016-10-18T07:39:51Z")

</div>

A couple of questions: (1) Is it possible to set roles\_path within a playbook? (I tried “vars: {roles\_path: …}” and “vars: {ansible\_roles\_path: …}” but they didn’t work) (2) Is it possible to set roles\_path to search …

---

## [Callback plugin to list tasks that were not run](https://forum.ansible.com/t/callback-plugin-to-list-tasks-that-were-not-run/22813)

<div class="topic-metadata">

**Author:** [@Mumshad\_Mannambeth](https://forum.ansible.com/u/Mumshad_Mannambeth)\
**Replies:** 2\
**Last updated:** [October 18, 2016, 5:55am UTC](https://forum.ansible.com/t/callback-plugin-to-list-tasks-that-were-not-run/22813 "2016-10-18T05:55:32Z")

</div>

Does the methods in a callback plugin expose any kind of information which lists all tasks that were not run because the playbook failed at a step. For example, I have Tasks 1 to 10. The playbook ended due to an error o…

---

## [Running a playbook from Python with Inventory in Database](https://forum.ansible.com/t/running-a-playbook-from-python-with-inventory-in-database/22815)

<div class="topic-metadata">

**Author:** [@Hrishikesh\_Trivedi](https://forum.ansible.com/u/Hrishikesh_Trivedi)\
**Replies:** 0\
**Last updated:** [October 18, 2016, 5:38am UTC](https://forum.ansible.com/t/running-a-playbook-from-python-with-inventory-in-database/22815 "2016-10-18T05:38:28Z")

</div>

Hi Team, I need a help for running a playbook from a python program. Following is the description of the setup. I have a configuration database that contains following information Hosts Variables for each host by…

---

## [Need document to use ANSIBLE APIs with curl](https://forum.ansible.com/t/need-document-to-use-ansible-apis-with-curl/22791)

<div class="topic-metadata">

**Author:** [@Sumit\_Dangi](https://forum.ansible.com/u/Sumit_Dangi)\
**Replies:** 2\
**Last updated:** [October 18, 2016, 5:19am UTC](https://forum.ansible.com/t/need-document-to-use-ansible-apis-with-curl/22791 "2016-10-18T05:19:51Z")

</div>

Need document to use ANSIBLE APIs with curl.

---

## [Running ios\_template on mac osx under virtualenv](https://forum.ansible.com/t/running-ios-template-on-mac-osx-under-virtualenv/22799)

<div class="topic-metadata">

**Author:** [@Dustin\_Dean](https://forum.ansible.com/u/Dustin_Dean)\
**Replies:** 1\
**Last updated:** [October 18, 2016, 3:10am UTC](https://forum.ansible.com/t/running-ios-template-on-mac-osx-under-virtualenv/22799 "2016-10-18T03:10:41Z")

</div>

Hello Everyone, I am getting the following error below when I try to run the ios\_command module. \` fatal: \[switch\]: FAILED! =\> {“changed”: false, “failed”: true, “msg”: “paramiko is required but does not appear to be …

---

## [Looking for help and guidance on an a PR to Ansible Galaxy Project](https://forum.ansible.com/t/looking-for-help-and-guidance-on-an-a-pr-to-ansible-galaxy-project/22789)

<div class="topic-metadata">

**Author:** [@Sriram\_Venkatesh](https://forum.ansible.com/u/Sriram_Venkatesh)\
**Replies:** 8\
**Last updated:** [October 18, 2016, 2:32am UTC](https://forum.ansible.com/t/looking-for-help-and-guidance-on-an-a-pr-to-ansible-galaxy-project/22789 "2016-10-18T02:32:27Z")

</div>

Hi Guys, I have been learning and starting to love Ansible for quite awhile, and I am wanting to contribute back to the opensource project as an appreciation of loving, and open community in Ansible. One particular hel…

---

## [ansible inventory manager](https://forum.ansible.com/t/ansible-inventory-manager/22810)

<div class="topic-metadata">

**Author:** [@diego\_branco](https://forum.ansible.com/u/diego_branco)\
**Replies:** 0\
**Last updated:** [October 17, 2016, 9:13pm UTC](https://forum.ansible.com/t/ansible-inventory-manager/22810 "2016-10-17T21:13:38Z")

</div>

Hello guys, I’ve been coding a tool to manage the ansible inventory. For now it is in alpha/testing state that I am using for myself but I am wondering if it could be useful to anybody else. I’ve wrote a bit about it in m…

---

## [Ansible Dynamic Inventory Azure](https://forum.ansible.com/t/ansible-dynamic-inventory-azure/22802)

<div class="topic-metadata">

**Author:** [@David\_Strebel](https://forum.ansible.com/u/David_Strebel)\
**Replies:** 2\
**Last updated:** [October 17, 2016, 7:12pm UTC](https://forum.ansible.com/t/ansible-dynamic-inventory-azure/22802 "2016-10-17T19:12:15Z")

</div>

I’ve read the getting started guide for Azure, but when irun the azure\_rm.py it cant seem to find the file. Any help appreciated.

---

## [List tasks for a play in a callback plugin](https://forum.ansible.com/t/list-tasks-for-a-play-in-a-callback-plugin/22768)

<div class="topic-metadata">

**Author:** [@Daniel\_Matsson](https://forum.ansible.com/u/Daniel_Matsson)\
**Replies:** 1\
**Last updated:** [October 17, 2016, 7:05pm UTC](https://forum.ansible.com/t/list-tasks-for-a-play-in-a-callback-plugin/22768 "2016-10-17T19:05:34Z")

</div>

Hi! I’m trying to create a callback plugin where I would like to get a list with all tasks that will be running before they are actually executed. I’m able to get a list with all plays using playbook.get\_plays() but if …

---

## [Newbie question: Error message from ansible ping module](https://forum.ansible.com/t/newbie-question-error-message-from-ansible-ping-module/22801)

<div class="topic-metadata">

**Author:** [@Henrik\_Bach](https://forum.ansible.com/u/Henrik_Bach)\
**Replies:** 1\
**Last updated:** [October 17, 2016, 6:39pm UTC](https://forum.ansible.com/t/newbie-question-error-message-from-ansible-ping-module/22801 "2016-10-17T18:39:11Z")

</div>

Hi, I’m new to Ansible. I’ve installed ansible on my ubuntu 16.04: $ ansible --version ansible 2.0.0.2 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides When I try to tes…

---

## [putting a var inside "template expression" in task](https://forum.ansible.com/t/putting-a-var-inside-template-expression-in-task/22804)

<div class="topic-metadata">

**Author:** [@Yosef\_Yudilevich](https://forum.ansible.com/u/Yosef_Yudilevich)\
**Replies:** 1\
**Last updated:** [October 17, 2016, 6:18pm UTC](https://forum.ansible.com/t/putting-a-var-inside-template-expression-in-task/22804 "2016-10-17T18:18:41Z")

</div>

hi i know that the way i put it here it wont work but what is the proper way to do it? put {{ COUNT }} variable inside bucket\_ram\_quota: “{{ ( 800 / {{ COUNT }} ) | int }}” thanks

---

## [Ansible converts variable to comment](https://forum.ansible.com/t/ansible-converts-variable-to-comment/22808)

<div class="topic-metadata">

**Author:** [@Paul\_Becotte](https://forum.ansible.com/u/Paul_Becotte)\
**Replies:** 0\
**Last updated:** [October 17, 2016, 5:54pm UTC](https://forum.ansible.com/t/ansible-converts-variable-to-comment/22808 "2016-10-17T17:54:47Z")

</div>

Hi everyone, am trying to troubleshoot a weird problem and can’t find anything to suggest what may be causing it. Basically I have a couple env files that define values. Later files depend on values from earlier files (e…

---

## [Is Ansible Tower necessary?](https://forum.ansible.com/t/is-ansible-tower-necessary/22763)

<div class="topic-metadata">

**Author:** [@michelleacrawley](https://forum.ansible.com/u/michelleacrawley)\
**Replies:** 4\
**Last updated:** [October 17, 2016, 5:26pm UTC](https://forum.ansible.com/t/is-ansible-tower-necessary/22763 "2016-10-17T17:26:46Z")

</div>

I’m looking to use Ansible as an orchestrater in my small dev environment. The open source version of Ansible is very bare bones; I was wondering if it is necessary to purchase Ansible Tower to really make it work? Or is…

---

## [Issues with include\_role - missing roles when included more than once](https://forum.ansible.com/t/issues-with-include-role-missing-roles-when-included-more-than-once/22806)

<div class="topic-metadata">

**Author:** [@Stepan\_Stipl](https://forum.ansible.com/u/Stepan_Stipl)\
**Replies:** 0\
**Last updated:** [October 17, 2016, 4:50pm UTC](https://forum.ansible.com/t/issues-with-include-role-missing-roles-when-included-more-than-once/22806 "2016-10-17T16:50:06Z")

</div>

Hi, even though the original issue I reported on GH has been resolved, seems like another one has been introduced - I’ve updated the ticket with the details - https://github.com/ansible/ansible/issues/18026 - but can’t …

---

## [snmp\_facts  cannot find pysnmp](https://forum.ansible.com/t/snmp-facts-cannot-find-pysnmp/22800)

<div class="topic-metadata">

**Author:** [@hzj.zh](https://forum.ansible.com/u/hzj.zh)\
**Replies:** 0\
**Last updated:** [October 16, 2016, 11:06am UTC](https://forum.ansible.com/t/snmp-facts-cannot-find-pysnmp/22800 "2016-10-16T11:06:40Z")

</div>

hello， i want to use snmp\_facts module , and i installed the pysnmp, but everytime i execute the module, returns the error “msg”: “Missing required pysnmp module (check docs)” i really can not figure it out, need some…

---

## [Extra var does not override host\_vars when passing to include](https://forum.ansible.com/t/extra-var-does-not-override-host-vars-when-passing-to-include/22797)

<div class="topic-metadata">

**Author:** [@Do\_Hoang\_Khiem](https://forum.ansible.com/u/Do_Hoang_Khiem)\
**Replies:** 1\
**Last updated:** [October 15, 2016, 10:57am UTC](https://forum.ansible.com/t/extra-var-does-not-override-host-vars-when-passing-to-include/22797 "2016-10-15T10:57:55Z")

</div>

Enter code here… When I pass a variable to include: statement, using value from extra vars, the value inside the included task file is still the value from host\_vars, not extra vars (while extra vars are considered as h…

---

## [Keeping ansible code and app code in sync?](https://forum.ansible.com/t/keeping-ansible-code-and-app-code-in-sync/22795)

<div class="topic-metadata">

**Author:** [@Guy\_Matz1](https://forum.ansible.com/u/Guy_Matz1)\
**Replies:** 3\
**Last updated:** [October 15, 2016, 10:04am UTC](https://forum.ansible.com/t/keeping-ansible-code-and-app-code-in-sync/22795 "2016-10-15T10:04:33Z")

</div>

Hi! I have some ansible code that deploys an app . . . some structure of the app has changed which is reflected in the ansible code . . . I’m wondering if anyone has some good techniques for keeping versions of app code …

---

## [Having trouble using with\_items, delegate\_to and run\_once to fake having serial: 1 on an include in a role](https://forum.ansible.com/t/having-trouble-using-with-items-delegate-to-and-run-once-to-fake-having-serial-1-on-an-include-in-a-role/22794)

<div class="topic-metadata">

**Author:** [@Stig\_Dossing](https://forum.ansible.com/u/Stig_Dossing)\
**Replies:** 1\
**Last updated:** [October 14, 2016, 10:12pm UTC](https://forum.ansible.com/t/having-trouble-using-with-items-delegate-to-and-run-once-to-fake-having-serial-1-on-an-include-in-a-role/22794 "2016-10-14T22:12:00Z")

</div>

I’m trying to use the approach described here https://github.com/ansible/ansible/issues/12170 to get part of a role to run serially. I am on 2.1.2.0, but have also tried 2.1.1.0 and 2.0.2.0. \` include: do\_deploy.yml …

---

## [Error: "ImportError: No module named grp" when running playbook against windows](https://forum.ansible.com/t/error-importerror-no-module-named-grp-when-running-playbook-against-windows/22787)

<div class="topic-metadata">

**Author:** [@Sam\_Brelsfoard](https://forum.ansible.com/u/Sam_Brelsfoard)\
**Replies:** 4\
**Last updated:** [October 14, 2016, 6:27pm UTC](https://forum.ansible.com/t/error-importerror-no-module-named-grp-when-running-playbook-against-windows/22787 "2016-10-14T18:27:00Z")

</div>

I’ve seen a couple of other folks have this issue, but I’ve not found any answers/solutions. I have a playbook that runs fine from an ansible server (CentOS) to a Mac OSX node, however, when I run the same playbook agai…

---

## [NetScreen | ScreenOS Devices - Devices without Python and Shell](https://forum.ansible.com/t/netscreen-screenos-devices-devices-without-python-and-shell/22793)

<div class="topic-metadata">

**Author:** [@Daniel\_Neto](https://forum.ansible.com/u/Daniel_Neto)\
**Replies:** 0\
**Last updated:** [October 14, 2016, 6:00pm UTC](https://forum.ansible.com/t/netscreen-screenos-devices-devices-without-python-and-shell/22793 "2016-10-14T18:00:12Z")

</div>

Hi Friends, I’m interested in develop or start something to help me in Configuration Management of devices without Python and Shell. There are simple devices, running the old OS of Juniper. Basically they only support…

---

## [A question regarding openstack module authentication](https://forum.ansible.com/t/a-question-regarding-openstack-module-authentication/22792)

<div class="topic-metadata">

**Author:** [@Mihkel\_Parna](https://forum.ansible.com/u/Mihkel_Parna)\
**Replies:** 0\
**Last updated:** [October 14, 2016, 5:28pm UTC](https://forum.ansible.com/t/a-question-regarding-openstack-module-authentication/22792 "2016-10-14T17:28:23Z")

</div>

Hello, I’m trying to configure keystone domains/projects/users through Ansible using os\_keystone\_domain/os\_keystone\_project & os\_user modules but I’m having difficultys understanding the authentication method. I have p…

---

## [How can I get only json data as response from ANSIBLE REST APIS](https://forum.ansible.com/t/how-can-i-get-only-json-data-as-response-from-ansible-rest-apis/22790)

<div class="topic-metadata">

**Author:** [@Sumit\_Dangi](https://forum.ansible.com/u/Sumit_Dangi)\
**Replies:** 1\
**Last updated:** [October 14, 2016, 2:13pm UTC](https://forum.ansible.com/t/how-can-i-get-only-json-data-as-response-from-ansible-rest-apis/22790 "2016-10-14T14:13:29Z")

</div>

When I hit my Ansible REST API from REST Client, I get whole HTML document back. All I am interested in is the json data which should come back as response. Could you please help and let me know if there is any configu…

---

## [Visibility of facts/variables when using "become"](https://forum.ansible.com/t/visibility-of-facts-variables-when-using-become/22776)

<div class="topic-metadata">

**Author:** [@thokari81](https://forum.ansible.com/u/thokari81)\
**Replies:** 1\
**Last updated:** [October 14, 2016, 12:14am UTC](https://forum.ansible.com/t/visibility-of-facts-variables-when-using-become/22776 "2016-10-14T00:14:49Z")

</div>

Hi, I ran into the issue that I wanted to include a role based on a fact. Specifically, I wanted the firewall role (configuring iptables) to not be included when the playbook is run locally against a Vagrant VM. I not…

---

## [win\_copy failing (timeout)](https://forum.ansible.com/t/win-copy-failing-timeout/22433)

<div class="topic-metadata">

**Author:** [@Justin\_Dugan](https://forum.ansible.com/u/Justin_Dugan)\
**Replies:** 6\
**Last updated:** [October 14, 2016, 12:01am UTC](https://forum.ansible.com/t/win-copy-failing-timeout/22433 "2016-10-14T00:01:35Z")

</div>

I am using this in the playbook: name: copy {{eap\_dir}}.0.zip win\_copy: src=“{{eap\_dir}}.0.zip” dest=“c:/temp/{{eap\_dir}}.0.zip” And it’s failing with: TASK \[win\_JBoss : copy jboss-eap-6.4.0.zip\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Crypto Error On Ansible Playbook Start](https://forum.ansible.com/t/crypto-error-on-ansible-playbook-start/22773)

<div class="topic-metadata">

**Author:** [@steve5](https://forum.ansible.com/u/steve5)\
**Replies:** 4\
**Last updated:** [October 13, 2016, 9:55pm UTC](https://forum.ansible.com/t/crypto-error-on-ansible-playbook-start/22773 "2016-10-13T21:55:45Z")

</div>

I am on the devel branch of ansible and I just started getting this when I went to that branch: \` \[WARNING\]: Optional dependency ‘cryptography’ raised an exception, falling back to ‘Crypto’ \` Probably something I nee…

---

## [RDS instance snapshot and restore](https://forum.ansible.com/t/rds-instance-snapshot-and-restore/22781)

<div class="topic-metadata">

**Author:** [@Tony2](https://forum.ansible.com/u/Tony2)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 9:45pm UTC](https://forum.ansible.com/t/rds-instance-snapshot-and-restore/22781 "2016-10-13T21:45:47Z")

</div>

Hi All, I am trying to create a playbook intend to create an RDS MySQL snapshot and then create a restore form the snapshot. I used the aws cli locally and it works but don’t know how to translate the commands in a ansi…

---

## [Module Paths for junos-eznc](https://forum.ansible.com/t/module-paths-for-junos-eznc/22771)

<div class="topic-metadata">

**Author:** [@Zod](https://forum.ansible.com/u/Zod)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 8:19pm UTC](https://forum.ansible.com/t/module-paths-for-junos-eznc/22771 "2016-10-13T20:19:45Z")

</div>

Trying to setup Ansible on Mac OS X 10.10.3 Have ansible 2.1.1.0 python 2.7.12 installed junos-eznc Testing uploading a conf file to a juniper device and getting: fatal: \[srx\]: FAILED! =\> {“changed”: false, “failed”:…

---

## [Handle Host Unreachable cases or Test SSH Connectivity in yml playbook](https://forum.ansible.com/t/handle-host-unreachable-cases-or-test-ssh-connectivity-in-yml-playbook/22785)

<div class="topic-metadata">

**Author:** [@Anas\_Theo](https://forum.ansible.com/u/Anas_Theo)\
**Replies:** 2\
**Last updated:** [October 13, 2016, 7:46pm UTC](https://forum.ansible.com/t/handle-host-unreachable-cases-or-test-ssh-connectivity-in-yml-playbook/22785 "2016-10-13T19:46:39Z")

</div>

Hello, Is there any easy way to handle “host unreachable” cases in order to debug in a log file the problematic situation ? As an alternative it could also be useful to test SSH connectivity through explicit commands in…

---

## [Trying to delete a running app on Marathon by Ansible Playbook - Error](https://forum.ansible.com/t/trying-to-delete-a-running-app-on-marathon-by-ansible-playbook-error/22778)

<div class="topic-metadata">

**Author:** [@Yogesh\_Darji](https://forum.ansible.com/u/Yogesh_Darji)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 6:16pm UTC](https://forum.ansible.com/t/trying-to-delete-a-running-app-on-marathon-by-ansible-playbook-error/22778 "2016-10-13T18:16:21Z")

</div>

Hi, I deployed an app on Marathon with POST using uri module. My inventory file has just localhost which I am using to execute my playbooks. I have written a playbook to delete that app, it will successfully delete the…

---

## [Dependencies between plays](https://forum.ansible.com/t/dependencies-between-plays/22782)

<div class="topic-metadata">

**Author:** [@Nikita\_Gubenko](https://forum.ansible.com/u/Nikita_Gubenko)\
**Replies:** 1\
**Last updated:** [October 13, 2016, 5:18pm UTC](https://forum.ansible.com/t/dependencies-between-plays/22782 "2016-10-13T17:18:13Z")

</div>

Hello, folks Is there any possible way to make plays depend on each other? E.g. in the example below do not start play2 if any of the hosts in play1 failed? \`

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

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