From nobody Mon Dec 15 01:53:09 2025 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) client-ip=209.132.183.28; envelope-from=libvir-list-bounces@redhat.com; helo=mx1.redhat.com; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of redhat.com designates 209.132.183.28 as permitted sender) smtp.mailfrom=libvir-list-bounces@redhat.com; dmarc=pass(p=none dis=none) header.from=redhat.com Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by mx.zohomail.com with SMTPS id 1524065135713614.8250230150531; Wed, 18 Apr 2018 08:25:35 -0700 (PDT) Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id CFCF23180D45; Wed, 18 Apr 2018 15:25:33 +0000 (UTC) Received: from colo-mx.corp.redhat.com (colo-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.21]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 95FC775CE7; Wed, 18 Apr 2018 15:25:33 +0000 (UTC) Received: from lists01.pubmisc.prod.ext.phx2.redhat.com (lists01.pubmisc.prod.ext.phx2.redhat.com [10.5.19.33]) by colo-mx.corp.redhat.com (Postfix) with ESMTP id 3903A4CA99; Wed, 18 Apr 2018 15:25:33 +0000 (UTC) Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) by lists01.pubmisc.prod.ext.phx2.redhat.com (8.13.8/8.13.8) with ESMTP id w3IFPTSq006919 for ; Wed, 18 Apr 2018 11:25:29 -0400 Received: by smtp.corp.redhat.com (Postfix) id A96231C723; Wed, 18 Apr 2018 15:25:29 +0000 (UTC) Received: from inaba.usersys.redhat.com (unknown [10.43.2.44]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 4BF2A7C26 for ; Wed, 18 Apr 2018 15:25:29 +0000 (UTC) From: Andrea Bolognani To: libvir-list@redhat.com Date: Wed, 18 Apr 2018 17:25:18 +0200 Message-Id: <20180418152522.17923-2-abologna@redhat.com> In-Reply-To: <20180418152522.17923-1-abologna@redhat.com> References: <20180418152522.17923-1-abologna@redhat.com> X-Scanned-By: MIMEDefang 2.79 on 10.11.54.5 X-loop: libvir-list@redhat.com Subject: [libvirt] [jenkins-ci PATCH 1/5] guests: Reorder tasks X-BeenThere: libvir-list@redhat.com X-Mailman-Version: 2.1.12 Precedence: junk List-Id: Development discussions about the libvirt library & tools List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Sender: libvir-list-bounces@redhat.com Errors-To: libvir-list-bounces@redhat.com X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.41]); Wed, 18 Apr 2018 15:25:34 +0000 (UTC) X-ZohoMail: RSF_0 Z_629925259 SPT_0 Content-Type: text/plain; charset="utf-8" We're going to introduce more customization steps that need to be performed after installing some packages. To avoid hacking too much around the core issue, just move all environment customization after package installation and be done with it. Signed-off-by: Andrea Bolognani --- guests/site.yml | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/guests/site.yml b/guests/site.yml index a13e0e9..46d2db6 100644 --- a/guests/site.yml +++ b/guests/site.yml @@ -31,12 +31,6 @@ project: blacklist state: absent =20 - # Configure environment. Needs to happen after installing base packages - - include: tasks/bootloader.yml - - include: tasks/services.yml - - include: tasks/kludges.yml - - include: tasks/users.yml - # Install build dependencies for each project - include: tasks/packages.yml with_items: @@ -53,11 +47,13 @@ when: - flavor =3D=3D "jenkins" =20 + # Configure environment. Needs to happen after installing packages + - include: tasks/bootloader.yml + - include: tasks/services.yml + - include: tasks/kludges.yml + - include: tasks/users.yml + # Configure the Jenkins agent - include: tasks/jenkins.yml when: - flavor =3D=3D 'jenkins' - - # Some of the kludges involve tweaking files that are included in - # the packages we just installed, so go through them again here - - include: tasks/kludges.yml --=20 2.14.3 -- libvir-list mailing list libvir-list@redhat.com https://www.redhat.com/mailman/listinfo/libvir-list