[ansible] switch sftp on
by Nicolas Chauvet
commit 77a5379987102e20aa558b65ae373e79281de097
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Aug 17 22:51:48 2023 +0200
switch sftp on
inventory/group_vars/all | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/inventory/group_vars/all b/inventory/group_vars/all
index 0dd32d5..2406880 100644
--- a/inventory/group_vars/all
+++ b/inventory/group_vars/all
@@ -430,7 +430,8 @@ redirectmatch_enabled: True
#
# sshd can run a internal sftp server, we need this on some hosts, but
# not on most of them, so default to false
-sshd_sftp: false
+# rpmfusion sane default:
+sshd_sftp: true
#
# Autodetect python version
1 year, 3 months
[ansible] Fixup oz/libvirt-daemon
by Nicolas Chauvet
commit 87b7179cd1d6a8430b70b9a5acda8bb5a97bbc82
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Fri Jun 23 14:41:09 2023 +0200
Fixup oz/libvirt-daemon
roles/koji_builder/tasks/main.yml | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/roles/koji_builder/tasks/main.yml b/roles/koji_builder/tasks/main.yml
index b30000e..98a70ad 100644
--- a/roles/koji_builder/tasks/main.yml
+++ b/roles/koji_builder/tasks/main.yml
@@ -78,6 +78,7 @@
- koji-builder-plugins
- python3-koji
- koji-containerbuild-builder
+ - libvirt-daemon
- strace
- mock
- rsyslog
@@ -87,6 +88,7 @@
- libvirt-client
- pykickstart
- nosync
+ - oz
tags:
- koji_builder
@@ -100,7 +102,6 @@
service: name=virtlogd state=started enabled=yes
tags:
- koji_builder
- when: ansible_architecture == 'disabled'
- name: create kojid service override directory
file: path=/etc/systemd/system/kojid.service.d state=directory
1 year, 3 months
[ansible] Fixup build for f40 (dropped useradd -n)
by Nicolas Chauvet
commit 3a8e6945800a4f128341eb091bb8186b155e3837
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Thu Aug 17 22:19:15 2023 +0200
Fixup build for f40 (dropped useradd -n)
.../koji_builder/files/builders/site-defaults.cfg | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/roles/koji_builder/files/builders/site-defaults.cfg b/roles/koji_builder/files/builders/site-defaults.cfg
index cda270d..6b3dfe4 100644
--- a/roles/koji_builder/files/builders/site-defaults.cfg
+++ b/roles/koji_builder/files/builders/site-defaults.cfg
@@ -11,6 +11,7 @@ config_opts['dnf_warning'] = False
config_opts['dnf_command'] = '/usr/bin/dnf-3'
config_opts['system_dnf_command'] = '/usr/bin/dnf-3'
config_opts['dnf_install_command'] = 'install python3-dnf dnf-plugins-core'
+config_opts['useradd'] = '/usr/sbin/useradd -m -u {{chrootuid}} -g {{chrootgid}} -d {{chroothome}} {{chrootuser}}'
if '-cuda' in config_opts['chroot_name']:
config_opts['module_setup_commands'] = [
1 year, 3 months