[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[libvirt] [jenkins-ci PATCH v2 08/13] guests: Add build playbook



This playbook represent the entry point for automated
builds, and follows the same calling conventions as the
existing update playbook.

Signed-off-by: Andrea Bolognani <abologna redhat com>
---
 guests/playbooks/build/main.yml | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100644 guests/playbooks/build/main.yml

diff --git a/guests/playbooks/build/main.yml b/guests/playbooks/build/main.yml
new file mode 100644
index 0000000..8abda67
--- /dev/null
+++ b/guests/playbooks/build/main.yml
@@ -0,0 +1,16 @@
+---
+- hosts: all
+  remote_user: '{{ flavor }}'
+
+  vars_files:
+    - '{{ playbook_base }}/jobs/defaults.yml'
+
+  tasks:
+
+    - include: '{{ playbook_base }}/projects/{{ project }}.yml'
+      with_items:
+        '{{ selected_projects }}'
+      loop_control:
+        loop_var: project
+      when:
+        - project in projects
-- 
2.17.1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]