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