commit 02902a8250d872e573d0b5cf19d9d6b43801e70a
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Wed Aug 18 21:32:45 2021 +0200
Update koji-hub
playbooks/groups/koji-hub.yml | 20 ++++----------------
1 files changed, 4 insertions(+), 16 deletions(-)
---
diff --git a/playbooks/groups/koji-hub.yml b/playbooks/groups/koji-hub.yml
index f5b3961..0cb5af6 100644
--- a/playbooks/groups/koji-hub.yml
+++ b/playbooks/groups/koji-hub.yml
@@ -30,13 +30,14 @@
- fas_client
- collectd/base
- apache
- - fedmsg/base
- { role: nfs/server, when: env == "staging" }
-# - { role: keepalived, when: env == "production" and
inventory_hostname.startswith('koji') }
+
+ # production nfs mounts from netapp
- role: nfs/client
mnt_dir: '/mnt'
nfs_src_dir: 'rpmfusion_koji'
when: env == 'production' and inventory_hostname.startswith('koji')
+
- role: nfs/client
mnt_dir: '/mnt/koji'
nfs_src_dir: 'fedora_arm/data'
@@ -48,25 +49,12 @@
when: env == 'staging' and inventory_hostname.startswith('koji')
- koji_hub
- { role: rsyncd, when: not inventory_hostname.startswith('koji') }
- - { role: koji_builder, when: env == "staging" or
inventory_hostname.startswith('s390') or
inventory_hostname.startswith('arm') }
- sudo
-
- pre_tasks:
- - import_tasks: "{{ tasks_path }}/yumrepos.yml"
-
tasks:
- - name: create secondary volume dir for stg koji
- file: dest=/mnt/koji/vol state=directory owner=apache group=apache mode=0755
- tags: koji_hub
- when: env == 'staging'
- - name: create symlink for stg/prod secondary volume
- file: src=/mnt/fedora_koji_prod/koji dest=/mnt/koji/vol/prod state=link
- tags: koji_hub
- when: env == 'staging'
- - import_tasks: "{{ tasks_path }}/2fa_client.yml"
- import_tasks: "{{ tasks_path }}/motd.yml"
handlers:
- import_tasks: "{{ handlers_path }}/restart_services.yml"
+
Show replies by date