kwoodson / ansible-role-yedit

Ansible Role for Yaml editing
164 stars 62 forks source link

Validate functionality #80

Open marksteward opened 4 years ago

marksteward commented 4 years ago

lineinfile, blockinfile, replace, etc support a validate command that tests the resulting yaml before committing it. It'd be great if this could too, especially as netplan is becoming the standard way to manage network interfaces.