mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-26 14:41:23 -07:00
account for absense of config file
This commit is contained in:
parent
dfcf43efa9
commit
6b99f0d65c
1 changed files with 12 additions and 11 deletions
|
@ -89,6 +89,7 @@ class ConfigManager(object):
|
|||
# TODO: take list of files with merge/nomerge
|
||||
|
||||
parser = None
|
||||
if cfile:
|
||||
if ftype == 'ini':
|
||||
parser = configparser.ConfigParser()
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue