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
| #!/bin/bash | |
| # This script produces a CA with a restraint that it can only create certificates under a specific domain. | |
| # The last 5 lines install the CA where mkcert will make use of it as the root CA ( OSX specific at the moment ) | |
| gTLD="${gTLD:-localhost}" | |
| declare -x HOST_COMMON_NAME | |
| #export exampleIP=192.0.2.2 | |
| force=false | |
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 ANSIBLE_HOSTS="localhost," ansible-playbook | |
| # | |
| # Huh? | |
| # Often I want to render a template but I don't really want to deal with all | |
| # of ansible. So this is command line tool for generating and install a | |
| # jinja template using ansible. No inventory file is required. | |
| # | |
| # Example: | |
| # SRC=./templates/curlrc.j2 DEST=~/.curlrc ./template.yaml | |
| # |