Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Add exists module for checking file existence #35572
It's a very common thing to want to do in playbooks to check if a file
when they could just be this:
This would make @omgjlk happy. That should be justification enough.
I like the intent, but there is some work to be done yet here.
I've had a brief discussion with other members of the core team in regards to this. We would recommend a solution that "fixes" the stat module, instead of introducing another module.
A new arg could be introduced to turn off all checksumming, to reduce the need for disabling 3 arguments.
As a new module, we won't be accepting this.