mirror of
https://github.com/ansible/ansible.git
synced 2026-08-05 16:13:06 +02:00
Fix calls to deprecated() to include help_text arg (#85262)
Co-authored-by: Matt Clay <matt@mystile.com>
(cherry picked from commit ea7ad90c31)
This commit is contained in:
committed by
Matt Davis
parent
36f322bb2c
commit
9f703f7633
@@ -14,7 +14,7 @@ export ANSIBLE_VARS_ENABLED=require_enabled
|
||||
|
||||
# Test deprecated features
|
||||
export ANSIBLE_VARS_PLUGINS=./deprecation_warning
|
||||
WARNING="The vars plugin v2_vars_plugin .* is relying on the deprecated entrypoints 'get_host_vars' and 'get_group_vars'"
|
||||
WARNING="The vars plugin v2_vars_plugin .* is relying on the deprecated entrypoints \`get_host_vars\` and \`get_group_vars\`"
|
||||
ANSIBLE_DEPRECATION_WARNINGS=True ANSIBLE_NOCOLOR=True ANSIBLE_FORCE_COLOR=False \
|
||||
ansible-inventory -i localhost, --list all "$@" 2> err.txt
|
||||
ansible localhost -m debug -a "msg={{ lookup('file', 'err.txt') | regex_replace('\n', '') }}" | grep "$WARNING"
|
||||
|
||||
Reference in New Issue
Block a user