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:
parent
dd25c52185
commit
6db30d109b
1 changed files with 3 additions and 0 deletions
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue