mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
really only want to prevent None typep here
false is sometimes needed
This commit is contained in:
@@ -1825,7 +1825,7 @@ class AnsibleModule(object):
|
||||
|
||||
# expand things like $HOME and ~
|
||||
if not shell:
|
||||
args = [ os.path.expandvars(os.path.expanduser(x)) for x in args if x ]
|
||||
args = [ os.path.expandvars(os.path.expanduser(x)) for x in args if x is not None ]
|
||||
|
||||
rc = 0
|
||||
msg = None
|
||||
|
||||
Reference in New Issue
Block a user