Closed meersjo closed 4 years ago
I like this idea. Would you be interested in submitting a PR? Otherwise, I can take a look at it maybe this weekend.
I'm afraid it's a little beyond me, having zero experience with python 😅
Sent from Nine
From: Joey Espinosa notifications@github.com Sent: Wednesday, 14 August 2019 14:48 To: particledecay/ansible-jsonpatch Cc: meersjo; Author Subject: Re: [particledecay/ansible-jsonpatch] [Feature Request] Support for file creation (#6)
I like this idea. Would you be interested in submitting a PR? Otherwise, I can take a look at it maybe this weekend.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or mute the thread.
@meersjo I've been crazy busy, but this functionality should now be in the latest master. The README has been updated to include the new options.
Perfect, thank you :-)
Many other modules support a create: parameter, that indicates wether a nonexistent target file should be created at runtime.
This saves a touch operation earlier in the playbook, so I would ask for this to be added.