meza icon indicating copy to clipboard operation
meza copied to clipboard

Check public.yml for syntax errors

Open jamesmontalvo3 opened this issue 5 years ago • 0 comments

When public.yml is loaded by the set-vars role, it is done with failed_when: False in order to allow public.yml to not exist. This is required for bootstrapping a new server. However, this also allows public.yml to have hidden syntax errors which can cause unexpected issues on a server. Syntax-check public.yml and throw an error during deploy if there are issues.

https://github.com/enterprisemediawiki/meza/blob/619bea6658914e8e77bfda0691fa3c03d30c1cdc/src/roles/set-vars/tasks/main.yml#L12-L16

jamesmontalvo3 avatar Mar 04 '19 16:03 jamesmontalvo3