ansible-config_template/filter
Kevin Carter 4ba94db7bb
Created deprecation filter
This filter can be used to notify users that an option has been deprecated.
The filter can be applied to any variable and can be made fatal.

USAGE:
{{ new_var | deprecated(old_var=old_var, old_var_name="old_var_name", new_var_name="new_var_name", removed_in="removed_in", fatal=false) }}'

Note that the key names need not be specified they're only shown in the usage
example for clarity.

PRACTICAL USAGE:
{{ new_var | deprecated(old_var, 'old_var_name', 'new_var_name', 'the next release') }}

Change-Id: Id4f830df4b96a9b0b0b7637c23dfe63dc142387c
Signed-off-by: Kevin Carter <kevin.carter@rackspace.com>
2016-02-29 15:20:34 -06:00
..
osa-filters.py Created deprecation filter 2016-02-29 15:20:34 -06:00