Skip to content

Commit

Permalink
Rename role name; update with storage configuration; update vault ver…
Browse files Browse the repository at this point in the history
…sion
  • Loading branch information
cpxPratik committed Jul 4, 2018
1 parent 66b2c62 commit bcf76ff
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion deploy.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
---
- hosts: vaultservers
roles:
- role: vaultdeploy
- role: vault-deploy
2 changes: 1 addition & 1 deletion hosts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
localhost

[vaultservers:vars]
vault_version=0.7.0
vault_version=0.10.3
File renamed without changes.
9 changes: 9 additions & 0 deletions roles/vault-deploy/files/vaultconfig.hcl
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
storage "consul" {
address = "127.0.0.1:8500"
path = "vault"
}

listener "tcp" {
address = "127.0.0.1:8200"
tls_disable = 1
}
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
update_cache: yes
become: true

- name: download and install vault binary
- name: Download and install vault binary
unarchive:
src: "https://releases.hashicorp.com/vault/{{ vault_version }}/vault_{{ vault_version }}_linux_amd64.zip"
dest: /usr/bin/
Expand Down
9 changes: 0 additions & 9 deletions roles/vaultdeploy/files/vaultconfig.hcl

This file was deleted.

0 comments on commit bcf76ff

Please sign in to comment.