1
0
Fork 0
mirror of https://github.com/ansible-collections/community.general.git synced 2024-09-14 20:13:21 +02:00

Merge pull request #15891 from privateip/fixes-ansible-modules-core-3502

bugfix for issue with trying to eval contains with non-string
This commit is contained in:
Peter Sprygada 2016-05-17 06:43:42 -04:00
commit 7cb7132b24

View file

@ -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