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
| --- | |
| - name: Update dat files | |
| hosts: all | |
| become: yes | |
| vars: | |
| - base_path: /etc/mosdns | |
| - restart_daemon: yes | |
| - daemon_service_name: mosdns | |
| - clean_up_after: yes |
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/env sh | |
| # Example: ./download_minio.sh example.url.com username password bucket-name minio/path/to/file.txt.zst /download/path/to/file.txt.zst | |
| if [ -z $1 ]; then | |
| echo "You have NOT specified a MINIO URL!" | |
| exit 1 | |
| fi | |
| if [ -z $2 ]; then |
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/env bash | |
| # | |
| # Usage: | |
| # s3-get.sh <bucket> <region> <source-file> <dest-path> | |
| # | |
| # Description: | |
| # Retrieve a secured file from S3 using AWS signature 4. | |
| # To run, this shell script depends on command-line curl and openssl | |
| # | |
| # References: |