# Latest

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

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

**Page:** 475

---

## [Convert a text file with list of strings into yml help](https://forum.ansible.com/t/convert-a-text-file-with-list-of-strings-into-yml-help/29913)

<div class="topic-metadata">

**Author:** [@Saranya\_N](https://forum.ansible.com/u/Saranya_N)\
**Replies:** 2\
**Last updated:** [March 21, 2019, 9:27am UTC](https://forum.ansible.com/t/convert-a-text-file-with-list-of-strings-into-yml-help/29913 "2019-03-21T09:27:49Z")

</div>

I'm having a text file with lots of strings like below. Cat test.txt String1 String2 . . . Etc I literally have 2k of strings on that file. I want to convert to yank like below. \_ \_ \_ Listofstrings: - strin…

---

## [using ansible to auto deploy on websphere](https://forum.ansible.com/t/using-ansible-to-auto-deploy-on-websphere/29934)

<div class="topic-metadata">

**Author:** [@CORLEONE](https://forum.ansible.com/u/CORLEONE)\
**Replies:** 0\
**Last updated:** [March 21, 2019, 4:46am UTC](https://forum.ansible.com/t/using-ansible-to-auto-deploy-on-websphere/29934 "2019-03-21T04:46:59Z")

</div>

Hello, i am learning ansible and trying to auto deploy war applications on websphere 8.5.5.I have come to know of a directory where copy/paste would work to autodeploy.But i have to set some deployment properties like da…

---

## [dirname filter errors](https://forum.ansible.com/t/dirname-filter-errors/29933)

<div class="topic-metadata">

**Author:** [@senorsmile](https://forum.ansible.com/u/senorsmile)\
**Replies:** 1\
**Last updated:** [March 21, 2019, 12:30am UTC](https://forum.ansible.com/t/dirname-filter-errors/29933 "2019-03-21T00:30:44Z")

</div>

I have narrowed this issue down to a sample role: \`

---

## [Ansible in VMware: searching for templates](https://forum.ansible.com/t/ansible-in-vmware-searching-for-templates/29930)

<div class="topic-metadata">

**Author:** [@Justin\_DynamicD](https://forum.ansible.com/u/Justin_DynamicD)\
**Replies:** 1\
**Last updated:** [March 20, 2019, 9:16pm UTC](https://forum.ansible.com/t/ansible-in-vmware-searching-for-templates/29930 "2019-03-20T21:16:00Z")

</div>

So in both AWS and Azure, there are methods that can be used to either directly query an account for all available images that match a regex pattern, or download a list of all images then filter it to accomplish the same…

---

## [How to get download progress when downloading a file using get\_url ansible module](https://forum.ansible.com/t/how-to-get-download-progress-when-downloading-a-file-using-get-url-ansible-module/29929)

<div class="topic-metadata">

**Author:** [@Shankar\_Pentyala](https://forum.ansible.com/u/Shankar_Pentyala)\
**Replies:** 0\
**Last updated:** [March 20, 2019, 8:08pm UTC](https://forum.ansible.com/t/how-to-get-download-progress-when-downloading-a-file-using-get-url-ansible-module/29929 "2019-03-20T20:08:52Z")

</div>

Hi all, when I try to download a 50gb file using get\_url,its unclear whether file is downloading or not,Since there is no log or output once the task starts executing.Any ideas on this how to set a progress bar or atlea…

---

## [ansible-vault fails if vault-pass is passed when env variable defined](https://forum.ansible.com/t/ansible-vault-fails-if-vault-pass-is-passed-when-env-variable-defined/29928)

<div class="topic-metadata">

**Author:** [@Alb0t](https://forum.ansible.com/u/Alb0t)\
**Replies:** 0\
**Last updated:** [March 20, 2019, 7:46pm UTC](https://forum.ansible.com/t/ansible-vault-fails-if-vault-pass-is-passed-when-env-variable-defined/29928 "2019-03-20T19:46:15Z")

</div>

I spent about 4 hours trying to figure out what was going on here. This is the command I was using: ansible-vault encrypt\_string --vault-pass ~/blah/vault\_key Every time I ran this, I was greeted with an error: ERROR…

---

## [Continue on failed task using the debugger](https://forum.ansible.com/t/continue-on-failed-task-using-the-debugger/29927)

<div class="topic-metadata">

**Author:** [@Mike\_Ludwig](https://forum.ansible.com/u/Mike_Ludwig)\
**Replies:** 0\
**Last updated:** [March 20, 2019, 7:26pm UTC](https://forum.ansible.com/t/continue-on-failed-task-using-the-debugger/29927 "2019-03-20T19:26:02Z")

</div>

A task fails and brings me to the debugger. Is it possible to continue executing tasks on the failed host? Using “continue” stops running tasks on the failed host, but continues on other hosts.

---

## [include\_playbook / include tasks from Bitbucket?](https://forum.ansible.com/t/include-playbook-include-tasks-from-bitbucket/29922)

<div class="topic-metadata">

**Author:** [@TOB](https://forum.ansible.com/u/TOB)\
**Replies:** 1\
**Last updated:** [March 20, 2019, 6:19pm UTC](https://forum.ansible.com/t/include-playbook-include-tasks-from-bitbucket/29922 "2019-03-20T18:19:56Z")

</div>

Hi everyone, short summary: I have a playbook from where I wanna start other playbooks hosted on Bitbucket. In short words: Got a server and want to clone repository on Bitbucket where are all the other playbooks which …

---

## [Any MSPs out there using Ansible? Any pointers for managing a large number of disparate networks?](https://forum.ansible.com/t/any-msps-out-there-using-ansible-any-pointers-for-managing-a-large-number-of-disparate-networks/29916)

<div class="topic-metadata">

**Author:** [@Jesse\_Perry](https://forum.ansible.com/u/Jesse_Perry)\
**Replies:** 5\
**Last updated:** [March 20, 2019, 6:17pm UTC](https://forum.ansible.com/t/any-msps-out-there-using-ansible-any-pointers-for-managing-a-large-number-of-disparate-networks/29916 "2019-03-20T18:17:09Z")

</div>

Hi there, I apologize if this is the wrong place for this question. I am looking for any manage service providers or computer repair shops using Ansible. I would like to know how you use it, and possibly get some pointe…

---

## [fatal Error when using uname -r command](https://forum.ansible.com/t/fatal-error-when-using-uname-r-command/29926)

<div class="topic-metadata">

**Author:** [@Vino\_B](https://forum.ansible.com/u/Vino_B)\
**Replies:** 1\
**Last updated:** [March 20, 2019, 5:45pm UTC](https://forum.ansible.com/t/fatal-error-when-using-uname-r-command/29926 "2019-03-20T17:45:10Z")

</div>

Hi All, Request you help on how to resolve the the below task error as it is throwing fatal error name: Check whether Kernel is latest shell: (/usr/bin/uname -r | {{AK}} ‘END{if(NR!=0||$0!=“4.4.155-94.50-default”){pr…

---

## [win\_lineinfile invalid Path argument](https://forum.ansible.com/t/win-lineinfile-invalid-path-argument/29925)

<div class="topic-metadata">

**Author:** [@bit\_conneeect](https://forum.ansible.com/u/bit_conneeect)\
**Replies:** 1\
**Last updated:** [March 20, 2019, 5:01pm UTC](https://forum.ansible.com/t/win-lineinfile-invalid-path-argument/29925 "2019-03-20T17:01:52Z")

</div>

Hello everyone, I am trying to change specific lines of an xml file which is located on J:\\ on a windows machine. Due to the fact that the win\_xml module is only able to add but not override strings, I chose the win\_li…

---

## [SSH using id\_rsa](https://forum.ansible.com/t/ssh-using-id-rsa/29865)

<div class="topic-metadata">

**Author:** [@Guillermo\_Colmena](https://forum.ansible.com/u/Guillermo_Colmena)\
**Replies:** 2\
**Last updated:** [March 20, 2019, 2:38pm UTC](https://forum.ansible.com/t/ssh-using-id-rsa/29865 "2019-03-20T14:38:22Z")

</div>

Hi Ansible Community, I have been trying to configure the ssh.cfg and ansible.cfg to be able to access using an id\_rsa to connect via ssh to the remote servers. The question comes when I try to configure these 2 config …

---

## [FAILED! =\> {"msg": "The conditional check .. Unable to look up a name or access an attribute in template string](https://forum.ansible.com/t/failed-msg-the-conditional-check-unable-to-look-up-a-name-or-access-an-attribute-in-template-string/29921)

<div class="topic-metadata">

**Author:** [@Spideyx](https://forum.ansible.com/u/Spideyx)\
**Replies:** 0\
**Last updated:** [March 20, 2019, 1:39pm UTC](https://forum.ansible.com/t/failed-msg-the-conditional-check-unable-to-look-up-a-name-or-access-an-attribute-in-template-string/29921 "2019-03-20T13:39:55Z")

</div>

Need Ansible help on error. Same ansible module/task getting error in 1 environment and completely fine in another. Dunno what the causes are. Here’s the error: fatal: \[hostname.com\]: FAILED! =\> {“msg”: “The conditional…

---

## [AWX and Netbox Inventory Plugin](https://forum.ansible.com/t/awx-and-netbox-inventory-plugin/29910)

<div class="topic-metadata">

**Author:** [@nrk](https://forum.ansible.com/u/nrk)\
**Replies:** 2\
**Last updated:** [March 20, 2019, 11:23am UTC](https://forum.ansible.com/t/awx-and-netbox-inventory-plugin/29910 "2019-03-20T11:23:35Z")

</div>

Hello, I am playing with the Netbox plugin for Ansible to get a dynamic inventory from Netbox. There is any way to use this plugin from AWX? Thanks in advance. Cheers, nrk

---

## [Trouble comparing Jinja2 string](https://forum.ansible.com/t/trouble-comparing-jinja2-string/29919)

<div class="topic-metadata">

**Author:** [@Ashok1](https://forum.ansible.com/u/Ashok1)\
**Replies:** 1\
**Last updated:** [March 20, 2019, 8:38am UTC](https://forum.ansible.com/t/trouble-comparing-jinja2-string/29919 "2019-03-20T08:38:26Z")

</div>

Hi all… I have the below vars: \` client\_destinations: apache-servers: pre\_cmd: ‘$template custom,“/logs/apache-servers/%source%.log”’ rules: var: ‘$syslogfacility-text’ operator: ‘contains’ search: ‘local5’ de…

---

## [Manage multiple aws accounts with ansible playbook using ec2.py/ec2.ini](https://forum.ansible.com/t/manage-multiple-aws-accounts-with-ansible-playbook-using-ec2-py-ec2-ini/29917)

<div class="topic-metadata">

**Author:** [@naga\_babu](https://forum.ansible.com/u/naga_babu)\
**Replies:** 2\
**Last updated:** [March 20, 2019, 7:59am UTC](https://forum.ansible.com/t/manage-multiple-aws-accounts-with-ansible-playbook-using-ec2-py-ec2-ini/29917 "2019-03-20T07:59:25Z")

</div>

I have multiple aws accounts. I would like to manage all these accounts using ansible playbooks. ex. provisioning new machines etc… But when I use profile/AWS\_PROFILE option it always taking default profile not going to…

---

## [Module for Huawei NE series devices](https://forum.ansible.com/t/module-for-huawei-ne-series-devices/29918)

<div class="topic-metadata">

**Author:** [@vicky.singh](https://forum.ansible.com/u/vicky.singh)\
**Replies:** 0\
**Last updated:** [March 20, 2019, 7:03am UTC](https://forum.ansible.com/t/module-for-huawei-ne-series-devices/29918 "2019-03-20T07:03:15Z")

</div>

Hello, I have started exploring ansible with the goal of being able to configure Huawei NE series devices . But i cann’t find any module (even in extra modules) which will help me achieve this? Can Huawei NE series dev…

---

## [Make a list from list of dicts](https://forum.ansible.com/t/make-a-list-from-list-of-dicts/29915)

<div class="topic-metadata">

**Author:** [@Ashok1](https://forum.ansible.com/u/Ashok1)\
**Replies:** 1\
**Last updated:** [March 19, 2019, 11:51pm UTC](https://forum.ansible.com/t/make-a-list-from-list-of-dicts/29915 "2019-03-19T23:51:05Z")

</div>

Hi all… I’ve a list of dicts like the below: \` client\_destinations: apache-servers: pre\_cmd: ‘$template custom,“/logs/apache-servers/%source%.log”’ rules: var: ‘$syslogfacility-text’ operator: ‘contains’ search…

---

## [replace module cannot crashes when encountering Danish characters](https://forum.ansible.com/t/replace-module-cannot-crashes-when-encountering-danish-characters/29912)

<div class="topic-metadata">

**Author:** [@mark.tovey](https://forum.ansible.com/u/mark.tovey)\
**Replies:** 4\
**Last updated:** [March 19, 2019, 6:29pm UTC](https://forum.ansible.com/t/replace-module-cannot-crashes-when-encountering-danish-characters/29912 "2019-03-19T18:29:14Z")

</div>

I am working on a playbook to replace the comment field in a server’s password file. I was trying to use the replace module to do this. But it began crashing on one server. By elimination I was able to isolate the proble…

---

## [How to print message at end of playbook without using debug?](https://forum.ansible.com/t/how-to-print-message-at-end-of-playbook-without-using-debug/29911)

<div class="topic-metadata">

**Author:** [@Robert\_F](https://forum.ansible.com/u/Robert_F)\
**Replies:** 0\
**Last updated:** [March 19, 2019, 5:00pm UTC](https://forum.ansible.com/t/how-to-print-message-at-end-of-playbook-without-using-debug/29911 "2019-03-19T17:00:53Z")

</div>

Is there a good way to display instructional information after a playbook ends without using the “debug” directive? I don’t like using debug because the output is printed in red and so it makes it look at though my playb…

---

## [Utilizing win\_iis\_webbinding to update IIS certs](https://forum.ansible.com/t/utilizing-win-iis-webbinding-to-update-iis-certs/26023)

<div class="topic-metadata">

**Author:** [@John\_Martin](https://forum.ansible.com/u/John_Martin)\
**Replies:** 5\
**Last updated:** [March 19, 2019, 12:57pm UTC](https://forum.ansible.com/t/utilizing-win-iis-webbinding-to-update-iis-certs/26023 "2019-03-19T12:57:51Z")

</div>

Hello, I’m new to Ansible and have been giving it some attention in my test environment to see how feasible it is to utilize in production… Mainly to provision/configure/manage 30 or so Windows web-servers. I was able …

---

## [Problem with the RedHat's VDO module](https://forum.ansible.com/t/problem-with-the-redhats-vdo-module/29909)

<div class="topic-metadata">

**Author:** [@William\_Muriithi](https://forum.ansible.com/u/William_Muriithi)\
**Replies:** 0\
**Last updated:** [March 19, 2019, 11:32am UTC](https://forum.ansible.com/t/problem-with-the-redhats-vdo-module/29909 "2019-03-19T11:32:51Z")

</div>

Morning, I am seeing this error and wonder if someone have seen a similar error with this module or would know what could be the problem. These are the particulars of this problem: \[william@ansible ~\]$ rpm -qa | gre…

---

## [ansible fail to work with ssh](https://forum.ansible.com/t/ansible-fail-to-work-with-ssh/29908)

<div class="topic-metadata">

**Author:** [@tharanga2006](https://forum.ansible.com/u/tharanga2006)\
**Replies:** 9\
**Last updated:** [March 19, 2019, 10:26am UTC](https://forum.ansible.com/t/ansible-fail-to-work-with-ssh/29908 "2019-03-19T10:26:09Z")

</div>

OS : Ubuntu 16.04.5 LTS (GNU/Linux 4.4.0-104-generic x86\_64) ansible : ansible 2.7.8 Problem I need to configure ansible to run another node without entering the password ( through ssh) I have followed below method t…

---

## [Jinja2 to filter paths](https://forum.ansible.com/t/jinja2-to-filter-paths/29886)

<div class="topic-metadata">

**Author:** [@Ashok1](https://forum.ansible.com/u/Ashok1)\
**Replies:** 2\
**Last updated:** [March 19, 2019, 9:47am UTC](https://forum.ansible.com/t/jinja2-to-filter-paths/29886 "2019-03-19T09:47:47Z")

</div>

Hi, I’ve random paths like: /logs/other/dyn.log /logs/mx/mail.log /logs/apache-servers/other.log /logs/network/nas01.log /logs/mailouts/highvolume/mailout.log and many more. They are part of a list that is iterate…

---

## [convert yaml file into jinja](https://forum.ansible.com/t/convert-yaml-file-into-jinja/29907)

<div class="topic-metadata">

**Author:** [@fmontaldo3](https://forum.ansible.com/u/fmontaldo3)\
**Replies:** 1\
**Last updated:** [March 19, 2019, 7:05am UTC](https://forum.ansible.com/t/convert-yaml-file-into-jinja/29907 "2019-03-19T07:05:42Z")

</div>

Hi Folks: I want to know if there is a way to extract from a yaml file the disk information in order to pass it into jinja2 template. I got the following: { “ansible\_facts”: { “ansible\_disks”: \[ { “bootable”: false…

---

## [Check existence and state of a service on windows machine using win\_service](https://forum.ansible.com/t/check-existence-and-state-of-a-service-on-windows-machine-using-win-service/20887)

<div class="topic-metadata">

**Author:** [@ishan\_jain](https://forum.ansible.com/u/ishan_jain)\
**Replies:** 5\
**Last updated:** [March 19, 2019, 6:11am UTC](https://forum.ansible.com/t/check-existence-and-state-of-a-service-on-windows-machine-using-win-service/20887 "2019-03-19T06:11:14Z")

</div>

I am trying to provision windows server 2012 R2 machine with ansible and for that i need to gather some custom facts about the running services. I tried getting the information via the win\_service module like this:

---

## [getting a variable indirectly](https://forum.ansible.com/t/getting-a-variable-indirectly/29863)

<div class="topic-metadata">

**Author:** [@Luca\_Cazzaniga](https://forum.ansible.com/u/Luca_Cazzaniga)\
**Replies:** 10\
**Last updated:** [March 18, 2019, 11:49pm UTC](https://forum.ansible.com/t/getting-a-variable-indirectly/29863 "2019-03-18T23:49:56Z")

</div>

Hi all, I need to get the value of a variable whose name is saved in another one, in other words I need the lookup plugin vars Unfortunately I can’t upgrade ansible to a release upper to 2.4, so I have to reinvent the w…

---

## [Could not match supplied host pattern,](https://forum.ansible.com/t/could-not-match-supplied-host-pattern/29906)

<div class="topic-metadata">

**Author:** [@Mahender\_Tirumala](https://forum.ansible.com/u/Mahender_Tirumala)\
**Replies:** 0\
**Last updated:** [March 18, 2019, 11:00pm UTC](https://forum.ansible.com/t/could-not-match-supplied-host-pattern/29906 "2019-03-18T23:00:53Z")

</div>

hi, iam getting this error when iam trying to ping my ec2 machines, iam able to do ec2.py --list, Please help ansible -m ping tag\_Name\_dev2–IC-OCR-MACHINES \[DEPRECATION WARNING\]: ANSIBLE\_HOSTS option, The variable is …

---

## [Sending JSON variable as a body in curl command](https://forum.ansible.com/t/sending-json-variable-as-a-body-in-curl-command/29896)

<div class="topic-metadata">

**Author:** [@Bikram](https://forum.ansible.com/u/Bikram)\
**Replies:** 6\
**Last updated:** [March 18, 2019, 9:42pm UTC](https://forum.ansible.com/t/sending-json-variable-as-a-body-in-curl-command/29896 "2019-03-18T21:42:09Z")

</div>

Hi All, I defined a json variable in vars section and want to pass it as body in curl command as below: vars: paydata: {“status”:“complete”,“message”:"successfully completed",“actions”:\[“close ticket”\]} local\_acti…

---

## [lineinfile module with python3 on remote host with selinux enabled](https://forum.ansible.com/t/lineinfile-module-with-python3-on-remote-host-with-selinux-enabled/29905)

<div class="topic-metadata">

**Author:** [@dmccheyne](https://forum.ansible.com/u/dmccheyne)\
**Replies:** 2\
**Last updated:** [March 18, 2019, 5:17pm UTC](https://forum.ansible.com/t/lineinfile-module-with-python3-on-remote-host-with-selinux-enabled/29905 "2019-03-18T17:17:03Z")

</div>

(Cross posted from AWX group, since it’s more of an Ansible question) I’m dealing with selinux (which I am new to), that I can’t disable in a shared env. Remote is running python 3.5 and it’s mostly fine with the excep…

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

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