1
0
Fork 0
forked from infra/ansible

vhost-info: init plugin loader on newer ansible-core

Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
Kevin Fenzi 2026-07-27 11:00:28 -07:00
commit 6db30d109b

View file

@ -102,6 +102,9 @@ unpatched_spectre = loader.load_from_file("/srv/private/ansible/vars.yml")[
"non_spectre_patched"
]
from ansible.plugins.loader import init_plugin_loader
init_plugin_loader([])
# create play with tasks
play_source = dict(
name="vhost-info",