# Latest

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

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

**Page:** 560

---

## [while trying to stop or start service i am seeing an error Interactive authentication required](https://forum.ansible.com/t/while-trying-to-stop-or-start-service-i-am-seeing-an-error-interactive-authentication-required/27432)

<div class="topic-metadata">

**Author:** [@sandeep\_kumar](https://forum.ansible.com/u/sandeep_kumar)\
**Replies:** 2\
**Last updated:** [May 3, 2018, 2:40pm UTC](https://forum.ansible.com/t/while-trying-to-stop-or-start-service-i-am-seeing-an-error-interactive-authentication-required/27432 "2018-05-03T14:40:25Z")

</div>

Hello All, I am new to ansible ,wrote a playbook to start service i am seeing the below error ,can anyone suggest me TASK \[stop service\] \*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\*\* fatal: \[172.31.91.173\]: F…

---

## [blank \[ERROR\]: when running ansible or ansible-playbook on ansible version 2.5.1](https://forum.ansible.com/t/blank-error-when-running-ansible-or-ansible-playbook-on-ansible-version-2-5-1/27435)

<div class="topic-metadata">

**Author:** [@Abey\_Thomas](https://forum.ansible.com/u/Abey_Thomas)\
**Replies:** 1\
**Last updated:** [May 3, 2018, 2:23pm UTC](https://forum.ansible.com/t/blank-error-when-running-ansible-or-ansible-playbook-on-ansible-version-2-5-1/27435 "2018-05-03T14:23:24Z")

</div>

Hi, I am using ansible version 2.5.1 on Centos 7. Whenever I try to use ansible command line or ansible-playbook with ec2.py on AWS I get a " \[ERROR\]:" after Using /etc/ansible/ansible.cfg as config file. The playbook r…

---

## [check if the release is already deployed and tomcat is running, if true then skip the roles](https://forum.ansible.com/t/check-if-the-release-is-already-deployed-and-tomcat-is-running-if-true-then-skip-the-roles/27438)

<div class="topic-metadata">

**Author:** [@Robert\_Chen](https://forum.ansible.com/u/Robert_Chen)\
**Replies:** 0\
**Last updated:** [May 3, 2018, 1:47pm UTC](https://forum.ansible.com/t/check-if-the-release-is-already-deployed-and-tomcat-is-running-if-true-then-skip-the-roles/27438 "2018-05-03T13:47:48Z")

</div>

say my the release is under /home/app/10.1.1222/… how to implement this in ansible playbook: check if the release is already deployed and tomcat is running, if true then skip the roles

---

## [About the new loop construct, giving feedback](https://forum.ansible.com/t/about-the-new-loop-construct-giving-feedback/27425)

<div class="topic-metadata">

**Author:** [@elavarde](https://forum.ansible.com/u/elavarde)\
**Replies:** 6\
**Last updated:** [May 3, 2018, 1:32pm UTC](https://forum.ansible.com/t/about-the-new-loop-construct-giving-feedback/27425 "2018-05-03T13:32:29Z")

</div>

Hi, in his blog entry \[1\], Dylan asked for feedback on the new loop feature. As much as I understand that having a syntax with changing keywords isn’t optimal, I dislike the new lookup-based syntax for two reasons: w…

---

## [Dynamically expand dictionary variables](https://forum.ansible.com/t/dynamically-expand-dictionary-variables/27434)

<div class="topic-metadata">

**Author:** [@K\_de\_Jong](https://forum.ansible.com/u/K_de_Jong)\
**Replies:** 1\
**Last updated:** [May 3, 2018, 10:29am UTC](https://forum.ansible.com/t/dynamically-expand-dictionary-variables/27434 "2018-05-03T10:29:55Z")

</div>

I’m trying to unify the way I install packages, I have the following vars/main.yml: \`

---

## [EC2/VPC Teardown with Ansible - How should I do it?](https://forum.ansible.com/t/ec2-vpc-teardown-with-ansible-how-should-i-do-it/27431)

<div class="topic-metadata">

**Author:** [@jgluck](https://forum.ansible.com/u/jgluck)\
**Replies:** 0\
**Last updated:** [May 2, 2018, 10:43pm UTC](https://forum.ansible.com/t/ec2-vpc-teardown-with-ansible-how-should-i-do-it/27431 "2018-05-02T22:43:12Z")

</div>

Hi Experts, This is my first time posting here. I’m just starting to learn ansible and I’ve noticed there are lots of tutorials on how to create ec2 instances/vpcs but not a lot of information on how to tear them down. …

---

## [Unnerving include\_role behaviour](https://forum.ansible.com/t/unnerving-include-role-behaviour/27228)

<div class="topic-metadata">

**Author:** [@Dave\_H](https://forum.ansible.com/u/Dave_H)\
**Replies:** 1\
**Last updated:** [May 2, 2018, 9:33pm UTC](https://forum.ansible.com/t/unnerving-include-role-behaviour/27228 "2018-05-02T21:33:59Z")

</div>

Hi, I’m trying to get some clarity on the expected behaviour of the following scenario. I’ve included the file contents of a demonstration set of roles below. My question is about the behaviour of the include vs import …

---

## [Ansible include tasks and get response.](https://forum.ansible.com/t/ansible-include-tasks-and-get-response/27421)

<div class="topic-metadata">

**Author:** [@Madushan\_Chathuranga](https://forum.ansible.com/u/Madushan_Chathuranga)\
**Replies:** 1\
**Last updated:** [May 2, 2018, 8:02pm UTC](https://forum.ansible.com/t/ansible-include-tasks-and-get-response/27421 "2018-05-02T20:02:11Z")

</div>

Hi, Is it possible to execute a another yaml file with in a yaml file (import or include) passing arguments and register its output? Or else return it’s output and assign to a variable Thanks.

---

## [Error while running playbook](https://forum.ansible.com/t/error-while-running-playbook/27427)

<div class="topic-metadata">

**Author:** [@bharambeas17394](https://forum.ansible.com/u/bharambeas17394)\
**Replies:** 1\
**Last updated:** [May 2, 2018, 6:57pm UTC](https://forum.ansible.com/t/error-while-running-playbook/27427 "2018-05-02T18:57:25Z")

</div>

ERROR! Syntax Error while loading YAML. could not find expected ‘:’ The error appears to have been in ‘/home/ansible/LAMP/site.yml’: line 9, column 3, but may be elsewhere in the file depending on the exact syntax pro…

---

## [Hosts behind ssh-proxy](https://forum.ansible.com/t/hosts-behind-ssh-proxy/27399)

<div class="topic-metadata">

**Author:** [@stefan73er](https://forum.ansible.com/u/stefan73er)\
**Replies:** 4\
**Last updated:** [May 2, 2018, 6:02pm UTC](https://forum.ansible.com/t/hosts-behind-ssh-proxy/27399 "2018-05-02T18:02:24Z")

</div>

Hi, i am new to using ansible but i am excited about it. Ansible is so powerful but one thing would make implementation easier for me. I have some servers I need to connect to via an ssh-proxy. So far I have not mana…

---

## [AWX ldap logs verbosity.](https://forum.ansible.com/t/awx-ldap-logs-verbosity/27327)

<div class="topic-metadata">

**Author:** [@MarcG](https://forum.ansible.com/u/MarcG)\
**Replies:** 4\
**Last updated:** [May 2, 2018, 4:11pm UTC](https://forum.ansible.com/t/awx-ldap-logs-verbosity/27327 "2018-05-02T16:11:56Z")

</div>

Hi I am trying to troubleshoot an LDAP integration issue and I need a way to get more verbose logs. I have put the following line in /etc/tower/settings.py LOGGING\[‘handlers’\]\[‘tower\_warnings’\]\[‘level’\] = ‘DEBUG’ I the…

---

## [Ansible regex filter along with\_items](https://forum.ansible.com/t/ansible-regex-filter-along-with-items/27430)

<div class="topic-metadata">

**Author:** [@Madushan\_Chathuranga](https://forum.ansible.com/u/Madushan_Chathuranga)\
**Replies:** 0\
**Last updated:** [May 2, 2018, 3:05pm UTC](https://forum.ansible.com/t/ansible-regex-filter-along-with-items/27430 "2018-05-02T15:05:40Z")

</div>

Hi, I’m kinda new to ansible seeking helop with below scenario. what I’m trying to do is iterate over the array ‘access\_key\_ids’ and run regex\_search filter. for the regex\_search filter argument is ‘item’ which is the v…

---

## [Ansible windows](https://forum.ansible.com/t/ansible-windows/27428)

<div class="topic-metadata">

**Author:** [@belajzus](https://forum.ansible.com/u/belajzus)\
**Replies:** 2\
**Last updated:** [May 2, 2018, 2:55pm UTC](https://forum.ansible.com/t/ansible-windows/27428 "2018-05-02T14:55:42Z")

</div>

Hi, I’m trying to filter files newer than some other file. So, I list that file, get his creationtime, after that I calculate the difference between the current time and the creation time of that file. That is the diff…

---

## [Makemigrations from 1.0.5 to 1.0.6](https://forum.ansible.com/t/makemigrations-from-1-0-5-to-1-0-6/27400)

<div class="topic-metadata">

**Author:** [@Martin\_Juhl](https://forum.ansible.com/u/Martin_Juhl)\
**Replies:** 6\
**Last updated:** [May 2, 2018, 2:50pm UTC](https://forum.ansible.com/t/makemigrations-from-1-0-5-to-1-0-6/27400 "2018-05-02T14:50:05Z")

</div>

Hi guys When trying to upgrade from 1.0.5 to 1.0.6… I get the following error: \[root@akiva migrations\]# sudo -u awx /opt/awx/bin/awx-manage migrate Traceback (most recent call last): File “/opt/awx/bin/awx-manage”, l…

---

## [Ansible - Passing environment variables through files](https://forum.ansible.com/t/ansible-passing-environment-variables-through-files/27422)

<div class="topic-metadata">

**Author:** [@Ashish\_Srivastava](https://forum.ansible.com/u/Ashish_Srivastava)\
**Replies:** 2\
**Last updated:** [May 2, 2018, 2:25pm UTC](https://forum.ansible.com/t/ansible-passing-environment-variables-through-files/27422 "2018-05-02T14:25:01Z")

</div>

Hi All, I’ve have searched literally all the available medium on internet for this issue but could not find the solution. So decided to raise the problem in this group. I’ve a project having number of environments such…

---

## [Ansible Backup](https://forum.ansible.com/t/ansible-backup/27426)

<div class="topic-metadata">

**Author:** [@Saurabh](https://forum.ansible.com/u/Saurabh)\
**Replies:** 1\
**Last updated:** [May 2, 2018, 9:48am UTC](https://forum.ansible.com/t/ansible-backup/27426 "2018-05-02T09:48:12Z")

</div>

Hi All, How we can do Ansible clustering ? If Ansible server ( Server A) is down so that another Ansible Server B Should be up to manage all the tasks ? Any Suggestion on this ? Regards Saurabh

---

## [Manage Windows host : Encoding problem](https://forum.ansible.com/t/manage-windows-host-encoding-problem/27367)

<div class="topic-metadata">

**Author:** [@Monta\_Mallek](https://forum.ansible.com/u/Monta_Mallek)\
**Replies:** 6\
**Last updated:** [May 2, 2018, 8:46am UTC](https://forum.ansible.com/t/manage-windows-host-encoding-problem/27367 "2018-05-02T08:46:44Z")

</div>

Hi, I’m using Ansible 2.5 to manage a Windows Server 2016 node. I configured WinRM like described in the documentation to remotely connect to the node. I added a host named W1 to the inventory file and under the folder…

---

## [Ansible: How to distribute SSH sessions via load balancer?](https://forum.ansible.com/t/ansible-how-to-distribute-ssh-sessions-via-load-balancer/27424)

<div class="topic-metadata">

**Author:** [@Dai\_Sato](https://forum.ansible.com/u/Dai_Sato)\
**Replies:** 0\
**Last updated:** [May 2, 2018, 7:14am UTC](https://forum.ansible.com/t/ansible-how-to-distribute-ssh-sessions-via-load-balancer/27424 "2018-05-02T07:14:01Z")

</div>

I have servers set up on AWS that look something like the attached picture. Ansible is installed on a single server which is connected to a load balancer. When playbook on this server is executed, it tries to ssh into …

---

## [Windows VMware Tools](https://forum.ansible.com/t/windows-vmware-tools/27423)

<div class="topic-metadata">

**Author:** [@David\_Staskiewicz](https://forum.ansible.com/u/David_Staskiewicz)\
**Replies:** 0\
**Last updated:** [May 1, 2018, 7:37pm UTC](https://forum.ansible.com/t/windows-vmware-tools/27423 "2018-05-01T19:37:46Z")

</div>

Has anyone automated the installation of VMware Tools to a Windows Server using Ansible?

---

## [lineinfile module gives error: "chown failed: \[Errno 1\] Operation not permitted:](https://forum.ansible.com/t/lineinfile-module-gives-error-chown-failed-errno-1-operation-not-permitted/27417)

<div class="topic-metadata">

**Author:** [@arnab\_sen](https://forum.ansible.com/u/arnab_sen)\
**Replies:** 1\
**Last updated:** [May 1, 2018, 6:30pm UTC](https://forum.ansible.com/t/lineinfile-module-gives-error-chown-failed-errno-1-operation-not-permitted/27417 "2018-05-01T18:30:43Z")

</div>

Playbook I am trying to chnage some test in a property file using “lineinfile” module. I am getting the below exception. On my host, there is a sudo user (testuser). sudo method is “sudo su - testuser”

---

## [Can't Access to Jenkins from anywhere](https://forum.ansible.com/t/cant-access-to-jenkins-from-anywhere/27418)

<div class="topic-metadata">

**Author:** [@yfa](https://forum.ansible.com/u/yfa)\
**Replies:** 1\
**Last updated:** [May 1, 2018, 6:28pm UTC](https://forum.ansible.com/t/cant-access-to-jenkins-from-anywhere/27418 "2018-05-01T18:28:38Z")

</div>

I have installed the jenkins roles ans it works fine locally. I want to access to my jenkins server with IP:8080 /hostname:8080 but it doesn’t works. System config: Ubuntum 16.04 Linux VM (Azure) Jenkins roles : geer…

---

## [Unable to run playbook (Syntax Error)](https://forum.ansible.com/t/unable-to-run-playbook-syntax-error/27416)

<div class="topic-metadata">

**Author:** [@Joshua\_Hill](https://forum.ansible.com/u/Joshua_Hill)\
**Replies:** 7\
**Last updated:** [May 1, 2018, 1:43pm UTC](https://forum.ansible.com/t/unable-to-run-playbook-syntax-error/27416 "2018-05-01T13:43:53Z")

</div>

Can someone show me where my mistakes are with the below playbook? When i try to run this playbook it tells me it fails at name: run multiple commands on remote nodes ^ here \`

---

## [Using 2 ansible versions](https://forum.ansible.com/t/using-2-ansible-versions/27419)

<div class="topic-metadata">

**Author:** [@Varun\_Chopra](https://forum.ansible.com/u/Varun_Chopra)\
**Replies:** 2\
**Last updated:** [May 1, 2018, 11:42am UTC](https://forum.ansible.com/t/using-2-ansible-versions/27419 "2018-05-01T11:42:38Z")

</div>

Hi, I’m trying to install Ansible 2.3 on a server with 2.5 already present. I built and installed virtualenv and download ansible 2.3 and initiated a virtualenv using source ./hacking/env-setup Will this new installat…

---

## [winrm not installed on CentOS - winrm added from epel](https://forum.ansible.com/t/winrm-not-installed-on-centos-winrm-added-from-epel/23353)

<div class="topic-metadata">

**Author:** [@Tom\_Albrecht](https://forum.ansible.com/u/Tom_Albrecht)\
**Replies:** 5\
**Last updated:** [May 1, 2018, 10:22am UTC](https://forum.ansible.com/t/winrm-not-installed-on-centos-winrm-added-from-epel/23353 "2018-05-01T10:22:20Z")

</div>

Hi, I’m working through trying ansible to manage windows hosts for the first time using CentOS7 as my control machine and Windows 2012r2 as my target. The system I’m building is disconnected from the internet, so my on…

---

## [Query ::- Ansible VPN connect](https://forum.ansible.com/t/query-ansible-vpn-connect/27396)

<div class="topic-metadata">

**Author:** [@Bishwajit\_Samanta](https://forum.ansible.com/u/Bishwajit_Samanta)\
**Replies:** 2\
**Last updated:** [May 1, 2018, 2:15am UTC](https://forum.ansible.com/t/query-ansible-vpn-connect/27396 "2018-05-01T02:15:57Z")

</div>

Hi all, I have a query about Connecting Ansible with VPN. In our Environment we have Cisco VPN connected. Would it be possible to connect ansible to those systems connected via CISCO VPN and then perform the tasks i g…

---

## [Best approach to filtering "hardware" / "mounts" facts for specific problematic file system types?](https://forum.ansible.com/t/best-approach-to-filtering-hardware-mounts-facts-for-specific-problematic-file-system-types/27414)

<div class="topic-metadata">

**Author:** [@Mark\_Mielke](https://forum.ansible.com/u/Mark_Mielke)\
**Replies:** 0\
**Last updated:** [April 30, 2018, 8:29pm UTC](https://forum.ansible.com/t/best-approach-to-filtering-hardware-mounts-facts-for-specific-problematic-file-system-types/27414 "2018-04-30T20:29:40Z")

</div>

Hi all: I was investigating how some of our playbooks run extremely slow, and while some of this may be due to general Ansible performance problems, I suspected that the excessive slowness may be environmental in some w…

---

## [Copy file from S3 to Remote Host](https://forum.ansible.com/t/copy-file-from-s3-to-remote-host/27409)

<div class="topic-metadata">

**Author:** [@ali.khawaja](https://forum.ansible.com/u/ali.khawaja)\
**Replies:** 1\
**Last updated:** [April 30, 2018, 8:01pm UTC](https://forum.ansible.com/t/copy-file-from-s3-to-remote-host/27409 "2018-04-30T20:01:09Z")

</div>

Hi Everyone, I want to copy a file from S3 to an EC2 host. How can I achieve that? Aws\_s3 module has destination but I am not sure how can I use that to provide a remote server location?

---

## [win\_mapped\_drive is/was failing](https://forum.ansible.com/t/win-mapped-drive-is-was-failing/27413)

<div class="topic-metadata">

**Author:** [@william.dossett](https://forum.ansible.com/u/william.dossett)\
**Replies:** 0\
**Last updated:** [April 30, 2018, 7:33pm UTC](https://forum.ansible.com/t/win-mapped-drive-is-was-failing/27413 "2018-04-30T19:33:27Z")

</div>

Thought I would just mention this as it’s been driving me crazy all morning… and I still haven’t really got it working I was using win\_mapped drive to map a network drive for a user so that it would be available for tha…

---

## [awx\_web bypasses firewalld](https://forum.ansible.com/t/awx-web-bypasses-firewalld/27412)

<div class="topic-metadata">

**Author:** [@Scott\_Bowe](https://forum.ansible.com/u/Scott_Bowe)\
**Replies:** 0\
**Last updated:** [April 30, 2018, 2:28pm UTC](https://forum.ansible.com/t/awx-web-bypasses-firewalld/27412 "2018-04-30T14:28:39Z")

</div>

Currently I have AWX set up so that it’s listening on port 80 on the host, which is subsequently forwarded to 8052 on the container. To enable SSL, I have set up nginx on the host to reverse proxy. This works great! How…

---

## [Replacing WITH\_SUBELEMENTS loop with 2.5 new syntax](https://forum.ansible.com/t/replacing-with-subelements-loop-with-2-5-new-syntax/27411)

<div class="topic-metadata">

**Author:** [@aetbnpp](https://forum.ansible.com/u/aetbnpp)\
**Replies:** 0\
**Last updated:** [April 30, 2018, 1:25pm UTC](https://forum.ansible.com/t/replacing-with-subelements-loop-with-2-5-new-syntax/27411 "2018-04-30T13:25:09Z")

</div>

Hello all, I’m trying to update my playbooks with the simplified LOOP new syntax, every went well until I tried to remove WITH\_SUBELEMENTS loops. My dictionary looks like this soft: version: X.X.X.X options: command…

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

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