Skip to content

Commit

Permalink
Add RHEL support
Browse files Browse the repository at this point in the history
Change:
- Piggyback off of CentOS support and add RHEL support.
- Note that tailscale provides a repo for RHEL 8, but not RHEL 7. Thus,
  we use the RHEL 8 repo if we're on RHEL 8, otherwise we default to
  the CentOS one.

Signed-off-by: Rick Elrod <[email protected]>
  • Loading branch information
relrod authored and artis3n committed Jan 6, 2022
1 parent 576b070 commit df4eed0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions vars/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ centos_family_distros:
- CentOS
- Amazon
- OracleLinux
- RedHat

tailscale_package: tailscale
tailscale_service: tailscaled
Expand Down Expand Up @@ -43,6 +44,7 @@ yum_dependencies:
yum_repos:
Amazon: https://pkgs.tailscale.com/{{ release_stability | lower }}/amazon-linux/{{ ansible_distribution_major_version }}/tailscale.repo
CentOS: https://pkgs.tailscale.com/{{ release_stability | lower }}/centos/{{ ansible_distribution_major_version }}/tailscale.repo
RedHat: https://pkgs.tailscale.com/{{ release_stability | lower }}/{{ "rhel" if ansible_distribution_major_version|int == 8 else "centos" }}/{{ ansible_distribution_major_version }}/tailscale.repo
OracleLinux: https://pkgs.tailscale.com/{{ release_stability | lower }}/centos/{{ ansible_distribution_major_version }}/tailscale.repo

dnf_dependencies:
Expand Down

0 comments on commit df4eed0

Please sign in to comment.