Skip to content
Snippets Groups Projects
Commit fe1cf519 authored by drebs's avatar drebs
Browse files

Create credentials for GitLab Runner Libvirt VM

parent 662e0583
Branches gitlab-runner
No related tags found
1 merge request!26GitLab Runner
Pipeline #70380 passed
......@@ -78,6 +78,11 @@ class profile::gitlab_runner (
}
}
ssh_keygen { 'root SSH key for GitLab Runner':
user => 'root',
type => 'rsa',
}
exec { 'Create Libvirt GitLab Runner base image':
command => '/usr/local/lib/gitlab-runner/libvirt/create-base-image.sh',
unless => '/usr/bin/test -f /var/lib/libvirt/images/gitlab-runner-base.qcow2',
......@@ -86,6 +91,7 @@ class profile::gitlab_runner (
require => [
Package['libvirt-daemon-system'],
Package['libguestfs-tools'],
Ssh_keygen['root SSH key for GitLab Runner'],
],
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment