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
# to generate your dhparam.pem file, run in the terminal | |
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048 |
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
# Not extensively tested | |
# Put this script in the action_plugins directory of your playbook directory | |
# If you have issues, please report it in the comments (or fork and fix) | |
# Usage: | |
# - name: "Ask the user if we should continue." | |
# action: ask_key prompt="Continue? Yes / No / Random (y/n/r)?" accepted_keys="['y', 'n', 'r']" | |
# register: answer | |
# | |
# The pressed key is now in answer.key |