mirror of https://github.com/ansible/ansible.git
parent
e5ec1ee76c
commit
2a3c93f593
@ -0,0 +1,2 @@
|
||||
deprecated_features:
|
||||
- Stategy Plugins - Use of strategy plugins not provided in ``ansible.builtin`` are deprecated and do not carry any backwards compatibility guarantees going forward. A future release will remove the ability to use external strategy plugins. No alternative for third party strategy plugins is currently planned.
|
||||
@ -0,0 +1,3 @@
|
||||
shippable/posix/group5
|
||||
context/controller
|
||||
needs/target/collection
|
||||
@ -0,0 +1,7 @@
|
||||
from __future__ import annotations
|
||||
|
||||
from ansible.plugins.strategy.linear import StrategyModule as LinearStrategy
|
||||
|
||||
|
||||
class StrategyModule(LinearStrategy):
|
||||
...
|
||||
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
source ../collection/setup.sh
|
||||
|
||||
set -eux
|
||||
export ANSIBLE_DEPRECATION_WARNINGS=1
|
||||
export ANSIBLE_COLLECTIONS_PATH="${WORK_DIR}"
|
||||
export ANSIBLE_STRATEGY=ns.col.external
|
||||
output="$(ansible localhost -m debug 2>&1 | tee -a /dev/stderr)"
|
||||
if [[ "${output}" != *"Use of strategy plugins not included in ansible.builtin"* ]]; then
|
||||
echo 'ERROR: Did not find deprecation warning for removal of strategy plugins'
|
||||
exit 1
|
||||
fi
|
||||
Loading…
Reference in New Issue