aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbnewbold <bnewbold@robocracy.org>2016-03-25 11:50:28 -0700
committerbnewbold <bnewbold@robocracy.org>2016-03-25 11:50:28 -0700
commit042c7a8140b0a3c5991030e10e394d452ae7d38f (patch)
treee84e67ea44374deca10b210a2fddcb20db396202
parentbe8701c13800eb84fc4afb118c16738abee55850 (diff)
downloadinfra-042c7a8140b0a3c5991030e10e394d452ae7d38f.tar.gz
infra-042c7a8140b0a3c5991030e10e394d452ae7d38f.zip
add vault stuff
-rw-r--r--README.md13
-rwxr-xr-xgpg_vault_pass.sh3
-rw-r--r--vars/vault.yml9
-rw-r--r--vault_pass.txt.gpgbin0 -> 707 bytes
4 files changed, 25 insertions, 0 deletions
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..5989cc0
--- /dev/null
+++ b/README.md
@@ -0,0 +1,13 @@
+
+This repo contains helpful Ansible scripts for maintaining the bnewbold's
+servers and infrastructure.
+
+Be sure to keep things compatible with ansible 1.7.2 (the version in Debian
+jessie).
+
+Vault:
+ export ANSIBLE_VAULT_PASSWORD_FILE=vault_pass.txt
+ http://docs.ansible.com/ansible/playbooks_vault.html
+
+Example playbook call:
+ ansible-playbook -i hosts playbooks/init_adze.yml --vault-password-file=vault_pass.txt
diff --git a/gpg_vault_pass.sh b/gpg_vault_pass.sh
new file mode 100755
index 0000000..06e9e5f
--- /dev/null
+++ b/gpg_vault_pass.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+gpg -r bnewbold@robocracy.org -e vault_pass.txt
diff --git a/vars/vault.yml b/vars/vault.yml
new file mode 100644
index 0000000..479afe9
--- /dev/null
+++ b/vars/vault.yml
@@ -0,0 +1,9 @@
+$ANSIBLE_VAULT;1.1;AES256
+31336533393933326433396364623066323162633161333836396564376366373633316662316161
+6432343134383439346332656239643466626165666137370a646332613536616561646238623630
+35363365373434393639653334393936326231373133363630393964643639343165653537386233
+6330396363666633320a303763613464666333633863356165356639343738376134363234336336
+66383365666239383965656262336338653530326534393131633636656532613235636162356430
+64643064643932313132666136396639323339616136343664353939343339303563643139656431
+35643461653762306536666538346366316531626334333861316266363038326363346433386630
+61613736356330323263
diff --git a/vault_pass.txt.gpg b/vault_pass.txt.gpg
new file mode 100644
index 0000000..34d3b03
--- /dev/null
+++ b/vault_pass.txt.gpg
Binary files differ