Skip to content

Commit 397b2c1

Browse files
committed
playbooks: ansible-lint fix fqcn[action-core]
Generated-by: Claude AI Signed-off-by: Daniel Gomez <[email protected]>
1 parent 39157dc commit 397b2c1

File tree

9 files changed

+23
-23
lines changed

9 files changed

+23
-23
lines changed

playbooks/ai_multifs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
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

playbooks/roles/ai_install/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
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

playbooks/roles/ai_setup/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@
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 }}"

playbooks/roles/kdc/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
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
@@ -96,7 +96,7 @@
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

playbooks/roles/linux-mirror/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,7 @@
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

playbooks/roles/minio_install/tasks/main.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
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
@@ -31,19 +31,19 @@
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"
@@ -53,7 +53,7 @@
5353
become: true
5454

5555
- name: Clean up downloaded files
56-
file:
56+
ansible.builtin.file:
5757
path: "{{ item }}"
5858
state: absent
5959
loop:

playbooks/roles/minio_results/tasks/main.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
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
@@ -69,17 +69,17 @@
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

playbooks/roles/minio_uninstall/tasks/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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"
@@ -13,5 +13,5 @@
1313
ignore_errors: true
1414

1515
- name: Display MinIO uninstallation complete
16-
debug:
16+
ansible.builtin.debug:
1717
msg: "MinIO container stopped"

playbooks/roles/smbd/tasks/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
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

0 commit comments

Comments
 (0)