# Latest

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

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

**Page:** 843

---

## [Using when: x in y if y is a list of dicts](https://forum.ansible.com/t/using-when-x-in-y-if-y-is-a-list-of-dicts/19041)

<div class="topic-metadata">

**Author:** [@Rob\_White](https://forum.ansible.com/u/Rob_White)\
**Replies:** 0\
**Last updated:** [August 18, 2015, 9:43am UTC](https://forum.ansible.com/t/using-when-x-in-y-if-y-is-a-list-of-dicts/19041 "2015-08-18T09:43:49Z")

</div>

Hi guys, I wonder if anyone knows if it’s possible do use the ‘in’ clause with a list of dicts. I have a list that looks like this: \[{u’state’: None, u’id’: u’i-233b31yy’}, {u’state’: None, u’id’: u’i-2a2281xx’}\] I w…

---

## [how to abort task execution for other hosts if one task fails for one host](https://forum.ansible.com/t/how-to-abort-task-execution-for-other-hosts-if-one-task-fails-for-one-host/19040)

<div class="topic-metadata">

**Author:** [@Leon\_Xie](https://forum.ansible.com/u/Leon_Xie)\
**Replies:** 0\
**Last updated:** [August 18, 2015, 8:50am UTC](https://forum.ansible.com/t/how-to-abort-task-execution-for-other-hosts-if-one-task-fails-for-one-host/19040 "2015-08-18T08:50:22Z")

</div>

hi all, I have the below ansible playbook

---

## [one task failed doesn't break the rest tasks in other roles](https://forum.ansible.com/t/one-task-failed-doesnt-break-the-rest-tasks-in-other-roles/19034)

<div class="topic-metadata">

**Author:** [@Tzu\_Lao](https://forum.ansible.com/u/Tzu_Lao)\
**Replies:** 2\
**Last updated:** [August 18, 2015, 2:28am UTC](https://forum.ansible.com/t/one-task-failed-doesnt-break-the-rest-tasks-in-other-roles/19034 "2015-08-18T02:28:39Z")

</div>

Hi guys, I have role X with tasks a,b,c,d. And I have another role Y with tasks e,f,g,h. And I have host Z whcih I want to apply role X and role Y to. If task b failed, how to let ansible continue to working on the r…

---

## [Translating from curl to uri: where do I put the -F filename parameter?](https://forum.ansible.com/t/translating-from-curl-to-uri-where-do-i-put-the-f-filename-parameter/19039)

<div class="topic-metadata">

**Author:** [@Larry\_Fast](https://forum.ansible.com/u/Larry_Fast)\
**Replies:** 0\
**Last updated:** [August 17, 2015, 11:16pm UTC](https://forum.ansible.com/t/translating-from-curl-to-uri-where-do-i-put-the-f-filename-parameter/19039 "2015-08-17T23:16:15Z")

</div>

I’m trying to convert the following curl POST command into an Ansible uri: Task. curl -F upload\_file=@my\_datafile.xml http://my\_destination At the http end I’m trying to respond to the following page: getting the …

---

## [Ansible docker module missing CP command?](https://forum.ansible.com/t/ansible-docker-module-missing-cp-command/19033)

<div class="topic-metadata">

**Author:** [@Hristo\_Stoyanov](https://forum.ansible.com/u/Hristo_Stoyanov)\
**Replies:** 3\
**Last updated:** [August 17, 2015, 9:05pm UTC](https://forum.ansible.com/t/ansible-docker-module-missing-cp-command/19033 "2015-08-17T21:05:12Z")

</div>

See: http://stackoverflow.com/questions/32044399/ansible-docker-module-missing-cp-command

---

## [Custom message with assert?](https://forum.ansible.com/t/custom-message-with-assert/18814)

<div class="topic-metadata">

**Author:** [@cpburnz](https://forum.ansible.com/u/cpburnz)\
**Replies:** 1\
**Last updated:** [August 17, 2015, 6:30pm UTC](https://forum.ansible.com/t/custom-message-with-assert/18814 "2015-08-17T18:30:30Z")

</div>

The title to the assert command is “Fail with custom message”. However, no where do I see a parameter for a custom message. Is it possible to specify a custom message? The fail command has the same title and supports a c…

---

## [AWS Kinesis module](https://forum.ansible.com/t/aws-kinesis-module/18970)

<div class="topic-metadata">

**Author:** [@Sarah\_Haskins](https://forum.ansible.com/u/Sarah_Haskins)\
**Replies:** 4\
**Last updated:** [August 17, 2015, 6:19pm UTC](https://forum.ansible.com/t/aws-kinesis-module/18970 "2015-08-17T18:19:05Z")

</div>

I am in need of a module for AWS Kinesis. Would this be a desirable contribution?

---

## [Run all tasks for each host in parallel?](https://forum.ansible.com/t/run-all-tasks-for-each-host-in-parallel/19037)

<div class="topic-metadata">

**Author:** [@Larry\_Fast](https://forum.ansible.com/u/Larry_Fast)\
**Replies:** 1\
**Last updated:** [August 17, 2015, 3:56pm UTC](https://forum.ansible.com/t/run-all-tasks-for-each-host-in-parallel/19037 "2015-08-17T15:56:30Z")

</div>

Normal Ansible behaviour seems to be For Task X, complete all hosts, then run the next Task. Is the a coding construct or configuration option that allows me to run each Host in parallel? Such that each host will run thr…

---

## [Non-existing group resulted in error.](https://forum.ansible.com/t/non-existing-group-resulted-in-error/18941)

<div class="topic-metadata">

**Author:** [@Nico\_K](https://forum.ansible.com/u/Nico_K)\
**Replies:** 4\
**Last updated:** [August 17, 2015, 1:38pm UTC](https://forum.ansible.com/t/non-existing-group-resulted-in-error/18941 "2015-08-17T13:38:12Z")

</div>

name: task debug: msg=“I will fail” when: inventory\_hostname in groups\[‘doesnotexist’\] fatal: \[host\] =\> error while evaluating conditional: inventory\_hostname in groups\[‘doesnotexist’\] I’m assuming this is not expec…

---

## [how to use lineinfile to add block of \<Location /test\> .... \</Location\>](https://forum.ansible.com/t/how-to-use-lineinfile-to-add-block-of-location-test-location/19035)

<div class="topic-metadata">

**Author:** [@hce](https://forum.ansible.com/u/hce)\
**Replies:** 0\
**Last updated:** [August 17, 2015, 10:45am UTC](https://forum.ansible.com/t/how-to-use-lineinfile-to-add-block-of-location-test-location/19035 "2015-08-17T10:45:13Z")

</div>

Hi, I tried to insert flowing block, but the last was never inserted because that line has already existed for other block in the config file. How can I make it work? name: “add test block” lineinfile: insertafter=“…

---

## [Cant Copy Files](https://forum.ansible.com/t/cant-copy-files/19032)

<div class="topic-metadata">

**Author:** [@John\_Favorite](https://forum.ansible.com/u/John_Favorite)\
**Replies:** 4\
**Last updated:** [August 17, 2015, 4:49am UTC](https://forum.ansible.com/t/cant-copy-files/19032 "2015-08-17T04:49:38Z")

</div>

I must be missing something really obvious but cant seem to manage copying a repo file in place. The playbook is so simple I am not sure where to start. Here is the output of some -vvvv action: \[root@localhost ansibl…

---

## [ansible and active directory](https://forum.ansible.com/t/ansible-and-active-directory/19023)

<div class="topic-metadata">

**Author:** [@jerome\_jarr](https://forum.ansible.com/u/jerome_jarr)\
**Replies:** 1\
**Last updated:** [August 16, 2015, 8:48am UTC](https://forum.ansible.com/t/ansible-and-active-directory/19023 "2015-08-16T08:48:24Z")

</div>

Can someone explain me how to use an active directory user to connect to the machines with ansible please ? i joined all my computers on the AD, on my ansible machine i have this: cat /etc/ansible/group\_vars/windows-d…

---

## [Composability: is there a way to implement a module as a series of ansible tasks?](https://forum.ansible.com/t/composability-is-there-a-way-to-implement-a-module-as-a-series-of-ansible-tasks/19025)

<div class="topic-metadata">

**Author:** [@cohen.ben](https://forum.ansible.com/u/cohen.ben)\
**Replies:** 4\
**Last updated:** [August 16, 2015, 6:56am UTC](https://forum.ansible.com/t/composability-is-there-a-way-to-implement-a-module-as-a-series-of-ansible-tasks/19025 "2015-08-16T06:56:02Z")

</div>

I really like the ansible module interface: pure functions are powerful, super simple and really great. The with\_items syntax adds a lot of power on top with very low cognitive overhead that helps keep you laser focused …

---

## [syncronize module: ignoreif local source does not exist](https://forum.ansible.com/t/syncronize-module-ignoreif-local-source-does-not-exist/19031)

<div class="topic-metadata">

**Author:** [@Robert\_Arnonym](https://forum.ansible.com/u/Robert_Arnonym)\
**Replies:** 1\
**Last updated:** [August 16, 2015, 4:46am UTC](https://forum.ansible.com/t/syncronize-module-ignoreif-local-source-does-not-exist/19031 "2015-08-16T04:46:13Z")

</div>

Hello i have the following task: \` name: Copying webcontent synchronize: src=some/relative/path/{{ item }} dest=/some/absolute/path/{{ item }} with\_items: some other \` what i need: “other” does not exist locally…

---

## [New module (draft) for copying files locally.](https://forum.ansible.com/t/new-module-draft-for-copying-files-locally/18940)

<div class="topic-metadata">

**Author:** [@Alexander\_Taler](https://forum.ansible.com/u/Alexander_Taler)\
**Replies:** 8\
**Last updated:** [August 16, 2015, 1:01am UTC](https://forum.ansible.com/t/new-module-draft-for-copying-files-locally/18940 "2015-08-16T01:01:34Z")

</div>

Hello Ansible Devel I have developed a module for copying files locally on the host, while respecting the Ansible --check option and reporting on changes. I would be glad to submit it to Ansible extras modules if it'…

---

## [install package conditionally](https://forum.ansible.com/t/install-package-conditionally/19029)

<div class="topic-metadata">

**Author:** [@user66](https://forum.ansible.com/u/user66)\
**Replies:** 1\
**Last updated:** [August 15, 2015, 4:17pm UTC](https://forum.ansible.com/t/install-package-conditionally/19029 "2015-08-15T16:17:18Z")

</div>

is it just me or conditional installation of packages is not possible with ansible? name: install foreman rubygem-apipie-bindings package yum: name=rubygem-apipie-bindings state=present when: foreman\_proxy\_register t…

---

## [Skip for input the ssh password when running ansible script to router?](https://forum.ansible.com/t/skip-for-input-the-ssh-password-when-running-ansible-script-to-router/19027)

<div class="topic-metadata">

**Author:** [@Andi\_Zulfadli](https://forum.ansible.com/u/Andi_Zulfadli)\
**Replies:** 1\
**Last updated:** [August 15, 2015, 2:11pm UTC](https://forum.ansible.com/t/skip-for-input-the-ssh-password-when-running-ansible-script-to-router/19027 "2015-08-15T14:11:12Z")

</div>

Dear Master How I can skip for input the ssh password when running ansible script to router? Thank you

---

## [Using the callbacks.vv function dont show any messages when debuging an action module](https://forum.ansible.com/t/using-the-callbacks-vv-function-dont-show-any-messages-when-debuging-an-action-module/19028)

<div class="topic-metadata">

**Author:** [@Jorge\_Monforte\_Gonza](https://forum.ansible.com/u/Jorge_Monforte_Gonza)\
**Replies:** 1\
**Last updated:** [August 15, 2015, 1:49pm UTC](https://forum.ansible.com/t/using-the-callbacks-vv-function-dont-show-any-messages-when-debuging-an-action-module/19028 "2015-08-15T13:49:12Z")

</div>

Hi everybody. Nice project, love.it By the way, I´ve been working months with ansible and I´m having trouble debugging an action module, I tried to call the vv function that is supossed to dump messages to the logger b…

---

## [Can I skip to input the ssh pass when running ansible script to router?](https://forum.ansible.com/t/can-i-skip-to-input-the-ssh-pass-when-running-ansible-script-to-router/19026)

<div class="topic-metadata">

**Author:** [@Andi\_Zulfadli](https://forum.ansible.com/u/Andi_Zulfadli)\
**Replies:** 0\
**Last updated:** [August 15, 2015, 10:38am UTC](https://forum.ansible.com/t/can-i-skip-to-input-the-ssh-pass-when-running-ansible-script-to-router/19026 "2015-08-15T10:38:32Z")

</div>

Dear Master How I can skip for input the ssh password when running ansible script to router?

---

## [Use kerberos error](https://forum.ansible.com/t/use-kerberos-error/19021)

<div class="topic-metadata">

**Author:** [@Tong\_Le](https://forum.ansible.com/u/Tong_Le)\
**Replies:** 1\
**Last updated:** [August 15, 2015, 5:49am UTC](https://forum.ansible.com/t/use-kerberos-error/19021 "2015-08-15T05:49:14Z")

</div>

error: \<10.10.11.48\> ESTABLISH WINRM CONNECTION FOR USER: on PORT 5986 TO 10.10.11.48 \<10.10.11.48\> WINRM CONNECT: transport=kerberos endpoint=https://10.10.11.48:5986/wsman 10.10.11.48 | FAILED =\> Traceback (most rec…

---

## [Is changing my ControlPath causing misdirected commands?](https://forum.ansible.com/t/is-changing-my-controlpath-causing-misdirected-commands/19024)

<div class="topic-metadata">

**Author:** [@Larry\_Fast](https://forum.ansible.com/u/Larry_Fast)\
**Replies:** 1\
**Last updated:** [August 14, 2015, 10:38pm UTC](https://forum.ansible.com/t/is-changing-my-controlpath-causing-misdirected-commands/19024 "2015-08-14T22:38:46Z")

</div>

I ran into the ‘unix\_listener: “/home/my\_name/.ansible/cp/ansible-ssh-vvvvvveerrrrryyyyy\_looonnnngggggg\_ssserrrveeerrr\_nnnaaammmmeeeee.5GoIZEXF2gwQ7DF0” too long for Unix domain socket’ so I tried changing ControlPath to…

---

## [Using git module with multiple repos and only running make when a particular repo changes.](https://forum.ansible.com/t/using-git-module-with-multiple-repos-and-only-running-make-when-a-particular-repo-changes/19022)

<div class="topic-metadata">

**Author:** [@Rodney\_Lott](https://forum.ansible.com/u/Rodney_Lott)\
**Replies:** 0\
**Last updated:** [August 14, 2015, 5:43pm UTC](https://forum.ansible.com/t/using-git-module-with-multiple-repos-and-only-running-make-when-a-particular-repo-changes/19022 "2015-08-14T17:43:10Z")

</div>

My ansible version: etdev@rlotttrustystock101012240:~$ ansible --version ansible 1.9.2 configured module search path = None I am using a local connection (i.e. doing stuff on my local machine). In my playbook, I hav…

---

## [set default when using an undefined variable in "with\_sequence"](https://forum.ansible.com/t/set-default-when-using-an-undefined-variable-in-with-sequence/19020)

<div class="topic-metadata">

**Author:** [@david.neudorfer](https://forum.ansible.com/u/david.neudorfer)\
**Replies:** 1\
**Last updated:** [August 14, 2015, 3:49pm UTC](https://forum.ansible.com/t/set-default-when-using-an-undefined-variable-in-with-sequence/19020 "2015-08-14T15:49:56Z")

</div>

What is the proper way to set a default for helios\_web1b.count? Currently this task: \` name: create identifier sequence for tagging web1b no\_log: true debug: msg=“{{ item }}” with\_sequence: start=0 count=“{{ hel…

---

## [ec2\_group does not honour empty 'rules\_egress:'](https://forum.ansible.com/t/ec2-group-does-not-honour-empty-rules-egress/18209)

<div class="topic-metadata">

**Author:** [@Barry\_Kaplan](https://forum.ansible.com/u/Barry_Kaplan)\
**Replies:** 4\
**Last updated:** [August 14, 2015, 3:37pm UTC](https://forum.ansible.com/t/ec2-group-does-not-honour-empty-rules-egress/18209 "2015-08-14T15:37:54Z")

</div>

The docs (in the code) say: rules\_egress: description: List of firewall outbound rules to enforce in this group (see example). If none are supplied, a default all-out rule is assumed. If an empty list is supplied, …

---

## [pywinrm GSSError: No Kerberos credentials available](https://forum.ansible.com/t/pywinrm-gsserror-no-kerberos-credentials-available/19010)

<div class="topic-metadata">

**Author:** [@Dan\_Swartz](https://forum.ansible.com/u/Dan_Swartz)\
**Replies:** 4\
**Last updated:** [August 14, 2015, 3:35pm UTC](https://forum.ansible.com/t/pywinrm-gsserror-no-kerberos-credentials-available/19010 "2015-08-14T15:35:35Z")

</div>

(Sorry, because I know this has been asked a bunch of times, because I’ve found a bunch of threads on it, but nothing yet has seemed to help.) I am trying to connect to a Windows Server 2012r2 instance on Rackspace (aut…

---

## [ec2\_vps\_net, how to create route tables?](https://forum.ansible.com/t/ec2-vps-net-how-to-create-route-tables/19012)

<div class="topic-metadata">

**Author:** [@Luke1](https://forum.ansible.com/u/Luke1)\
**Replies:** 1\
**Last updated:** [August 14, 2015, 3:14pm UTC](https://forum.ansible.com/t/ec2-vps-net-how-to-create-route-tables/19012 "2015-08-14T15:14:43Z")

</div>

I’m using the new ec2\_vps\_net but it’s not clear to me how to create route tables. For example, I use ec2\_vps\_subnet to create subnets. Thanks, Luke

---

## [Windows integration](https://forum.ansible.com/t/windows-integration/18968)

<div class="topic-metadata">

**Author:** [@stephane\_jean](https://forum.ansible.com/u/stephane_jean)\
**Replies:** 6\
**Last updated:** [August 14, 2015, 3:05pm UTC](https://forum.ansible.com/t/windows-integration/18968 "2015-08-14T15:05:12Z")

</div>

In my company i have a set of CentOS, MAC and Windows machines, i want to use Ansible mainly to deploy packages and scripts (bash, powershell). I’ve been trying to make it work for my windows machines, i have used the p…

---

## [include not resolving variables](https://forum.ansible.com/t/include-not-resolving-variables/19014)

<div class="topic-metadata">

**Author:** [@Pujan\_Shah](https://forum.ansible.com/u/Pujan_Shah)\
**Replies:** 2\
**Last updated:** [August 14, 2015, 2:27pm UTC](https://forum.ansible.com/t/include-not-resolving-variables/19014 "2015-08-14T14:27:38Z")

</div>

Hi, I want to use include in a way that every host get’s different playbook. This is important for me as I have some tasks that are specific to each host. I can create a custom role where I keep all “semi-manual” and …

---

## [yum module - remove repoquery hard dependency (for speed optimization)](https://forum.ansible.com/t/yum-module-remove-repoquery-hard-dependency-for-speed-optimization/19018)

<div class="topic-metadata">

**Author:** [@Stefan\_Eriksson](https://forum.ansible.com/u/Stefan_Eriksson)\
**Replies:** 0\
**Last updated:** [August 14, 2015, 12:34pm UTC](https://forum.ansible.com/t/yum-module-remove-repoquery-hard-dependency-for-speed-optimization/19018 "2015-08-14T12:34:00Z")

</div>

In the yum module, remove hard dependency for repoquery. (for speed optimization) Run: name: verify sudo,ntp,iotop is latest action: yum name={{ item }} state=latest with\_items: sudo ntp iotop when: ansible\_os\_fami…

---

## [no\_log doesn't prevent logging](https://forum.ansible.com/t/no-log-doesnt-prevent-logging/19017)

<div class="topic-metadata">

**Author:** [@Ivan\_Voras](https://forum.ansible.com/u/Ivan_Voras)\
**Replies:** 0\
**Last updated:** [August 14, 2015, 12:31pm UTC](https://forum.ansible.com/t/no-log-doesnt-prevent-logging/19017 "2015-08-14T12:31:17Z")

</div>

Hi, I have a command task executed with a certain security-sensitive environment variables, and to my surprise, no\_log in a task doesn’t actually prevent logging of anything to the remote node’s syslog. According to som…

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

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