Re-order base pre-run tasks
We should start the console log before any shell tasks.
This order should place as many early tasks as possible before the
git/rsync package install required by the repo setup role.
Change-Id: I8fe7a2d08757381457ab9097c48d2eb8e7cd25f1
diff --git a/playbooks/base-test/pre.yaml b/playbooks/base-test/pre.yaml
index 8125025..ffb9a65 100644
--- a/playbooks/base-test/pre.yaml
+++ b/playbooks/base-test/pre.yaml
@@ -4,6 +4,12 @@
- log-inventory
- hosts: all
+ roles:
+ - add-build-sshkey
+ - start-zuul-console
+ - ensure-output-dirs
+
+- hosts: all
tasks:
- name: Update apt cache
become: true
@@ -18,7 +24,4 @@
- hosts: all
roles:
- - add-build-sshkey
- - start-zuul-console
- - ensure-output-dirs
- prepare-workspace-git
diff --git a/playbooks/base/pre.yaml b/playbooks/base/pre.yaml
index 8125025..ffb9a65 100644
--- a/playbooks/base/pre.yaml
+++ b/playbooks/base/pre.yaml
@@ -4,6 +4,12 @@
- log-inventory
- hosts: all
+ roles:
+ - add-build-sshkey
+ - start-zuul-console
+ - ensure-output-dirs
+
+- hosts: all
tasks:
- name: Update apt cache
become: true
@@ -18,7 +24,4 @@
- hosts: all
roles:
- - add-build-sshkey
- - start-zuul-console
- - ensure-output-dirs
- prepare-workspace-git