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>
The standard Ansible names for the plugins folders [1] are singular.
This patch renames our plural names to singular names so that when
the plugins are downloaded into a default location there is no further
configuration required.
[1] https://github.com/ansible/ansible/blob/devel/lib/ansible/constants.py
Change-Id: Ib965750f267d11287a6196e2544c3a014a3e2029