Subject: [ansible-project] Need Help in Ansible regex

On Fri, Jan 24, 2020, at 1:09 AM, Rakesh Parida wrote:

In the first part, item will always be defined or the task won't run at all, so no need to test it.

In the second part, you're comparing two static strings here that will never match. You probably meant to do something like

when: item is regex('your regex')

See for examples:

James Cassell