add some values for vault to group_vars, clean up playbooks, update requirements

This commit is contained in:
Amarpreet Minhas 2020-08-27 15:19:37 -04:00
parent 09c54475a3
commit f2e657ff8b
7 changed files with 27 additions and 7 deletions

View file

@ -1,7 +1,7 @@
--- ---
# general
site_domain: minhas.io
# consul # consul
consul_version: 1.8.3 consul_version: 1.8.3
# vault
vault_version: 1.5.2
... ...

View file

@ -1,3 +1,4 @@
--- ---
consul_dc: columbia consul_dc: columbia
consul_config_path: /usr/local/etc/consul.d
... ...

View file

@ -1,4 +1,8 @@
[consul_server] [consul_server]
ivyking.minhas.io
fatman.minhas.io fatman.minhas.io
ivyking.minhas.io
sedan.minhas.io
[vault_server]
ivyking.minhas.io
sedan.minhas.io sedan.minhas.io

View file

@ -0,0 +1,5 @@
---
- hosts: consul_server
roles:
- role: consul_server
...

View file

@ -3,7 +3,6 @@
roles: roles:
- role: common - role: common
- hosts: consul_server - import_playbook: consul-server.yml
roles: - import_playbook: vault-server.yml
- role: consul_server
... ...

View file

@ -0,0 +1,5 @@
---
- hosts: vault_server
roles:
- role: vault_server
...

View file

@ -1,8 +1,14 @@
ansible==2.9.12 ansible==2.9.12
certifi==2020.6.20
cffi==1.14.2 cffi==1.14.2
chardet==3.0.4
cryptography==3.0 cryptography==3.0
hvac==0.10.5
idna==2.10
Jinja2==2.11.2 Jinja2==2.11.2
MarkupSafe==1.1.1 MarkupSafe==1.1.1
pycparser==2.20 pycparser==2.20
PyYAML==5.3.1 PyYAML==5.3.1
requests==2.24.0
six==1.15.0 six==1.15.0
urllib3==1.25.10