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

include_vars: fix checking for a string in ignore_files

This commit is contained in:
Martin Krizek 2018-09-07 09:46:15 +02:00 committed by Brian Coca
parent a1e2f1bf73
commit d383d87b22

View file

@ -48,7 +48,7 @@ class ActionModule(ActionBase):
if not self.ignore_files:
self.ignore_files = list()
if isinstance(self.ignore_files, str):
if isinstance(self.ignore_files, string_types):
self.ignore_files = self.ignore_files.split()
elif isinstance(self.ignore_files, dict):