Update lib/ansible/plugins/__init__.py

Co-authored-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/82547/head
Brian Coca 4 months ago committed by GitHub
parent a6d8cad4eb
commit ad42b9b4af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -91,8 +91,8 @@ class AnsiblePlugin(ABC):
return options
def get_ff_option(self, *options, hostvars=None, pc=None):
''' convinience function for when plugins have not followed strict conventions (user/remote_user)
and/or relied on playcontext, which is not strictly up2date, specially in loops. '''
''' convenience function for when plugins have not followed strict conventions (user/remote_user)
and/or relied on play context, which is not strictly up to date, especially in loops. '''
for option in options:
if self.has_option(option):
return self.get_option(option, hostvars)

Loading…
Cancel
Save