Skip to content

Commit

Permalink
Adjust the RHEL repo URL to match packages path.
Browse files Browse the repository at this point in the history
  • Loading branch information
deekayen committed Feb 9, 2021
1 parent cdb766b commit 4d03724
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,16 @@ If an error occurs during installation, the installer will only report a general
Dependencies
------------

curl
* curl
* unzip
* gnupg (debian)
* python-apt (debian)


Default Variables
-----------------

Onboarding source supports replacing with a URL and expects the zip file downloaded from the Microsoft Defender Security Center device management onboarding website. This role expects you'll host that file internally on an artifact server like Nexus or as an unauthenticated LFS git object.
Onboarding source supports replacing with a URL and expects the zip file downloaded from the Microsoft Defender Security Center device management onboarding website. This role expects you'll host that file internally on an artifact server like Nexus or as an unauthenticated LFS git object. If you keep the default `onboarding_source` value, it will deposit an empty json configuration file.

I know templating a jinja2 json file is also a potential route to upload configurations and would appreciate an elegant pull request to support something like that.

Expand Down
2 changes: 1 addition & 1 deletion tasks/add_repo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
name: "packages-microsoft-com-{{ channel }}"
description: Microsoft Defender for Endpoint
file: "microsoft-{{ channel }}"
baseurl: "https://packages.microsoft.com/{{ ansible_distribution | lower }}/{{ ansible_distribution_major_version }}/{{ channel }}/"
baseurl: "https://packages.microsoft.com/{{ (ansible_distribution == 'RedHat') | ternary('rhel', ansible_distribution) | lower }}/{{ ansible_distribution_major_version }}/{{ channel }}/" # noqa 204
gpgcheck: yes
enabled: yes
when: ansible_os_family == "RedHat"
Expand Down

0 comments on commit 4d03724

Please sign in to comment.