bifrost: Serialize localhost actions during final host deployment
[releng.git] / prototypes / bifrost / playbooks / test-bifrost-infracloud.yaml
index b4dffdc..d650f10 100644 (file)
   roles:
     - role: ironic-enroll-dynamic
     - { role: ironic-inspect-node, when: inspect_nodes | default('false') | bool == true }
+- hosts: baremetal
+  name: "Create configuration drive files"
+  become: no
+  connection: local
+  roles:
+    - role: bifrost-configdrives-dynamic
 - hosts: baremetal
   vars:
     multinode_testing: "{{ inventory_dhcp | bool == true }}"
-  name: "Create configuration drive files and deploy machines."
+  name: "Deploy machines."
   become: no
   connection: local
+  serial: 1
   roles:
-    - role: bifrost-configdrives-dynamic
     - role: bifrost-deploy-nodes-dynamic
     - role: bifrost-prepare-for-test-dynamic
-      serial: 1