-
Notifications
You must be signed in to change notification settings - Fork 200
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add staging repositories from stagingyum.theforeman.org that come fro…
…m Copr
- Loading branch information
Showing
11 changed files
with
140 additions
and
64 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 8 additions & 0 deletions
8
roles/foreman_client_repositories/tasks/_koji_staging_repo.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
--- | ||
- name: 'Foreman {{ foreman_client_repositories_version }} Client Staging Repository' | ||
yum_repository: | ||
name: foreman-client-koji | ||
description: "Foreman {{ foreman_client_repositories_version }} Client Koji Repository" | ||
baseurl: "http://koji.katello.org/releases/yum/foreman-client-{{ foreman_client_repositories_version }}/{{ foreman_client_repositories_dists[ansible_os_family] }}{{ ansible_distribution_major_version }}/x86_64/" | ||
priority: '1' | ||
gpgcheck: no |
10 changes: 10 additions & 0 deletions
10
roles/foreman_client_repositories/tasks/_stagingyum_staging_repo.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
--- | ||
- name: 'Foreman {{ foreman_client_repositories_version }} Client Staging Repository' | ||
yum_repository: | ||
name: foreman-client-staging | ||
description: "Foreman {{ foreman_client_repositories_version }} Client Staging Repository" | ||
baseurl: "https://stagingyum.theforeman.org/client/{{ foreman_client_repositories_version }}/{{ foreman_client_repositories_dists[ansible_os_family] }}{{ ansible_distribution_major_version }}/x86_64/" | ||
priority: "1" | ||
gpgcheck: no | ||
tags: | ||
- packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
--- | ||
- name: 'Foreman {{ foreman_repositories_version }} Koji repository' | ||
yum_repository: | ||
name: foreman-koji | ||
description: "Foreman {{ foreman_repositories_version }} Koji Repository" | ||
baseurl: "http://koji.katello.org/releases/yum/foreman-{{ foreman_repositories_version }}/el{{ ansible_distribution_major_version }}/x86_64/" | ||
priority: "1" | ||
gpgcheck: no | ||
tags: | ||
- packages | ||
|
||
- name: 'Foreman {{ foreman_repositories_version }} Plugins Koji repository' | ||
yum_repository: | ||
name: foreman-plugins-koji | ||
state: "{{ foreman_repositories_plugins | ternary('present', 'absent') }}" | ||
description: "Foreman Plugins {{ foreman_repositories_version }} Koji Repository" | ||
baseurl: "http://koji.katello.org/releases/yum/foreman-plugins-{{ foreman_repositories_version }}/el{{ ansible_distribution_major_version }}/x86_64/" | ||
priority: "1" | ||
gpgcheck: no | ||
tags: | ||
- packages | ||
|
||
- name: 'Set module_hotfixes=1' | ||
lineinfile: | ||
path: "/etc/yum.repos.d/{{ item }}.repo" | ||
line: module_hotfixes=1 | ||
loop: | ||
- foreman-koji | ||
- foreman-plugins-koji | ||
tags: | ||
- packages | ||
when: | ||
- foreman_repositories_version != 'nightly' | ||
- foreman_repositories_version is version('3.1', '<=') |
20 changes: 20 additions & 0 deletions
20
roles/foreman_repositories/tasks/_stagingyum_staging_repos.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
- name: 'Foreman {{ foreman_repositories_version }} Staging repository' | ||
yum_repository: | ||
name: foreman-staging | ||
description: "Foreman {{ foreman_repositories_version }} Staging Repository" | ||
baseurl: "https://stagingyum.theforeman.org/foreman/{{ foreman_repositories_version }}/el{{ ansible_distribution_major_version }}/x86_64/" | ||
priority: "1" | ||
gpgcheck: no | ||
tags: | ||
- packages | ||
|
||
- name: 'Foreman {{ foreman_repositories_version }} Plugins Staging repository' | ||
yum_repository: | ||
name: foreman-plugins-staging | ||
description: "Foreman {{ foreman_repositories_version }} Plugins Staging Repository" | ||
baseurl: "https://stagingyum.theforeman.org/plugins/{{ foreman_repositories_version }}/el{{ ansible_distribution_major_version }}/x86_64/" | ||
priority: "1" | ||
gpgcheck: no | ||
tags: | ||
- packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
--- | ||
- name: 'Katello {{ katello_repositories_version }} Koji repository' | ||
yum_repository: | ||
name: katello-koji | ||
description: "Katello {{ katello_repositories_version }} Koji Repository" | ||
baseurl: "http://koji.katello.org/releases/yum/katello-{{ katello_repositories_version }}/katello/el{{ ansible_distribution_major_version }}/x86_64/" | ||
priority: '1' | ||
gpgcheck: no | ||
|
||
- name: 'Candlepin Koji repository' | ||
yum_repository: | ||
name: candlepin-koji | ||
description: "Candlepin {{ katello_repositories_version }} Koji Repository" | ||
baseurl: "http://koji.katello.org/releases/yum/katello-{{ katello_repositories_version }}/candlepin/el{{ ansible_distribution_major_version }}/x86_64/" | ||
priority: '1' | ||
gpgcheck: no | ||
|
||
- name: 'Set module_hotfixes=1' | ||
lineinfile: | ||
path: "/etc/yum.repos.d/{{ item }}.repo" | ||
line: module_hotfixes=1 | ||
loop: | ||
- katello-koji | ||
- candlepin-koji | ||
when: | ||
- katello_repositories_version != 'nightly' | ||
- katello_repositories_version is version('4.2', '<=') |
20 changes: 20 additions & 0 deletions
20
roles/katello_repositories/tasks/_stagingyum_staging_repos.yml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
--- | ||
- name: 'Katello {{ katello_repositories_version }} Staging repository' | ||
yum_repository: | ||
name: katello-staging | ||
description: "Katello {{ katello_repositories_version }} Staging Repository" | ||
baseurl: "https://stagingyum.theforeman.org/katello/{{ katello_repositories_version }}/el{{ ansible_distribution_major_version }}/x86_64/" | ||
priority: "1" | ||
gpgcheck: no | ||
tags: | ||
- packages | ||
|
||
- name: 'Candlepin {{ katello_repositories_version }} Staging repository' | ||
yum_repository: | ||
name: candlepin-staging | ||
description: "Candlepin {{ katello_repositories_version }} Staging Repository" | ||
baseurl: "https://stagingyum.theforeman.org/candlepin/{{ katello_repositories_version }}/el{{ ansible_distribution_major_version }}/x86_64/" | ||
priority: "1" | ||
gpgcheck: no | ||
tags: | ||
- packages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters