forked from twnaxy/virk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathviya-services-vars.yml
21 lines (20 loc) · 1.28 KB
/
viya-services-vars.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
####################################################################
#### viya-services-vars.yml ####
####################################################################
#### Author: SAS Institute Inc. ####
####################################################################
---
########################################
# Variables used in playbooks
########################################
host_connection_timer: 5 #seconds
svas_retry_count: 2
svas_delay_timer: 2 #seconds
enable_stray_cleanup: false #stray processes cleanup
########################################
# Commands used in playbooks
########################################
sasps_cmd: ps -ef|grep -E '/opt/sas/spre/|/opt/sas/viya/'|grep -v grep|tail -1
rhel_url_scraping_cmd: 'host=$(hostname -f);cat /etc/httpd/conf.d/proxy.conf|grep ProxyPass|grep -e "/SAS"|awk "{print \$2}"|sort|uniq|sed "s/^/http:\/\/"$host"/"'
sles_url_scraping_cmd: 'host=$(hostname -f);cat /etc/apache2/conf.d/proxy.conf|grep ProxyPass|grep -e "/SAS"|awk "{print \$2}"|sort|uniq|sed "s/^/http:\/\/"$host"/"'
list_services_cmd: ls /etc/init.d/sas-viya*|awk -F '/' '{print $NF}'|grep -vE "\-all\-|\-consul\-|\-vault\-|\-httpproxy\-|\-rabbitmq\-|\-sasdatasvrc\-|\-pgpoolc\-|\-cascontroller\-"