--- - name: Dummy cloud image build playbook hosts: image-builder tasks: - ansible.builtin.debug: msg: "Hello from build of dummy-96389321-image" - name: Copy Zuul public key on the image-builder copy: src: /var/lib/zuul-ssh-key/pub dest: /tmp/zuul-ssh-key.pub - name: Simulate an image built on the image-builder host file: path: /tmp/dummy-cloud-image.raw state: touch - name: Fetch the image on nodepool ansible.posix.synchronize: mode: pull src: /tmp/dummy-cloud-image.raw dest: "{{ image_output }}.raw"