Project

General

Profile

« Previous | Next » 

Revision a8794fe2

Added by Evgeni Golov about 3 years ago

Fixes #32442 - use own ansible-runner packages on Debian

ansible-runner upstream used to provide Debian packages, and while
the old repository is still available, it's not updated anymore.

we are now building our own packages, so let's switch to those

this will also clean up the old repo from the system, if it was managed
before

View differences:

manifests/plugin/ansible/runner.pp
#
class foreman_proxy::plugin::ansible::runner(
Boolean $manage_runner_repo = $foreman_proxy::plugin::ansible::manage_runner_repo,
String $package_name = 'ansible-runner',
String $package_name = $foreman_proxy::plugin::ansible::runner_package_name,
) {
if $manage_runner_repo {
......
'Debian': {
include apt
apt::source { 'ansible-runner':
repos => 'main',
location => 'https://releases.ansible.com/ansible-runner/deb',
key => {
id => 'B7196EFF934FBC94FBCDF40DD430849D3DD29021',
server => 'keyserver.ubuntu.com',
},
include => {
src => false,
},
before => Package[$package_name],
ensure => absent,
}
}
'RedHat': {

Also available in: Unified diff