{"action":"created","issue":{"url":"https://api.github.com/repos/pixelb/crudini/issues/21","labels_url":"https://api.github.com/repos/pixelb/crudini/issues/21/labels{/name}","comments_url":"https://api.github.com/repos/pixelb/crudini/issues/21/comments","events_url":"https://api.github.com/repos/pixelb/crudini/issues/21/events","html_url":"https://github.com/pixelb/crudini/issues/21","id":55167236,"number":21,"title":"RFE: show whether config was updated or not","user":{"login":"xsuchy","id":85769,"avatar_url":"https://avatars.githubusercontent.com/u/85769?v=3","gravatar_id":"","url":"https://api.github.com/users/xsuchy","html_url":"https://github.com/xsuchy","followers_url":"https://api.github.com/users/xsuchy/followers","following_url":"https://api.github.com/users/xsuchy/following{/other_user}","gists_url":"https://api.github.com/users/xsuchy/gists{/gist_id}","starred_url":"https://api.github.com/users/xsuchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xsuchy/subscriptions","organizations_url":"https://api.github.com/users/xsuchy/orgs","repos_url":"https://api.github.com/users/xsuchy/repos","events_url":"https://api.github.com/users/xsuchy/events{/privacy}","received_events_url":"https://api.github.com/users/xsuchy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-22T15:34:33Z","updated_at":"2015-01-22T16:08:30Z","closed_at":null,"body":"It would be nice if crudini can print whether it really altered the config. Eg:\r\n  changed: file foo has been successfully altered\r\nor\r\n  ok: no change needed\r\nwhen the var/config is already set or deleted.\r\n\r\nThis would allow better usage in ansible playbooks. Right now it is not possible if command actually changed something or not."},"comment":{"url":"https://api.github.com/repos/pixelb/crudini/issues/comments/71045000","html_url":"https://github.com/pixelb/crudini/issues/21#issuecomment-71045000","issue_url":"https://api.github.com/repos/pixelb/crudini/issues/21","id":71045000,"user":{"login":"pixelb","id":316894,"avatar_url":"https://avatars.githubusercontent.com/u/316894?v=3","gravatar_id":"","url":"https://api.github.com/users/pixelb","html_url":"https://github.com/pixelb","followers_url":"https://api.github.com/users/pixelb/followers","following_url":"https://api.github.com/users/pixelb/following{/other_user}","gists_url":"https://api.github.com/users/pixelb/gists{/gist_id}","starred_url":"https://api.github.com/users/pixelb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pixelb/subscriptions","organizations_url":"https://api.github.com/users/pixelb/orgs","repos_url":"https://api.github.com/users/pixelb/repos","events_url":"https://api.github.com/users/pixelb/events{/privacy}","received_events_url":"https://api.github.com/users/pixelb/received_events","type":"User","site_admin":false},"created_at":"2015-01-22T16:08:30Z","updated_at":"2015-01-22T16:08:30Z","body":"Would the ansible playbooks process the feedback, or is this for logging?\r\n\r\nIn either case a --verbose option may work here to produce output like:\r\n\r\n```created: file, section, new param, new value\r\ncreated: new file, new section\r\nupdated: file, section param value\r\ndeleted: file section param value```\r\ndeleted: file section```\r\n\r\nIf we were adding new/old values to the --verbose output,\r\nthey'd have to be escaped as can be multiline etc."}}