One task in my playbook produces output sample of different types like below
stdout_lines ex: 1 [ "_ _ _" "farm/dt-tk-1/env: agent_tcp" ] ex: 2 [ "_ _ _" "test/xc-yh-1/qa: agent_tcp" ] etc I need to capture the second line regex: test/xc-yh-1/qa farm/dt-tk-1/env I need to capture the above part. Im aware I can use set_fact with regex but Im having difficulty in forming regex. Can someone kindly help -- You received this message because you are subscribed to the Google Groups "Ansible Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to ansible-project+unsubscr...@googlegroups.com. To post to this group, send email to ansible-project@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/f79b5ffb-f75e-457e-b5c7-b485bf893298%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.