# Ansible Project

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

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

**Page:** 220

---

## [register output from shell command, match line to supplied value and return value of different column](https://forum.ansible.com/t/register-output-from-shell-command-match-line-to-supplied-value-and-return-value-of-different-column/29179)

<div class="topic-metadata">

**Author:** [@Ansible\_Madness](https://forum.ansible.com/u/Ansible_Madness)\
**Replies:** 1\
**Last updated:** [December 3, 2018, 2:45pm UTC](https://forum.ansible.com/t/register-output-from-shell-command-match-line-to-supplied-value-and-return-value-of-different-column/29179 "2018-12-03T14:45:38Z")

</div>

merely looking for some suggestions how to perform the following actions in ansible run a shell command (ok this one is easy), it will return a list of values in the format of: A B C D D E F G now i want to match a…

---

## [executing command within --extra-vars](https://forum.ansible.com/t/executing-command-within-extra-vars/29178)

<div class="topic-metadata">

**Author:** [@sushant\_kode](https://forum.ansible.com/u/sushant_kode)\
**Replies:** 0\
**Last updated:** [December 3, 2018, 12:45pm UTC](https://forum.ansible.com/t/executing-command-within-extra-vars/29178 "2018-12-03T12:45:59Z")

</div>

Hello, We are using mozilla sops to encrypt our ansible secrets and I want to decrypt the file on the go, something like ansible --extra-vars “@\<$(sops -d secrets.yaml)” But ansible doesn’t support executing a command…

---

## [ERROR! A malformed block was encountered while loading a block](https://forum.ansible.com/t/error-a-malformed-block-was-encountered-while-loading-a-block/29176)

<div class="topic-metadata">

**Author:** [@VJ49](https://forum.ansible.com/u/VJ49)\
**Replies:** 2\
**Last updated:** [December 3, 2018, 12:26pm UTC](https://forum.ansible.com/t/error-a-malformed-block-was-encountered-while-loading-a-block/29176 "2018-12-03T12:26:04Z")

</div>

HI, I am familiar with this ansible coding. Right now, ansible updated to 2.7. While running/checking the syntax of a code. I am getting error as a malformed block was encountered while loading a block. I found that pr…

---

## [Import/include ansible module](https://forum.ansible.com/t/import-include-ansible-module/29165)

<div class="topic-metadata">

**Author:** [@Kash](https://forum.ansible.com/u/Kash)\
**Replies:** 2\
**Last updated:** [December 3, 2018, 12:20pm UTC](https://forum.ansible.com/t/import-include-ansible-module/29165 "2018-12-03T12:20:23Z")

</div>

How can I import or include a module in my yaml file that I have downloaded at a different (custom) location than /usr/lib/python2.7/site-packages Thanks

---

## [problem using os\_loadbalancer task with keystone](https://forum.ansible.com/t/problem-using-os-loadbalancer-task-with-keystone/29175)

<div class="topic-metadata">

**Author:** [@Sergio\_Traldi](https://forum.ansible.com/u/Sergio_Traldi)\
**Replies:** 0\
**Last updated:** [December 3, 2018, 10:58am UTC](https://forum.ansible.com/t/problem-using-os-loadbalancer-task-with-keystone/29175 "2018-12-03T10:58:26Z")

</div>

Hi, I have a host with ubuntu 18\_04 and ansible 2.7: dpkg --list | grep ansible ii ansible 2.7.3-1ppa~bionic all Ansible IT Automation and openstacksdk and pyhon-shade: dpkg --list | grep shade ii python-shade 1.7.0-…

---

## [Ansible and ip6tables](https://forum.ansible.com/t/ansible-and-ip6tables/29174)

<div class="topic-metadata">

**Author:** [@Anurag\_Bhatia](https://forum.ansible.com/u/Anurag_Bhatia)\
**Replies:** 8\
**Last updated:** [December 3, 2018, 8:44am UTC](https://forum.ansible.com/t/ansible-and-ip6tables/29174 "2018-12-03T08:44:46Z")

</div>

Hi Has anyone been able to make ansible work with ip6tables (for IPv6 firewall) ? As per module documentation: https://docs.ansible.com/ansible/2.5/modules/iptables\_module.html This is the same as the behaviour of th…

---

## [ansible parse text string from stdout](https://forum.ansible.com/t/ansible-parse-text-string-from-stdout/29169)

<div class="topic-metadata">

**Author:** [@Saravanan](https://forum.ansible.com/u/Saravanan)\
**Replies:** 6\
**Last updated:** [December 2, 2018, 6:54pm UTC](https://forum.ansible.com/t/ansible-parse-text-string-from-stdout/29169 "2018-12-02T18:54:37Z")

</div>

Hi Ansible Experts, Need help to capture the JBOSS EAP JVM uptime value through Ansible playbook. From the below task stdout need to parse the uptime value which is in numeric field to a variable. { “outcome” =\> “succ…

---

## [Filter or suppress or parse register variable task output](https://forum.ansible.com/t/filter-or-suppress-or-parse-register-variable-task-output/29172)

<div class="topic-metadata">

**Author:** [@Prabu\_T.S](https://forum.ansible.com/u/Prabu_T.S)\
**Replies:** 0\
**Last updated:** [December 1, 2018, 10:15pm UTC](https://forum.ansible.com/t/filter-or-suppress-or-parse-register-variable-task-output/29172 "2018-12-01T22:15:28Z")

</div>

Hello All, I need help to display only selective details from register variable task output . I have below code and output and need specific details. How to extract specific details the output. Playbook:---------------…

---

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

<div class="topic-metadata">

**Author:** [@Gopal\_Dhapa](https://forum.ansible.com/u/Gopal_Dhapa)\
**Replies:** 2\
**Last updated:** [December 1, 2018, 11:59am UTC](https://forum.ansible.com/t/this-topic-needs-a-title/29143 "2018-12-01T11:59:53Z")

</div>

Hello Team, When I connected ansible to Windows host given ssh connection timeout error. Please find this attachment. I am using powershell version 3.0 Winrm service working okay. Use port 5985 Other Linux node wor…

---

## [Ansible 2.5.13, 2.6.10, and 2.7.4 are available](https://forum.ansible.com/t/ansible-2-5-13-2-6-10-and-2-7-4-are-available/29166)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [November 30, 2018, 7:58pm UTC](https://forum.ansible.com/t/ansible-2-5-13-2-6-10-and-2-7-4-are-available/29166 "2018-11-30T19:58:59Z")

</div>

Hi all, Ansible 2.5.13, 2.6.10, and 2.7.4 were released today. These releases only include a fix for a packaging oversight that caused Windows targets to fail execution. The new releases are available via the usual ins…

---

## [Ansible terraform module - passing variables](https://forum.ansible.com/t/ansible-terraform-module-passing-variables/29164)

<div class="topic-metadata">

**Author:** [@DK1](https://forum.ansible.com/u/DK1)\
**Replies:** 0\
**Last updated:** [November 30, 2018, 5:03pm UTC](https://forum.ansible.com/t/ansible-terraform-module-passing-variables/29164 "2018-11-30T17:03:27Z")

</div>

I’m hitting the following error with the terraform module. What am I doing wrong when passing variables? I’ve also tried surrounding the variables in double quotes terraform: project\_path: ‘{{ role\_path }}/terraform/…

---

## [Ansible vars\_prompt with\_items and split](https://forum.ansible.com/t/ansible-vars-prompt-with-items-and-split/29162)

<div class="topic-metadata">

**Author:** [@a.srini](https://forum.ansible.com/u/a.srini)\
**Replies:** 2\
**Last updated:** [November 30, 2018, 2:58pm UTC](https://forum.ansible.com/t/ansible-vars-prompt-with-items-and-split/29162 "2018-11-30T14:58:43Z")

</div>

I want to pass multiple switch IP’s and single port number using vars\_prompt to perform the task on single port. I used with\_items: “{{ip\_addr.split(‘,’)}}”. But when i am passing multiple IP the task is not performing, …

---

## [Tagging all imported tasks](https://forum.ansible.com/t/tagging-all-imported-tasks/29148)

<div class="topic-metadata">

**Author:** [@Andy\_Smith](https://forum.ansible.com/u/Andy_Smith)\
**Replies:** 4\
**Last updated:** [November 30, 2018, 2:51pm UTC](https://forum.ansible.com/t/tagging-all-imported-tasks/29148 "2018-11-30T14:51:55Z")

</div>

Hi, Is there a way to apply a tag to all of the import\_tasks statements in a role's tasks/main.yml file without stating it on every import\_tasks line? That is, given a directory structure a bit like this: . ├── rol…

---

## [Accessing variables in yaml file](https://forum.ansible.com/t/accessing-variables-in-yaml-file/29154)

<div class="topic-metadata">

**Author:** [@Andy4](https://forum.ansible.com/u/Andy4)\
**Replies:** 5\
**Last updated:** [November 30, 2018, 2:50pm UTC](https://forum.ansible.com/t/accessing-variables-in-yaml-file/29154 "2018-11-30T14:50:28Z")

</div>

I am new to ansible. I create a yaml file with multiple hosts defined

---

## [need to send mail using attachment and password encryption](https://forum.ansible.com/t/need-to-send-mail-using-attachment-and-password-encryption/29160)

<div class="topic-metadata">

**Author:** [@Vivek1](https://forum.ansible.com/u/Vivek1)\
**Replies:** 0\
**Last updated:** [November 30, 2018, 10:01am UTC](https://forum.ansible.com/t/need-to-send-mail-using-attachment-and-password-encryption/29160 "2018-11-30T10:01:43Z")

</div>

Hi Experts, I am facing issue with by below playbook on 2 scenarios How to send mails using ansible without defining the password of the account. using SMTP username and password now in the play to send mail. but is t…

---

## [os\_loadbalancer -\> which api ist supported](https://forum.ansible.com/t/os-loadbalancer-which-api-ist-supported/29159)

<div class="topic-metadata">

**Author:** [@Mark\_Eisenblatter](https://forum.ansible.com/u/Mark_Eisenblatter)\
**Replies:** 0\
**Last updated:** [November 30, 2018, 9:54am UTC](https://forum.ansible.com/t/os-loadbalancer-which-api-ist-supported/29159 "2018-11-30T09:54:56Z")

</div>

Hello. do anybody know which lbass apis are supported form this module? I have a openstack Okta with neutron lbaas v2, but i get \` keystoneauth1.exceptions.catalog.EndpointNotFound: public endpoint for load-balancer …

---

## [Problem by setting up Network Interface (Newbie)](https://forum.ansible.com/t/problem-by-setting-up-network-interface-newbie/29158)

<div class="topic-metadata">

**Author:** [@Phillip](https://forum.ansible.com/u/Phillip)\
**Replies:** 7\
**Last updated:** [November 30, 2018, 9:22am UTC](https://forum.ansible.com/t/problem-by-setting-up-network-interface-newbie/29158 "2018-11-30T09:22:24Z")

</div>

Hi All, I’m new to Ansible and take over an existing Ansible setup from my co-worker. Now the playbook worked on his configuration but now I made a modification with a new host and I receive an error message which does…

---

## [Ansible 2.5.12, 2.6.9, and 2.7.3 are available](https://forum.ansible.com/t/ansible-2-5-12-2-6-9-and-2-7-3-are-available/29156)

<div class="topic-metadata">

**Author:** [@system](https://forum.ansible.com/u/system)\
**Replies:** 0\
**Last updated:** [November 30, 2018, 1:01am UTC](https://forum.ansible.com/t/ansible-2-5-12-2-6-9-and-2-7-3-are-available/29156 "2018-11-30T01:01:37Z")

</div>

Hi all, Ansible 2.5.12, 2.6.9, and 2.7.3 were released today. These releases include a fix for a reported security vulnerability CVE-2018-16859 (https://nvd.nist.gov/vuln/detail/CVE-2018-16859), as well as other small b…

---

## [Secure PowerShell Event Logging](https://forum.ansible.com/t/secure-powershell-event-logging/29155)

<div class="topic-metadata">

**Author:** [@jborean](https://forum.ansible.com/u/jborean)\
**Replies:** 0\
**Last updated:** [November 30, 2018, 12:36am UTC](https://forum.ansible.com/t/secure-powershell-event-logging/29155 "2018-11-30T00:36:21Z")

</div>

As part of the recent CVE disclosure CVE 2018-16859 we have come up with a playbook that can clear existing log entries as well as restrict the users who can view the PowerShell operational logs. While the CVE has been r…

---

## ["flush\_handlers task does not support when conditional"...??](https://forum.ansible.com/t/flush-handlers-task-does-not-support-when-conditional/29153)

<div class="topic-metadata">

**Author:** [@Frank\_Thommen](https://forum.ansible.com/u/Frank_Thommen)\
**Replies:** 2\
**Last updated:** [November 29, 2018, 7:27pm UTC](https://forum.ansible.com/t/flush-handlers-task-does-not-support-when-conditional/29153 "2018-11-29T19:27:11Z")

</div>

Hello, our latest yum update brought ansible from 2.4.2.0 to 2.7.2 and now we are facing \[WARNING\]: flush\_handlers task does not support when conditional we need the handlers to be flushed at that point, as later …

---

## [Ansible zabbix module issues](https://forum.ansible.com/t/ansible-zabbix-module-issues/26552)

<div class="topic-metadata">

**Author:** [@Andrew\_Morgan2](https://forum.ansible.com/u/Andrew_Morgan2)\
**Replies:** 15\
**Last updated:** [November 29, 2018, 5:55pm UTC](https://forum.ansible.com/t/ansible-zabbix-module-issues/26552 "2018-11-29T17:55:30Z")

</div>

Hello All, My ansible module is \` ansible 2.4.2.0 config file = /ansible/ansible.cfg configured module search path = \[u’/root/.ansible/plugins/modules’, u’/usr/share/ansible/plugins/modules’\] ansible python module …

---

## [From RHEL not able to connect to windows VM](https://forum.ansible.com/t/from-rhel-not-able-to-connect-to-windows-vm/29141)

<div class="topic-metadata">

**Author:** [@Suma\_P](https://forum.ansible.com/u/Suma_P)\
**Replies:** 2\
**Last updated:** [November 29, 2018, 1:30pm UTC](https://forum.ansible.com/t/from-rhel-not-able-to-connect-to-windows-vm/29141 "2018-11-29T13:30:26Z")

</div>

Hi Team , I am trying to do a POC on Ansible first time.I am using RHEL as a master and Windows 2012 as a client .Installed ansible 2.7 in RHEL and winrm in windows and done inventory entries in RHEL . i am getting bel…

---

## [String comparison with text from different encoding](https://forum.ansible.com/t/string-comparison-with-text-from-different-encoding/29150)

<div class="topic-metadata">

**Author:** [@kcdenoy](https://forum.ansible.com/u/kcdenoy)\
**Replies:** 0\
**Last updated:** [November 29, 2018, 11:40am UTC](https://forum.ansible.com/t/string-comparison-with-text-from-different-encoding/29150 "2018-11-29T11:40:08Z")

</div>

Hi all, I wanted to know if such is possible? The environment has a host using 'euc-jp' as its encoding. I'm aware that a result from a command task (e.g. shell: echo "hello world") is automatically converted to 'utf-…

---

## [Parallel VM Creations](https://forum.ansible.com/t/parallel-vm-creations/23285)

<div class="topic-metadata">

**Author:** [@Chethan\_S](https://forum.ansible.com/u/Chethan_S)\
**Replies:** 8\
**Last updated:** [November 29, 2018, 10:50am UTC](https://forum.ansible.com/t/parallel-vm-creations/23285 "2018-11-29T10:50:04Z")

</div>

Is it possible to create multiple VMs in parallel? As of now, it’s one VM after another. I use the vmware\_guest module for creating VMs in vCenter Server. I tried specifying strategy: free but that is not helping.

---

## [Ansible Development (methods skip in Ansible modules)](https://forum.ansible.com/t/ansible-development-methods-skip-in-ansible-modules/29138)

<div class="topic-metadata">

**Author:** [@rpachi](https://forum.ansible.com/u/rpachi)\
**Replies:** 2\
**Last updated:** [November 29, 2018, 10:02am UTC](https://forum.ansible.com/t/ansible-development-methods-skip-in-ansible-modules/29138 "2018-11-29T10:02:13Z")

</div>

Hey Experts, I have written Ansible module. I am using it in multiple places. at times our software won’t give output for the first time. so when we use retry option, our software gives output on 2nd or 3rd attempt. s…

---

## [ansible-pull: possible to use with add\_hosts and remote targets?](https://forum.ansible.com/t/ansible-pull-possible-to-use-with-add-hosts-and-remote-targets/29149)

<div class="topic-metadata">

**Author:** [@olapodrido](https://forum.ansible.com/u/olapodrido)\
**Replies:** 0\
**Last updated:** [November 29, 2018, 9:54am UTC](https://forum.ansible.com/t/ansible-pull-possible-to-use-with-add-hosts-and-remote-targets/29149 "2018-11-29T09:54:34Z")

</div>

Hi! I am maintaining a set of servers which host some LXD containers on them. The playbooks to install them go like this: First playbook connects to the LXD host, installs apps and services including the containers tha…

---

## [Creating an aws target group with ansible](https://forum.ansible.com/t/creating-an-aws-target-group-with-ansible/29147)

<div class="topic-metadata">

**Author:** [@joeldamata](https://forum.ansible.com/u/joeldamata)\
**Replies:** 2\
**Last updated:** [November 29, 2018, 5:40am UTC](https://forum.ansible.com/t/creating-an-aws-target-group-with-ansible/29147 "2018-11-29T05:40:37Z")

</div>

What Im trying to accomplish is to create a network load balancer target group from dynamically generated list of instances. brokerInstancesList is a list of instance ids. I need to iterate over this list and add them a…

---

## [can we use Ansible to deploy applications to linux](https://forum.ansible.com/t/can-we-use-ansible-to-deploy-applications-to-linux/29146)

<div class="topic-metadata">

**Author:** [@Narmada\_Karthika](https://forum.ansible.com/u/Narmada_Karthika)\
**Replies:** 1\
**Last updated:** [November 28, 2018, 9:55pm UTC](https://forum.ansible.com/t/can-we-use-ansible-to-deploy-applications-to-linux/29146 "2018-11-28T21:55:25Z")

</div>

Hello, I want to try using Ansible to publish the sln and copy to Linux deploy servers. please suggest me some way to use Ansible for my build and deployment process. thanks, Narmada

---

## [How to copy certain files in different servers (different location )to another remote server using ansible.](https://forum.ansible.com/t/how-to-copy-certain-files-in-different-servers-different-location-to-another-remote-server-using-ansible/29137)

<div class="topic-metadata">

**Author:** [@vivek\_mv](https://forum.ansible.com/u/vivek_mv)\
**Replies:** 4\
**Last updated:** [November 28, 2018, 8:41pm UTC](https://forum.ansible.com/t/how-to-copy-certain-files-in-different-servers-different-location-to-another-remote-server-using-ansible/29137 "2018-11-28T20:41:54Z")

</div>

hello Experts, How to copy certain files in different servers (different location )to another remote server using ansible. for example i have 5 application servers (A1,A2, A3, A4, A5), from theser servers i need to cop…

---

## [Connect via NOT a bastion jump host](https://forum.ansible.com/t/connect-via-not-a-bastion-jump-host/23826)

<div class="topic-metadata">

**Author:** [@Anton\_Kirichenko](https://forum.ansible.com/u/Anton_Kirichenko)\
**Replies:** 5\
**Last updated:** [November 28, 2018, 4:54pm UTC](https://forum.ansible.com/t/connect-via-not-a-bastion-jump-host/23826 "2018-11-28T16:54:42Z")

</div>

Hello, Sorry for a lame question, but I’m trying to enable Ansible to manage Cisco routers which are reachable only from a sinlge management host. That host is HP NA server, where users could connect by ssh and then man…

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

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