Skip to content

Commit

Permalink
Merge pull request #7 from Sispheor/dev
Browse files Browse the repository at this point in the history
[enhancement] add support for Centos 8. Closes #6
  • Loading branch information
mrlesmithjr authored May 27, 2020
2 parents d96489b + 845b962 commit e0527e9
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ galaxy_info:
- name: EL
versions:
- 7
- 8
- name: Ubuntu
versions:
- bionic
Expand Down
1 change: 1 addition & 0 deletions playbook.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
- hosts: dhcp_servers
gather_facts: true
vars:
kea_dhcp_config: true
kea_dhcp_dhcp4_config:
Expand Down
6 changes: 3 additions & 3 deletions tasks/redhat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
yum_repository:
name: isc-kea-1-7
description: isc-kea-1-7
baseurl: "{{ kea_dhcp_repos+'/kea-1-7/rpm/el/7/$basearch' }}"
baseurl: "{{ kea_dhcp_repos }}/kea-1-7/rpm/el/{{ hostvars[inventory_hostname].ansible_distribution_major_version }}/$basearch"
gpgcheck: true
enabled: true
gpgkey: "{{ kea_dhcp_repo_key }}"
Expand All @@ -39,7 +39,7 @@
yum_repository:
name: isc-kea-1-7-noarch
description: isc-kea-1-7-noarch
baseurl: "{{ kea_dhcp_repos+'/kea-1-7/rpm/el/7/noarch' }}"
baseurl: "{{ kea_dhcp_repos }}/kea-1-7/rpm/el/{{ hostvars[inventory_hostname].ansible_distribution_major_version }}/noarch"
gpgcheck: true
enabled: true
gpgkey: "{{ kea_dhcp_repo_key }}"
Expand All @@ -50,7 +50,7 @@
yum_repository:
name: isc-kea-1-7-source
description: isc-kea-1-7-source
baseurl: "{{ kea_dhcp_repos+'/kea-1-7/rpm/el/7/SRPMS' }}"
baseurl: "{{ kea_dhcp_repos }}/kea-1-7/rpm/el/{{ hostvars[inventory_hostname].ansible_distribution_major_version }}/SRPMS"
gpgcheck: true
enabled: true
gpgkey: "{{ kea_dhcp_repo_key }}"
Expand Down

0 comments on commit e0527e9

Please sign in to comment.