File tree Expand file tree Collapse file tree
add-kubelet-logging/tasks
create-service-account/tasks Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2222 register : bearer_token_slurp
2323 delegate_to : localhost
2424 become : false
25+ no_log : true
2526
2627 - name : Decode bearer token
2728 ansible.builtin.set_fact :
2829 bearer_token : " {{ bearer_token_slurp.content | b64decode }}"
30+ no_log : true
2931
3032 - name : Create metrics service account token file in prometheus folder
3133 ansible.builtin.copy :
3234 content : " {{ bearer_token }}"
3335 dest : " {{ kubelet_auth_token_file }}"
3436 mode : ' 0644'
3537 when : promdir.stat.exists
38+ no_log : true
3639
3740 - name : Remove the sa-token file
3841 ansible.builtin.file :
Original file line number Diff line number Diff line change 1212- name : create token for service account
1313 ansible.builtin.command : oc create token metrics-server -n kube-system --duration 720h
1414 register : token
15+ no_log : true
1516
1617- name : remove metrics service account yaml
1718 ansible.builtin.file :
2223 ansible.builtin.copy :
2324 content : " {{ token.stdout }}"
2425 dest : " {{ sa_token_file }}"
26+ mode : ' 0600'
2527 delegate_to : localhost
28+ no_log : true
Original file line number Diff line number Diff line change 6060 Accept : application/json
6161 Content-Type : application/json
6262 body : " {{ lookup('ansible.builtin.template', 'prometheus_datasource.json.j2') }}"
63+ no_log : true
6364
6465 - name : Create microshift perf dashboard in grafana
6566 ansible.builtin.uri :
7374 Accept : application/json
7475 Content-Type : application/json
7576 body : " {{ lookup('ansible.builtin.template', 'grafana_dashboard.json.j2') }}"
77+ no_log : true
Original file line number Diff line number Diff line change 163163 owner : root
164164 group : root
165165 mode : ' 0600'
166+ no_log : true
166167 when : not pull_secret.stat.exists
167168
168169- name : check if crio metrics config is present
Original file line number Diff line number Diff line change 2121 state : present
2222 username : " {{ rhel_username }}"
2323 password : " {{ rhel_password }}"
24+ no_log : true
2425
2526 - name : Enable repo management from subscription-manager
2627 ansible.builtin.command : subscription-manager config --rhsm.manage_repos=1
You can’t perform that action at this time.
0 commit comments