From 61b28ec81fa0e23fe79b8c5b3d52a0062d2ef94c Mon Sep 17 00:00:00 2001 From: nitronarcosis Date: Thu, 19 Sep 2024 16:27:59 -0700 Subject: [PATCH] Update linux-install-with-ansible.md --- defender-endpoint/linux-install-with-ansible.md | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/defender-endpoint/linux-install-with-ansible.md b/defender-endpoint/linux-install-with-ansible.md index 0e01b91a94..012590641e 100644 --- a/defender-endpoint/linux-install-with-ansible.md +++ b/defender-endpoint/linux-install-with-ansible.md @@ -192,8 +192,12 @@ Create a subtask or role files that contribute to a playbook or task. ```Output - hosts: servers tasks: - - include: ../roles/onboarding_setup.yml - - include: ../roles/add_apt_repo.yml + - name: include onboarding tasks + import_tasks: + file: ../roles/onboarding_setup.yml + - name: add apt repository + import_tasks: + file: ../roles/add_apt_repo.yml - name: Install MDATP apt: name: mdatp