mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-29 05:37:22 +00:00
Corrected indentation of a code block
The previous indentation resulted in the code block being rendered entirely—including the backticks—as a block of plain text.
This commit is contained in:
parent
96e42b9299
commit
df6ac5c1dd
@ -149,31 +149,31 @@ Create subtask or role files that contribute to an actual task. First create the
|
|||||||
> [!NOTE]
|
> [!NOTE]
|
||||||
> In case of Oracle Linux, replace *[distro]* with “rhel”.
|
> In case of Oracle Linux, replace *[distro]* with “rhel”.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
- name: Add Microsoft apt repository for MDATP
|
- name: Add Microsoft apt repository for MDATP
|
||||||
apt_repository:
|
apt_repository:
|
||||||
repo: deb [arch=arm64,armhf,amd64] https://packages.microsoft.com/[distro]/[version]/prod [channel] main
|
repo: deb [arch=arm64,armhf,amd64] https://packages.microsoft.com/[distro]/[version]/prod [channel] main
|
||||||
update_cache: yes
|
update_cache: yes
|
||||||
state: present
|
state: present
|
||||||
filename: microsoft-[channel].list
|
filename: microsoft-[channel].list
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
|
||||||
- name: Add Microsoft APT key
|
- name: Add Microsoft APT key
|
||||||
apt_key:
|
apt_key:
|
||||||
keyserver: https://packages.microsoft.com/
|
keyserver: https://packages.microsoft.com/
|
||||||
id: BC528686B50D79E339D3721CEB3E94ADBE1229CF
|
id: BC528686B50D79E339D3721CEB3E94ADBE1229CF
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
|
||||||
- name: Add Microsoft yum repository for MDATP
|
- name: Add Microsoft yum repository for MDATP
|
||||||
yum_repository:
|
yum_repository:
|
||||||
name: packages-microsoft-com-prod-[channel]
|
name: packages-microsoft-com-prod-[channel]
|
||||||
description: Microsoft Defender ATP
|
description: Microsoft Defender ATP
|
||||||
file: microsoft-[channel]
|
file: microsoft-[channel]
|
||||||
baseurl: https://packages.microsoft.com/[distro]/[version]/[channel]/
|
baseurl: https://packages.microsoft.com/[distro]/[version]/[channel]/
|
||||||
gpgcheck: yes
|
gpgcheck: yes
|
||||||
enabled: Yes
|
enabled: Yes
|
||||||
when: ansible_os_family == "RedHat"
|
when: ansible_os_family == "RedHat"
|
||||||
```
|
```
|
||||||
|
|
||||||
- Create the actual install/uninstall YAML files under `/etc/ansible/playbooks`.
|
- Create the actual install/uninstall YAML files under `/etc/ansible/playbooks`.
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user