Skip to content

Commit 2594f6b

Browse files
authored
Merge pull request #1326 from jungyh0218/master
Use include_tasks instead of ansible.builtin.include
2 parents 0669eda + 4de6428 commit 2594f6b

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

roles/nvidia_dcgm/tasks/main.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,15 @@
66

77
- name: DGX tasks
88
when: dcgm_is_dgx
9-
include: install-dgx.yml
9+
include_tasks: install-dgx.yml
1010

1111
- name: Ubuntu tasks
1212
when: (ansible_distribution == "Ubuntu") and not dcgm_is_dgx
13-
include: install-ubuntu.yml
13+
include_tasks: install-ubuntu.yml
1414

1515
- name: Red Hat family tasks
1616
when: (ansible_os_family == "RedHat") and not dcgm_is_dgx
17-
include: install-redhat.yml
17+
include_tasks: install-redhat.yml
1818

1919
# We don't test service start in Molecule, because the dcgm service will fail
2020
# if the CUDA driver isn't installed and working.

roles/slurm/tasks/compute.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
- epilog
9595

9696
- name: include prolog/epilog
97-
include: prolog_epilog.yml
97+
include_tasks: prolog_epilog.yml
9898
when: slurm_enable_prolog_epilog
9999

100100
- name: configure slurm.conf

0 commit comments

Comments
 (0)