Skip to content

Commit 48112b5

Browse files
Update linux-install-with-ansible.md
Convert includes to import_tasks
1 parent d4fa784 commit 48112b5

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

defender-endpoint/linux-install-with-ansible.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,8 +221,12 @@ Create a subtask or role files that contribute to a playbook or task.
221221
```Output
222222
- hosts: servers
223223
tasks:
224-
- include: ../roles/onboarding_setup.yml
225-
- include: ../roles/add_yum_repo.yml
224+
- name: include onboarding tasks
225+
import_tasks:
226+
file: ../roles/onboarding_setup.yml
227+
- name: add apt repository
228+
import_tasks:
229+
file: ../roles/add_yum_repo.yml
226230
- name: Install MDATP
227231
dnf:
228232
name: mdatp

0 commit comments

Comments
 (0)