[libvirt] [jenkins-ci PATCH 1/2] guests: Move environment configuration steps together

Andrea Bolognani posted 2 patches 7 years, 1 month ago
[libvirt] [jenkins-ci PATCH 1/2] guests: Move environment configuration steps together
Posted by Andrea Bolognani 7 years, 1 month ago
We're going to add more steps that require base packages to be
installed soon, so let's group all configuration steps except the
very basic one together after base package installation has been
performed.

Signed-off-by: Andrea Bolognani <abologna@redhat.com>
---
 guests/site.yml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/guests/site.yml b/guests/site.yml
index ceaaf25..1b9c180 100644
--- a/guests/site.yml
+++ b/guests/site.yml
@@ -17,8 +17,6 @@
     # Prepare environment. None of the actions performed here might
     # depend on packages being installed
     - include: tasks/base.yml
-    - include: tasks/bootloader.yml
-    - include: tasks/compat.yml
 
     # Install base packages
     - include: tasks/packages.yml
@@ -31,7 +29,9 @@
         project: blacklist
         state: absent
 
-    # Create users. This needs to happen after installing base packages
+    # Configure environment. Needs to happen after installing base packages
+    - include: tasks/bootloader.yml
+    - include: tasks/compat.yml
     - include: tasks/users.yml
 
     # Install build dependencies for each project
-- 
2.14.3

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list