commit 1c22a1e0cf5e09d00540574f2a6b02edf29da928
Author: Nicolas Chauvet <kwizart(a)gmail.com>
Date: Tue Feb 6 23:15:40 2018 +0100
Update bodhi-backend playbook
playbooks/groups/bodhi-backend.yml | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/playbooks/groups/bodhi-backend.yml b/playbooks/groups/bodhi-backend.yml
index a8ce720..9473c8a 100644
--- a/playbooks/groups/bodhi-backend.yml
+++ b/playbooks/groups/bodhi-backend.yml
@@ -1,13 +1,13 @@
# create a new bodhi-backend system
#
# This group makes bodhi-backend servers.
-# They are used by releng to push updates with bodhi.
+# They are used by releng to push updates with bodhi.
# They also run some misc releng scripts.
#
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml
myhosts=bodhi-backend:bodhi-backend-stg"
-# Once the instance exists, configure it.
+# Once the instance exists, configure it.
- name: make bodhi-backend server system
hosts: bodhi-backend:bodhi-backend-stg
@@ -19,6 +19,9 @@
- "/srv/private/ansible/vars.yml"
- /srv/web/infra/ansible/vars/{{ ansible_distribution }}.yml
+ pre_tasks:
+ - import_tasks: "{{ tasks_path }}/yumrepos.yml"
+
roles:
- base
- nagios/client
@@ -33,6 +36,7 @@
mnt_dir: '/pub/'
nfs_src_dir: 'rpmfusion_ftp/download0.rpmfusion.org/pub/'
+ # In staging, we mount fedora_koji as read only (see nfs_mount_opts)
- role: nfs/client
mnt_dir: '/mnt/rpmfusion_koji'
nfs_src_dir: 'rpmfusion_koji'
@@ -55,7 +59,6 @@
tags: bodhi
when: env == 'staging'
- import_tasks: "{{ tasks_path }}/2fa_client.yml"
- - import_tasks: "{{ tasks_path }}/yumrepos.yml"
- import_tasks: "{{ tasks_path }}/motd.yml"
handlers:
Show replies by date