diff --git a/EXAMPLE/cluster_defs/aws/testid/eu-central-1/cluster_vars__region.yml b/EXAMPLE/cluster_defs/aws/testid/eu-central-1/cluster_vars__region.yml new file mode 100644 index 00000000..ca091c5e --- /dev/null +++ b/EXAMPLE/cluster_defs/aws/testid/eu-central-1/cluster_vars__region.yml @@ -0,0 +1,6 @@ +--- + +_ubuntu2004image: "ami-0502e817a62226e03" # Latest official Canonical Ubuntu Focal (20.04.x) image + +cluster_vars: + image: "{{_ubuntu2004image}}" diff --git a/EXAMPLE/cluster_defs/aws/testid/eu-central-1/dev/cluster_vars__buildenv.yml b/EXAMPLE/cluster_defs/aws/testid/eu-central-1/dev/cluster_vars__buildenv.yml new file mode 100644 index 00000000..ec3c93f0 --- /dev/null +++ b/EXAMPLE/cluster_defs/aws/testid/eu-central-1/dev/cluster_vars__buildenv.yml @@ -0,0 +1,119 @@ +--- + +cluster_vars: + dev: + hosttype_vars: + aws_access_key: "AKIAQL2VHS2YTIUDDTUH" + aws_secret_key: !vault | + $ANSIBLE_VAULT;1.2;AES256;dev + 396237633464393631396230666536386239323135646564316132373632333833653035613664323436613664356339306536623162623137666634333762320a333334316137386132346662386639643461303461356638316463666266363930306466633536393032623339653466626263363462366263313263363533350a396435396338383564353132373562633534643038653462616335616163356333653962316564323635323134383031633734303639326337396164343762313036326330363162653837386434303163393434353535356465373063306265 + ssh_connection_cfg: + host: &host_ssh_connection_cfg + ansible_user: "ansible" + ansible_ssh_private_key_file: !vault | + $ANSIBLE_VAULT;1.2;AES256;dev + 343436343435633162636462343332653665393065363039653435323338643433306636383339373236383230376538653664323265663963383961376636360a626433656234393762336531613534393733303163333464653237636339616366663138633631363633626563383663356233626531313033633165383433320a613364366262653839663834326532626530633938313937633735383166333635333930333339613762346330376430303933626533633231363563373432666163613461623938393139626662616638363036653263656536346366306266326366336363386331616135383465393631626564643362306566383030376634316232383636643033323936393162366262623737613063393065336465363037663438383464646438313535633539313035623138613533646261613533626665393664666531333037383638616331316166323565326637363064356137613633646231356131616632393266393065313636306664666366623635383563393765663164303463383634396665333964316236343930653163316163626431366164356437346535333562363463393730656433323261383238366462323835353730383961636135373730393064306265666230306332303435393632343139346236356130613137643739383661656464353262623363306438393166666233343936316237613435363437306436656530386466393765333562343036613438373835373165663235326331303464376363306638613233346638633831646131656333313231316661653137356162353064613536656662386265323835353262393435353938626330646261396662363733633762303334613631666663626330393139323962353634346463656262393637646264363832363063366433613532313238333131303932383135326162333266323064363865306131336365396537656662666662336138636235616366613365333232316338393663663562623930386561393830313439643739366633616330373964373637633665663563363063333535383462346539643463373635613131373762313531623733363032643662316534643239363266396636396466633432636637346530363535653637343565343837336166323935653261346361336137363632353563623835636432303937383330656534386537386638376266376436353434313538353163633362323461653833366132643264353163356361303932393834306661386233623731356262653634663862303235306164363735646637663866356335636165623736653635626464613564353639323265623666373532343662306663356165373332373636323333643261363639316135653834343566343331306166383662373362616261306164383936633634363132643939346438346563396664636335306165613363626365653462386663346235333032376533663937356266393233373032326565326631353739363938366237396539383034356130626332626362353134326566326539393639343864373935613634626432353161333834613762363735353139313233393337393634353462666337363437373234643939363833356231333930366365653336373530653363663831303163303237636230373563363434326436306135653763643032353833613162366232393030666466393234383232613534633337646130383763386332393830396261386133633063383439393332323436323133306566306666386461343565656437616236323164636565356436336466303730383962303137383563613832373061353666306564346635643831383734316435333237616162386639663065333134376536353864616332633130653230333938313134393335303661633662663361303939613334666632383133653731313934376134353632616463626235633632363765343136633032356538343638613365353933363435366632353833333239383661616132326633623730303230373761373139353435303361373062333134373865346633376665343866323931393838343332303831376438383230303938363039663531653163626633643538613338383431336533336235353637343463646338616562386137323830326166353436616262396262376530356362353935623664323233313632656133373265396230633830663132663135643831616462323033313534613739366266613231653965396135643061313462613635633533646666306431393231336533356639313164306631303963633439613162373332633438386137313236633365666130633035303234313639323834393339336634396566373636356332633966616230633838383065663263663162346266316366633161393431663035636438383032646463376235623235313536336465316139393365373632616563383336356435343537663561396239633966323134613761633437373161333465316636663132613262626336643766376466383061623338336132346633313338353430363032316334333130663535616630376163396237353538353633663064343462323166373939373166663039626139393639313163633163633235323362643761383831393438336237386535393035313161613262306362396137646439653231303463303931326266313465373136363933653337376363663666633636623166356632316332663331666139353831373537316164376537316265383764316466316235636439643362613233626236373532323031626166393034633932386130373261636564386561333363663734303464323964396261366564303534643839333065316231396436376139366533396239613163323936646432306166353237386265353364393865393539303436333339306437333430633333363137643334653762323432313130383132323330656534633937656138636266643936636161333263663937313032323166653530343463623563326163323532343965313662386366313034626563333066646434616462636134303638363830383665343934366535393433313439333935663461306137383365383737303136356435306433643563333932636461343564393139393034616664366161623738353639346534646337653130623337613238363931326136366632303337373930666363663730393936346332333837643661376336623135663331353364333464393036666235386436363363396166383463666563663166666538656435356536633666613532313333653339306235343562373237303434643733343937303630373961363566656630303166366564653138363565326262333632613662386461613561333835633831313036356139313132303764643032653435313230363663336566653236653835313561623730663763313234333531613834303064306538633038373932393364373663343734333833356363623038623030633165623837333430626635623235383238656131633063376432323964313035613538303162366638626639623031613439616465616531663032356333666238316165633134323262363266303461303362663837333937386338323363623236393566666563643333326534313466353138613161636265373165333662346462336662356138633237363737663031306532373535343738393838653835383030336339636463313666373935383637356335343433633636303430396437626266633563613432653565376537333936353937363036356264303831643461633263666536663130633438376636663436633137336365383565343338386635613862313834623438346530326535306630653964336461616234336634633730313836373664396661363033363961383834643464353961333830623862373934663164313438303662646439363763636639656231383631393037356139633139333730346663623863636263633630373135393330613235363838666366613535623432303537663362653966383538303463613836626464363037663639386434646662336261626666626636323936386166376631326431646561393134383134653239616163363237363836643334633737356365376434346339333663303561663032613036353564666261363739613732316334636562323938626465666263633261643034333635316539316464336132316463346531303131356361326135663437396237643630623563313731383430326236613765323061633463316235636462346238326432633336376533656137653539616566396438393233373932333864333335353631353837346366393433333466306531373939343038313230316463653631326661333134636535366338353632323364363234383036383235353634393735636133333862353166303237373130616333366331396439646535346266396531626339333661383161636530363665393066323438613662643866373637613130666462623333666465343138653164646366363133316163383935626363323033336563623630626439373534636133643162643761346137616666656334316165313531343439323163313661356632353964323936373432396164386132326431343535613266306337316664 + vpc_name: "test{{buildenv}}" + vpc_subnet_name_prefix: "{{buildenv}}-test-{{region}}" + key_name: "test__id_rsa" + termination_protection: "no" + nsupdate_cfg: {server: "", key_name: "", key_secret: ""} # If you're using bind9 (or other nsupdate-compatible 'dns_server') + + hosttype_vars: + sys: + auto_volumes: [ ] + flavor: t3a.nano + version: "{{sys_version | default('')}}" + vms_by_az: { a: 1, b: 1, c: 0 } + + sysarm: + auto_volumes: [ ] + flavor: t4g.nano +# image: "ami-0c28049fa5618bca4" # eu-west-1 20.04 arm64 hvm-ssd 20210820. Ubuntu images can be located at https://cloud-images.ubuntu.com/locator/ + version: "{{sys_version | default('')}}" + vms_by_az: { a: 1, b: 0, c: 0 } + + sysarmdiskslvm: + auto_volumes: + - { device_name: "/dev/sda1", mountpoint: "/", fstype: "ext4", volume_type: "gp2", volume_size: 8, encrypted: True, delete_on_termination: true } + - { device_name: "/dev/sdf", mountpoint: "/media/mysvc", fstype: "ext4", volume_type: "gp2", volume_size: 1, encrypted: True, delete_on_termination: true } + - { device_name: "/dev/sdg", mountpoint: "/media/mysvc", fstype: "ext4", volume_type: "gp2", volume_size: 1, iops: 100, encrypted: True, delete_on_termination: true } + lvmparams: { vg_name: "vg0", lv_name: "lv0", lv_size: "100%VG" } + flavor: t4g.nano +# image: "ami-0c28049fa5618bca4" # eu-west-1 20.04 arm64 hvm-ssd 20210820. Ubuntu images can be located at https://cloud-images.ubuntu.com/locator/ + version: "{{sys_version | default('')}}" + vms_by_az: { a: 1, b: 0, c: 0 } + + sysspot: + auto_volumes: [ ] + flavor: t3a.nano + spot: { spot_price: 0.003 } # also options: spot_wait_timeout: 10800, spot_type: persistent + version: "{{sys_version | default('')}}" + vms_by_az: { a: 1, b: 1, c: 0 } + + sysdisks2: + auto_volumes: + - { device_name: "/dev/sda1", mountpoint: "/", fstype: "ext4", volume_type: "gp2", volume_size: 8, encrypted: True, delete_on_termination: true } + - { device_name: "/dev/sdf", mountpoint: "/media/mysvc", fstype: "ext4", volume_type: "gp2", volume_size: 1, encrypted: True, delete_on_termination: true, perms: { owner: "root", group: "root", mode: "775" } } + - { device_name: "/dev/sdg", mountpoint: "/media/mysvc2", fstype: "ext4", volume_type: "gp2", volume_size: 1, iops: 100, encrypted: True, delete_on_termination: true } + flavor: t3a.nano + version: "{{sysdisks_version | default('')}}" + vms_by_az: { a: 1, b: 1, c: 0 } + + sysdiskslvm: + auto_volumes: + - { device_name: "/dev/sda1", mountpoint: "/", fstype: "ext4", volume_type: "gp2", volume_size: 8, encrypted: True, delete_on_termination: true } + - { device_name: "/dev/sdf", mountpoint: "/media/mysvc", fstype: "ext4", volume_type: "gp2", volume_size: 1, iops: 100, encrypted: True, delete_on_termination: true } + - { device_name: "/dev/sdg", mountpoint: "/media/mysvc", fstype: "ext4", volume_type: "gp2", volume_size: 1, encrypted: True, delete_on_termination: true } + lvmparams: { vg_name: "vg0", lv_name: "lv0", lv_size: "100%VG" } + flavor: t3a.nano + version: "{{sysdisks_version | default('')}}" + vms_by_az: { a: 1, b: 1, c: 0 } + + hostnvme-notnitro: + auto_volumes: + - { device_name: "/dev/sdb", mountpoint: "/media/mysvc", fstype: "ext4", volume_type: "ephemeral", ephemeral: ephemeral0 } + flavor: i3.large + version: "{{sys_version | default('')}}" + vms_by_az: { a: 1, b: 1, c: 0 } + + hostnvme-multi: + auto_volumes: + - { device_name: "/dev/sda1", mountpoint: "/", fstype: "ext4", volume_type: "gp2", volume_size: 8, iops: 100, encrypted: True, delete_on_termination: true } + - { device_name: "/dev/sdb", mountpoint: "/media/mysvc", fstype: "ext4", volume_type: "ephemeral", ephemeral: ephemeral0 } + - { device_name: "/dev/sdc", mountpoint: "/media/mysvc2", fstype: "ext4", volume_type: "ephemeral", ephemeral: ephemeral1 } + - { device_name: "/dev/sdf", mountpoint: "/media/mysvc8", fstype: "ext4", volume_type: "gp2", volume_size: 1, encrypted: True, delete_on_termination: true } + flavor: i3en.2xlarge + version: "{{sys_version | default('')}}" + vms_by_az: { a: 1, b: 1, c: 0 } + + hostnvme-lvm: + auto_volumes: + - { device_name: "/dev/sda1", mountpoint: "/", fstype: "ext4", volume_type: "gp2", volume_size: 8, encrypted: True, delete_on_termination: true } + - { device_name: "/dev/sdb", mountpoint: "/media/data", fstype: "ext4", volume_type: "ephemeral", ephemeral: ephemeral0 } + - { device_name: "/dev/sdc", mountpoint: "/media/data", fstype: "ext4", volume_type: "ephemeral", ephemeral: ephemeral1 } + lvmparams: { vg_name: "vg0", lv_name: "lv0", lv_size: "100%VG" } + flavor: i3en.2xlarge + version: "{{sys_version | default('')}}" + vms_by_az: { a: 1, b: 1, c: 0 } + + hosthdd-multi: + auto_volumes: + - { device_name: "/dev/sdb", mountpoint: "/media/mysvc", fstype: "ext4", volume_type: "ephemeral", ephemeral: ephemeral0 } + - { device_name: "/dev/sdc", mountpoint: "/media/mysvc2", fstype: "ext4", volume_type: "ephemeral", ephemeral: ephemeral1 } + - { device_name: "/dev/sdd", mountpoint: "/media/mysvc3", fstype: "ext4", volume_type: "ephemeral", ephemeral: ephemeral2 } + flavor: d2.xlarge + version: "{{sys_version | default('')}}" + vms_by_az: { a: 1, b: 1, c: 0 } + + hosthdd-lvm: + auto_volumes: + - { device_name: "/dev/sdb", mountpoint: "/media/data", fstype: "ext4", volume_type: "ephemeral", ephemeral: ephemeral0 } + - { device_name: "/dev/sdc", mountpoint: "/media/data", fstype: "ext4", volume_type: "ephemeral", ephemeral: ephemeral1 } + - { device_name: "/dev/sdd", mountpoint: "/media/data", fstype: "ext4", volume_type: "ephemeral", ephemeral: ephemeral2 } + lvmparams: { vg_name: "vg0", lv_name: "lv0", lv_size: "100%VG" } + flavor: d2.xlarge + version: "{{sys_version | default('')}}" + vms_by_az: { a: 1, b: 1, c: 0 } + +_host_ssh_connection_cfg: { <<: *host_ssh_connection_cfg }