update
This commit is contained in:
6
.gitlab/.gitlab-ci.yml
Normal file
6
.gitlab/.gitlab-ci.yml
Normal file
@@ -0,0 +1,6 @@
|
||||
include:
|
||||
- project: 'developerdurp/yml'
|
||||
ref: 'main'
|
||||
file:
|
||||
- 'pipeline.yml'
|
||||
- local: .variables.yml
|
||||
4
.variables.yml
Normal file
4
.variables.yml
Normal file
@@ -0,0 +1,4 @@
|
||||
variables:
|
||||
PIPELINE: 'gitlab'
|
||||
PROJECT_NAME: "TERRAFORM.GITLAB.RKE"
|
||||
OCTO_PROJECT_NAME: "RKE Clusters"
|
||||
23
TERRAFORM.GITLAB.RKE/main.tf
Normal file
23
TERRAFORM.GITLAB.RKE/main.tf
Normal file
@@ -0,0 +1,23 @@
|
||||
module "RKE" {
|
||||
source = "git::https://gitlab.com/developerdurp/tf-modules.git//TERRAFORM.PROXMOX.RKE"
|
||||
|
||||
dnsserver = "#{dnsserver}"
|
||||
sshkeys = "#{sshkeys}"
|
||||
vlan = #{vlan}
|
||||
bridge = "#{bridge}"
|
||||
appname = "#{appname}"
|
||||
searchdomain = "#{searchdomain}"
|
||||
|
||||
master = {
|
||||
count = #{mastercount}
|
||||
template = "#{master-template}"
|
||||
cores = #{mastercores}
|
||||
memory = "#{mastermemory}"
|
||||
node = #{masternode}
|
||||
ip = #{masterip}
|
||||
}
|
||||
|
||||
pm_api_url = "#{pm_api_url}"
|
||||
pm_api_token_id = "#{pm_api_token_id}"
|
||||
pm_api_token_secret = "#{pm_api_token_secret}"
|
||||
}
|
||||
Reference in New Issue
Block a user