File tree Expand file tree Collapse file tree 9 files changed +23
-23
lines changed Expand file tree Collapse file tree 9 files changed +23
-23
lines changed Original file line number Diff line number Diff line change 99 - role : ai_multifs_run
1010 tasks :
1111 - name : Final multi-filesystem testing summary
12- debug :
12+ ansible.builtin. debug :
1313 msg : |
1414 Multi-filesystem AI benchmark testing completed!
1515
Original file line number Diff line number Diff line change 11---
22- name : Include role create_data_partition
3- include_role :
3+ ansible.builtin. include_role :
44 name : create_data_partition
55 tags : ["setup", "data_partition"]
66
77- name : Include role common
8- include_role :
8+ ansible.builtin. include_role :
99 name : common
1010 when :
1111 - infer_uid_and_group|bool
Original file line number Diff line number Diff line change 5050 when : ai_milvus_docker | bool
5151
5252- name : Setup MinIO using shared role
53- include_role :
53+ ansible.builtin. include_role :
5454 name : minio_setup
5555 vars :
5656 minio_container_image : " {{ ai_minio_container_image_string }}"
Original file line number Diff line number Diff line change 8686 become : true
8787 become_method : sudo
8888 ansible.posix.firewalld :
89- service : kerberos
89+ ansible.builtin. service : kerberos
9090 permanent : true
9191 immediate : true
9292 state : enabled
9696 become : true
9797 become_method : sudo
9898 ansible.posix.firewalld :
99- service : kadmin
99+ ansible.builtin. service : kadmin
100100 permanent : true
101101 immediate : true
102102 state : enabled
Original file line number Diff line number Diff line change 312312- name : Ensure NFS firewall rules are set (for root user and if NFS is enabled)
313313 become : true
314314 ansible.posix.firewalld :
315- service : " {{ item }}"
315+ ansible.builtin. service : " {{ item }}"
316316 permanent : true
317317 state : enabled
318318 immediate : true
Original file line number Diff line number Diff line change 11---
22- name : Import optional extra_args file
3- include_vars : " {{ item }}"
3+ ansible.builtin. include_vars : " {{ item }}"
44 ignore_errors : true
55 with_items :
66 - " ../extra_vars.yaml"
77 tags : vars
88
99- name : Install Docker
10- package :
10+ ansible.builtin. package :
1111 name :
1212 - docker.io
1313 - python3-docker
1414 state : present
1515 become : true
1616
1717- name : Ensure Docker service is running
18- systemd :
18+ ansible.builtin. systemd :
1919 name : docker
2020 state : started
2121 enabled : true
2222 become : true
2323
2424- name : Add current user to docker group
25- user :
25+ ansible.builtin. user :
2626 name : " {{ ansible_user | default('kdevops') }}"
2727 groups : docker
2828 append : true
3131- name : Install MinIO Warp
3232 block :
3333 - name : Download MinIO Warp binary
34- get_url :
34+ ansible.builtin. get_url :
3535 url : " https://github.com/minio/warp/releases/latest/download/warp_Linux_x86_64.tar.gz"
3636 dest : " /tmp/warp_Linux_x86_64.tar.gz"
3737 mode : " 0644"
3838
3939 - name : Extract MinIO Warp
40- unarchive :
40+ ansible.builtin. unarchive :
4141 src : " /tmp/warp_Linux_x86_64.tar.gz"
4242 dest : " /tmp"
4343 remote_src : true
4444
4545 - name : Install Warp binary
46- copy :
46+ ansible.builtin. copy :
4747 src : " /tmp/warp"
4848 dest : " /usr/local/bin/warp"
4949 mode : " 0755"
5353 become : true
5454
5555 - name : Clean up downloaded files
56- file :
56+ ansible.builtin. file :
5757 path : " {{ item }}"
5858 state : absent
5959 loop :
Original file line number Diff line number Diff line change 11---
22- name : Import optional extra_args file
3- include_vars : " {{ item }}"
3+ ansible.builtin. include_vars : " {{ item }}"
44 ignore_errors : true
55 with_items :
66 - " ../extra_vars.yaml"
77 tags : vars
88
99- name : Create results analysis script
10- copy :
10+ ansible.builtin. copy :
1111 content : |
1212 #!/usr/bin/env python3
1313 import json
6969 run_once : true
7070
7171- name : Run results analysis
72- command : python3 /tmp/analyze_minio_results.py
72+ ansible.builtin. command : python3 /tmp/analyze_minio_results.py
7373 register : analysis_output
7474 delegate_to : localhost
7575 run_once : true
7676
7777- name : Display analysis results
78- debug :
78+ ansible.builtin. debug :
7979 var : analysis_output.stdout_lines
8080
8181- name : Create results summary file
82- copy :
82+ ansible.builtin. copy :
8383 content : " {{ analysis_output.stdout }}"
8484 dest : " {{ playbook_dir }}/../workflows/minio/results/benchmark_summary.txt"
8585 delegate_to : localhost
Original file line number Diff line number Diff line change 11---
22- name : Import optional extra_args file
3- include_vars : " {{ item }}"
3+ ansible.builtin. include_vars : " {{ item }}"
44 ignore_errors : true
55 with_items :
66 - " ../extra_vars.yaml"
1313 ignore_errors : true
1414
1515- name : Display MinIO uninstallation complete
16- debug :
16+ ansible.builtin. debug :
1717 msg : " MinIO container stopped"
Original file line number Diff line number Diff line change 6161 become_flags : " su - -c"
6262 become_method : sudo
6363 ansible.posix.firewalld :
64- service : samba
64+ ansible.builtin. service : samba
6565 permanent : true
6666 immediate : true
6767 state : enabled
You can’t perform that action at this time.
0 commit comments