Deprecate DISPLAY_SKIPPED_HOSTS in favor of ANSIBLE_ prefix #52967
Labels
affects_2.7
This issue/PR affects Ansible v2.7
bug
This issue/PR relates to a bug.
python3
support:community
This issue/PR relates to code supported by the Ansible community.
support:core
This issue/PR relates to code supported by the Ansible Engineering Team.
SUMMARY
Most (all?) environment variables that configure ansible are prefixed with
ANSIBLE_
which makes it easy to search for these, and unset them as the case requires. A notable exception isDISPLAY_SKIPPED_HOSTS
which has been around forever but has not seen much use until recently due to theactionable
andskippy
stdout_callback plugins being available to implement the functionality.I propose to deprecate this and any other env vars that don't start w/
ANSIBLE_
and make theANSIBLE_
version override if both are defined.Turns out it was in commit d5f20e6 that DISPLAY_SKIPPED_HOSTS was added. At that time, it was the only env var in
lib/ansible/constants.py
to NOT start withANSIBLE_
ISSUE TYPE
COMPONENT NAME
default callback plugin
skippy
actionable
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Fedora 29
STEPS TO REPRODUCE
EXPECTED RESULTS
All ansible environment vars start with
ANSIBLE_
ACTUAL RESULTS
At least one environment variable doesn't start with
ANSIBLE_
The text was updated successfully, but these errors were encountered: