# Ansible Project

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

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

**Page:** 263

---

## [ansible replace with\_items prepends the letter 'u'](https://forum.ansible.com/t/ansible-replace-with-items-prepends-the-letter-u/27459)

<div class="topic-metadata">

**Author:** [@expectant.sprite](https://forum.ansible.com/u/expectant.sprite)\
**Replies:** 2\
**Last updated:** [May 4, 2018, 4:09pm UTC](https://forum.ansible.com/t/ansible-replace-with-items-prepends-the-letter-u/27459 "2018-05-04T16:09:15Z")

</div>

I’m trying to use the replace module to update SSL ciphers and seem to be running into a Unicode issue. The code:

---

## [Extract data from task in a variable](https://forum.ansible.com/t/extract-data-from-task-in-a-variable/27457)

<div class="topic-metadata">

**Author:** [@Bubul\_Medhi](https://forum.ansible.com/u/Bubul_Medhi)\
**Replies:** 1\
**Last updated:** [May 4, 2018, 4:07pm UTC](https://forum.ansible.com/t/extract-data-from-task-in-a-variable/27457 "2018-05-04T16:07:26Z")

</div>

Hi, This is a role i wrote which will get the IP addresses of the Hosts and then copy a file from the ansible server to the host server. name: Seeking the host IP address shell: | ifconfig eth0 | grep “inet addr” |…

---

## [ansible hosts file yaml errors DUO authentication](https://forum.ansible.com/t/ansible-hosts-file-yaml-errors-duo-authentication/27458)

<div class="topic-metadata">

**Author:** [@Tedley\_Meralus](https://forum.ansible.com/u/Tedley_Meralus)\
**Replies:** 0\
**Last updated:** [May 4, 2018, 3:00pm UTC](https://forum.ansible.com/t/ansible-hosts-file-yaml-errors-duo-authentication/27458 "2018-05-04T15:00:21Z")

</div>

I added a new group in my hosts file in ansible and now when I try to ping I get this error. $ ansible book01 -m ping \[WARNING\]: \* Failed to parse /etc/ansible/hosts with yaml plugin: Syntax Error while loading YAML. T…

---

## [copying files stuck after 5th attempt](https://forum.ansible.com/t/copying-files-stuck-after-5th-attempt/27454)

<div class="topic-metadata">

**Author:** [@Benny\_L](https://forum.ansible.com/u/Benny_L)\
**Replies:** 2\
**Last updated:** [May 4, 2018, 11:49am UTC](https://forum.ansible.com/t/copying-files-stuck-after-5th-attempt/27454 "2018-05-04T11:49:49Z")

</div>

Hello, I have following Problem on ansible 2.5.0. I try to copy a folder from my ansible-server(debian) to a windows 10 client using winrm. the playbook itself works pefectly. the problem is, that it has to copy to 20 m…

---

## [Infoblox - nios\_host\_record issue](https://forum.ansible.com/t/infoblox-nios-host-record-issue/27455)

<div class="topic-metadata">

**Author:** [@ADB101](https://forum.ansible.com/u/ADB101)\
**Replies:** 1\
**Last updated:** [May 4, 2018, 11:01am UTC](https://forum.ansible.com/t/infoblox-nios-host-record-issue/27455 "2018-05-04T11:01:08Z")

</div>

Hi all, I need to get IPs from an Infoblox server from an Ansible playbook. I am successfully obtaining the next IP address by using the nios\_next\_ip lookup within the correct IP range. I am then using the “nios\_host\_re…

---

## [ImportError: cannot import name callbacks](https://forum.ansible.com/t/importerror-cannot-import-name-callbacks/27453)

<div class="topic-metadata">

**Author:** [@niraj\_pandey](https://forum.ansible.com/u/niraj_pandey)\
**Replies:** 0\
**Last updated:** [May 4, 2018, 9:32am UTC](https://forum.ansible.com/t/importerror-cannot-import-name-callbacks/27453 "2018-05-04T09:32:25Z")

</div>

I am getting the following error while using ansible module in my python script. Traceback (most recent call last): File “./ansible\_playbook.py”, line 2, in from ansible import playbook, callbacks ImportError: canno…

---

## [Is there any open source GUI available for Ansible?](https://forum.ansible.com/t/is-there-any-open-source-gui-available-for-ansible/27437)

<div class="topic-metadata">

**Author:** [@Dinesh\_Vashisht](https://forum.ansible.com/u/Dinesh_Vashisht)\
**Replies:** 2\
**Last updated:** [May 4, 2018, 8:09am UTC](https://forum.ansible.com/t/is-there-any-open-source-gui-available-for-ansible/27437 "2018-05-04T08:09:34Z")

</div>

Team, Is there any open source GUI available for Ansible? We have recently implemented Ansible 2.5.0, but the team new to it is not comfortable using CLI. Thank you, Dinesh

---

## [Ansible Software Baseline - Legacy Projects](https://forum.ansible.com/t/ansible-software-baseline-legacy-projects/27449)

<div class="topic-metadata">

**Author:** [@David\_Stubbersfield](https://forum.ansible.com/u/David_Stubbersfield)\
**Replies:** 0\
**Last updated:** [May 4, 2018, 1:43am UTC](https://forum.ansible.com/t/ansible-software-baseline-legacy-projects/27449 "2018-05-04T01:43:16Z")

</div>

Hi, I stumbled across the Ansible article below which is very relevant to a situation in my workplace; we have a need to configure server hosts in accordance with an approved software baseline (e.g. config.baseline file…

---

## [Triggering AWS Lambda with Cloudwatch Events and/or S3 Events](https://forum.ansible.com/t/triggering-aws-lambda-with-cloudwatch-events-and-or-s3-events/27447)

<div class="topic-metadata">

**Author:** [@pkaeding](https://forum.ansible.com/u/pkaeding)\
**Replies:** 0\
**Last updated:** [May 3, 2018, 10:37pm UTC](https://forum.ansible.com/t/triggering-aws-lambda-with-cloudwatch-events-and-or-s3-events/27447 "2018-05-03T22:37:40Z")

</div>

I’m trying to set up some AWS Lambda jobs, some of which should be triggered by new objects being put in S3, and some of which should be triggered by CloudWatch Events. I’ve successfully created the lambda job, IAM role…

---

## [Copy files with hostname to respective hosts](https://forum.ansible.com/t/copy-files-with-hostname-to-respective-hosts/27436)

<div class="topic-metadata">

**Author:** [@Bubul\_Medhi](https://forum.ansible.com/u/Bubul_Medhi)\
**Replies:** 1\
**Last updated:** [May 3, 2018, 10:05pm UTC](https://forum.ansible.com/t/copy-files-with-hostname-to-respective-hosts/27436 "2018-05-03T22:05:00Z")

</div>

Hi, I have three files, host1.zip, host2.zip, host3.zip which are in the ansible server itself in a directory named “deploy”. And I have to copy the files the respective hosts. host1.zip -----to-----\> host1 host2.zi…

---

## [Ansible: multiple users to run playbook without sudo access to target machines](https://forum.ansible.com/t/ansible-multiple-users-to-run-playbook-without-sudo-access-to-target-machines/27442)

<div class="topic-metadata">

**Author:** [@Ayad](https://forum.ansible.com/u/Ayad)\
**Replies:** 2\
**Last updated:** [May 3, 2018, 9:45pm UTC](https://forum.ansible.com/t/ansible-multiple-users-to-run-playbook-without-sudo-access-to-target-machines/27442 "2018-05-03T21:45:42Z")

</div>

Hi All i’m trying to give a few users access to an an Ansible server to run playbooks to do Application recycle on a few servers, these users should not have access to the target servers for security reason, so there is…

---

## [Ansible 2.5 virtual cpu and socket not work to gather , as well customvalues](https://forum.ansible.com/t/ansible-2-5-virtual-cpu-and-socket-not-work-to-gather-as-well-customvalues/27443)

<div class="topic-metadata">

**Author:** [@talha\_jilal](https://forum.ansible.com/u/talha_jilal)\
**Replies:** 0\
**Last updated:** [May 3, 2018, 6:22pm UTC](https://forum.ansible.com/t/ansible-2-5-virtual-cpu-and-socket-not-work-to-gather-as-well-customvalues/27443 "2018-05-03T18:22:01Z")

</div>

1- Same code with customvalue works for me in ansible 2.4 but does not work on ansible 2.5. 2- Ansible 2.5 ony take one option at a time, num\_cpus or cpu\_cores\_per\_sockets Any idea folks I am report this error second t…

---

## [ansible adhoc command did not return](https://forum.ansible.com/t/ansible-adhoc-command-did-not-return/27433)

<div class="topic-metadata">

**Author:** [@Jorg\_Kastning](https://forum.ansible.com/u/Jorg_Kastning)\
**Replies:** 1\
**Last updated:** [May 3, 2018, 4:35pm UTC](https://forum.ansible.com/t/ansible-adhoc-command-did-not-return/27433 "2018-05-03T16:35:24Z")

</div>

Hello folks, This morning I run the following ansible adhoc command to update some of my hosts using ansible 2.5.2: \` ansible host1,host2,host3 -m yum -a “name=‘\*’ state=‘latest’” host2 | SUCCESS =\> { “changed”: fal…

---

## [This topic needs a title](https://forum.ansible.com/t/this-topic-needs-a-title/27440)

<div class="topic-metadata">

**Author:** [@Ruslan\_Dzhumaiev](https://forum.ansible.com/u/Ruslan_Dzhumaiev)\
**Replies:** 0\
**Last updated:** [May 3, 2018, 2:43pm UTC](https://forum.ansible.com/t/this-topic-needs-a-title/27440 "2018-05-03T14:43:26Z")

</div>

Ruslan Dzhumaiev +380634341249 Telegram, WhatsApp, Viber

---

## [ansible vmware\_guest customvalues and annotation](https://forum.ansible.com/t/ansible-vmware-guest-customvalues-and-annotation/27439)

<div class="topic-metadata">

**Author:** [@talha\_jilal](https://forum.ansible.com/u/talha_jilal)\
**Replies:** 0\
**Last updated:** [May 3, 2018, 2:42pm UTC](https://forum.ansible.com/t/ansible-vmware-guest-customvalues-and-annotation/27439 "2018-05-03T14:42:39Z")

</div>

Hello Folks , I upgrade ansible 2.4 to 2.5 but my customvalue option stop working. My annotation attributes already defined in template, and i have the following syntax. I downgrade my ansible 2.4 and annotation start w…

---

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

---

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

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

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