-
Notifications
You must be signed in to change notification settings - Fork 687
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4596 from zenmonkeykstop/4593-admin-logs-cleanup
Updated logs playbook to clean up unencrypted tarballs
- Loading branch information
Showing
2 changed files
with
21 additions
and
7 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,6 +41,8 @@ | |
sdlog = logging.getLogger(__name__) | ||
RELEASE_KEY = '22245C81E3BAEB4138B36061310F561200F4AD77' | ||
DEFAULT_KEYSERVER = 'hkps://keys.openpgp.org' | ||
SUPPORT_ONION_URL = 'http://support6kv2242qx.onion' | ||
SUPPORT_URL = 'https://support.freedom.press' | ||
EXIT_SUCCESS = 0 | ||
EXIT_SUBPROCESS_ERROR = 1 | ||
EXIT_INTERRUPT = 2 | ||
|
@@ -741,8 +743,8 @@ def get_logs(args): | |
os.path.join(args.ansible_path, 'securedrop-logs.yml'), | ||
] | ||
subprocess.check_call(ansible_cmd, cwd=args.ansible_path) | ||
sdlog.info("Encrypt logs and send to [email protected] or upload " | ||
"to the SecureDrop support portal.") | ||
sdlog.info("Please send the encrypted logs to [email protected] or " | ||
"upload them to the SecureDrop support portal: " + SUPPORT_URL) | ||
return 0 | ||
|
||
|
||
|
This file contains 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