playbooks: add deploy_postgre_vhosts & deploy_redis_vhosts
This commit is contained in:
parent
175844176b
commit
3b43bce14c
2
.gitignore
vendored
2
.gitignore
vendored
@ -5,3 +5,5 @@
|
||||
playbooks/deepflow/*.zip
|
||||
playbooks/deepflow/*.tar.gz
|
||||
playbooks/deepflow/deepflow-agent-playbook/*.zip
|
||||
|
||||
remotes.before.txt
|
||||
|
||||
10
playbooks/deploy_postgre_vhosts.yml
Normal file
10
playbooks/deploy_postgre_vhosts.yml
Normal file
@ -0,0 +1,10 @@
|
||||
- name: Setup postgres server
|
||||
hosts: cn-homepage.svc.plus
|
||||
become: true
|
||||
roles:
|
||||
- roles/vhosts/postgres
|
||||
- name: Setup postgres server
|
||||
hosts: global-homepage.svc.plus
|
||||
become: true
|
||||
roles:
|
||||
- roles/vhosts/postgres/
|
||||
10
playbooks/deploy_redis_vhosts.yml
Normal file
10
playbooks/deploy_redis_vhosts.yml
Normal file
@ -0,0 +1,10 @@
|
||||
- name: Setup Redis server
|
||||
hosts: cn-homepage.svc.plus
|
||||
become: true
|
||||
roles:
|
||||
- roles/vhosts/Redis/
|
||||
- name: Setup Redis server
|
||||
hosts: global-homepage.svc.plus
|
||||
become: true
|
||||
roles:
|
||||
- roles/vhosts/Redis/
|
||||
Loading…
Reference in New Issue
Block a user