Skip to content

Instantly share code, notes, and snippets.

@damianknopp
Created February 29, 2020 21:52
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save damianknopp/16db36a366dab3a9eaee20f249e7f60e to your computer and use it in GitHub Desktop.
Save damianknopp/16db36a366dab3a9eaee20f249e7f60e to your computer and use it in GitHub Desktop.
dmk-kubespray-apply.sh
#!/bin/bash
aws-vault exec dmk-api -- ansible-playbook -i inventory/kube02/hosts.yml \
--user ubuntu \
--flush-cache \
--become -verbose \
--private-key=/Users/dmk/keys/kube01.pem cluster.yml
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment