Jul-01-2019, 02:35 AM
Hi scidam,
Thanks for the quick response. As to why I'm using python 2.x... Mostly my impetus is that I use Ansible a lot so I wanted to be able to take advantage of some of the advanced features like writing my own module, Jinja2, etc. And as of now, python 3 is not fully supported for most of the features.
I did try your suggestions and each combination but am getting the same results as before my post. Also, I used
Thanks for the quick response. As to why I'm using python 2.x... Mostly my impetus is that I use Ansible a lot so I wanted to be able to take advantage of some of the advanced features like writing my own module, Jinja2, etc. And as of now, python 3 is not fully supported for most of the features.
I did try your suggestions and each combination but am getting the same results as before my post. Also, I used
re.compile("car\S+")because my hosts file was just an example and the characters following the match may be alpha, digit, etc.