Changed to finding template by id instead of name
This commit is contained in:
6
Jenkinsfile
vendored
6
Jenkinsfile
vendored
@@ -42,6 +42,8 @@ pipeline {
|
||||
environment {
|
||||
ANSIBLE_HOST_KEY_CHECKING = 'False'
|
||||
ANSIBLE_FORCE_COLOR = 'true'
|
||||
VM_TEMPLATE_ID = '133'
|
||||
LXC_TEMPLATE_ID = '109'
|
||||
}
|
||||
|
||||
stages {
|
||||
@@ -87,7 +89,9 @@ pipeline {
|
||||
-e "target_node=${params.TARGET_NODE}" \
|
||||
-e "vm_hostname=${params.HOSTNAME}" \
|
||||
-e "cpu_cores=${params.CPU_CORES}" \
|
||||
-e "ram_gb=${params.RAM_GB}"
|
||||
-e "ram_gb=${params.RAM_GB}" \
|
||||
-e "vm_template_id=${VM_TEMPLATE_ID}" \
|
||||
-e "lxc_template_id=${LXC_TEMPLATE_ID}"
|
||||
"""
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user