Browse Source

Add encrypted vars for ds-tools.

master
Chris Smith 9 years ago
parent
commit
8ab6822d16
4 changed files with 16 additions and 1 deletions
  1. 1
    0
      .gitignore
  2. 3
    1
      README.md
  3. 3
    0
      playbooks/ds-tools.yml
  4. 9
    0
      vars/ds-tools.yml

+ 1
- 0
.gitignore View File

@@ -0,0 +1 @@
1
+/.vault-password

+ 3
- 1
README.md View File

@@ -9,4 +9,6 @@ Most of the interesting stuff is found in the roles contained in the
9 9
 
10 10
 To run all of the playbooks:
11 11
 
12
-    ansible-playbook -i inventories/inventory.yml -u root playbooks/all.yml
12
+    ansible-playbook -i inventories/inventory.yml -u root \
13
+                     --vault-password-file=.vault-password playbooks/all.yml
14
+

+ 3
- 0
playbooks/ds-tools.yml View File

@@ -1,4 +1,7 @@
1 1
 ---
2 2
 - hosts: ds-tools
3
+  vars_files:
4
+    - ../vars/ds-tools.yml
3 5
   roles:
4 6
     - role: ds-tools
7
+

+ 9
- 0
vars/ds-tools.yml View File

@@ -0,0 +1,9 @@
1
+$ANSIBLE_VAULT;1.1;AES256
2
+63376231373230623836373137653536616139613831326437373836313434363039386262616335
3
+3737326431353237383362323234636433303663323564340a636136393065646531633331663237
4
+36616535353363643561616231353463653632336336613337633961346464646139653731393136
5
+6466313536376366340a313738393662323638646633313763653361353537356438633134353762
6
+61656461626539343331613566363435643563393630623536316638353065386234663666623635
7
+39376662356238326233366561646364616438306236393061363764346432626466663464376138
8
+39343366666338333865373134383830643431346639343962323733633361316661343634343230
9
+36363766653165303530

Loading…
Cancel
Save