create template env for build image

This commit is contained in:
Valentin CZERYBA 2022-11-03 21:49:56 +01:00
parent 653891f446
commit 27fcb8b6ec
5 changed files with 30 additions and 14 deletions

View File

@ -1,4 +1,8 @@
project_terraform: "/home/valentin/terraform" project_terraform: "/home/valentin/terraform"
region_k8s: "fr-par" region_k8s: "fr-par"
project_name: "terraform-test" project_name_tf: "terraform-test"
quarkus_project: "covas-quarkus" quarkus_project: "covas-quarkus"
mailer_host: "smtp.gmail.com"
mailer_from: "valczebackup@gmail.com"
mailer_port: "587"

View File

@ -1,11 +1,15 @@
$ANSIBLE_VAULT;1.1;AES256 $ANSIBLE_VAULT;1.1;AES256
30366237393836333338316164656633656435383866666462663830643463633064356261396431 65363666393931336562303562336163356633643832646633383864346538386436613363316661
3066613335326464373833346430373663333736353537630a653934316366383165346238663134 3766663332623564646630633232393830326262626231330a363035363237653930656362633561
30376439373634323636613566373534353138653964613236326464653662306136653964313861 65666133376131643366393234623861613862646466383038656536656466343134666135363333
6135623361346639650a646533383761393435303833336138346164633161613739323765323664 3733313835383034380a643063373765356637373332636264653539363963326366646664336431
65623039633039343039303931626138316132613433666136633336326433653561343761316363 66613265623364383933326165383162366464633037323366303931636136623835313334623131
66666230343165383130353939303633623264663161663030336533663437363630383565353064 31666161623238346631316236643735653134306536663538646437343066323930383261646161
35376633323564623361613663356230663664323261383564653433656638306432343132343631 62616361303630333230346263343937633461396362613963626433623264333039306530396136
32386232316234643464326533303065653535633064393438663931336334373965313064386532 65623163383965326161383238366564393632323830333336623839636564623535643463356666
66306664303937356636366564623830623764386136663830636634326438373963666134613430 61326634663834636336313233306535646366363437346262323939613937333831646466326264
6530323937303637393934376466396565343133613736663166 65363534303037376166663363306433303633383662316235343634343035323838663931613733
33326563323332353765666639643462353935303064626266643339623238316233383837396631
65376264346139353939396538313837636333643239623532333636653364646137356439323833
35363730643336376361656366666136313431613337363533643539373865663766653161366530
6339316532613964626139336236346635643638633439376662

View File

@ -5,6 +5,7 @@ localhost ansible_host=127.0.0.1
[db] [db]
vps vps
localhost
[db_vault:children] [db_vault:children]
db db

View File

@ -5,3 +5,10 @@ POSTGRES_URL={{ postgres_url }}
POSTGRES_PORT={{ postgres_port }} POSTGRES_PORT={{ postgres_port }}
REDIS_URL={{ redis_url }} REDIS_URL={{ redis_url }}
REDIS_PORT={{ redis_port }} REDIS_PORT={{ redis_port }}
MAILER_FROM={{ mailer_from }}
MAILER_HOST={{ mailer_host }}
MAILER_PORT={{ mailer_port }}
MAILER_USERNAME={{ mailer_username }}
MAILER_PASSWORD={{ mailer_password }}

View File

@ -8,8 +8,8 @@ terraform {
} }
resource "scaleway_k8s_cluster" "{{ project_name }}" { resource "scaleway_k8s_cluster" "{{ project_name_tf }}" {
name = "{{ project_name }}" name = "{{ project_name_tf }}"
version = "1.24.3" version = "1.24.3"
cni = "cilium" cni = "cilium"
project_id = "{{ project_id }}" project_id = "{{ project_id }}"