# Ansible Developer

**URL:** https://forum.ansible.com/c/archives/ansible-developer/29.md?page=74

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

**Page:** 75

---

## [Run only those tasks tagged as both X and Y?](https://forum.ansible.com/t/run-only-those-tasks-tagged-as-both-x-and-y/17994)

<div class="topic-metadata">

**Author:** [@Ben\_Overmyer](https://forum.ansible.com/u/Ben_Overmyer)\
**Replies:** 1\
**Last updated:** [April 16, 2015, 1:28pm UTC](https://forum.ansible.com/t/run-only-those-tasks-tagged-as-both-x-and-y/17994 "2015-04-16T13:28:31Z")

</div>

Is there a way in an ansible-playbook run to only run those tasks that have all of the specified tags? E.g., ansible-playbook myplaybook.yml --tags nginx AND config would only run tasks that have both nginx and config t…

---

## [Modules for Pivotal Tracker and Github](https://forum.ansible.com/t/modules-for-pivotal-tracker-and-github/17986)

<div class="topic-metadata">

**Author:** [@Christo\_Crampton](https://forum.ansible.com/u/Christo_Crampton)\
**Replies:** 0\
**Last updated:** [April 15, 2015, 8:24pm UTC](https://forum.ansible.com/t/modules-for-pivotal-tracker-and-github/17986 "2015-04-15T20:24:20Z")

</div>

Hi I would be interested in creating Ansible modules for Pivotal Tracker and Github, and wanted to check if this might be something useful that might be worth contributing back to the extras repo. I’ve already started …

---

## [Python ansible playbook and output](https://forum.ansible.com/t/python-ansible-playbook-and-output/17784)

<div class="topic-metadata">

**Author:** [@Valeriy\_Solovyov](https://forum.ansible.com/u/Valeriy_Solovyov)\
**Replies:** 2\
**Last updated:** [April 15, 2015, 8:02pm UTC](https://forum.ansible.com/t/python-ansible-playbook-and-output/17784 "2015-04-15T20:02:58Z")

</div>

Hello, I write playbook and python code to run it.Code i took from ansible-playbook as example: playbook=params\[“playbook”\] inventory=ansible.inventory.Inventory(hosts) inventory.set\_playbook\_basedir(os.path.dirname(…

---

## [Variable substitution in task meta data](https://forum.ansible.com/t/variable-substitution-in-task-meta-data/17975)

<div class="topic-metadata">

**Author:** [@mark.kusch](https://forum.ansible.com/u/mark.kusch)\
**Replies:** 0\
**Last updated:** [April 14, 2015, 1:48pm UTC](https://forum.ansible.com/t/variable-substitution-in-task-meta-data/17975 "2015-04-14T13:48:42Z")

</div>

Hi list, my goal: A role which allows to configure various aspects how tasks should behave, e.g. how to use the become subsystem, especially for local\_action tasks. Ultimate goal: Configure a few variables in invento…

---

## [CloudStack integration status](https://forum.ansible.com/t/cloudstack-integration-status/17961)

<div class="topic-metadata">

**Author:** [@Rene\_Moser](https://forum.ansible.com/u/Rene_Moser)\
**Replies:** 3\
**Last updated:** [April 13, 2015, 6:19pm UTC](https://forum.ansible.com/t/cloudstack-integration-status/17961 "2015-04-13T18:19:02Z")

</div>

Hello everyone I just wanted to keep you updated on my CloudStack Ansible integration work. New schema name for CloudStack modules First of all thank you @bcoca for the merge of the first 3 modules! I get some positi…

---

## [Very simple copy file command for Windows](https://forum.ansible.com/t/very-simple-copy-file-command-for-windows/17936)

<div class="topic-metadata">

**Author:** [@Eric\_Brandes](https://forum.ansible.com/u/Eric_Brandes)\
**Replies:** 1\
**Last updated:** [April 10, 2015, 8:39am UTC](https://forum.ansible.com/t/very-simple-copy-file-command-for-windows/17936 "2015-04-10T08:39:50Z")

</div>

There’s a gist floating around of a simple copy module for windows + ansible, but I can’t get it to work. I can use New-Item to create a file on the remote host using this same pattern, but Copy-Item is failing silently.…

---

## [Windows scripts executed without "-ExecutionPolicy Unrestricted" in Ansible 1.9](https://forum.ansible.com/t/windows-scripts-executed-without-executionpolicy-unrestricted-in-ansible-1-9/17940)

<div class="topic-metadata">

**Author:** [@Ivaylo\_Bratoev](https://forum.ansible.com/u/Ivaylo_Bratoev)\
**Replies:** 1\
**Last updated:** [April 9, 2015, 7:39pm UTC](https://forum.ansible.com/t/windows-scripts-executed-without-executionpolicy-unrestricted-in-ansible-1-9/17940 "2015-04-09T19:39:34Z")

</div>

Since 1.9 I noticed that Ansible runs the Windows modules/scripts without specifying Unrestricted execution policy. The change was made in a this commit: https://github.com/ansible/ansible/commit/07dfbaedc30944857afc32cf…

---

## [Using submodules for Plugins](https://forum.ansible.com/t/using-submodules-for-plugins/17944)

<div class="topic-metadata">

**Author:** [@Xavier\_Krantz](https://forum.ansible.com/u/Xavier_Krantz)\
**Replies:** 1\
**Last updated:** [April 9, 2015, 6:07pm UTC](https://forum.ansible.com/t/using-submodules-for-plugins/17944 "2015-04-09T18:07:09Z")

</div>

Hello every body ! I have opened an issue / featrure request on Ansible Github about the “plugins” usage and distribution : https://github.com/ansible/ansible/issues/10657 It may be interesting to have a discussion her…

---

## [ssh connection\_plugin deadlock](https://forum.ansible.com/t/ssh-connection-plugin-deadlock/17939)

<div class="topic-metadata">

**Author:** [@Shaps](https://forum.ansible.com/u/Shaps)\
**Replies:** 0\
**Last updated:** [April 9, 2015, 9:35am UTC](https://forum.ansible.com/t/ssh-connection-plugin-deadlock/17939 "2015-04-09T09:35:53Z")

</div>

Hi, I’ve been trying to figure out why that happens for almost 1 day now, but still cannot get to any solution. I’m using the Runner to run the setup module against a set of servers, and it is defined this way: runner…

---

## [Single quotes in Powershell Module parameters are incorrectly escaped](https://forum.ansible.com/t/single-quotes-in-powershell-module-parameters-are-incorrectly-escaped/17926)

<div class="topic-metadata">

**Author:** [@Ian\_Clegg](https://forum.ansible.com/u/Ian_Clegg)\
**Replies:** 0\
**Last updated:** [April 8, 2015, 11:22am UTC](https://forum.ansible.com/t/single-quotes-in-powershell-module-parameters-are-incorrectly-escaped/17926 "2015-04-08T11:22:36Z")

</div>

Hi All, There appears to be a problem with how Ansible handles single quotes in ‘complex args’ for non native json modules. Lets start with an example: I have been working on a module to perform XPath operations on file…

---

## [mount module](https://forum.ansible.com/t/mount-module/17924)

<div class="topic-metadata">

**Author:** [@Jeffrey\_Lageweg](https://forum.ansible.com/u/Jeffrey_Lageweg)\
**Replies:** 0\
**Last updated:** [April 8, 2015, 2:57am UTC](https://forum.ansible.com/t/mount-module/17924 "2015-04-08T02:57:39Z")

</div>

Hi there, I saw that the Ansible mount module has some issues, when i defined the fstab argument. For example: When I define an argument fstab (/tmp/fstab) and place the state on mounted. My mount point is /data/archi…

---

## [module params doing JSON conversion?](https://forum.ansible.com/t/module-params-doing-json-conversion/15008)

<div class="topic-metadata">

**Author:** [@Scott\_Anderson](https://forum.ansible.com/u/Scott_Anderson)\
**Replies:** 8\
**Last updated:** [April 7, 2015, 5:56pm UTC](https://forum.ansible.com/t/module-params-doing-json-conversion/15008 "2015-04-07T17:56:39Z")

</div>

Hi all, I’ve got a JSON file, web\_iam\_trust\_policy.json: { "Version": "2012-10-17", "Statement": \[ { "Sid": "", "Effect": "Allow", "Principal": …

---

## [Developing a Ceph module: requirements or guidelines for inclusion](https://forum.ansible.com/t/developing-a-ceph-module-requirements-or-guidelines-for-inclusion/17909)

<div class="topic-metadata">

**Author:** [@Alistair\_Israel](https://forum.ansible.com/u/Alistair_Israel)\
**Replies:** 2\
**Last updated:** [April 7, 2015, 8:23am UTC](https://forum.ansible.com/t/developing-a-ceph-module-requirements-or-guidelines-for-inclusion/17909 "2015-04-07T08:23:39Z")

</div>

Hi, ansible-devel. So, we use Ansible a lot to deploy Ceph and our Ceph solutions, to the point where it started to make sense to develop our own custom Ansible modules for Ceph operations. I’d just like ask about any …

---

## [task local vars?](https://forum.ansible.com/t/task-local-vars/17916)

<div class="topic-metadata">

**Author:** [@Chris11](https://forum.ansible.com/u/Chris11)\
**Replies:** 1\
**Last updated:** [April 7, 2015, 2:54am UTC](https://forum.ansible.com/t/task-local-vars/17916 "2015-04-07T02:54:27Z")

</div>

I request comments on the following idea: The ability to specify vars directly on a task. I found myself needing something like this recently on a template task. The template required variables with some specific names…

---

## [V2 status](https://forum.ansible.com/t/v2-status/17913)

<div class="topic-metadata">

**Author:** [@Eri\_Bastos](https://forum.ansible.com/u/Eri_Bastos)\
**Replies:** 1\
**Last updated:** [April 6, 2015, 9:07pm UTC](https://forum.ansible.com/t/v2-status/17913 "2015-04-06T21:07:22Z")

</div>

Hello, list. Where can I find more information about the V2 status? I was poking at the code due to bug #10619 and I thought I was breaking stuff when I tried to run the setup module. But after looking at it a little b…

---

## [Generating Ansible modules extras documentation](https://forum.ansible.com/t/generating-ansible-modules-extras-documentation/17825)

<div class="topic-metadata">

**Author:** [@Alistair\_Israel](https://forum.ansible.com/u/Alistair_Israel)\
**Replies:** 4\
**Last updated:** [April 6, 2015, 11:03am UTC](https://forum.ansible.com/t/generating-ansible-modules-extras-documentation/17825 "2015-04-06T11:03:43Z")

</div>

Hi, Ansible. I’ve written a couple of Ansible custom modules for managing Ceph pools and rbds here: https://github.com/aisrael/ansible-modules-extras/tree/wip-ceph It’s still a work in progress: I’ll be adding a couple …

---

## [apt-get update fails](https://forum.ansible.com/t/apt-get-update-fails/17898)

<div class="topic-metadata">

**Author:** [@Tom\_Gertin](https://forum.ansible.com/u/Tom_Gertin)\
**Replies:** 1\
**Last updated:** [April 3, 2015, 1:23am UTC](https://forum.ansible.com/t/apt-get-update-fails/17898 "2015-04-03T01:23:23Z")

</div>

I am trying to run an 'apt-get update' command in my Ansible playbook but it is failing everytime. I am using the 'apt: update\_cache=yes' command found here: \[http://docs.ansible.com/apt\_module.html\](http://docs.ansibl…

---

## [Stop verbose in ansible.playbook.PlayBook](https://forum.ansible.com/t/stop-verbose-in-ansible-playbook-playbook/17868)

<div class="topic-metadata">

**Author:** [@Valeriy\_Solovyov](https://forum.ansible.com/u/Valeriy_Solovyov)\
**Replies:** 1\
**Last updated:** [March 31, 2015, 9:43am UTC](https://forum.ansible.com/t/stop-verbose-in-ansible-playbook-playbook/17868 "2015-03-31T09:43:27Z")

</div>

Hello, I use ansible-playbook as source for my flow. Now I see a lot of verbose stuff. I want hide it but I couldn’t find: playbook = params\[“playbook”\] inventory = ansible.inventory.Inventory(hosts) inventory.set\_pl…

---

## [best way to set ansible constants when using executing ansible playbook from python script](https://forum.ansible.com/t/best-way-to-set-ansible-constants-when-using-executing-ansible-playbook-from-python-script/17876)

<div class="topic-metadata">

**Author:** [@Stanley\_Karunditu](https://forum.ansible.com/u/Stanley_Karunditu)\
**Replies:** 0\
**Last updated:** [March 31, 2015, 3:15am UTC](https://forum.ansible.com/t/best-way-to-set-ansible-constants-when-using-executing-ansible-playbook-from-python-script/17876 "2015-03-31T03:15:46Z")

</div>

Working on LXC post-provisioning setup where ansible is used to setup a LXC after initial creation. Wondering if this is the best way to set ansible constants. In this case the ANSIBLE\_HOST\_CHECKING variable.

---

## [Core Module ec2\_elb\_lb working on tags](https://forum.ansible.com/t/core-module-ec2-elb-lb-working-on-tags/17867)

<div class="topic-metadata">

**Author:** [@Ben\_Doyle](https://forum.ansible.com/u/Ben_Doyle)\
**Replies:** 0\
**Last updated:** [March 29, 2015, 9:11am UTC](https://forum.ansible.com/t/core-module-ec2-elb-lb-working-on-tags/17867 "2015-03-29T09:11:46Z")

</div>

Howdy folks, Looking at getting into contributing and I think I’ve found (relatively) low hanging fruit that I need to have for a current project - that is setting/modifying tags on ELBs. Current Github issue for this …

---

## [Wrapping action\_plugins in an action\_plugin](https://forum.ansible.com/t/wrapping-action-plugins-in-an-action-plugin/17860)

<div class="topic-metadata">

**Author:** [@Christian\_Schwarz](https://forum.ansible.com/u/Christian_Schwarz)\
**Replies:** 0\
**Last updated:** [March 27, 2015, 3:42pm UTC](https://forum.ansible.com/t/wrapping-action-plugins-in-an-action-plugin/17860 "2015-03-27T15:42:22Z")

</div>

Hi, I am writing an action\_plugin that gets a list of files to transfer, their mode and if they are a template. The action\_plugin shall check the template flag (boolean) and depending on its value either (false) run …

---

## [Ansible and playbook variables](https://forum.ansible.com/t/ansible-and-playbook-variables/17855)

<div class="topic-metadata">

**Author:** [@Adnan\_Arab](https://forum.ansible.com/u/Adnan_Arab)\
**Replies:** 0\
**Last updated:** [March 27, 2015, 6:59am UTC](https://forum.ansible.com/t/ansible-and-playbook-variables/17855 "2015-03-27T06:59:20Z")

</div>

Hi, I running a play book via a python program. I pass extra\_vars when initialising the Playbook object but the variables in here I cannot access in my playbook. So I use: import ansible.playbook pb = ansible.playbo…

---

## [Ansible windows unzip](https://forum.ansible.com/t/ansible-windows-unzip/17448)

<div class="topic-metadata">

**Author:** [@Michael\_Perzel](https://forum.ansible.com/u/Michael_Perzel)\
**Replies:** 8\
**Last updated:** [March 26, 2015, 9:21pm UTC](https://forum.ansible.com/t/ansible-windows-unzip/17448 "2015-03-26T21:21:44Z")

</div>

I’ve been working on orchestrating our windows hosts with ansible and had the need to be able to unzip files. Since the unarchive module was \*nix only I wrote an unzip.ps1/py module. I’d love to have feedback on it. I ha…

---

## [How to fix faulty SSL listeners so that ConfigureRemotingForAnsible.ps1 can execute](https://forum.ansible.com/t/how-to-fix-faulty-ssl-listeners-so-that-configureremotingforansible-ps1-can-execute/17712)

<div class="topic-metadata">

**Author:** [@David\_Goade](https://forum.ansible.com/u/David_Goade)\
**Replies:** 3\
**Last updated:** [March 26, 2015, 6:58am UTC](https://forum.ansible.com/t/how-to-fix-faulty-ssl-listeners-so-that-configureremotingforansible-ps1-can-execute/17712 "2015-03-26T06:58:08Z")

</div>

PSRemoting from the Ansible controller to a Windows host was working fine and then one day failed with: … WINRM CONNECTION ERROR: 500 WinRMTransport. \[Errno 104\] Connection reset by peer … After some investigation, I…

---

## [Less batteries?](https://forum.ansible.com/t/less-batteries/17821)

<div class="topic-metadata">

**Author:** [@Marc\_Abramowitz](https://forum.ansible.com/u/Marc_Abramowitz)\
**Replies:** 2\
**Last updated:** [March 24, 2015, 3:50pm UTC](https://forum.ansible.com/t/less-batteries/17821 "2015-03-24T15:50:01Z")

</div>

Apologies if this has come up before and/or beaten to death. I wonder if it makes sense to prune a lot of modules in core and extras; take them out of those repos and let them be their own projects – which get installed…

---

## [Ansible Inventory and daemonize](https://forum.ansible.com/t/ansible-inventory-and-daemonize/17812)

<div class="topic-metadata">

**Author:** [@Adham\_H](https://forum.ansible.com/u/Adham_H)\
**Replies:** 1\
**Last updated:** [March 23, 2015, 3:43pm UTC](https://forum.ansible.com/t/ansible-inventory-and-daemonize/17812 "2015-03-23T15:43:30Z")

</div>

Hi, I created an ansible inventory script for joyent. The script does smart caching where it can serve from cache and create a daemon thats does an API to update cache. The script uses “daemonize” to create a backgroun…

---

## [Missing a split function in Jinja](https://forum.ansible.com/t/missing-a-split-function-in-jinja/17806)

<div class="topic-metadata">

**Author:** [@Patrick\_Ogenstad](https://forum.ansible.com/u/Patrick_Ogenstad)\
**Replies:** 2\
**Last updated:** [March 22, 2015, 4:26pm UTC](https://forum.ansible.com/t/missing-a-split-function-in-jinja/17806 "2015-03-22T16:26:44Z")

</div>

Hi, I’m setting up a new test network and had some plans for how I wanted to setup DNS. However I ran into a brick wall since Jinja doesn’t have a split function. However I found that Ansible has it’s own Jinja functio…

---

## [Role inclusion mechanics](https://forum.ansible.com/t/role-inclusion-mechanics/17799)

<div class="topic-metadata">

**Author:** [@nuwan.ag](https://forum.ansible.com/u/nuwan.ag)\
**Replies:** 2\
**Last updated:** [March 20, 2015, 4:37pm UTC](https://forum.ansible.com/t/role-inclusion-mechanics/17799 "2015-03-20T16:37:25Z")

</div>

Hi, I’d like to make a feature request wrt to role dependencies. Currently, role dependencies must be defined via the dependencies section in meta/main.yaml and always execute prior to the tasks in the parent role. Howe…

---

## [Kerberos domain authentication for Windows hosts](https://forum.ansible.com/t/kerberos-domain-authentication-for-windows-hosts/16205)

<div class="topic-metadata">

**Author:** [@Nicolas\_Deslandes](https://forum.ansible.com/u/Nicolas_Deslandes)\
**Replies:** 31\
**Last updated:** [March 19, 2015, 6:39pm UTC](https://forum.ansible.com/t/kerberos-domain-authentication-for-windows-hosts/16205 "2015-03-19T18:39:45Z")

</div>

Hi, I’ve been looking at adding support for Kerberos for deployments to Windows hosts in Ansible/Ansible Tower. There are 2 open PR on the subject: #8345: Suppport for kerberos\\domain authentication for winrm #8914…

---

## [Accessing elements in a list from a playbook](https://forum.ansible.com/t/accessing-elements-in-a-list-from-a-playbook/17789)

<div class="topic-metadata">

**Author:** [@David\_Vosbury](https://forum.ansible.com/u/David_Vosbury)\
**Replies:** 0\
**Last updated:** [March 19, 2015, 2:42pm UTC](https://forum.ansible.com/t/accessing-elements-in-a-list-from-a-playbook/17789 "2015-03-19T14:42:26Z")

</div>

I’m not sure if this is the right mailing list group to ask general questions or if this is just for developers. If not, then let me know what the correct group is. Anyway, my question is I’m trying to update some old pl…

[Previous page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=73)

[Next page](https://forum.ansible.com/c/archives/ansible-developer/29.md?page=75)
