mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-06-25 17:50:23 -07:00
fix vbox inventory to correclty unset pwfile (#49774)
This commit is contained in:
parent
02432565cd
commit
daaca1abd5
2 changed files with 3 additions and 1 deletions
|
@ -237,7 +237,7 @@ class InventoryModule(BaseInventoryPlugin, Constructable, Cacheable):
|
|||
update_cache = True
|
||||
|
||||
if not source_data:
|
||||
b_pwfile = to_bytes(self.get_option('settings_password_file'), errors='surrogate_or_strict')
|
||||
b_pwfile = to_bytes(self.get_option('settings_password_file'), errors='surrogate_or_strict', nonstring='passthru')
|
||||
running = self.get_option('running_only')
|
||||
|
||||
# start getting data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue