parent
f8bd422451
commit
b89713643d
2 changed files with 18 additions and 16 deletions
1
main.tf
1
main.tf
|
@ -20,7 +20,6 @@ module "tf-datatest" {
|
||||||
name = "max"
|
name = "max"
|
||||||
domain_name = "tf-max"
|
domain_name = "tf-max"
|
||||||
data_disk = "/kvm/data/max-data"
|
data_disk = "/kvm/data/max-data"
|
||||||
#ansible_command = "ansible-playbook max.yml"
|
|
||||||
memory = 1024 * 8
|
memory = 1024 * 8
|
||||||
mac = "CA:FE:C0:FF:EE:03"
|
mac = "CA:FE:C0:FF:EE:03"
|
||||||
}
|
}
|
||||||
|
|
3
max.yml
3
max.yml
|
@ -4,6 +4,9 @@
|
||||||
|
|
||||||
pre_tasks:
|
pre_tasks:
|
||||||
- name: Wait for host to come up
|
- name: Wait for host to come up
|
||||||
|
tags: always
|
||||||
|
block:
|
||||||
|
- name: Wait for SSH connection
|
||||||
wait_for:
|
wait_for:
|
||||||
state: started
|
state: started
|
||||||
port: 22
|
port: 22
|
||||||
|
|
Reference in a new issue