skip to Main Content

Modify json using Ansible – CentOS

I have a simple json that looks like this: { "aaa": "true", "bbb": "false", "ccc": "true" } I would like enable 'bbb' value using ansible. Here is my playbook: --- - hosts: "{{hosts}}" remote_user: 'centos' gather_facts: yes become: yes tasks:…

VIEW QUESTION
Back To Top
Search