ansible-jsonpatch icon indicating copy to clipboard operation
ansible-jsonpatch copied to clipboard

An Ansible module for patching JSON files

Results 12 ansible-jsonpatch issues
Sort by recently updated
recently updated
newest added

Hello, i have this json ```json { "repositories": [ { "name": "some-name", "type": "vcs", "url": "[email protected]" } ] } ``` and i am trying to create this ```json { "repositories":...

Hi, currently ansible-jsonpatch is living on my system in my ansible repo as a submodule. Submodule handling in git sucks in various ways. I could manage it outside of my...

I have UTF-8 encoded JSON file with string: `März_Lebensmittel` but module changes file encoding to ASCII and string becomes: `M\u00e4rz_Lebensmittel` Is UTF-8 supported?

I've a json with like this: { "bla": 3, "devices": [ { "dummy": "/var" }, { "tempdir": "/var/temp", "memlimit": 100, "units": 50 } ] } and try to change the...

I want to add an item to an array in the JSON file, if the key already exists it should be added, if the key doesn't exist yet it should...

Hi, I'm using this module only to convert the format to "pretty" however I get an error message: my code: ``` - name: Ensure the Ansible project is enabled json_patch:...

This PR also: * Updates the patch() function to default to `modified = false` for better readability. * Updates the testsuite to test the local python file instead of the...

I found this information useful to make use of this module. And I still wish it was included in the `community.general` collection. Could you need help in this endeavour?

I'm trying to write task to change docker config, and restart docker service only if it was changed - and json_patch task for some reason always return `changed: True` Return:...

Replace escape sequences as mentioned in #28 .