Merge "Serialize localhost actions during final host deployment"
This commit is contained in:
commit
59e08a5f72
@ -85,17 +85,22 @@
|
|||||||
- role: ironic-enroll-dynamic
|
- role: ironic-enroll-dynamic
|
||||||
- { role: ironic-inspect-node, when: inspect_nodes | default('false') | bool == true }
|
- { role: ironic-inspect-node, when: inspect_nodes | default('false') | bool == true }
|
||||||
- hosts: baremetal
|
- hosts: baremetal
|
||||||
vars:
|
name: "Create configuration drive files."
|
||||||
inventory_dhcp_static_ip: "{{ inventory_dhcp_static_ip | bool == true }}"
|
|
||||||
multinode_testing: true
|
|
||||||
name: "Creat configuration drive files and deploy machines."
|
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
roles:
|
roles:
|
||||||
- role: bifrost-configdrives-dynamic
|
- role: bifrost-configdrives-dynamic
|
||||||
|
- hosts: baremetal
|
||||||
|
vars:
|
||||||
|
inventory_dhcp_static_ip: "{{ inventory_dhcp_static_ip | bool == true }}"
|
||||||
|
multinode_testing: true
|
||||||
|
name: "Deploy machines."
|
||||||
|
become: no
|
||||||
|
connection: local
|
||||||
|
serial: 1
|
||||||
|
roles:
|
||||||
- role: bifrost-deploy-nodes-dynamic
|
- role: bifrost-deploy-nodes-dynamic
|
||||||
- role: bifrost-prepare-for-test-dynamic
|
- role: bifrost-prepare-for-test-dynamic
|
||||||
serial: 1
|
|
||||||
# The testvm Host group is added by bifrost-prepare-for-test based
|
# The testvm Host group is added by bifrost-prepare-for-test based
|
||||||
# on the contents of the CSV file.
|
# on the contents of the CSV file.
|
||||||
- hosts: test
|
- hosts: test
|
||||||
|
@ -73,11 +73,17 @@
|
|||||||
- role: ironic-enroll-dynamic
|
- role: ironic-enroll-dynamic
|
||||||
- { role: ironic-inspect-node, when: inspect_nodes | default('false') | bool == true }
|
- { role: ironic-inspect-node, when: inspect_nodes | default('false') | bool == true }
|
||||||
- hosts: baremetal
|
- hosts: baremetal
|
||||||
name: "Creat configuration drive files and deploy machines."
|
name: "Create configuration drive files."
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
roles:
|
roles:
|
||||||
- role: bifrost-configdrives-dynamic
|
- role: bifrost-configdrives-dynamic
|
||||||
|
- hosts: baremetal
|
||||||
|
name: "Deploy machines."
|
||||||
|
become: no
|
||||||
|
connection: local
|
||||||
|
serial: 1
|
||||||
|
roles:
|
||||||
- role: bifrost-deploy-nodes-dynamic
|
- role: bifrost-deploy-nodes-dynamic
|
||||||
- role: bifrost-prepare-for-test-dynamic
|
- role: bifrost-prepare-for-test-dynamic
|
||||||
# The testvm Host group is added by bifrost-prepare-for-test based
|
# The testvm Host group is added by bifrost-prepare-for-test based
|
||||||
|
@ -87,16 +87,22 @@
|
|||||||
- { role: ironic-inspect-node, when: inspect_nodes | default('false') | bool == true }
|
- { role: ironic-inspect-node, when: inspect_nodes | default('false') | bool == true }
|
||||||
|
|
||||||
- hosts: baremetal
|
- hosts: baremetal
|
||||||
vars:
|
name: "Create configuration drive files."
|
||||||
multinode_testing: "{{ inventory_dhcp | bool == true }}"
|
|
||||||
name: "Create configuration drive files and deploy machines."
|
|
||||||
become: no
|
become: no
|
||||||
connection: local
|
connection: local
|
||||||
roles:
|
roles:
|
||||||
- role: bifrost-configdrives-dynamic
|
- role: bifrost-configdrives-dynamic
|
||||||
|
|
||||||
|
- hosts: baremetal
|
||||||
|
vars:
|
||||||
|
multinode_testing: "{{ inventory_dhcp | bool == true }}"
|
||||||
|
name: "Deploy machines."
|
||||||
|
become: no
|
||||||
|
connection: local
|
||||||
|
serial: 1
|
||||||
|
roles:
|
||||||
- role: bifrost-deploy-nodes-dynamic
|
- role: bifrost-deploy-nodes-dynamic
|
||||||
- role: bifrost-prepare-for-test-dynamic
|
- role: bifrost-prepare-for-test-dynamic
|
||||||
serial: 1
|
|
||||||
|
|
||||||
# The testvm Host group is added by bifrost-prepare-for-test based
|
# The testvm Host group is added by bifrost-prepare-for-test based
|
||||||
# on the contents of the CSV file.
|
# on the contents of the CSV file.
|
||||||
|
Loading…
Reference in New Issue
Block a user