21 lines
498 B
Bash
Executable File
21 lines
498 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
VERS='1.01292019'
|
|
NODE_HOSTS=10.5.10.51,10.5.10.52,10.5.10.53
|
|
NODE_SERVICES=mysql,nginx,gitea,haproxy,keepalived,maxscale
|
|
CERT_DAEMON='/usr/bin/certbot'
|
|
|
|
IFS=,
|
|
NODE_HOSTS=(${NODE_HOSTS})
|
|
NODE_SERVICES=(${NODE_SERVICES})
|
|
unset IFS
|
|
|
|
declare -A idsNMservices
|
|
idsNMservices[mysql]='MySQL'
|
|
idsNMservices[nginx]='NGINX'
|
|
idsNMservices[gogs]='Gogs'
|
|
idsNMservices[gitea]='Gitea'
|
|
idsNMservices[haproxy]='HAProxy'
|
|
idsNMservices[keepalived]='Keepalived'
|
|
idsNMservices[maxscale]='MaxScale'
|