Merge pull request #8900 from konstruktoid/ISSUE8890

format ansible code examples and add DNF/YUM key instructions
This commit is contained in:
Daniel Simpson 2021-02-17 14:27:14 -08:00 committed by GitHub
commit 7d37886ad7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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]