2021-03-03 00:00:59 +07:00
|
|
|
- name: Install OS on empty nodes
|
2021-03-03 01:25:56 +07:00
|
|
|
hosts: all
|
|
|
|
gather_facts: no
|
2021-03-01 00:55:41 +07:00
|
|
|
vars_prompt:
|
2021-03-03 02:11:50 +07:00
|
|
|
- name: os_password
|
2021-03-01 00:55:41 +07:00
|
|
|
prompt: Enter password for metal nodes
|
2021-02-07 02:37:41 +07:00
|
|
|
roles:
|
2021-03-03 00:00:59 +07:00
|
|
|
- pxe-boot
|
2021-02-12 21:09:21 +07:00
|
|
|
|
2021-02-21 10:57:20 +07:00
|
|
|
- name: Provision
|
|
|
|
hosts: metal
|
2021-03-03 00:00:59 +07:00
|
|
|
vars_prompt:
|
|
|
|
- name: lxd_password
|
|
|
|
prompt: Enter password for LXD cluster
|
2021-02-12 21:09:21 +07:00
|
|
|
roles:
|
2021-03-01 01:16:24 +07:00
|
|
|
- snap
|
2021-02-21 18:18:57 +07:00
|
|
|
- lxd
|
2021-04-25 00:30:52 +07:00
|
|
|
tags:
|
|
|
|
- provision
|
|
|
|
|
|
|
|
- name: Terraform state
|
|
|
|
hosts: controller
|
|
|
|
roles:
|
2021-04-24 18:02:19 +07:00
|
|
|
- tfstate
|
2021-03-03 02:11:50 +07:00
|
|
|
tags:
|
|
|
|
- provision
|