- command line values (for example, -u my_user, these are not variables)
- role defaults (defined in role/defaults/main.yml)
- inventory file or script group vars
- inventory group_vars/all
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python3 | |
import getpass | |
def del_imap(server, port, login, password, search): | |
import imaplib, email | |
# NOTE: According to RFC 1730 the SEARCH commands searches for 'messages that | |
# CONTAIN the specified string. When multiple keys are specified, the result | |
# is the intersection (AND function) of all the messages that match those |