Open jaredledvina opened 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.
combine
Checkout how dev-sec did this with: https://github.com/dev-sec/ansible-os-hardening/blob/9fa496f91d35bd5c47912fcd75126900df7e3f4c/tasks/sysctl.yml#L39-L42
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