mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-05-28 03:49:09 -07:00
Fix delegate_to localhost vs. 127.0.0.1 (and ::1)
This commit is contained in:
parent
38573c55bf
commit
8e664ad226
2 changed files with 14 additions and 4 deletions
|
@ -60,8 +60,8 @@ class Conditional:
|
|||
# associated with it, so we pull it out now in case we need it for
|
||||
# error reporting below
|
||||
ds = None
|
||||
if hasattr(self, 'get_ds'):
|
||||
ds = self.get_ds()
|
||||
if hasattr(self, '_ds'):
|
||||
ds = getattr(self, '_ds')
|
||||
|
||||
try:
|
||||
for conditional in self.when:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue