Skip to content

Commit 8d07e54

Browse files
committed
playbooks: ansible-lint fix command-instead-of-shell
Generated-by: Claude AI Signed-off-by: Daniel Gomez <[email protected]>
1 parent 2cdfb96 commit 8d07e54

File tree

2 files changed

+0
-15
lines changed

2 files changed

+0
-15
lines changed

playbooks/roles/gen_hosts/tasks/main.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -325,7 +325,6 @@
325325
- kdevops_workflow_enable_sysbench
326326
- ansible_hosts_template.stat.exists
327327

328-
329328
- name: Generate the Ansible hosts file for a dedicated fio-tests setup
330329
tags: ["hosts"]
331330
ansible.builtin.template:
@@ -340,7 +339,6 @@
340339
- kdevops_workflow_enable_fio_tests
341340
- ansible_hosts_template.stat.exists
342341

343-
344342
- name: Infer enabled mmtests test types
345343
ansible.builtin.set_fact:
346344
mmtests_enabled_test_types: >-

playbooks/roles/gen_nodes/tasks/main.yml

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,6 @@
149149
when:
150150
- not kdevops_workflows_dedicated_workflow
151151

152-
153152
- name: Generate the builder kdevops nodes file using nodes file using template as jinja2 source template
154153
tags: ["nodes"]
155154
vars:
@@ -163,7 +162,6 @@
163162
when:
164163
- bootlinux_builder
165164

166-
167165
- name: Generate the pynfs kdevops nodes file using nodes file using template as jinja2 source template
168166
tags: ["nodes"]
169167
vars:
@@ -179,7 +177,6 @@
179177
- kdevops_workflows_dedicated_workflow
180178
- kdevops_workflow_enable_pynfs
181179

182-
183180
- name: Generate the cxl kdevops nodes file using nodes file using template as jinja2 source template
184181
tags: ["nodes"]
185182
vars:
@@ -195,7 +192,6 @@
195192
- kdevops_workflows_dedicated_workflow
196193
- kdevops_workflow_enable_cxl
197194

198-
199195
- name: Generate a kdevops nodes file for the gitr workflow
200196
tags: hosts
201197
ansible.builtin.include_role:
@@ -332,7 +328,6 @@
332328
when:
333329
- is_fstests|bool
334330

335-
336331
- name: Infer enabled blktests test section types
337332
ansible.builtin.set_fact:
338333
blktests_enabled_test_types: >-
@@ -393,7 +388,6 @@
393388
- kdevops_workflows_dedicated_workflow
394389
- kdevops_workflow_enable_blktests
395390

396-
397391
- name: Infer enabled selftests test section types
398392
ansible.builtin.set_fact:
399393
selftests_enabled_test_types: >-
@@ -444,7 +438,6 @@
444438
- kdevops_workflows_dedicated_workflow
445439
- kdevops_workflow_enable_selftests
446440

447-
448441
- name: Collect dynamically supported filesystems
449442
vars:
450443
supported_filesystems_variables: "{{ hostvars[inventory_hostname] | dict2items | selectattr('key', 'search', '^sysbench_supported_filesystem_') }}"
@@ -522,7 +515,6 @@
522515
- kdevops_workflows_dedicated_workflow
523516
- kdevops_workflow_enable_sysbench
524517

525-
526518
- name: Generate the fio-tests kdevops nodes file using nodes file using template as jinja2 source template
527519
tags: ["hosts"]
528520
vars:
@@ -539,7 +531,6 @@
539531
- kdevops_workflow_enable_fio_tests
540532
- ansible_nodes_template.stat.exists
541533

542-
543534
- name: Generate the fio-tests kdevops nodes file with dev hosts using nodes file using template as jinja2 source template
544535
tags: ["hosts"]
545536
vars:
@@ -556,7 +547,6 @@
556547
- kdevops_workflow_enable_fio_tests
557548
- ansible_nodes_template.stat.exists
558549

559-
560550
- name: Infer enabled mmtests test section types
561551
ansible.builtin.set_fact:
562552
mmtests_enabled_test_types: >-
@@ -607,7 +597,6 @@
607597
- kdevops_workflows_dedicated_workflow
608598
- kdevops_workflow_enable_mmtests
609599

610-
611600
- name: Generate the reboot-limit kdevops nodes file using nodes file using template as jinja2 source template
612601
tags: ["hosts"]
613602
vars:
@@ -624,7 +613,6 @@
624613
- workflows_reboot_limit
625614
- ansible_nodes_template.stat.exists
626615

627-
628616
- name: Generate the reboot-limit kdevops nodes file with dev hosts using nodes file using template as jinja2 source template
629617
tags: ["hosts"]
630618
vars:
@@ -641,7 +629,6 @@
641629
- workflows_reboot_limit
642630
- ansible_nodes_template.stat.exists
643631

644-
645632
- name: Get the control host's timezone
646633
ansible.builtin.command: "timedatectl show -p Timezone --value"
647634
register: kdevops_host_timezone

0 commit comments

Comments
 (0)