Re: [ansible-project] how to fetch substring from vairbale or ansible vriable or facts

2020-08-14 Thread Dick Visser
https://docs.ansible.com/ansible/latest/user_guide/intro_patterns.html On Fri, 14 Aug 2020 at 19:41, Sameer Modak wrote: > Hello Team, > > How can we check if variable demo01 has 01 in it in ansible. i have > server with hostanme server01 and server02 i want some task to be applied > to only 0

[ansible-project] how to fetch substring from vairbale or ansible vriable or facts

2020-08-14 Thread Sameer Modak
Hello Team, How can we check if variable demo01 has 01 in it in ansible. i have server with hostanme server01 and server02 i want some task to be applied to only 01 machines how can i do it. -- You received this message because you are subscribed to the Google Groups "Ansible Project" group.