mirror of
https://github.com/MicrosoftDocs/windows-itpro-docs.git
synced 2025-05-29 05:37:22 +00:00
Merge pull request #8900 from konstruktoid/ISSUE8890
format ansible code examples and add DNF/YUM key instructions
This commit is contained in:
commit
7d37886ad7
@ -156,6 +156,12 @@ Create a subtask or role files that contribute to an playbook or task.
|
||||
filename: microsoft-[channel].list
|
||||
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
|
||||
yum_repository:
|
||||
name: packages-microsoft-com-prod-[channel]
|
||||
|
Loading…
x
Reference in New Issue
Block a user