mirror of
https://github.com/thegeeklab/ansible-doctor.git
synced 2024-11-24 22:00:40 +00:00
fix cli args
This commit is contained in:
parent
b3cd1d0978
commit
f265180bdf
@ -93,7 +93,7 @@ class AnsibleDoctor:
|
|||||||
self.log.debug("using configuration file: " + conf_file)
|
self.log.debug("using configuration file: " + conf_file)
|
||||||
|
|
||||||
# Overwrite
|
# Overwrite
|
||||||
if args.y is True:
|
if args.force is True:
|
||||||
self.config.template_overwrite = True
|
self.config.template_overwrite = True
|
||||||
|
|
||||||
# Dry run
|
# Dry run
|
||||||
@ -104,12 +104,12 @@ class AnsibleDoctor:
|
|||||||
self.log.info("Running in Dry mode: Therefore setting log level at least to INFO")
|
self.log.info("Running in Dry mode: Therefore setting log level at least to INFO")
|
||||||
|
|
||||||
# Print template
|
# Print template
|
||||||
if args.p == "_unset_":
|
if args.print == "_unset_":
|
||||||
pass
|
pass
|
||||||
elif args.p is None:
|
elif args.print is None:
|
||||||
self.config.use_print_template = "all"
|
self.config.use_print_template = "all"
|
||||||
else:
|
else:
|
||||||
self.config.use_print_template = args.p
|
self.config.use_print_template = args.print
|
||||||
|
|
||||||
# output dir
|
# output dir
|
||||||
if args.output is not None:
|
if args.output is not None:
|
||||||
|
Loading…
Reference in New Issue
Block a user