jaredledvina / sensu-client

Ansible role for Sensu Clients
MIT License
1 stars 1 forks source link

Make overriding variables easier #14

Open jaredledvina opened 7 years ago

jaredledvina commented 7 years ago

Right now, in order to change any variable, you have to provide the entire hash + the changed value, look into http://docs.ansible.com/ansible/latest/intro_configuration.html#hash-behaviour and the combine filter to make it possible to only override individual values.

Checkout how dev-sec did this with: https://github.com/dev-sec/ansible-os-hardening/blob/9fa496f91d35bd5c47912fcd75126900df7e3f4c/tasks/sysctl.yml#L39-L42