How to insert block at specific line number using ansible – Docker
I want to add below docker log rotation specs into daemon.json file using ansible-playbook "log-driver": "json-file", "log-opts": { "max-size": "1m", "max-file": "4" } What if daemon.json is already present on the node which I am applying the playbook to. I…