summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndy Doan <andy.doan@linaro.org>2014-09-12 09:30:42 -0500
committerAndy Doan <andy.doan@linaro.org>2014-09-12 09:30:42 -0500
commitdbc757342faf8c9667fb186c6c8d005c118300d9 (patch)
tree9fdf0d34f52d2b96dd725b56a991864469f1ada3
parent3575be7cf3162757c6cb2b581f1b21bdbc652cf7 (diff)
update to use shared credentials
Change-Id: I36dfd1c8324fdc32757125f6fe630c90ffe03b4c
l---------ansible/secrets1
-rw-r--r--ansible/secrets.yml.tmpl6
-rw-r--r--ansible/site.yml2
3 files changed, 2 insertions, 7 deletions
diff --git a/ansible/secrets b/ansible/secrets
new file mode 120000
index 0000000..aee03dc
--- /dev/null
+++ b/ansible/secrets
@@ -0,0 +1 @@
+../../shared-credentials/ansible/patches-servers \ No newline at end of file
diff --git a/ansible/secrets.yml.tmpl b/ansible/secrets.yml.tmpl
deleted file mode 100644
index c8285fd..0000000
--- a/ansible/secrets.yml.tmpl
+++ /dev/null
@@ -1,6 +0,0 @@
-# Secrets the user need to insert.
-crowd_app_name:
-crowd_app_password:
-db_password:
-openssl_certs:
- - path...
diff --git a/ansible/site.yml b/ansible/site.yml
index 3e265ea..2d19501 100644
--- a/ansible/site.yml
+++ b/ansible/site.yml
@@ -13,4 +13,4 @@
- apache-website
- cronjobs
vars_files:
- - secrets.yml
+ - ["secrets/host_vars/{{inventory_hostname}}", "vars/empty.yml"]