28 lines
891 B
HCL
28 lines
891 B
HCL
provider "proxmox" {
|
|
pm_api_url = "https://pxlab3.sio.lan:8006/api2/json"
|
|
# pm_api_token_id = "<user-id>"
|
|
# pm_api_token_secret = "<secret key>"
|
|
pm_user = "root@pam"
|
|
pm_password = "Azerty1+"
|
|
pm_tls_insecure = true
|
|
pm_debug = true
|
|
}
|
|
|
|
|
|
variable "pm_api_url" {
|
|
default = "https://pxlab3:8006/api2/json"
|
|
}
|
|
|
|
variable "pm_user" {
|
|
default = "root@pam"
|
|
}
|
|
|
|
variable "pm_password" {
|
|
default = "Azerty1+"
|
|
}
|
|
|
|
|
|
variable "ssh_key" {
|
|
default = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDd97G/Uw3zlnhVByjpHZFw9FDa88phFUMtYfstTq7wYlUOJB2rdLPpU0bAjIpvpYmHOmBNseWYKaOT7EXNdxWPWJGuoen23tqdSzhnOV0LJz8zbCIA0Ykz/XOqRyJkq6qUw+L3atDxVC5pSSSY279yJtuQ2nmVld2KWDY4lnyZzZT5eQsrxCbT57hVMLCKcMKNb4QnYlLgnyHW8DyWHGG5GEWF9skFSPlmwY5s5H3OYg3u8ijuGjenjDTzLfRUzFltGJ2kBYbIn1iailArKpCiasmJyyja+YuYn3WwaNcl8Tpqa8eI52/LtOXDMwUKzvRJ6D6INEr/1duGYP/fQSEH root@ansible"
|
|
}
|