1 2 3 4 5 6 7 8 9 10 11
from __future__ import annotations from ansible.plugins.vars import BaseVarsPlugin class VarsModule(BaseVarsPlugin): # Implicitly # REQUIRES_ENABLED = False def get_vars(self, loader, path, entities): return {'auto_role_var': True}