# Latest

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

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

**Page:** 729

---

## [How can I configure an “all or nothing” Ansible playbook?](https://forum.ansible.com/t/how-can-i-configure-an-all-or-nothing-ansible-playbook/22470)

<div class="topic-metadata">

**Author:** [@Amir\_Samary](https://forum.ansible.com/u/Amir_Samary)\
**Replies:** 1\
**Last updated:** [September 3, 2016, 4:08pm UTC](https://forum.ansible.com/t/how-can-i-configure-an-all-or-nothing-ansible-playbook/22470 "2016-09-03T16:08:07Z")

</div>

Hi everyone! I have a bunch of servers that need will be need frequent patching. I am planning on using Ansible to coordinate the patching process. The keep point here is that it must be an “all or nothing” patching. Ei…

---

## [Weer](https://forum.ansible.com/t/weer/22473)

<div class="topic-metadata">

**Author:** [@Peter\_Smallegange](https://forum.ansible.com/u/Peter_Smallegange)\
**Replies:** 0\
**Last updated:** [September 3, 2016, 7:52am UTC](https://forum.ansible.com/t/weer/22473 "2016-09-03T07:52:21Z")

</div>

---

## [ansible module for aws ec2 alb on the way?](https://forum.ansible.com/t/ansible-module-for-aws-ec2-alb-on-the-way/22472)

<div class="topic-metadata">

**Author:** [@Kevin\_Mcnally](https://forum.ansible.com/u/Kevin_Mcnally)\
**Replies:** 0\
**Last updated:** [September 3, 2016, 7:41am UTC](https://forum.ansible.com/t/ansible-module-for-aws-ec2-alb-on-the-way/22472 "2016-09-03T07:41:15Z")

</div>

Hi, Anyone know when we will get ec2 alb module or where I should look to see whats in the pipeline? I tried to find aws cli for managing ec2 alb but its not available either. Wanted to use these for rolling release i…

---

## [How to update ansible when installed from source?](https://forum.ansible.com/t/how-to-update-ansible-when-installed-from-source/22471)

<div class="topic-metadata">

**Author:** [@Max\_Bigras](https://forum.ansible.com/u/Max_Bigras)\
**Replies:** 0\
**Last updated:** [September 3, 2016, 5:57am UTC](https://forum.ansible.com/t/how-to-update-ansible-when-installed-from-source/22471 "2016-09-03T05:57:10Z")

</div>

I set up ansible by cloning the repo down and then running source ./hacking/env-setup which, among other things, seems to add /path/to/repos/ansible/bin to my path, except it only works for my current session. So then I…

---

## [Bad performance: In Ansible 2.1 playbooks take factor 5.6 longer than 1.9.x](https://forum.ansible.com/t/bad-performance-in-ansible-2-1-playbooks-take-factor-5-6-longer-than-1-9-x/21388)

<div class="topic-metadata">

**Author:** [@Tobias\_Wolf](https://forum.ansible.com/u/Tobias_Wolf)\
**Replies:** 16\
**Last updated:** [September 3, 2016, 1:44am UTC](https://forum.ansible.com/t/bad-performance-in-ansible-2-1-playbooks-take-factor-5-6-longer-than-1-9-x/21388 "2016-09-03T01:44:18Z")

</div>

Salvete all, we are still clinging to 1.9.x ever since 2.0 came out but we’ve been planning to move to 2.1 once it comes out. We had already figured out that ansible 2.x starting up with parsing our dynamic JSON invent…

---

## [Failed to execute remote python script with ansible](https://forum.ansible.com/t/failed-to-execute-remote-python-script-with-ansible/22469)

<div class="topic-metadata">

**Author:** [@Michelle\_Moreno\_Guti](https://forum.ansible.com/u/Michelle_Moreno_Guti)\
**Replies:** 1\
**Last updated:** [September 2, 2016, 9:49pm UTC](https://forum.ansible.com/t/failed-to-execute-remote-python-script-with-ansible/22469 "2016-09-02T21:49:04Z")

</div>

Hello, I’m trying to execute a remote python script on linux nodes. So, the first step I do is to copy the script file in the remote nodes with the “copy” module and this works well: root@soporte03:# ansible sura -m c…

---

## [Ansible deploy to Kubernetes fails at final step](https://forum.ansible.com/t/ansible-deploy-to-kubernetes-fails-at-final-step/22121)

<div class="topic-metadata">

**Author:** [@mcdg](https://forum.ansible.com/u/mcdg)\
**Replies:** 1\
**Last updated:** [September 2, 2016, 9:28pm UTC](https://forum.ansible.com/t/ansible-deploy-to-kubernetes-fails-at-final-step/22121 "2016-09-02T21:28:13Z")

</div>

Hi, I’m using Ansible to deploy an application to a Kubernetes cluster. I followed all the steps listed in the official Ansible docs at: https://docs.ansible.com/ansible-container/deploy\_kubernetes.html#deployment. My A…

---

## [filter "to\_json" and double quotes](https://forum.ansible.com/t/filter-to-json-and-double-quotes/22468)

<div class="topic-metadata">

**Author:** [@Sylvain1](https://forum.ansible.com/u/Sylvain1)\
**Replies:** 2\
**Last updated:** [September 2, 2016, 8:57pm UTC](https://forum.ansible.com/t/filter-to-json-and-double-quotes/22468 "2016-09-02T20:57:15Z")

</div>

Hi ! I want to export YAML variable to JSON for use with jq tool but the last don’t like JSON sent by Ansible. shell : ‘echo {{ var | to\_json }} | jq’ For that work, I must quote keys and datas that seems the good way…

---

## [Ansible "MODULE FAILURE" on AIX node](https://forum.ansible.com/t/ansible-module-failure-on-aix-node/22439)

<div class="topic-metadata">

**Author:** [@Michelle\_Moreno\_Guti](https://forum.ansible.com/u/Michelle_Moreno_Guti)\
**Replies:** 2\
**Last updated:** [September 2, 2016, 6:44pm UTC](https://forum.ansible.com/t/ansible-module-failure-on-aix-node/22439 "2016-09-02T18:44:58Z")

</div>

Hi I have been traing to execute a “ls -l” command with ansible on an AIX group nodes but I get the next message error. \[root@machine1 ~\]# ansible pdn-aix -a “ls -l” mdebddp03 | FAILED | rc=0 \>\> MODULE FAILURE epsmd…

---

## [start to execute a playbook from a given step is not working as i was expecting](https://forum.ansible.com/t/start-to-execute-a-playbook-from-a-given-step-is-not-working-as-i-was-expecting/22467)

<div class="topic-metadata">

**Author:** [@Edson\_Noboru\_Yamada](https://forum.ansible.com/u/Edson_Noboru_Yamada)\
**Replies:** 0\
**Last updated:** [September 2, 2016, 1:49pm UTC](https://forum.ansible.com/t/start-to-execute-a-playbook-from-a-given-step-is-not-working-as-i-was-expecting/22467 "2016-09-02T13:49:36Z")

</div>

Hi I’m trying to run a playbook starting at a specific task, so i’m using the --start-at option. My playbook iterates over a set of host using serial=1 (one host at a time). I noticed that ansible correctly starts at …

---

## [Is there a way to define a list of values in vars?](https://forum.ansible.com/t/is-there-a-way-to-define-a-list-of-values-in-vars/22452)

<div class="topic-metadata">

**Author:** [@synova.marketing](https://forum.ansible.com/u/synova.marketing)\
**Replies:** 2\
**Last updated:** [September 2, 2016, 1:47pm UTC](https://forum.ansible.com/t/is-there-a-way-to-define-a-list-of-values-in-vars/22452 "2016-09-02T13:47:56Z")

</div>

Hi, Is there a way to do the same as “with\_items” but globally for the playbook? For example something like : variable1: {url: ‘http://someting’, dest: ‘something’, src: ‘something’} {url: ‘http://someting2’, dest: …

---

## [win\_firewall\_rule is removing even when state=present](https://forum.ansible.com/t/win-firewall-rule-is-removing-even-when-state-present/22466)

<div class="topic-metadata">

**Author:** [@Justin\_Dugan](https://forum.ansible.com/u/Justin_Dugan)\
**Replies:** 0\
**Last updated:** [September 2, 2016, 1:44pm UTC](https://forum.ansible.com/t/win-firewall-rule-is-removing-even-when-state-present/22466 "2016-09-02T13:44:40Z")

</div>

I created the rule using the following in powershell: netsh advfirewall firewall add rule name=JBoss dir=in action=allow protocol=tcp localport=“8080,8443,9990” Then after running the following in ansible, the rule is …

---

## [inventory file in jenkins server](https://forum.ansible.com/t/inventory-file-in-jenkins-server/22460)

<div class="topic-metadata">

**Author:** [@Edson\_Noboru\_Yamada](https://forum.ansible.com/u/Edson_Noboru_Yamada)\
**Replies:** 2\
**Last updated:** [September 2, 2016, 12:05pm UTC](https://forum.ansible.com/t/inventory-file-in-jenkins-server/22460 "2016-09-02T12:05:07Z")

</div>

I have several hosts to manage and, in order to access them, i have to use a couple of different ssh keys (and I set the ansible\_ssh\_private\_key\_file in the inventory file to tell ansible which key to use). The thing is…

---

## [Only execute task then certain URL is NOT reachable](https://forum.ansible.com/t/only-execute-task-then-certain-url-is-not-reachable/22432)

<div class="topic-metadata">

**Author:** [@guenther.grill](https://forum.ansible.com/u/guenther.grill)\
**Replies:** 1\
**Last updated:** [September 2, 2016, 11:50am UTC](https://forum.ansible.com/t/only-execute-task-then-certain-url-is-not-reachable/22432 "2016-09-02T11:50:14Z")

</div>

Hi, I have a setup with Apache Mesos and Marathon. I also deploy a Elasticsearch with JSON to the Mesos Cluster via Ansible. But this should only be done, when a certain endpont http://mesos…:8080/v2/apps/elasticserac…

---

## [Running ansible module from python (Cannot use remote\_user defined globally)](https://forum.ansible.com/t/running-ansible-module-from-python-cannot-use-remote-user-defined-globally/22465)

<div class="topic-metadata">

**Author:** [@Nirav\_Radia](https://forum.ansible.com/u/Nirav_Radia)\
**Replies:** 0\
**Last updated:** [September 2, 2016, 11:25am UTC](https://forum.ansible.com/t/running-ansible-module-from-python-cannot-use-remote-user-defined-globally/22465 "2016-09-02T11:25:13Z")

</div>

When I am trying to run an ansible module from Python API (AWS EC2 instances are my target machines), the private\_key\_file is read from /etc/ansible/ansible.cfg but I have to pass remote\_user in Options for running the m…

---

## [Reuse a role in different playbooks](https://forum.ansible.com/t/reuse-a-role-in-different-playbooks/22457)

<div class="topic-metadata">

**Author:** [@Alan\_Evangelista](https://forum.ansible.com/u/Alan_Evangelista)\
**Replies:** 1\
**Last updated:** [September 2, 2016, 11:12am UTC](https://forum.ansible.com/t/reuse-a-role-in-different-playbooks/22457 "2016-09-02T11:12:49Z")

</div>

I current have one playbook for each application in my infrastructure: one for Gerrit, one for Jenkins, etc. Current filesystem structure: playbooks ---- gerrit — roles ---- postfix ---- jenkins — master.yml —…

---

## [Ansible installed from yum is unable to connect to windows while Ansible installed via source file is working fine from the same host](https://forum.ansible.com/t/ansible-installed-from-yum-is-unable-to-connect-to-windows-while-ansible-installed-via-source-file-is-working-fine-from-the-same-host/22446)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 2\
**Last updated:** [September 2, 2016, 10:29am UTC](https://forum.ansible.com/t/ansible-installed-from-yum-is-unable-to-connect-to-windows-while-ansible-installed-via-source-file-is-working-fine-from-the-same-host/22446 "2016-09-02T10:29:55Z")

</div>

I am making some centOS based docker containers to be used as Ansible host. Initially, i created a container and installed Ansible from source files. To connect to windows hosts, i installed some modules as and when requ…

---

## [Thoughts on role for creating multiple users](https://forum.ansible.com/t/thoughts-on-role-for-creating-multiple-users/22450)

<div class="topic-metadata">

**Author:** [@appeltabak](https://forum.ansible.com/u/appeltabak)\
**Replies:** 1\
**Last updated:** [September 2, 2016, 9:58am UTC](https://forum.ansible.com/t/thoughts-on-role-for-creating-multiple-users/22450 "2016-09-02T09:58:26Z")

</div>

Hi, Currently, I’m transforming my user role from creating one user to creating multiple users. In many examples I’ve seen this is done by adding with\_items to every tasks related to the creation of the user (create use…

---

## [Behavior change related to roles\_path config with relative include](https://forum.ansible.com/t/behavior-change-related-to-roles-path-config-with-relative-include/22272)

<div class="topic-metadata">

**Author:** [@Julien\_Tognazzi](https://forum.ansible.com/u/Julien_Tognazzi)\
**Replies:** 3\
**Last updated:** [September 2, 2016, 9:26am UTC](https://forum.ansible.com/t/behavior-change-related-to-roles-path-config-with-relative-include/22272 "2016-09-02T09:26:31Z")

</div>

Hi list, I upgraded ansible with the latest epel-testing version ansible-2.1.1.0-1.el7.noarch and noticed a change with the roles\_path configuration. This is my roles\_path: \` roles\_path = /etc/ansible/roles:…/base/ro…

---

## [Logs move by using Ansible](https://forum.ansible.com/t/logs-move-by-using-ansible/22461)

<div class="topic-metadata">

**Author:** [@ramesh\_madarapu](https://forum.ansible.com/u/ramesh_madarapu)\
**Replies:** 0\
**Last updated:** [September 2, 2016, 5:49am UTC](https://forum.ansible.com/t/logs-move-by-using-ansible/22461 "2016-09-02T05:49:02Z")

</div>

By using Ansible how to move the logs(Linux server to remote Linux server) from current server to remote server by every nigt 2:30 EST

---

## [Stuck deploying templated configs for multiple users with with\_items](https://forum.ansible.com/t/stuck-deploying-templated-configs-for-multiple-users-with-with-items/22458)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 2\
**Last updated:** [September 1, 2016, 11:29pm UTC](https://forum.ansible.com/t/stuck-deploying-templated-configs-for-multiple-users-with-with-items/22458 "2016-09-01T23:29:44Z")

</div>

Hi, I want to deploy a couple of OpenVPN configs to multiple users. It works for a single user but now I'm stuck trying to make it work for multiple users. Anyone have a suggestion how to make this work? Variables:

---

## [Generate number sequence for dynamic server inventory](https://forum.ansible.com/t/generate-number-sequence-for-dynamic-server-inventory/22456)

<div class="topic-metadata">

**Author:** [@titleistfour](https://forum.ansible.com/u/titleistfour)\
**Replies:** 0\
**Last updated:** [September 1, 2016, 6:41pm UTC](https://forum.ansible.com/t/generate-number-sequence-for-dynamic-server-inventory/22456 "2016-09-01T18:41:00Z")

</div>

Hello, I’m currently building some servers in AWS. A set of servers will need a sequence of keys generated for each server like so, with a template that get’s pushed out. server 1 9011 9012 9013 server 2 9021 9022 …

---

## [How to set a variable in vars/main.yml conditionally?](https://forum.ansible.com/t/how-to-set-a-variable-in-vars-main-yml-conditionally/22455)

<div class="topic-metadata">

**Author:** [@ZillaYT](https://forum.ansible.com/u/ZillaYT)\
**Replies:** 6\
**Last updated:** [September 1, 2016, 6:30pm UTC](https://forum.ansible.com/t/how-to-set-a-variable-in-vars-main-yml-conditionally/22455 "2016-09-01T18:30:21Z")

</div>

I’m writing a role to configure syslog, and of course the service is different between Linux instances. How do I do this in var/main.yml? \` pseudo-code in vars/main.yml if Redhat7.x syslog\_service: rsyslog else if Re…

---

## [Installation of .exe on windows remote node get hung](https://forum.ansible.com/t/installation-of-exe-on-windows-remote-node-get-hung/22442)

<div class="topic-metadata">

**Author:** [@srcr2801](https://forum.ansible.com/u/srcr2801)\
**Replies:** 1\
**Last updated:** [September 1, 2016, 4:37pm UTC](https://forum.ansible.com/t/installation-of-exe-on-windows-remote-node-get-hung/22442 "2016-09-01T16:37:25Z")

</div>

Hi, I’m trying to install a software(.exe file) using raw module in windows but failed to do. hosts : all remote\_user: administrator tasks: raw : xxx.exe /s Is there any other module to install software from .exe…

---

## [Unusual WinRM connection issue](https://forum.ansible.com/t/unusual-winrm-connection-issue/21582)

<div class="topic-metadata">

**Author:** [@Mike\_Fennemore](https://forum.ansible.com/u/Mike_Fennemore)\
**Replies:** 18\
**Last updated:** [September 1, 2016, 3:55pm UTC](https://forum.ansible.com/t/unusual-winrm-connection-issue/21582 "2016-09-01T15:55:25Z")

</div>

I have a selected few workgroup Windows server 2012 R2 servers that give the following error: \<10.128.44.37\> ESTABLISH WINRM CONNECTION FOR USER: ansible\_user on PORT 5986 TO 10.128.44.37 server\_101 | UNREACHABLE! =\> { …

---

## [minimum pypy dependencies for use with ansible](https://forum.ansible.com/t/minimum-pypy-dependencies-for-use-with-ansible/22454)

<div class="topic-metadata">

**Author:** [@Armin\_Kunaschik](https://forum.ansible.com/u/Armin_Kunaschik)\
**Replies:** 0\
**Last updated:** [September 1, 2016, 3:54pm UTC](https://forum.ansible.com/t/minimum-pypy-dependencies-for-use-with-ansible/22454 "2016-09-01T15:54:27Z")

</div>

Hi there, I want to manage AIX machines with ansible, but there is no python installed. Since python is quite heavy I found the lightweight pypy. But even pypy has build dependencies, most of them are not present in my…

---

## [ansible requiring ansible\_ssh\_pass](https://forum.ansible.com/t/ansible-requiring-ansible-ssh-pass/22451)

<div class="topic-metadata">

**Author:** [@Graham\_O\_Regan](https://forum.ansible.com/u/Graham_O_Regan)\
**Replies:** 1\
**Last updated:** [September 1, 2016, 1:45pm UTC](https://forum.ansible.com/t/ansible-requiring-ansible-ssh-pass/22451 "2016-09-01T13:45:11Z")

</div>

I’m running Ansible 2.1.1.0 on OS X 10.11.6 and I’m having a problem that I haven’t had before. The issue the same as outlined in this SO question; https://stackoverflow.com/questions/37213551/ansible-ssh-connection-fai…

---

## [win\_user fails to change password, but password changes!](https://forum.ansible.com/t/win-user-fails-to-change-password-but-password-changes/22449)

<div class="topic-metadata">

**Author:** [@user21](https://forum.ansible.com/u/user21)\
**Replies:** 0\
**Last updated:** [September 1, 2016, 12:36pm UTC](https://forum.ansible.com/t/win-user-fails-to-change-password-but-password-changes/22449 "2016-09-01T12:36:39Z")

</div>

The whole test playbook is here; hosts: windows gather\_facts: false tasks: name: Change Administrator password win\_user: name=Administrator password=Quaiqu6I password\_never\_expires=yes Running with ansible 2.1.1.0,…

---

## [Location of host and group configuration](https://forum.ansible.com/t/location-of-host-and-group-configuration/22444)

<div class="topic-metadata">

**Author:** [@Uwe\_Sauter](https://forum.ansible.com/u/Uwe_Sauter)\
**Replies:** 3\
**Last updated:** [September 1, 2016, 11:25am UTC](https://forum.ansible.com/t/location-of-host-and-group-configuration/22444 "2016-09-01T11:25:54Z")

</div>

Hi all, I'm currently struggling with how to tell Ansible where it can find host\_vars and group\_vars folders. Is there an environmet variable for it? Does it have to be inside the same folder as the playbook? Regards, …

---

## [with\_nested and empty lists](https://forum.ansible.com/t/with-nested-and-empty-lists/22448)

<div class="topic-metadata">

**Author:** [@Pim\_Rupert](https://forum.ansible.com/u/Pim_Rupert)\
**Replies:** 0\
**Last updated:** [September 1, 2016, 11:10am UTC](https://forum.ansible.com/t/with-nested-and-empty-lists/22448 "2016-09-01T11:10:59Z")

</div>

I have the following task which uses with\_nested with variables that could be empty. name: Authorize SSH keys for all website users. authorized\_key: user=“{{ item.0.user | default(websites\_default\_user) }}” key=“{{…

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

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