mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix bug where options may not have the force_handlers value from the cli
This commit is contained in:
parent
bbe8f48a46
commit
b0e6baf8c3
1 changed files with 1 additions and 1 deletions
|
@ -239,7 +239,7 @@ class ConnectionInformation:
|
|||
# self.no_log = boolean(options.no_log)
|
||||
if options.check:
|
||||
self.check_mode = boolean(options.check)
|
||||
if options.force_handlers:
|
||||
if hasattr(options, 'force_handlers') and options.force_handlers:
|
||||
self.force_handlers = boolean(options.force_handlers)
|
||||
|
||||
# get the tag info from options, converting a comma-separated list
|
||||
|
|
Loading…
Reference in a new issue