ansible_env_feten/group_vars/all

94 lines
4.5 KiB
Plaintext

---
env: "{{ lookup('env', 'PULUMI_STACK') }}"
application: "{{ lookup('env', 'PULUMI_SUB_STACK') }}"
bastion_group_name: "{{ application }}_bastion"
# DNS resolve
preferred_dns: "8.8.8.8"
fallback_dns: "4.4.4.4"
# infrastructure
infrastructure_file_path: "{{ inventory_dir }}/infra/{{ application }}.json"
# proxy
proxy_user: "felcloud"
proxy_passwd: !vault |
$ANSIBLE_VAULT;1.1;AES256
30353938636561343133303061303336653130383363646430616536326131393766646239393530
3761626633393637396436386135663034616531663135390a666134363539366465393364306230
38656537373438353737323430623462616332373835663837366434343739383765336361326331
3330643466643730660a636236376133323730336561643532393130646639386263623263323339
6563
proxy_hostname: "{{ groups[bastion_group_name] | first }}"
proxy_ip: "{{ hostvars[proxy_hostname].ansible_host }}"
proxy_port: 3128
# console
# console staging
console_repo: "git.felcloud.io/billing/billing_website.git"
console_branch: "prod"
console_image_name: "nexus.felcloud.io/felcloud/console"
console_version: 0.1.2
# console database
console_database_name: "billing"
console_database_user: "billingW"
console_database_passwd: !vault |
$ANSIBLE_VAULT;1.1;AES256
34646331363564376132633734303661376433386139306438623462386633376635343664663637
6465363736346437333965333836643862386565616230330a646333373934343761393932383765
66616166663061666563363534646464313430383363613164653337663565333337303334646366
3338666262346263650a623037626165363730386462633331393438326131656638626430383939
62633637303662666366313236366461613362343961333865646465326532613432393436363335
3731366461653937613133383834666632633231646664623363
console_database_url: "{{ groups['console_database'][0] }}:27017,{{ groups['console_database'][1] }}:27017,{{ groups['console_database'][2] }}:27017"
# Keycloak
identity_provider_url: "https://identity.felcloud.io/auth/realms"
keycloak_password: !vault |
$ANSIBLE_VAULT;1.1;AES256
65666165663930386564336335613430336537663837306261613439383865333635346163303034
3137366531316463346561383361643338613065356132340a363462666162666130396237336330
65356330333164333532353263653836383132653632666430383831343438666565333539646231
6431376161663439320a613963396263333862373932376631366334666266666137316631383530
66366237303837323966663630393438373962326234396335396134346233383531
keycloak_client_secret_key: !vault |
$ANSIBLE_VAULT;1.1;AES256
62656131303833613863613264373364633065396237636534393038633862666239313238303864
3834626239383435376361663366613462633361613261350a616238346138626233366366383964
37663763396266363133396536383039363839346265613461393032663235626133663661343466
3633316339656163610a343963343236336465663761373066373133653830313136326632663638
66653039636561383761616533356135613732373665643831333765353134326266646231353137
6137373234303337636333373763306535303663393137663738
keycloak_admin_client_secret_key: !vault |
$ANSIBLE_VAULT;1.1;AES256
62343461316462633865316334376235346234643936396137383964626136636261633865323935
3635366438376430356439386534333635326432643939360a386433386331303735393764646261
38383034333534303139363939353561303837383334303465646262353861623932333137353636
3035383366373131360a356636373535313164316331623632623832356262326565346461633264
36633763613132316335336561653338353362313865316661383933383134386439323632366238
3930306135383036623661363134343738626162386635313632
smtp_host: "mail.felcloud.io"
smtp_port: 465
smtp_local_host: "{{ ansible_host }}"
smtp_local_port: 587
smtp_user: noreply@felcloud.io
smtp_passwd: !vault |
$ANSIBLE_VAULT;1.1;AES256
62623530623063393036386339343038303464643962363736383531636461613439316462313437
3931303536323666333038633432346162633231623039610a643961323934633238303636643435
31663635326230393330356561636266626534623962313063393764626237393765653732396464
3064626333393432380a616563646564383934333938613235653735303339613230323937303731
37613930656565306266623537333661613266636365373038663636666439626437
# docker registry
felcloud_docker_registry: "nexus.felcloud.io/felcloud"
# mongodb global
mongodb_replicaset_name: "rs0"
mongodb_script_local_config_path: "mongo-scripts"
mongodb_list_js_scripts:
- "03_initaira.js"