library/qb_facts.py in qb-0.1.39 vs library/qb_facts.py in qb-0.1.40
- old
+ new
@@ -15,15 +15,15 @@
else:
# this shouldn't really happen, but i don't want to stop the show...
return paths[0]
def is_gem(dir):
- return bool(gemspec_path(dir))
+ return dir and bool(gemspec_path(dir))
def main():
module = AnsibleModule(
argument_spec = dict(
- qb_dir = dict(require = True, type = 'path'),
+ qb_dir = dict(require = False, type = 'path'),
),
supports_check_mode = False,
)
qb_dir = module.params['qb_dir']
\ No newline at end of file