redhat-cop / automation-good-practices

Recommended practices for all elements of automation using Ansible, starting with collections and roles, continuing with playbooks, inventories and plug-ins... These good practices are planned to be used by all Red Hat teams interested but can of course be used by others.
268 stars 66 forks source link

Added additional suggestion around lineinfile #51

Closed bontreger closed 2 years ago

bontreger commented 2 years ago

Added a recommendation to use specific modules in place of line in file. Many client playbooks use lineinfile for ssh_config and network configs

ericzolf commented 2 years ago

Looks good to me, just nitpicking at format and module links.

mophahr commented 2 years ago

Approved in the CoP meeting