mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-18 16:27:22 +00:00
format ansible code examples and add DNF/YUM key instructions
Signed-off-by: Thomas Sjögren <konstruktoid@users.noreply.github.com>
This commit is contained in:
parent
2a3e536a5c
commit
160a681717
@ -153,6 +153,12 @@ Create a subtask or role files that contribute to an playbook or task.
|
|||||||
filename: microsoft-[channel].list
|
filename: microsoft-[channel].list
|
||||||
when: ansible_os_family == "Debian"
|
when: ansible_os_family == "Debian"
|
||||||
|
|
||||||
|
- name: Add Microsoft DNF/YUM key
|
||||||
|
rpm_key:
|
||||||
|
state: present
|
||||||
|
key: https://packages.microsoft.com/keys/microsoft.asc
|
||||||
|
when: ansible_os_family == "RedHat"
|
||||||
|
|
||||||
- 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]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user