# Latest

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

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

**Page:** 569

---

## [Unable to execute command using command module: path not found](https://forum.ansible.com/t/unable-to-execute-command-using-command-module-path-not-found/27170)

<div class="topic-metadata">

**Author:** [@sreenivas\_narayan](https://forum.ansible.com/u/sreenivas_narayan)\
**Replies:** 0\
**Last updated:** [April 2, 2018, 3:57pm UTC](https://forum.ansible.com/t/unable-to-execute-command-using-command-module-path-not-found/27170 "2018-04-02T15:57:59Z")

</div>

I am trying to execute a playbook from AWX. The playbook is actually executing a ruby script and awscli command. For ruby it is showing gem not found error even though its working if executing directoy in docker containe…

---

## [.lock files in my "/var/lib/awx" directory](https://forum.ansible.com/t/lock-files-in-my-var-lib-awx-directory/27162)

<div class="topic-metadata">

**Author:** [@Bapi](https://forum.ansible.com/u/Bapi)\
**Replies:** 1\
**Last updated:** [April 2, 2018, 11:24am UTC](https://forum.ansible.com/t/lock-files-in-my-var-lib-awx-directory/27162 "2018-04-02T11:24:07Z")

</div>

Hello, may i know why i have files ending with .lock in my /var/lib/awx directory? for ex–ansible-project\_name.lock Thanks

---

## [Ansible ad hoc =\> stop after first host failed?](https://forum.ansible.com/t/ansible-ad-hoc-stop-after-first-host-failed/27169)

<div class="topic-metadata">

**Author:** [@Cappu](https://forum.ansible.com/u/Cappu)\
**Replies:** 0\
**Last updated:** [April 2, 2018, 10:01am UTC](https://forum.ansible.com/t/ansible-ad-hoc-stop-after-first-host-failed/27169 "2018-04-02T10:01:31Z")

</div>

e.g.: ansible my\_host\_group -m shell -a “systemctl restart my\_service” --fork 1 is it possible to stop when the first host failed?

---

## [HTTP connection refused errors](https://forum.ansible.com/t/http-connection-refused-errors/27165)

<div class="topic-metadata">

**Author:** [@Pranav\_Baitule](https://forum.ansible.com/u/Pranav_Baitule)\
**Replies:** 2\
**Last updated:** [April 2, 2018, 3:06am UTC](https://forum.ansible.com/t/http-connection-refused-errors/27165 "2018-04-02T03:06:36Z")

</div>

I am running AWX using Docker on a Cent OS 7 host. I have a playbook that uses the script module to run a python script on the localhost to make HTTP GET requests using the AWX REST API. But the awx\_task container cann…

---

## [RPM specs for ansible-awx](https://forum.ansible.com/t/rpm-specs-for-ansible-awx/25558)

<div class="topic-metadata">

**Author:** [@Matvey\_Kruglov](https://forum.ansible.com/u/Matvey_Kruglov)\
**Replies:** 5\
**Last updated:** [April 1, 2018, 3:45pm UTC](https://forum.ansible.com/t/rpm-specs-for-ansible-awx/25558 "2018-04-01T15:45:17Z")

</div>

Hello! As I can see, there is some interest about RPM packages for AWX project. I am interested in it too, so here some specs for building all-in-one RPM: https://github.com/subuk/awx-rpm I understand that it will req…

---

## [couldn't install 'nginx' on node machines using ansible](https://forum.ansible.com/t/couldnt-install-nginx-on-node-machines-using-ansible/27163)

<div class="topic-metadata">

**Author:** [@Tharak](https://forum.ansible.com/u/Tharak)\
**Replies:** 1\
**Last updated:** [March 31, 2018, 6:14pm UTC](https://forum.ansible.com/t/couldnt-install-nginx-on-node-machines-using-ansible/27163 "2018-03-31T18:14:58Z")

</div>

nginx.yml file

---

## [Looping through list/array values](https://forum.ansible.com/t/looping-through-list-array-values/27151)

<div class="topic-metadata">

**Author:** [@gtreynolds](https://forum.ansible.com/u/gtreynolds)\
**Replies:** 3\
**Last updated:** [March 31, 2018, 5:41am UTC](https://forum.ansible.com/t/looping-through-list-array-values/27151 "2018-03-31T05:41:07Z")

</div>

Hello Everyone, I’m new to Ansible/yaml and have been trying to develop some basic playbooks to assist with some simple deployment/verification tasks. I have a simple playbook/play that is using the uri module to make a…

---

## [Ansible Tower Playbook dropdown in jobtemplate](https://forum.ansible.com/t/ansible-tower-playbook-dropdown-in-jobtemplate/27140)

<div class="topic-metadata">

**Author:** [@Bapi](https://forum.ansible.com/u/Bapi)\
**Replies:** 2\
**Last updated:** [March 31, 2018, 1:05am UTC](https://forum.ansible.com/t/ansible-tower-playbook-dropdown-in-jobtemplate/27140 "2018-03-31T01:05:33Z")

</div>

Hello, I am using Ansible Tower3. Is it mandatory to have all my playbooks under project directory? As while creating job template, i am only able to see those playbooks which are available on base project directory un…

---

## [How to properly iterate over an array and set\_fact when the array can be variable length?](https://forum.ansible.com/t/how-to-properly-iterate-over-an-array-and-set-fact-when-the-array-can-be-variable-length/27155)

<div class="topic-metadata">

**Author:** [@Dayton\_Jones](https://forum.ansible.com/u/Dayton_Jones)\
**Replies:** 3\
**Last updated:** [March 30, 2018, 8:05pm UTC](https://forum.ansible.com/t/how-to-properly-iterate-over-an-array-and-set-fact-when-the-array-can-be-variable-length/27155 "2018-03-30T20:05:21Z")

</div>

I’m trying to use the efs module to create EFS volumes dynamically in AWS/EC2 by getting the list of subnets/security groups for a VPC. My problem is some VPCs have 2 subnets, some have 3, etc - so the tasks below fail. …

---

## [Depreciated \`ask\_sudo\_pass\` works while new-hotness \`ask\_become\_pass\` fails](https://forum.ansible.com/t/depreciated-ask-sudo-pass-works-while-new-hotness-ask-become-pass-fails/27159)

<div class="topic-metadata">

**Author:** [@Matthew\_Wyant](https://forum.ansible.com/u/Matthew_Wyant)\
**Replies:** 2\
**Last updated:** [March 30, 2018, 4:14pm UTC](https://forum.ansible.com/t/depreciated-ask-sudo-pass-works-while-new-hotness-ask-become-pass-fails/27159 "2018-03-30T16:14:15Z")

</div>

I’m in the middle of migrating our Ansible projects to 2.5. Specifically, moving to the new network\_cli connection module. So far, everything is working well, except using the become framework. The short of it is, in an…

---

## [How to properyly set up target groups for an application load balancer (ALB)?](https://forum.ansible.com/t/how-to-properyly-set-up-target-groups-for-an-application-load-balancer-alb/27143)

<div class="topic-metadata">

**Author:** [@Tim\_Stewart](https://forum.ansible.com/u/Tim_Stewart)\
**Replies:** 3\
**Last updated:** [March 30, 2018, 3:07pm UTC](https://forum.ansible.com/t/how-to-properyly-set-up-target-groups-for-an-application-load-balancer-alb/27143 "2018-03-30T15:07:35Z")

</div>

Hi, Background: We are developing a system using a Microservices approach and deploying it with Ansible 2.5.0. I’m writing a site.yml playbook that will provision two Ubuntu 16.04 servers for each of eight different m…

---

## [How to use ansible-vault encrypt\_string](https://forum.ansible.com/t/how-to-use-ansible-vault-encrypt-string/27148)

<div class="topic-metadata">

**Author:** [@eric\_landers](https://forum.ansible.com/u/eric_landers)\
**Replies:** 1\
**Last updated:** [March 30, 2018, 9:03am UTC](https://forum.ansible.com/t/how-to-use-ansible-vault-encrypt-string/27148 "2018-03-30T09:03:11Z")

</div>

I’m trying to encrypt a password to use in a playbook but I don’t understand what the parameters mean when running the encrypt string command. Let’s say my password is Password!123 Do I run the command like this? \[roo…

---

## [junos\_command](https://forum.ansible.com/t/junos-command/27154)

<div class="topic-metadata">

**Author:** [@Gary\_Rubel](https://forum.ansible.com/u/Gary_Rubel)\
**Replies:** 1\
**Last updated:** [March 30, 2018, 6:46am UTC](https://forum.ansible.com/t/junos-command/27154 "2018-03-30T06:46:14Z")

</div>

Hello, I’m trying to execute show commands on a Juniper using the playbook below. I would like to use a separate file with the list of show commands but can’t find the correct way to do it. Any help would be appreciated…

---

## [ImportError: No module named ansible.constants](https://forum.ansible.com/t/importerror-no-module-named-ansible-constants/27158)

<div class="topic-metadata">

**Author:** [@John\_Wick1](https://forum.ansible.com/u/John_Wick1)\
**Replies:** 2\
**Last updated:** [March 29, 2018, 11:11pm UTC](https://forum.ansible.com/t/importerror-no-module-named-ansible-constants/27158 "2018-03-29T23:11:27Z")

</div>

Un-tar ansible from http://releases.ansible.com/ansible/ when typeing ansible -version from terminal got the below error line 40, in import ansible.constants as C ImportError: No module named ansible.constants

---

## [Error 'Task' object has no attribute 'async\_val' after ansible upgrade](https://forum.ansible.com/t/error-task-object-has-no-attribute-async-val-after-ansible-upgrade/27157)

<div class="topic-metadata">

**Author:** [@eshan\_TANDON](https://forum.ansible.com/u/eshan_TANDON)\
**Replies:** 1\
**Last updated:** [March 29, 2018, 9:53pm UTC](https://forum.ansible.com/t/error-task-object-has-no-attribute-async-val-after-ansible-upgrade/27157 "2018-03-29T21:53:49Z")

</div>

Hi Everyone, I am starting to see the following error since the ansible upgrade to 2.5: The full traceback is: Traceback (most recent call last): File “/usr/local/lib/python2.7/site-packages/ansible/executor/task\_exe…

---

## [Status of GCE modules](https://forum.ansible.com/t/status-of-gce-modules/27153)

<div class="topic-metadata">

**Author:** [@Nick\_Kakouros](https://forum.ansible.com/u/Nick_Kakouros)\
**Replies:** 3\
**Last updated:** [March 29, 2018, 9:50pm UTC](https://forum.ansible.com/t/status-of-gce-modules/27153 "2018-03-29T21:50:07Z")

</div>

In this PR, there is talk of magic modules being used to generate ansible modules for GCE. Is this a general decision that means no more contributed modules will be accepted if they are already generated by magic modules…

---

## [Does any one having Ansible playbook for Docker private registry for ubuntu](https://forum.ansible.com/t/does-any-one-having-ansible-playbook-for-docker-private-registry-for-ubuntu/27156)

<div class="topic-metadata">

**Author:** [@workarea448](https://forum.ansible.com/u/workarea448)\
**Replies:** 0\
**Last updated:** [March 29, 2018, 8:23pm UTC](https://forum.ansible.com/t/does-any-one-having-ansible-playbook-for-docker-private-registry-for-ubuntu/27156 "2018-03-29T20:23:54Z")

</div>

Does any one having Ansible playbook for Docker private registry for ubuntu for aws instance or onpremise instance purpose

---

## [Ansible Tower](https://forum.ansible.com/t/ansible-tower/27139)

<div class="topic-metadata">

**Author:** [@Bapi](https://forum.ansible.com/u/Bapi)\
**Replies:** 1\
**Last updated:** [March 29, 2018, 8:20pm UTC](https://forum.ansible.com/t/ansible-tower/27139 "2018-03-29T20:20:13Z")

</div>

Hello, I am using Ansible Tower3. Is it mandatory to have all my playbooks under project directory? As while creating job template, i am only able to see those playbooks which are available on base project directory un…

---

## [Error connecting: load\_config() got an unexpected keyword argument 'config\_dict'](https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27117)

<div class="topic-metadata">

**Author:** [@Satyapal\_Singh](https://forum.ansible.com/u/Satyapal_Singh)\
**Replies:** 3\
**Last updated:** [March 29, 2018, 7:04pm UTC](https://forum.ansible.com/t/error-connecting-load-config-got-an-unexpected-keyword-argument-config-dict/27117 "2018-03-29T19:04:48Z")

</div>

Hi, I am trying to install AWX using local\_docker and getting below exception : fatal: \[localhost\]: FAILED! =\> {“changed”: false, “msg”: “Error connecting: load\_config() got an unexpected keyword argument ‘config\_dict’…

---

## [Help about list of dicts mapping from 2 dicts](https://forum.ansible.com/t/help-about-list-of-dicts-mapping-from-2-dicts/27152)

<div class="topic-metadata">

**Author:** [@Chiku](https://forum.ansible.com/u/Chiku)\
**Replies:** 0\
**Last updated:** [March 29, 2018, 6:51pm UTC](https://forum.ansible.com/t/help-about-list-of-dicts-mapping-from-2-dicts/27152 "2018-03-29T18:51:23Z")

</div>

Hello, Can someone help about this problem? I have this variables.

---

## [Seeking feedback on a PR for a new feature](https://forum.ansible.com/t/seeking-feedback-on-a-pr-for-a-new-feature/27150)

<div class="topic-metadata">

**Author:** [@Andrew\_Gaffney](https://forum.ansible.com/u/Andrew_Gaffney)\
**Replies:** 0\
**Last updated:** [March 29, 2018, 4:48pm UTC](https://forum.ansible.com/t/seeking-feedback-on-a-pr-for-a-new-feature/27150 "2018-03-29T16:48:20Z")

</div>

I’ve put together a pull request \[1\] that implements a proposal \[2\] for setting defaults for module parameters in a playbook. I’m seeking feedback from the community on any use cases that may not be covered by my PR befo…

---

## [Syntax description of a task](https://forum.ansible.com/t/syntax-description-of-a-task/27149)

<div class="topic-metadata">

**Author:** [@cmoullia](https://forum.ansible.com/u/cmoullia)\
**Replies:** 1\
**Last updated:** [March 29, 2018, 4:14pm UTC](https://forum.ansible.com/t/syntax-description-of-a-task/27149 "2018-03-29T16:14:10Z")

</div>

Hi, Is it possible to describe tasks in one line as we can for a role ? Role is defined in one line → \`

---

## [Does Ansible has capability to monitor and self heal services?](https://forum.ansible.com/t/does-ansible-has-capability-to-monitor-and-self-heal-services/27146)

<div class="topic-metadata">

**Author:** [@Yogesh\_Aggarwal](https://forum.ansible.com/u/Yogesh_Aggarwal)\
**Replies:** 0\
**Last updated:** [March 29, 2018, 1:34pm UTC](https://forum.ansible.com/t/does-ansible-has-capability-to-monitor-and-self-heal-services/27146 "2018-03-29T13:34:22Z")

</div>

Does Ansible has capability to monitor and self heal system or application services without using dynatrace or any other third party tool.

---

## [Ansible Tower install - unable to reach network](https://forum.ansible.com/t/ansible-tower-install-unable-to-reach-network/27145)

<div class="topic-metadata">

**Author:** [@Camille\_Beaudou](https://forum.ansible.com/u/Camille_Beaudou)\
**Replies:** 0\
**Last updated:** [March 29, 2018, 12:31pm UTC](https://forum.ansible.com/t/ansible-tower-install-unable-to-reach-network/27145 "2018-03-29T12:31:35Z")

</div>

Hi all, Sorry in advance if this issue have already been solved (i’ve been looking for answers for few days already) or if i am not asking this in the right place. I’m trying to install Ansible Tower on a Ubuntu 16.04 …

---

## [unable to connect ssh using vsts deployment to ansible server to run a playbook](https://forum.ansible.com/t/unable-to-connect-ssh-using-vsts-deployment-to-ansible-server-to-run-a-playbook/27142)

<div class="topic-metadata">

**Author:** [@workarea448](https://forum.ansible.com/u/workarea448)\
**Replies:** 0\
**Last updated:** [March 28, 2018, 9:50pm UTC](https://forum.ansible.com/t/unable-to-connect-ssh-using-vsts-deployment-to-ansible-server-to-run-a-playbook/27142 "2018-03-28T21:50:09Z")

</div>

Trying to setup SSH connection to @10.130.2.185:22 2018-03-28T21:18:07.7645624Z 2018-03-28T21:18:07.7659138Z PLAY \[all\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* 2018-03-28T21:18:07.7665793…

---

## [How to call a yml from another yml in AWX](https://forum.ansible.com/t/how-to-call-a-yml-from-another-yml-in-awx/27141)

<div class="topic-metadata">

**Author:** [@Mahendra\_Raghuwanshi](https://forum.ansible.com/u/Mahendra_Raghuwanshi)\
**Replies:** 1\
**Last updated:** [March 28, 2018, 2:37pm UTC](https://forum.ansible.com/t/how-to-call-a-yml-from-another-yml-in-awx/27141 "2018-03-28T14:37:54Z")

</div>

Hello I am new in ansible AWX world. I want to call a yml from another yml file in AWX. Both of these yml present on github and i can also able to see them on drop-down list in awx templates. Thanks in advance. With …

---

## [Cannot enable WinRM remoting on Windows 10 Home Edition](https://forum.ansible.com/t/cannot-enable-winrm-remoting-on-windows-10-home-edition/27130)

<div class="topic-metadata">

**Author:** [@Dinesh\_Vashisht](https://forum.ansible.com/u/Dinesh_Vashisht)\
**Replies:** 4\
**Last updated:** [March 28, 2018, 1:53pm UTC](https://forum.ansible.com/t/cannot-enable-winrm-remoting-on-windows-10-home-edition/27130 "2018-03-28T13:53:17Z")

</div>

While trying to enable PowerShell removing on Windows 10 Home Edition following error displayed: 192.168.169.76 | UNREACHABLE! =\> { “changed”: false, “msg”: “ssl: the specified credentials were rejected by the server”…

---

## [Fall back methods for AWX](https://forum.ansible.com/t/fall-back-methods-for-awx/27137)

<div class="topic-metadata">

**Author:** [@Mrinal\_Pande](https://forum.ansible.com/u/Mrinal_Pande)\
**Replies:** 0\
**Last updated:** [March 28, 2018, 3:26am UTC](https://forum.ansible.com/t/fall-back-methods-for-awx/27137 "2018-03-28T03:26:30Z")

</div>

Hi all, I was doing a poc for the tower using awx, I did some research and was looking for fallback methods for the same. Would love to know how the community handles fall backs. Which what I researched, what I am plan…

---

## [Docker Image not able to start postgres](https://forum.ansible.com/t/docker-image-not-able-to-start-postgres/27124)

<div class="topic-metadata">

**Author:** [@Mrinal\_Pande](https://forum.ansible.com/u/Mrinal_Pande)\
**Replies:** 2\
**Last updated:** [March 28, 2018, 3:20am UTC](https://forum.ansible.com/t/docker-image-not-able-to-start-postgres/27124 "2018-03-28T03:20:25Z")

</div>

Hello everyone, I installed the awx for poc was able to get it up and running. I removed it because I wanted to test something on the machine. Now I am unable to install it again on the machine. Below is the error. The…

---

## [How to loop var number of times with Ansible 2.5](https://forum.ansible.com/t/how-to-loop-var-number-of-times-with-ansible-2-5/27135)

<div class="topic-metadata">

**Author:** [@ddrake2012](https://forum.ansible.com/u/ddrake2012)\
**Replies:** 1\
**Last updated:** [March 27, 2018, 8:00pm UTC](https://forum.ansible.com/t/how-to-loop-var-number-of-times-with-ansible-2-5/27135 "2018-03-27T20:00:34Z")

</div>

Hi, Just looking over the new looping documentation for Ansible 2.5 and I’m not sure how to loop a var number of times. It seems that everything now needs to be a list that is fed into loop. We used to be able to run “…

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

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