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 <abolo...@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

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

Reply via email to