summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xghetto_json4
1 files changed, 4 insertions, 0 deletions
diff --git a/ghetto_json b/ghetto_json
index 60d8542..8d9e5bd 100755
--- a/ghetto_json
+++ b/ghetto_json
@@ -15,6 +15,10 @@ def main(params_list):
path = params.pop('path')
changed = False
+ for key in params.keys():
+ if key.startswith('_ansible_'):
+ params.pop(key)
+
with open(path) as f:
obj = json_load(f)
for (key, target) in params.items():