add some values for vault to group_vars, clean up playbooks, update requirements
This commit is contained in:
parent
09c54475a3
commit
f2e657ff8b
7 changed files with 27 additions and 7 deletions
|
@ -1,7 +1,7 @@
|
|||
---
|
||||
# general
|
||||
site_domain: minhas.io
|
||||
|
||||
# consul
|
||||
consul_version: 1.8.3
|
||||
|
||||
# vault
|
||||
vault_version: 1.5.2
|
||||
...
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
---
|
||||
consul_dc: columbia
|
||||
consul_config_path: /usr/local/etc/consul.d
|
||||
...
|
||||
|
|
|
@ -1,4 +1,8 @@
|
|||
[consul_server]
|
||||
ivyking.minhas.io
|
||||
fatman.minhas.io
|
||||
ivyking.minhas.io
|
||||
sedan.minhas.io
|
||||
|
||||
[vault_server]
|
||||
ivyking.minhas.io
|
||||
sedan.minhas.io
|
||||
|
|
5
ansible/playbooks/consul-server.yml
Normal file
5
ansible/playbooks/consul-server.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- hosts: consul_server
|
||||
roles:
|
||||
- role: consul_server
|
||||
...
|
|
@ -3,7 +3,6 @@
|
|||
roles:
|
||||
- role: common
|
||||
|
||||
- hosts: consul_server
|
||||
roles:
|
||||
- role: consul_server
|
||||
- import_playbook: consul-server.yml
|
||||
- import_playbook: vault-server.yml
|
||||
...
|
||||
|
|
5
ansible/playbooks/vault-server.yml
Normal file
5
ansible/playbooks/vault-server.yml
Normal file
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
- hosts: vault_server
|
||||
roles:
|
||||
- role: vault_server
|
||||
...
|
|
@ -1,8 +1,14 @@
|
|||
ansible==2.9.12
|
||||
certifi==2020.6.20
|
||||
cffi==1.14.2
|
||||
chardet==3.0.4
|
||||
cryptography==3.0
|
||||
hvac==0.10.5
|
||||
idna==2.10
|
||||
Jinja2==2.11.2
|
||||
MarkupSafe==1.1.1
|
||||
pycparser==2.20
|
||||
PyYAML==5.3.1
|
||||
requests==2.24.0
|
||||
six==1.15.0
|
||||
urllib3==1.25.10
|
||||
|
|
Loading…
Reference in a new issue