mirror of
https://github.com/ansible-collections/community.general.git
synced 2026-05-07 05:42:50 +00:00
Fix existing_mailbox check
This commit is contained in:
@@ -99,7 +99,7 @@ def main():
|
||||
module.params['login_password']
|
||||
)
|
||||
|
||||
mailbox_list = webfaction.list_mailboxes(session_id)
|
||||
mailbox_list = [x['mailbox'] for x in webfaction.list_mailboxes(session_id)]
|
||||
existing_mailbox = mailbox_name in mailbox_list
|
||||
|
||||
result = {}
|
||||
|
||||
Reference in New Issue
Block a user