Merge pull request #15891 from privateip/fixes-ansible-modules-core-3502
bugfix for issue with trying to eval contains with non-stringpull/4420/head
commit
7cb7132b24
|
@ -382,7 +382,7 @@ class Conditional(object):
|
|||
return self.number(value) <= self.value
|
||||
|
||||
def contains(self, value):
|
||||
return self.value in value
|
||||
return str(self.value) in value
|
||||
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue