# Latest

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

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

**Page:** 642

---

## [Ansible 2.3 create new group on a host fails.](https://forum.ansible.com/t/ansible-2-3-create-new-group-on-a-host-fails/24995)

<div class="topic-metadata">

**Author:** [@NixGeek](https://forum.ansible.com/u/NixGeek)\
**Replies:** 3\
**Last updated:** [July 15, 2017, 6:39pm UTC](https://forum.ansible.com/t/ansible-2-3-create-new-group-on-a-host-fails/24995 "2017-07-15T18:39:57Z")

</div>

My Ansible version: ansible-playbook 2.3.1.0 config file = /etc/ansible/ansible.cfg configured module search path = Default w/o overrides python version = 3.5.2 (default, Nov 17 2016, 17:05:23) \[GCC 5.4.0 20160609\] P…

---

## [what do I need to do for the    shipable test "Shippable — Run 28860 status is FAILED."](https://forum.ansible.com/t/what-do-i-need-to-do-for-the-shipable-test-shippable-run-28860-status-is-failed/24993)

<div class="topic-metadata">

**Author:** [@Megan\_Liu](https://forum.ansible.com/u/Megan_Liu)\
**Replies:** 2\
**Last updated:** [July 15, 2017, 6:22pm UTC](https://forum.ansible.com/t/what-do-i-need-to-do-for-the-shipable-test-shippable-run-28860-status-is-failed/24993 "2017-07-15T18:22:18Z")

</div>

I am new to ansiable and try to commit a new module into ansible. However, I got information “Shippable — Run 28860 status is FAILED.” What should I do ? Thanks

---

## [Host: command output differs on localhost and FQDN](https://forum.ansible.com/t/host-command-output-differs-on-localhost-and-fqdn/24978)

<div class="topic-metadata">

**Author:** [@Listing](https://forum.ansible.com/u/Listing)\
**Replies:** 4\
**Last updated:** [July 15, 2017, 3:32pm UTC](https://forum.ansible.com/t/host-command-output-differs-on-localhost-and-fqdn/24978 "2017-07-15T15:32:08Z")

</div>

Hi, I am trying to run the following playbook: \`

---

## [What are fire and forget tasks ?](https://forum.ansible.com/t/what-are-fire-and-forget-tasks/24952)

<div class="topic-metadata">

**Author:** [@Luvpreet\_Singh](https://forum.ansible.com/u/Luvpreet_Singh)\
**Replies:** 5\
**Last updated:** [July 15, 2017, 11:36am UTC](https://forum.ansible.com/t/what-are-fire-and-forget-tasks/24952 "2017-07-15T11:36:07Z")

</div>

I have read the asynchronous actions and polling in Ansible docs. But I could not understand it. I understand that poll means the time interval after which the status of the job will be checked. I think Async means the…

---

## [Ansible - Generating OpenSSL Private Keys](https://forum.ansible.com/t/ansible-generating-openssl-private-keys/24992)

<div class="topic-metadata">

**Author:** [@Rod](https://forum.ansible.com/u/Rod)\
**Replies:** 0\
**Last updated:** [July 15, 2017, 12:55am UTC](https://forum.ansible.com/t/ansible-generating-openssl-private-keys/24992 "2017-07-15T00:55:01Z")

</div>

Hello! I installed pyOpenSSL with this command: “yum install pyOpenSSL” Then I try to run an Ansible playbook which generates a public key but I got this error: "FAILED! =\> {“changed”: false, “failed”: true, “msg”: “th…

---

## [Ansible role variables](https://forum.ansible.com/t/ansible-role-variables/24965)

<div class="topic-metadata">

**Author:** [@Martin\_Jablecnik](https://forum.ansible.com/u/Martin_Jablecnik)\
**Replies:** 2\
**Last updated:** [July 14, 2017, 11:07pm UTC](https://forum.ansible.com/t/ansible-role-variables/24965 "2017-07-14T23:07:50Z")

</div>

Hello I have Ansible 2.3.0.0 with this roles in playbook: - { role: bwt-container, tags: \['bwt\_en', 'bwt'\], vars: { app\_lang: "en" } } - { role: bwt-container, tags: \['bwt\_de', 'bwt'\], vars: { app\_lang: "de" } } BWT …

---

## [task not running further after "Failed to connect to the host via ssh"](https://forum.ansible.com/t/task-not-running-further-after-failed-to-connect-to-the-host-via-ssh/24991)

<div class="topic-metadata">

**Author:** [@Vijayaraj\_Balakrishn](https://forum.ansible.com/u/Vijayaraj_Balakrishn)\
**Replies:** 1\
**Last updated:** [July 14, 2017, 10:02pm UTC](https://forum.ansible.com/t/task-not-running-further-after-failed-to-connect-to-the-host-via-ssh/24991 "2017-07-14T22:02:06Z")

</div>

hello, I am running task on multiple nodes and task fails, when any one of the node is unreachable. Any idea, how to overcome it. here is my Ansible Script. hosts: all name: Search APPID gather\_facts: false seria…

---

## [Ansible Certification](https://forum.ansible.com/t/ansible-certification/23295)

<div class="topic-metadata">

**Author:** [@jithendra\_myla](https://forum.ansible.com/u/jithendra_myla)\
**Replies:** 1\
**Last updated:** [July 14, 2017, 7:24pm UTC](https://forum.ansible.com/t/ansible-certification/23295 "2017-07-14T19:24:16Z")

</div>

Hello Friends. I am planning to take ansible certification in next 3 weeks, i see it’s 600 dollars, which i have to pay from my pocket and it’s very expensive for an exam, does anyone have nay coupon which i can use to …

---

## [Playbook Failys atc copying ssh keys](https://forum.ansible.com/t/playbook-failys-atc-copying-ssh-keys/24933)

<div class="topic-metadata">

**Author:** [@Anfield](https://forum.ansible.com/u/Anfield)\
**Replies:** 11\
**Last updated:** [July 14, 2017, 5:25pm UTC](https://forum.ansible.com/t/playbook-failys-atc-copying-ssh-keys/24933 "2017-07-14T17:25:35Z")

</div>

I have the below playbook. Created ssh keys for dave on the localhost (ansible master) and trying to create some users, groups and copy over ssh keys for some users all in the playbook. All works well until the copying …

---

## [Problem with running playbook on hosts with different Python versions](https://forum.ansible.com/t/problem-with-running-playbook-on-hosts-with-different-python-versions/24989)

<div class="topic-metadata">

**Author:** [@mreagio](https://forum.ansible.com/u/mreagio)\
**Replies:** 3\
**Last updated:** [July 14, 2017, 4:28pm UTC](https://forum.ansible.com/t/problem-with-running-playbook-on-hosts-with-different-python-versions/24989 "2017-07-14T16:28:57Z")

</div>

I wrote a simple playbook to collect information regarding OS version for all hosts in inventory: \` name: “Get OS versions Ansible playbook” hosts: all gather\_facts: no tasks: name: “Fetch OS details” shell: “c…

---

## [Playbook gives inconsistent results](https://forum.ansible.com/t/playbook-gives-inconsistent-results/24987)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 4\
**Last updated:** [July 14, 2017, 4:07pm UTC](https://forum.ansible.com/t/playbook-gives-inconsistent-results/24987 "2017-07-14T16:07:19Z")

</div>

I’ve got a multi-task playbook - if I run it against Servers A & B, all tasks run for both servers. If I run it against just B it fails at the first task and stops. My view is if you run a playbook against a server you …

---

## [need help on multipath](https://forum.ansible.com/t/need-help-on-multipath/24964)

<div class="topic-metadata">

**Author:** [@rake](https://forum.ansible.com/u/rake)\
**Replies:** 1\
**Last updated:** [July 14, 2017, 3:06pm UTC](https://forum.ansible.com/t/need-help-on-multipath/24964 "2017-07-14T15:06:30Z")

</div>

we usually perform lot of multipath tasks in our company. On a server if i want to configure multipath for disk aliases multipath -ll|egrep “dm-|size”|sed -e ‘s/\]/ /g’|sed -e ‘N’ -e ‘s/\\n/ /’|awk ‘{print $6,$2}’|sed -e…

---

## [Create different users on different hosts](https://forum.ansible.com/t/create-different-users-on-different-hosts/24963)

<div class="topic-metadata">

**Author:** [@Frank2](https://forum.ansible.com/u/Frank2)\
**Replies:** 1\
**Last updated:** [July 14, 2017, 2:55pm UTC](https://forum.ansible.com/t/create-different-users-on-different-hosts/24963 "2017-07-14T14:55:37Z")

</div>

Hi, I’ve got various servers to manage which belong to different departments. Also one server could belong to multiple departments. I would like to create the admin users on all servers, and additional users depending …

---

## [Ansible Tower installation Failed with error](https://forum.ansible.com/t/ansible-tower-installation-failed-with-error/23677)

<div class="topic-metadata">

**Author:** [@chetansingh23](https://forum.ansible.com/u/chetansingh23)\
**Replies:** 2\
**Last updated:** [July 14, 2017, 2:54pm UTC](https://forum.ansible.com/t/ansible-tower-installation-failed-with-error/23677 "2017-07-14T14:54:38Z")

</div>

I am totally new to this ansible project. I tried the ansible tower installation on my RHEL 6.8 version but it failed during ./setup.sh inventory file \[primary\] localhost ansible\_connection=local \[secondary\] \[databa…

---

## [storing standard output to variable](https://forum.ansible.com/t/storing-standard-output-to-variable/24985)

<div class="topic-metadata">

**Author:** [@stelios](https://forum.ansible.com/u/stelios)\
**Replies:** 3\
**Last updated:** [July 14, 2017, 2:15pm UTC](https://forum.ansible.com/t/storing-standard-output-to-variable/24985 "2017-07-14T14:15:10Z")

</div>

I want to be able to run a command such as cat or grep following and store the standard output into a variable i can use further down I tried to do the following but its wrong for example name: Get info shell: cat …

---

## [Testing if nested variable is defined](https://forum.ansible.com/t/testing-if-nested-variable-is-defined/24988)

<div class="topic-metadata">

**Author:** [@Jozef\_Hartinger](https://forum.ansible.com/u/Jozef_Hartinger)\
**Replies:** 0\
**Last updated:** [July 14, 2017, 1:18pm UTC](https://forum.ansible.com/t/testing-if-nested-variable-is-defined/24988 "2017-07-14T13:18:50Z")

</div>

Assume the following variable structure: \` vars: foo: bar: baz: 5 \` If I simply to: when: foo.bar.baz is defined this only checks the baz key. I still get a failure if e.g. foo.bar is not defined. (The error was…

---

## [GitLab issues connecting to us-gov-west-1](https://forum.ansible.com/t/gitlab-issues-connecting-to-us-gov-west-1/24977)

<div class="topic-metadata">

**Author:** [@Brian\_Long](https://forum.ansible.com/u/Brian_Long)\
**Replies:** 2\
**Last updated:** [July 14, 2017, 12:12pm UTC](https://forum.ansible.com/t/gitlab-issues-connecting-to-us-gov-west-1/24977 "2017-07-14T12:12:23Z")

</div>

Hi All, Note: I’ve posted this question to StackOverflow as well: https://stackoverflow.com/q/45090838/320399 There’s a GitLab.com update rolling out today, and I’m seeing issues connecting to a particular AWS region w…

---

## [better way to manage users on unix machine](https://forum.ansible.com/t/better-way-to-manage-users-on-unix-machine/24980)

<div class="topic-metadata">

**Author:** [@Suresh\_Prajapati](https://forum.ansible.com/u/Suresh_Prajapati)\
**Replies:** 2\
**Last updated:** [July 14, 2017, 9:30am UTC](https://forum.ansible.com/t/better-way-to-manage-users-on-unix-machine/24980 "2017-07-14T09:30:03Z")

</div>

Hi Guys, I am using a list of users to define the exact set of user accounts I need on all of my managed compute instances. For example:

---

## [Task fails when using more than one with\_items.](https://forum.ansible.com/t/task-fails-when-using-more-than-one-with-items/24984)

<div class="topic-metadata">

**Author:** [@Olof\_Lundgren](https://forum.ansible.com/u/Olof_Lundgren)\
**Replies:** 0\
**Last updated:** [July 14, 2017, 9:19am UTC](https://forum.ansible.com/t/task-fails-when-using-more-than-one-with-items/24984 "2017-07-14T09:19:20Z")

</div>

I have a network module playbook that connect to vyos router and gathers some info. \`

---

## [with\_items... in groups\[item.hostgroups\]](https://forum.ansible.com/t/with-items-in-groups-item-hostgroups/24967)

<div class="topic-metadata">

**Author:** [@Sebastian\_Gogoasa](https://forum.ansible.com/u/Sebastian_Gogoasa)\
**Replies:** 1\
**Last updated:** [July 14, 2017, 4:59am UTC](https://forum.ansible.com/t/with-items-in-groups-item-hostgroups/24967 "2017-07-14T04:59:35Z")

</div>

Hello, I’m trying to create new users but I’ve encountered a problem with the when statement which doesn’t allows me to move forward. users.yml \` fullname: Full Name Here1 username: sshusernamehere1 userkey: …/fi…

---

## [how to add a user to docker group if docker group is there?](https://forum.ansible.com/t/how-to-add-a-user-to-docker-group-if-docker-group-is-there/24955)

<div class="topic-metadata">

**Author:** [@Robert\_Chen](https://forum.ansible.com/u/Robert_Chen)\
**Replies:** 1\
**Last updated:** [July 14, 2017, 4:48am UTC](https://forum.ansible.com/t/how-to-add-a-user-to-docker-group-if-docker-group-is-there/24955 "2017-07-14T04:48:31Z")

</div>

default user add to users group, if docker group is there, also add to docker group. How to write this snabile-playbook?

---

## [win\_ping issue](https://forum.ansible.com/t/win-ping-issue/16321)

<div class="topic-metadata">

**Author:** [@Jonathan\_Anderson](https://forum.ansible.com/u/Jonathan_Anderson)\
**Replies:** 11\
**Last updated:** [July 14, 2017, 2:05am UTC](https://forum.ansible.com/t/win-ping-issue/16321 "2017-07-14T02:05:48Z")

</div>

I’m having trouble getting win\_ping to work. Here is my info: Fedora 20 Ansible 1.7.1 Remote node running windows 7 The WinRM script by Trond runs without errors on the remote node Control and Remote Machines are bo…

---

## [Problem with variable interpolation in conditional](https://forum.ansible.com/t/problem-with-variable-interpolation-in-conditional/24979)

<div class="topic-metadata">

**Author:** [@Guy\_Knights](https://forum.ansible.com/u/Guy_Knights)\
**Replies:** 1\
**Last updated:** [July 13, 2017, 11:49pm UTC](https://forum.ansible.com/t/problem-with-variable-interpolation-in-conditional/24979 "2017-07-13T23:49:46Z")

</div>

I’m really confused about a problem I’m having with a conditional statement in a playbook. The task is below: action: fail when: “‘App: {{ app\_id }}’ not in response.content” When I run the playbook I get this error: …

---

## [Ansible fails to execute a playbook when the value for 'hosts' is defined somewhere in inventory](https://forum.ansible.com/t/ansible-fails-to-execute-a-playbook-when-the-value-for-hosts-is-defined-somewhere-in-inventory/24953)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 5\
**Last updated:** [July 13, 2017, 11:06pm UTC](https://forum.ansible.com/t/ansible-fails-to-execute-a-playbook-when-the-value-for-hosts-is-defined-somewhere-in-inventory/24953 "2017-07-13T23:06:54Z")

</div>

I want to define the target hosts for my playbooks somewhere in the inventory itself. But apparently, Ansible is resolving target hosts before it is finished loading the inventory. When i ‘include’ the file with these va…

---

## [Block/Rescue/Always Exit Code](https://forum.ansible.com/t/block-rescue-always-exit-code/24976)

<div class="topic-metadata">

**Author:** [@Brian\_Coca](https://forum.ansible.com/u/Brian_Coca)\
**Replies:** 0\
**Last updated:** [July 13, 2017, 8:32pm UTC](https://forum.ansible.com/t/block-rescue-always-exit-code/24976 "2017-07-13T20:32:08Z")

</div>

Since the task is rescued, the play does not fail, so the ansible return code is 0 (unless something else happens).

---

## [vmware\_guest customization](https://forum.ansible.com/t/vmware-guest-customization/24975)

<div class="topic-metadata">

**Author:** [@Anil](https://forum.ansible.com/u/Anil)\
**Replies:** 0\
**Last updated:** [July 13, 2017, 8:07pm UTC](https://forum.ansible.com/t/vmware-guest-customization/24975 "2017-07-13T20:07:52Z")

</div>

I am trying to provision a VM using vmware\_guest from template(which has a nic set to use DHCP vlan). Now When I provision VM with customization, it throws below error, however it provisions VM but fails to power on. And…

---

## [ansible and windows AD module](https://forum.ansible.com/t/ansible-and-windows-ad-module/24905)

<div class="topic-metadata">

**Author:** [@Anil](https://forum.ansible.com/u/Anil)\
**Replies:** 2\
**Last updated:** [July 13, 2017, 7:56pm UTC](https://forum.ansible.com/t/ansible-and-windows-ad-module/24905 "2017-07-13T19:56:39Z")

</div>

I am trying to invoke AD commands( I put this into powershellscript) from ansible server. I am using Kerberos in the ansible server for auth. Can you guys help in this issue? Below is my powershell script runs on window…

---

## [Scope gets polluted with variables from included roles even though private\_role\_vars = yes](https://forum.ansible.com/t/scope-gets-polluted-with-variables-from-included-roles-even-though-private-role-vars-yes/24972)

<div class="topic-metadata">

**Author:** [@Jose\_Luis\_Fernandez](https://forum.ansible.com/u/Jose_Luis_Fernandez)\
**Replies:** 8\
**Last updated:** [July 13, 2017, 7:32pm UTC](https://forum.ansible.com/t/scope-gets-polluted-with-variables-from-included-roles-even-though-private-role-vars-yes/24972 "2017-07-13T19:32:41Z")

</div>

Hi! Whenever I include a role using the meta dependencies tag I ended up with the scope of the included role in the current role, even though I set private\_role\_vars = yes As an example, consider a project like this \` …

---

## [Adding an external module](https://forum.ansible.com/t/adding-an-external-module/24954)

<div class="topic-metadata">

**Author:** [@Omri](https://forum.ansible.com/u/Omri)\
**Replies:** 1\
**Last updated:** [July 13, 2017, 7:17pm UTC](https://forum.ansible.com/t/adding-an-external-module/24954 "2017-07-13T19:17:25Z")

</div>

Hi, Lately i have started to use Ansible, And i still trying to figure out how some things works. I need to edit yaml file. I didn’t find any core model which i can use easily, So i had to find an external module which…

---

## [Ansible :: Error while linking: \[Errno 13\] Permission denied](https://forum.ansible.com/t/ansible-error-while-linking-errno-13-permission-denied/24948)

<div class="topic-metadata">

**Author:** [@Swapnil\_Bendekar1](https://forum.ansible.com/u/Swapnil_Bendekar1)\
**Replies:** 1\
**Last updated:** [July 13, 2017, 7:00pm UTC](https://forum.ansible.com/t/ansible-error-while-linking-errno-13-permission-denied/24948 "2017-07-13T19:00:51Z")

</div>

Hello Folks, With Ansible(2.3.0.0) and python(2.6.6), executing ansible playbook from webadmin user. Using remote\_user = ansible (in ansible.cfg )for passwordless authentication. While creating symlink, getting Error …

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

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