# Latest

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

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

**Page:** 552

---

## [All Jobs Started Failing](https://forum.ansible.com/t/all-jobs-started-failing/27676)

<div class="topic-metadata">

**Author:** [@Cody\_John](https://forum.ansible.com/u/Cody_John)\
**Replies:** 3\
**Last updated:** [May 31, 2018, 5:16pm UTC](https://forum.ansible.com/t/all-jobs-started-failing/27676 "2018-05-31T17:16:49Z")

</div>

We’ve been using AWX successfully for awhile now, but something has happened and now every single job is failing. When trying to launch jobs (Templates, Project updates, anything), I just see this error: stdout capture …

---

## [How to use group\_vars when managed host is in multiple groups?](https://forum.ansible.com/t/how-to-use-group-vars-when-managed-host-is-in-multiple-groups/27585)

<div class="topic-metadata">

**Author:** [@bob](https://forum.ansible.com/u/bob)\
**Replies:** 3\
**Last updated:** [May 31, 2018, 4:17pm UTC](https://forum.ansible.com/t/how-to-use-group-vars-when-managed-host-is-in-multiple-groups/27585 "2018-05-31T16:17:49Z")

</div>

Maybe the question I should be asking is how do people manage what packages get installed on what computers? My approach might be wrong? I’m trying to figure out how to use group\_vars for chocolatey packages to install…

---

## [Best way to organize variables that are used by multiple roles](https://forum.ansible.com/t/best-way-to-organize-variables-that-are-used-by-multiple-roles/27674)

<div class="topic-metadata">

**Author:** [@smalleni](https://forum.ansible.com/u/smalleni)\
**Replies:** 1\
**Last updated:** [May 31, 2018, 2:45pm UTC](https://forum.ansible.com/t/best-way-to-organize-variables-that-are-used-by-multiple-roles/27674 "2018-05-31T14:45:17Z")

</div>

Hi all, Our project has several roles that make use of the same variables. Looks like the best practice to organize roles is to place each of these variables in the roles//defaults/main.yml or roles//defaults/main.yml. …

---

## [nxos\_facts support for 5k on cli ?](https://forum.ansible.com/t/nxos-facts-support-for-5k-on-cli/27675)

<div class="topic-metadata">

**Author:** [@Rick\_Williams](https://forum.ansible.com/u/Rick_Williams)\
**Replies:** 0\
**Last updated:** [May 31, 2018, 2:35pm UTC](https://forum.ansible.com/t/nxos-facts-support-for-5k-on-cli/27675 "2018-05-31T14:35:43Z")

</div>

Hi all, Anyone know if nxos\_facts will support 5k using cli. I know the device does not support command piping to json (like show int | json). It does, however support pipe to xml. cisco Nexus 5596 Chassis System vers…

---

## [Is there a standard way to do indentation in template files?](https://forum.ansible.com/t/is-there-a-standard-way-to-do-indentation-in-template-files/27673)

<div class="topic-metadata">

**Author:** [@nusenu](https://forum.ansible.com/u/nusenu)\
**Replies:** 0\
**Last updated:** [May 31, 2018, 12:59pm UTC](https://forum.ansible.com/t/is-there-a-standard-way-to-do-indentation-in-template-files/27673 "2018-05-31T12:59:00Z")

</div>

Hi, I'd like to have indentation in my jinja2 templates like: {% if .. {% if .. configline foo without having the indentation in the resulting config file. Is there a standard way to do that? thanks, nusenu …

---

## [Native Jinja2 Types](https://forum.ansible.com/t/native-jinja2-types/27672)

<div class="topic-metadata">

**Author:** [@Martin\_Krizek](https://forum.ansible.com/u/Martin_Krizek)\
**Replies:** 0\
**Last updated:** [May 31, 2018, 12:17pm UTC](https://forum.ansible.com/t/native-jinja2-types/27672 "2018-05-31T12:17:17Z")

</div>

Hi, support for native Jinja2 types \[1\] has been merged to devel. The target release is 2.7. The plan was to merge the pull request once devel becomes "future 2.7" so we get as much testing as possible. The feature i…

---

## [seting environment](https://forum.ansible.com/t/seting-environment/26288)

<div class="topic-metadata">

**Author:** [@coach.rhca](https://forum.ansible.com/u/coach.rhca)\
**Replies:** 14\
**Last updated:** [May 31, 2018, 10:24am UTC](https://forum.ansible.com/t/seting-environment/26288 "2018-05-31T10:24:36Z")

</div>

I have few variables defined in a variable.yml file for example cat variable.com ( its a dynamic file and the value keeps changing ) ptr\_image: my.example.com/jobname/testname ver\_number: v99 I am using this in my pl…

---

## ["Shared connection to 35.167.29.179 closed.\\r\\n"](https://forum.ansible.com/t/shared-connection-to-35-167-29-179-closed-r-n/27671)

<div class="topic-metadata">

**Author:** [@Sudheer\_Bhimireddy](https://forum.ansible.com/u/Sudheer_Bhimireddy)\
**Replies:** 0\
**Last updated:** [May 31, 2018, 5:37am UTC](https://forum.ansible.com/t/shared-connection-to-35-167-29-179-closed-r-n/27671 "2018-05-31T05:37:30Z")

</div>

Hi All, I’m trying to ping the machines and it was showing me this error. I couldn’t find the solution. Any help would be appreciated. Thanks

---

## [Ansible Tower Installation failing](https://forum.ansible.com/t/ansible-tower-installation-failing/27670)

<div class="topic-metadata">

**Author:** [@Gowtham\_Nakulan](https://forum.ansible.com/u/Gowtham_Nakulan)\
**Replies:** 0\
**Last updated:** [May 31, 2018, 4:35am UTC](https://forum.ansible.com/t/ansible-tower-installation-failing/27670 "2018-05-31T04:35:50Z")

</div>

Hi Team, We are trying to install the Ansible tower in Ubuntu Setup 16.4. Installation is throwing the below error message- failed: \[localhost\] (item={u’id’: u’0x6B73A36E6026DFCA’, u’keyserver’: u’hkps.pool.sks-keyser…

---

## [Run ini file on windows host](https://forum.ansible.com/t/run-ini-file-on-windows-host/27666)

<div class="topic-metadata">

**Author:** [@doppalapudi\_saikumar](https://forum.ansible.com/u/doppalapudi_saikumar)\
**Replies:** 1\
**Last updated:** [May 31, 2018, 3:40am UTC](https://forum.ansible.com/t/run-ini-file-on-windows-host/27666 "2018-05-31T03:40:29Z")

</div>

Hi, I had a ini file which will install sql server on windows. Can i know how can I run that ini file inside the playbook to apply to windows host. I just want to know how does the playbook looks like 2.) My ini file…

---

## [Explicit Include Attribute Inheritance](https://forum.ansible.com/t/explicit-include-attribute-inheritance/27608)

<div class="topic-metadata">

**Author:** [@sivel](https://forum.ansible.com/u/sivel)\
**Replies:** 4\
**Last updated:** [May 30, 2018, 11:18pm UTC](https://forum.ansible.com/t/explicit-include-attribute-inheritance/27608 "2018-05-30T23:18:34Z")

</div>

TL;DR I’ve put together a Google Form, where you can vote on the implementation you prefer and provide an option for the name of the attribute/keyword: https://goo.gl/forms/Q0nORDF7lbrpeGrF2 Read on for more details…

---

## [How to stop the play only for one hostgroup if any one host failed in that hostgroup ?](https://forum.ansible.com/t/how-to-stop-the-play-only-for-one-hostgroup-if-any-one-host-failed-in-that-hostgroup/27659)

<div class="topic-metadata">

**Author:** [@Venkatsm\_V](https://forum.ansible.com/u/Venkatsm_V)\
**Replies:** 4\
**Last updated:** [May 30, 2018, 10:53pm UTC](https://forum.ansible.com/t/how-to-stop-the-play-only-for-one-hostgroup-if-any-one-host-failed-in-that-hostgroup/27659 "2018-05-30T22:53:49Z")

</div>

Hi, Instead of passing to specific hostgroup, can i pass the regex to “hosts: ” for the play hosts ?. eg:- name: pre-step of the setup process hosts: cluster\_.\* gather\_facts: false strategy: free any\_errors\_fatal…

---

## [Best Practice Question: Branching Strategy for Ansible Playbook with roles dependency](https://forum.ansible.com/t/best-practice-question-branching-strategy-for-ansible-playbook-with-roles-dependency/27019)

<div class="topic-metadata">

**Author:** [@Xavier1](https://forum.ansible.com/u/Xavier1)\
**Replies:** 1\
**Last updated:** [May 30, 2018, 10:25pm UTC](https://forum.ansible.com/t/best-practice-question-branching-strategy-for-ansible-playbook-with-roles-dependency/27019 "2018-05-30T22:25:52Z")

</div>

Hi all, I have a newbie question. We want to build Ansible playbook in a reusable fashion by leveraging the Ansible Galaxy concept. Common functionalities playbooks will be used be be included as a role. They spread a…

---

## [How to execute one task/role if all others exit with 0](https://forum.ansible.com/t/how-to-execute-one-task-role-if-all-others-exit-with-0/27669)

<div class="topic-metadata">

**Author:** [@Venkatsm\_V](https://forum.ansible.com/u/Venkatsm_V)\
**Replies:** 0\
**Last updated:** [May 30, 2018, 10:21pm UTC](https://forum.ansible.com/t/how-to-execute-one-task-role-if-all-others-exit-with-0/27669 "2018-05-30T22:21:04Z")

</div>

I have a play with multiple section. I want to execute all sections and execute the final section only all above are success. name: pre-step of the setup process hosts: HostSet gather\_facts: false strategy: free a…

---

## [Cygwin on Managed Nodes](https://forum.ansible.com/t/cygwin-on-managed-nodes/27665)

<div class="topic-metadata">

**Author:** [@Ab\_Generette](https://forum.ansible.com/u/Ab_Generette)\
**Replies:** 1\
**Last updated:** [May 30, 2018, 8:50pm UTC](https://forum.ansible.com/t/cygwin-on-managed-nodes/27665 "2018-05-30T20:50:50Z")

</div>

I recently inherited a number of Windows Server 2012 hosts that have Cygwin installed on them and a number of data-processing jobs setup to be run in that shell/environment. I would like to make it such that the people r…

---

## [Please help to reduce number of lines in tasks](https://forum.ansible.com/t/please-help-to-reduce-number-of-lines-in-tasks/27649)

<div class="topic-metadata">

**Author:** [@Balaji1](https://forum.ansible.com/u/Balaji1)\
**Replies:** 1\
**Last updated:** [May 30, 2018, 3:56pm UTC](https://forum.ansible.com/t/please-help-to-reduce-number-of-lines-in-tasks/27649 "2018-05-30T15:56:19Z")

</div>

Hello All, I think it could better. Basically, copy module is repeated based application and hostname the content changes Could you please help me to reduce the number of lines in below tasks.

---

## [AWX Build Error following Contributing Guide while getting make docker-compose](https://forum.ansible.com/t/awx-build-error-following-contributing-guide-while-getting-make-docker-compose/27661)

<div class="topic-metadata">

**Author:** [@Raj\_Upp](https://forum.ansible.com/u/Raj_Upp)\
**Replies:** 1\
**Last updated:** [May 30, 2018, 3:28pm UTC](https://forum.ansible.com/t/awx-build-error-following-contributing-guide-while-getting-make-docker-compose/27661 "2018-05-30T15:28:20Z")

</div>

Team, I am getting the following error when trying to build the awx based on the contribution doc steps: Steps followed: git clone -b devel https://github.com/ansible/awx.git cp awx/settings/local\_settings.py.doc…

---

## [upgrade from AWX 1.0.5.24 to next release ...still remain awx in upgrading](https://forum.ansible.com/t/upgrade-from-awx-1-0-5-24-to-next-release-still-remain-awx-in-upgrading/27451)

<div class="topic-metadata">

**Author:** [@cava\_cavamagie](https://forum.ansible.com/u/cava_cavamagie)\
**Replies:** 5\
**Last updated:** [May 30, 2018, 12:12pm UTC](https://forum.ansible.com/t/upgrade-from-awx-1-0-5-24-to-next-release-still-remain-awx-in-upgrading/27451 "2018-05-30T12:12:15Z")

</div>

upgrade from AWX 1.0.5.24 fail the page still show "awx is upgrading" tried with docker-compose pull && docker-compose up --force-recreate

---

## [Question on 'networks' parameter for VMWare cloud module](https://forum.ansible.com/t/question-on-networks-parameter-for-vmware-cloud-module/27338)

<div class="topic-metadata">

**Author:** [@EspressoBeanies](https://forum.ansible.com/u/EspressoBeanies)\
**Replies:** 4\
**Last updated:** [May 30, 2018, 9:28am UTC](https://forum.ansible.com/t/question-on-networks-parameter-for-vmware-cloud-module/27338 "2018-05-30T09:28:09Z")

</div>

I have a question about the ‘networks’ parameter for the VMWare cloud module. How do the options in this particular parameter get passed to the operating system during the initial deployment or setup process? With the vi…

---

## [Ansible Tower Installation Failing](https://forum.ansible.com/t/ansible-tower-installation-failing/27663)

<div class="topic-metadata">

**Author:** [@Gowtham\_Nakulan](https://forum.ansible.com/u/Gowtham_Nakulan)\
**Replies:** 0\
**Last updated:** [May 30, 2018, 8:52am UTC](https://forum.ansible.com/t/ansible-tower-installation-failing/27663 "2018-05-30T08:52:49Z")

</div>

Ansible tower installation is failing with the below error message. failed: \[localhost\] (item={u’id’: u’0x6B73A36E6026DFCA’, u’keyserver’: u’hkps.pool.sks-keyservers.net’}) =\> {“changed”: false, “cmd”: “/usr/bin/apt-key…

---

## [Troubles using Ansible with not standard PowerBroker configuration](https://forum.ansible.com/t/troubles-using-ansible-with-not-standard-powerbroker-configuration/27662)

<div class="topic-metadata">

**Author:** [@maciej.przezdziecki8](https://forum.ansible.com/u/maciej.przezdziecki8)\
**Replies:** 0\
**Last updated:** [May 30, 2018, 7:38am UTC](https://forum.ansible.com/t/troubles-using-ansible-with-not-standard-powerbroker-configuration/27662 "2018-05-30T07:38:39Z")

</div>

Hello, I’ve read about using Powerbroker by ansible to elevate privileges however I realised that its designed to connect into target host via SSH then elevate privileges by pbrun command unfortunatelly I have different…

---

## [Locked/Unlocked states in user module](https://forum.ansible.com/t/locked-unlocked-states-in-user-module/12415)

<div class="topic-metadata">

**Author:** [@Romeo\_Theriault](https://forum.ansible.com/u/Romeo_Theriault)\
**Replies:** 9\
**Last updated:** [May 30, 2018, 7:04am UTC](https://forum.ansible.com/t/locked-unlocked-states-in-user-module/12415 "2018-05-30T07:04:35Z")

</div>

Would a patch that adds two new states, locked and unlocked, be accepted into the user module? My use case is this: I have a lot of machines with lots of different users that have access to different machines. (i.e. It’…

---

## [Could not able to run Multiple Plays.](https://forum.ansible.com/t/could-not-able-to-run-multiple-plays/27660)

<div class="topic-metadata">

**Author:** [@Gowtham\_Nakulan](https://forum.ansible.com/u/Gowtham_Nakulan)\
**Replies:** 2\
**Last updated:** [May 30, 2018, 6:08am UTC](https://forum.ansible.com/t/could-not-able-to-run-multiple-plays/27660 "2018-05-30T06:08:55Z")

</div>

Hi Team, I am able to execute a single play in the play book. But i am not able to execute the second play in the playbook. Getting the Below error:- ERROR! no action detected in task. This often indicates a misspell…

---

## [find module not matching something that is present](https://forum.ansible.com/t/find-module-not-matching-something-that-is-present/27658)

<div class="topic-metadata">

**Author:** [@jean-yves](https://forum.ansible.com/u/jean-yves)\
**Replies:** 0\
**Last updated:** [May 29, 2018, 9:35pm UTC](https://forum.ansible.com/t/find-module-not-matching-something-that-is-present/27658 "2018-05-29T21:35:14Z")

</div>

It works at it should You probably want to put patterns="^CentOS.\*\\.repo" with a point to represent any character... (not tested) Your regex match a repetition of S Be careful that these files will came back when upg…

---

## [Dynamic inventory script from Git project](https://forum.ansible.com/t/dynamic-inventory-script-from-git-project/27646)

<div class="topic-metadata">

**Author:** [@Piotr\_Wojciechowski](https://forum.ansible.com/u/Piotr_Wojciechowski)\
**Replies:** 5\
**Last updated:** [May 29, 2018, 7:57pm UTC](https://forum.ansible.com/t/dynamic-inventory-script-from-git-project/27646 "2018-05-29T19:57:15Z")

</div>

Hi everyone, Correct me if I’m wrong - it is not possible to use dynamic inventory script directly from the project? If I want to use inventory from the project, which is pulled from Git, this has to be the static inven…

---

## [windows host not reachable](https://forum.ansible.com/t/windows-host-not-reachable/27624)

<div class="topic-metadata">

**Author:** [@doppalapudi\_saikumar](https://forum.ansible.com/u/doppalapudi_saikumar)\
**Replies:** 6\
**Last updated:** [May 29, 2018, 6:12pm UTC](https://forum.ansible.com/t/windows-host-not-reachable/27624 "2018-05-29T18:12:16Z")

</div>

Hi, I have installed ansible tower on rhel. I could ping my windows host from that server. But when i configured a job template it has error of connection timeout. Error message: “msg”: “plaintext: HTTPConnectionPool(…

---

## [Having difficulty getting LDAP authentication to work](https://forum.ansible.com/t/having-difficulty-getting-ldap-authentication-to-work/27654)

<div class="topic-metadata">

**Author:** [@Dennis](https://forum.ansible.com/u/Dennis)\
**Replies:** 2\
**Last updated:** [May 29, 2018, 6:04pm UTC](https://forum.ansible.com/t/having-difficulty-getting-ldap-authentication-to-work/27654 "2018-05-29T18:04:22Z")

</div>

I’m new to Ansible and looking for some help setting up LDAP authentication for Ansible Tower. I am using Ansible AWX - is it okay to ask support questions here? If so: I’ve not been able to sign into Ansible Tower AWX …

---

## [with\_items + with\_sequence](https://forum.ansible.com/t/with-items-with-sequence/27655)

<div class="topic-metadata">

**Author:** [@David\_Villasmil](https://forum.ansible.com/u/David_Villasmil)\
**Replies:** 2\
**Last updated:** [May 29, 2018, 4:52pm UTC](https://forum.ansible.com/t/with-items-with-sequence/27655 "2018-05-29T16:52:24Z")

</div>

Hello guys, I need to do something like: \` name: test debug: msg: “{{ item.0 }} → {{ item.1 }}” with\_together: “{{ ips }}” with\_sequence: start={{ cluster\_start }} end={{ cluster\_end }} format=%02x \` Is there a …

---

## [Is there any way in ansible to check code coverage of playbooks?](https://forum.ansible.com/t/is-there-any-way-in-ansible-to-check-code-coverage-of-playbooks/27656)

<div class="topic-metadata">

**Author:** [@Ankur\_Gupta](https://forum.ansible.com/u/Ankur_Gupta)\
**Replies:** 0\
**Last updated:** [May 29, 2018, 4:40pm UTC](https://forum.ansible.com/t/is-there-any-way-in-ansible-to-check-code-coverage-of-playbooks/27656 "2018-05-29T16:40:55Z")

</div>

Hello All, Is there any way in ansible to check code coverage of playbooks?

---

## [AWX failing to pick up inventory Variables](https://forum.ansible.com/t/awx-failing-to-pick-up-inventory-variables/27481)

<div class="topic-metadata">

**Author:** [@anthony.cleaves](https://forum.ansible.com/u/anthony.cleaves)\
**Replies:** 3\
**Last updated:** [May 29, 2018, 3:20pm UTC](https://forum.ansible.com/t/awx-failing-to-pick-up-inventory-variables/27481 "2018-05-29T15:20:51Z")

</div>

Hello, I am seeing an issue where inventory variables are not being picked up. Below is my tree but notice the “all” file has also been pasted into the inventory section inside AWX as group\_vars in my tree are not picked…

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

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