Skip to content

Commit b68b4d7

Browse files
author
gaoruoshu
committedNov 1, 2021
add new application: ansible
1 parent b75577b commit b68b4d7

File tree

2 files changed

+63
-0
lines changed

2 files changed

+63
-0
lines changed
 
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
project: "ansible"
2+
maxiterations: 100
3+
startworkload: ""
4+
stopworkload: ""
5+
object :
6+
-
7+
name : "ansible.forks"
8+
-
9+
name : "ansible.gathering"
10+
-
11+
name : "ansible.hash_behaviour"
12+
-
13+
name : "ansible.log_path"
14+

‎tuning/yamls/tuning_params_all.yaml

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5198,4 +5198,53 @@ The default value is 2048. You are advised to change the value to 8192."
51985198
- 0
51995199
- 128
52005200
dtype : "int"
5201+
-
5202+
name : "ansible.forks"
5203+
info :
5204+
desc : "Number of concurrent ansible executions."
5205+
get : cat /etc/ansible/ansible.cfg | grep 'forks' | awk -F '=' '{print $2}'
5206+
set : sed -i 's/^forks.*$/forks=$value/g' /etc/ansible/ansible.cfg
5207+
needrestart : "false"
5208+
type : "continuous"
5209+
scope :
5210+
- 1
5211+
- 128
5212+
dtype : "int"
5213+
-
5214+
name : "ansible.gathering"
5215+
info :
5216+
desc : "Plays will gather facts by default, which contain information about the remote system."
5217+
get : cat /etc/ansible/ansible.cfg | grep "gathering.*=" | awk -F "=" '{print $2}'
5218+
set : sed -i 's/^gathering.*$/gathering=$value/g' /etc/ansible/ansible.cfg
5219+
needrestart : "false"
5220+
type : "discrete"
5221+
options :
5222+
- "smart"
5223+
- "implicit"
5224+
- "explicit"
5225+
dtype : "string"
5226+
-
5227+
name : "ansible.hash_behaviour"
5228+
info :
5229+
desc : "Set behaviour when inventory variables overlap."
5230+
get : cat /etc/ansible/ansible.cfg | grep "hash_behaviour" | awk -F "=" '{print $2}'
5231+
set : sed -i 's/^hash_behaviour.*$/hash_behaviour=$value/g' /etc/ansible/ansible.cfg
5232+
needrestart : "false"
5233+
type : "discrete"
5234+
options :
5235+
- "replace"
5236+
- "merge"
5237+
dtype : "string"
5238+
-
5239+
name : "ansible.log_path"
5240+
info :
5241+
desc : "Path of log file."
5242+
get : cat /etc/ansible/ansible.cfg | grep "log_path" | awk -F "=" '{print $2}'
5243+
set : sed -i 's/^log_path.*$/log_path=$value/g' /etc/ansible/ansible.cfg
5244+
needrestart : "false"
5245+
type : "discrete"
5246+
options :
5247+
- "/dev/null"
5248+
- "/var/log/ansible.log"
5249+
dtype : "string"
52015250

0 commit comments

Comments
 (0)