ansible v2 (release 3.4.9)

This commit is contained in:
havelight-ee
2023-02-16 16:20:12 +09:00
parent 7f08fdd9ff
commit 59a199e50f
3525 changed files with 435537 additions and 62726 deletions

View File

@@ -6,6 +6,7 @@ namespace=$1
export ES_NODEPORT=`kubectl -n ${namespace} get svc elasticsearch -o jsonpath='{.spec.ports[*].nodePort}'`
export MASTER_IP=`kubectl get node -o wide | grep control-plane | awk '{print $6}'`
echo $MASTER_IP
export NUM_SHARDS=2
export NUM_REPLICAS=1
@@ -2097,7 +2098,7 @@ curl $PARAM -X PUT $PROTO'://'"${MASTER_IP}"':'"${ES_NODEPORT}"'/_template/jspd_
"type": "text",
"fields": {
"keyword": {
"ignore_above": 102400,
"ignore_above": 32766,
"type": "keyword"
}
}
@@ -2641,7 +2642,7 @@ curl $PARAM -X PUT $PROTO'://'"${MASTER_IP}"':'"${ES_NODEPORT}"'/_template/jspd_
"type": "text",
"fields": {
"keyword": {
"ignore_above": 102400,
"ignore_above": 32766,
"type": "keyword"
}
}