# Ansible Project

**URL:** https://forum.ansible.com/c/archives/ansible-project/30.md?page=270

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

**Page:** 271

---

## [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…

---

## [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…

---

## [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.

---

## [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…

---

## [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”…

---

## [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 “…

---

## [What are the best practices for adding and removing users/groups to /etc/security/pam\_winbind.conf?](https://forum.ansible.com/t/what-are-the-best-practices-for-adding-and-removing-users-groups-to-etc-security-pam-winbind-conf/27134)

<div class="topic-metadata">

**Author:** [@Tchia04](https://forum.ansible.com/u/Tchia04)\
**Replies:** 0\
**Last updated:** [March 27, 2018, 6:15pm UTC](https://forum.ansible.com/t/what-are-the-best-practices-for-adding-and-removing-users-groups-to-etc-security-pam-winbind-conf/27134 "2018-03-27T18:15:13Z")

</div>

in particular I am looking to manage the require\_membership\_of field in /etc/security/pam\_winbind.conf through ansible. make successful authentication dependend on membership of one SID (can also take a name) require\_me…

---

## [Issues with Network Automation](https://forum.ansible.com/t/issues-with-network-automation/27131)

<div class="topic-metadata">

**Author:** [@Jon3](https://forum.ansible.com/u/Jon3)\
**Replies:** 1\
**Last updated:** [March 27, 2018, 4:20pm UTC](https://forum.ansible.com/t/issues-with-network-automation/27131 "2018-03-27T16:20:26Z")

</div>

Hi all, I am having issues with using Ansible on the HP Aruba 3810. This is due to the Aruba requesting a “Press any key to continue” action before it gets onto the CLI shell. Is there any way to tell Ansible to press…

---

## [BigIP timing out while running playbook](https://forum.ansible.com/t/bigip-timing-out-while-running-playbook/27126)

<div class="topic-metadata">

**Author:** [@eric\_landers](https://forum.ansible.com/u/eric_landers)\
**Replies:** 2\
**Last updated:** [March 27, 2018, 3:16pm UTC](https://forum.ansible.com/t/bigip-timing-out-while-running-playbook/27126 "2018-03-27T15:16:57Z")

</div>

Answer your Question 0 Rate this Quest

---

## [ansiible: skip when not type function](https://forum.ansible.com/t/ansiible-skip-when-not-type-function/27129)

<div class="topic-metadata">

**Author:** [@z\_z](https://forum.ansible.com/u/z_z)\
**Replies:** 1\
**Last updated:** [March 27, 2018, 3:06pm UTC](https://forum.ansible.com/t/ansiible-skip-when-not-type-function/27129 "2018-03-27T15:06:26Z")

</div>

\- name: Httpd running ? shell: ps axo args | grep httpd | grep -v grep register: apache failed\_when: false ignore\_errors: yes \<\*\*---- if this removed I get red error on non httpd servers\*\* - name: Copy script …

---

## [command using pipes does not work when using ansible without a playbook](https://forum.ansible.com/t/command-using-pipes-does-not-work-when-using-ansible-without-a-playbook/27128)

<div class="topic-metadata">

**Author:** [@Abey\_Thomas](https://forum.ansible.com/u/Abey_Thomas)\
**Replies:** 2\
**Last updated:** [March 27, 2018, 2:42pm UTC](https://forum.ansible.com/t/command-using-pipes-does-not-work-when-using-ansible-without-a-playbook/27128 "2018-03-27T14:42:55Z")

</div>

Hi, I would like to use ansible to execute commands on a host. This works \` ansible -i ./ec2.py 192.168.108.53 -s -u ansible -a “rpm -qa --last kernel” \` This does not work as expected the output of rpm is given as…

---

## [About using  docker.io/ansible/ansible:httptester](https://forum.ansible.com/t/about-using-docker-io-ansible-ansible-httptester/27127)

<div class="topic-metadata">

**Author:** [@Albert\_Shamsiyan](https://forum.ansible.com/u/Albert_Shamsiyan)\
**Replies:** 1\
**Last updated:** [March 27, 2018, 2:23pm UTC](https://forum.ansible.com/t/about-using-docker-io-ansible-ansible-httptester/27127 "2018-03-27T14:23:31Z")

</div>

Hi I’m trying to use docker.io/ansible/ansible:httptester. When /services.sh is executed, following errors are prompted: 2018/03/27 13:39:46 \[emerg\] 43#43: bind() to 0.0.0.0:80 failed (98: Address in use) nginx: \[eme…

---

## [Examples of diverse large and inventories](https://forum.ansible.com/t/examples-of-diverse-large-and-inventories/27016)

<div class="topic-metadata">

**Author:** [@Serge\_van\_Ginderacht](https://forum.ansible.com/u/Serge_van_Ginderacht)\
**Replies:** 4\
**Last updated:** [March 27, 2018, 2:01pm UTC](https://forum.ansible.com/t/examples-of-diverse-large-and-inventories/27016 "2018-03-27T14:01:40Z")

</div>

Seems I posted this initial message to the wrong group a week ago. I got a Spanish bounce message, which made me overlook that. In the mean time I got quite some feedback via Twitter https://twitter.com/svg/status/9725…

---

## [file ... with\_first\_found uses unexpected value](https://forum.ansible.com/t/file-with-first-found-uses-unexpected-value/27125)

<div class="topic-metadata">

**Author:** [@Werner\_Flamme](https://forum.ansible.com/u/Werner_Flamme)\
**Replies:** 3\
**Last updated:** [March 27, 2018, 12:28pm UTC](https://forum.ansible.com/t/file-with-first-found-uses-unexpected-value/27125 "2018-03-27T12:28:20Z")

</div>

Hi all, I have a piece of code that gives an unexpected error: --- snip --- - name: link the proper certificate issue directory file: src: '{{ item }}' dest: '/etc/mycert/current' state: link fo…

---

## [Command timeout adjustment in 2.5 with new network modules?](https://forum.ansible.com/t/command-timeout-adjustment-in-2-5-with-new-network-modules/27113)

<div class="topic-metadata">

**Author:** [@Scott\_Pettit](https://forum.ansible.com/u/Scott_Pettit)\
**Replies:** 1\
**Last updated:** [March 27, 2018, 12:05pm UTC](https://forum.ansible.com/t/command-timeout-adjustment-in-2-5-with-new-network-modules/27113 "2018-03-27T12:05:02Z")

</div>

Hello, I have a number of network tasks that take a long time to run, for example firmware update tasks. In Ansible 2.4 I extended the command\_timeout by using the timeout variable on an individual task basis per https:…

---

## [win\_shell failing since Ansible 2.5 (?)](https://forum.ansible.com/t/win-shell-failing-since-ansible-2-5/27115)

<div class="topic-metadata">

**Author:** [@Jeremie\_Levy](https://forum.ansible.com/u/Jeremie_Levy)\
**Replies:** 3\
**Last updated:** [March 27, 2018, 10:01am UTC](https://forum.ansible.com/t/win-shell-failing-since-ansible-2-5/27115 "2018-03-27T10:01:33Z")

</div>

My playbook is broken since i upgraded to v2.5 Here is the simplest example i have: The code from my playbook: \` name: Install Winzip Package win\_shell: ‘cmd /C C:\\Users\\ansible\\Downloads\\install\_winzip.cmd’ args: …

---

## [Dynamic Inventory and Openstack: how to cache ?](https://forum.ansible.com/t/dynamic-inventory-and-openstack-how-to-cache/22731)

<div class="topic-metadata">

**Author:** [@David\_Vandergucht](https://forum.ansible.com/u/David_Vandergucht)\
**Replies:** 3\
**Last updated:** [March 27, 2018, 9:15am UTC](https://forum.ansible.com/t/dynamic-inventory-and-openstack-how-to-cache/22731 "2018-03-27T09:15:48Z")

</div>

Hi ! I cannot find any example of cloud.yaml configuring openstack for dynamic inventory with caching. Right now, each run takes forever to start because it is repopulating from openstack every time. How should i do ? …

---

## [Cannot provision VM in Azure using Ansible](https://forum.ansible.com/t/cannot-provision-vm-in-azure-using-ansible/27123)

<div class="topic-metadata">

**Author:** [@cloudworld79](https://forum.ansible.com/u/cloudworld79)\
**Replies:** 0\
**Last updated:** [March 27, 2018, 6:44am UTC](https://forum.ansible.com/t/cannot-provision-vm-in-azure-using-ansible/27123 "2018-03-27T06:44:39Z")

</div>

Team, Trying to provision VM in Azure Environment using Ansible. However, getting error while running the command - $ sudo ansible-playbook azure\_create\_vm.yml PLAY \[Create Azure VM\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*…

---

## [Error in a installation of CKAN through Ansible in a Ubuntu 14.04 virtual machine.](https://forum.ansible.com/t/error-in-a-installation-of-ckan-through-ansible-in-a-ubuntu-14-04-virtual-machine/27119)

<div class="topic-metadata">

**Author:** [@Antonio\_Padez\_de\_Cas](https://forum.ansible.com/u/Antonio_Padez_de_Cas)\
**Replies:** 1\
**Last updated:** [March 26, 2018, 5:40pm UTC](https://forum.ansible.com/t/error-in-a-installation-of-ckan-through-ansible-in-a-ubuntu-14-04-virtual-machine/27119 "2018-03-26T17:40:09Z")

</div>

Hi, I’m trying to replicate an installation of CKAN through Ansible in a Ubuntu 14.04 virtual machine. But i have this error: \`

---

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

<div class="topic-metadata">

**Author:** [@Albert\_Shamsiyan](https://forum.ansible.com/u/Albert_Shamsiyan)\
**Replies:** 4\
**Last updated:** [March 26, 2018, 4:11pm UTC](https://forum.ansible.com/t/ansible-vs-ansible-tower/27075 "2018-03-26T16:11:05Z")

</div>

I’m confused. From what I’ve understood, There are Ansible and Ansible Tower. Ansible is for free while Ansible Tower costs. True \\ False? In case True, Where can I find comparison matrix ? \\ What is the difference …

---

## [Variable gets registered even if when clause is false](https://forum.ansible.com/t/variable-gets-registered-even-if-when-clause-is-false/27118)

<div class="topic-metadata">

**Author:** [@MKPhil](https://forum.ansible.com/u/MKPhil)\
**Replies:** 3\
**Last updated:** [March 26, 2018, 4:07pm UTC](https://forum.ansible.com/t/variable-gets-registered-even-if-when-clause-is-false/27118 "2018-03-26T16:07:56Z")

</div>

In a playbook, a Variable gets registered even if “when” clause is false…Is this a bug? Consider this playbook \`

---

## [Environment variables unavaiable](https://forum.ansible.com/t/environment-variables-unavaiable/27114)

<div class="topic-metadata">

**Author:** [@Martin\_Simovic](https://forum.ansible.com/u/Martin_Simovic)\
**Replies:** 5\
**Last updated:** [March 26, 2018, 2:40pm UTC](https://forum.ansible.com/t/environment-variables-unavaiable/27114 "2018-03-26T14:40:52Z")

</div>

Hi, I am observing following behaviour using ansible on set of Ubuntu-1604, SLES-12 and CentOS-7 hosts. Environment variables, normally avaiable for login shell (/bin/bash) are not avaiable via ansible “setup” or “shel…

---

## [expect module works but hangs](https://forum.ansible.com/t/expect-module-works-but-hangs/27116)

<div class="topic-metadata">

**Author:** [@DOkuwa](https://forum.ansible.com/u/DOkuwa)\
**Replies:** 0\
**Last updated:** [March 26, 2018, 1:57pm UTC](https://forum.ansible.com/t/expect-module-works-but-hangs/27116 "2018-03-26T13:57:01Z")

</div>

Other recipients: Hello, I have a playbook here which seems to do what it needs to do but hangs It actually copies the file using ftp but cannot find a way to exit out of the program — - name: backup of juniper using ex…

---

## [Ansible remote installation of SQL server 2016.](https://forum.ansible.com/t/ansible-remote-installation-of-sql-server-2016/27072)

<div class="topic-metadata">

**Author:** [@12177589](https://forum.ansible.com/u/12177589)\
**Replies:** 9\
**Last updated:** [March 26, 2018, 9:29am UTC](https://forum.ansible.com/t/ansible-remote-installation-of-sql-server-2016/27072 "2018-03-26T09:29:03Z")

</div>

hello everybodyDuring the installation of SQL server 2016, I encountered some problems: 1.In ansible, when deployed with ‘raw’, background hint: This SQL Server setup media does not support the language of the OS; When…

[Previous page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=269)

[Next page](https://forum.ansible.com/c/archives/ansible-project/30.md?page=271)
