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

Andrea Bolognani abologna at redhat.com
Wed Aug 8 13:45:24 UTC 2018


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 at 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




More information about the libvir-list mailing list