diff --git a/ansible/ansible.cfg b/ansible/ansible.cfg index 47ae72b27..fe570e78c 100644 --- a/ansible/ansible.cfg +++ b/ansible/ansible.cfg @@ -1,5 +1,5 @@ [defaults] -inventory = ./inventory/hosts.yml +inventory = ./inventory/inventory.ini remote_user = smauro host_key_checking = False stdout_callback = ansible.builtin.default diff --git a/ansible/group_vars/all/vault.yml b/ansible/group_vars/all/vault.yml deleted file mode 100644 index e7849408e..000000000 --- a/ansible/group_vars/all/vault.yml +++ /dev/null @@ -1,50 +0,0 @@ -$ANSIBLE_VAULT;1.1;AES256 -32363835333261623839636533626164356461343032383362363830303838376232313837313231 -3664316238636163633530626666656135653164326135360a386466303061343562626438366236 -30366535356438386139363565663965393131613166366261323233333936653239306361376266 -3866613665343564630a383835313361373334336438326136613933303237623063303930643438 -30653363346237333735353861666537346665616231623038363235383632333133643366373065 -35383039666666346463366563373331306265613135653535626431653466633830653431356437 -39643036353065386335666563393963383431663936383962663031393861643133656534373933 -39306237626130306636626165393438313164616436376331313364336165653332613566643261 -39356239333461616462616231303335626338356332373634393332353739366362623936663162 -31366161616162376536666365316166653761643366616363346233393137333138653465626365 -32383731353963303934363939623133633939396437383334363933616263303862663962313366 -64366532316234663930343930316166656532373831323935366231363064373262636231653132 -30343936333463653035356431616239653137613464633164643934636131393966633730666632 -61643333363461326636623764636632343136343637353736666165343564643631626636363132 -65376136643830366564326436373936636635376535323731363333623935623830646436303534 -66386362376431343830373238346361303234326564313632373164356530336634313334363763 -37653861343762336538373031333237366164653434326361306161303161646462663636393033 -38323166626331313965663438646461306335373031363237653366306337653232643934386561 -32613437313966393237343966303866393832363539333037633331323764633263643437306462 -66623036306364653032353165656463646366326162303361663338636435616233373830333432 -37323938653231333863323564333966663037363961363365326232333962356437376663346333 -34303435623666306235383732336138303733356262653762376537306565346331333937396666 -35336162613663383166633366383737386533386637643133313930326430386334646563633064 -62336139343137653433303164616232396361613337346233636564303531653764636165393238 -65346262356234613039616230363931323766643035653032623639616562333938316637343131 -65623962316539623634373864663331316239333733666238663261336630346664363162363534 -66613233356431626230643437323734313661393739323163613534363534373630623462323131 -65653661323839393061626263306363333762616635626466656134396339623532346134303861 -34636165333562646234643165613334643135393637663135366561623464613338373265363765 -65653330636133396562316366633164663665656438633061663033613339353334353666623537 -30653165386263373138613162313366303665663164663336633365613363613161316465343266 -31656462373766323163643632346233636434343833396135643433316131303134613762313235 -30626661303064656333643936623261323935363766356335386263356365333131306433356338 -61623665643530373062663636616264626134636462336431353232376532333036656332646361 -31376431303162313439306436393761353238313037396634326164353434616662623163313036 -63393337313832653932363734623437666434396239663533306335366464396537353834613735 -31623764356635623661653936373236306364333632316435656239666630396439653536633461 -34373732373737343162363233313431366435343162363238326363393262343637663436623936 -38616365656265343164343765396435626433376238363239383532393963643238383963343631 -39333531373565623465623366363734316363346334343566343664643666303839363237323739 -39333239323833636533666165666433396539633236306137386237343137333662333866633832 -33653037633138646537356239613433633230636138343430613635613464666431613531353231 -36623966336133653736383033376164323536363233353263633662316237613132366338316436 -31353932666363643336376362383535666661653037626661616636646361626134626337383830 -66326232633838633063643136353064303664663839373839373234646537336631633232633664 -62623533396566323334636561633134356563643262356361303266353762623637353236626434 -64316437386666333765616361663337626462393061336331373432656431396432663732343833 -37646231363462653866626435666533653165366433396230623531366639316138343433313265 -36636465313564313263353238363361613437356639383839666633633531333365 diff --git a/ansible/inventory/group_vars/all/vars.yml b/ansible/inventory/group_vars/all/vars.yml new file mode 100644 index 000000000..47a0f3330 --- /dev/null +++ b/ansible/inventory/group_vars/all/vars.yml @@ -0,0 +1 @@ +ansible_become_password: "{{ become_passwords[inventory_hostname] | default(omit) }}" diff --git a/ansible/inventory/group_vars/all/vault.yml b/ansible/inventory/group_vars/all/vault.yml new file mode 100644 index 000000000..ae215e255 --- /dev/null +++ b/ansible/inventory/group_vars/all/vault.yml @@ -0,0 +1,50 @@ +$ANSIBLE_VAULT;1.1;AES256 +65643463336235353038323731353562326537303632613934623633373437623430356461643164 +6366663637356663313530303961633238643130623339330a336138663933663631356238616533 +31633132356138666232373461303838343433633563383033626632396361363936316433663537 +3563646531366137340a336361643637363636353330353362663865363962383239386662663663 +66303265386531616334383335333530663036616135666635303163353436376262626636623361 +61623439653531613731326232623563303162333964373431353331666365313830396336613861 +61383338353632396632343933396131663566323035323262316336376633633036646666616131 +37343730303435643736363035396632653836343032323161323835656466303066393230336435 +61353139306232346133356530666430613236643562396431346239343038623136373863363937 +36393562346535383665646164646666626236656238393564383539646434383063383465373161 +34393138303630653336333739366363313636313265303430356534336539653137376239303839 +38323165333565643164383566396632663932636263623931656261323439666433616131656536 +63336335663931643032343934313664613565393562376364393634303063333532623036356139 +62366433376439356665616334383039393135303161333862353964366464356336346663653564 +62623565323039316538393166633263643566393965396534653665343235623261373837633939 +62303463656630336263653938313333343863616664343063303436633730373034636365326166 +61643735373936353236326632373939316137363764643433386162663031666463396237383866 +65383463373631323536623566383462643664633039313138653531333639396236373330626436 +64366264316166376338343535396162666432363265656231626339653230643334376630303262 +31306336353038323333356363636264643734333330626231356561306239373266393065643463 +34363432636239636361613130376462343031376336313831646365633033346539376636343662 +33626333626365386166303662646431333137343635393365373339353062373233646433353365 +31636464333964313131343863373839623832326337336332353730663934643138666139653539 +34396339333138363863363864323661333134373062313039333939666238323434363238383232 +62363039323933313536383337316333366235316231613637336164376136636639653661613531 +31616230333661633932656437336133346233343531376132313433616633336464363264383264 +35343731666532663938613136656635656336383834353534376536646164376330623933356264 +38626536346131396135373532393735666661623334323433623938326539643362313763326435 +34633934316437656439353133383439393966303037616263373866616162663237643738646231 +35346666326566333161326661656438643861393264333831356231333536643766646264353861 +64626463653666633964633866623832383834303230333562306535336434656430353738656139 +35343766323866346334633162383536393839343830313132363366323338663265653231653833 +33346631646433313863303763383436616365636230613262663033343638323431346538333738 +62343566633262663234636230353761643163336262393535333565316638376261306166373462 +34383938663035346630316236636463313236333739356233616336313962656334373466326630 +62373331346333353366303235363731353830343538633138663437626262646531323664653761 +30383639373166333664663361353139346533623634666535646261383664386432653761393361 +31343763656530333131663061623531643035333064623339383166303262383333356534663261 +36343263326565666533396663306437393963636466656565656138313163346363383339626536 +66343232373834323330326166633764343235616437373232393538643063636633663537323936 +31366461623565646433386638343730336165316333613239313962343436373635313133323533 +32306166616566633930613037623133313131633064353265366264346132303065356362363532 +34303135343234393761396339663266623966393761643035333636636563633465656634353766 +32613030363964306464623562623063386437386535646165366161343038326334326239393165 +39376361346339656130353132653736646161666235336233373564353332343030396266383530 +63636338613637376366313461666534386364636463376266383030623130613065333838306361 +35333235643435366132366537656161646362626436626562346133366331653739663434353632 +39633863663137326335396462396433656265343138366232383433666366613963343834633133 +34343363343630336365656263393661623331623066613664303531646638323765 diff --git a/ansible/inventory/inventory.ini b/ansible/inventory/inventory.ini index acb9a4008..434c74542 100644 --- a/ansible/inventory/inventory.ini +++ b/ansible/inventory/inventory.ini @@ -37,14 +37,14 @@ website-02 ansible_host=10.0.20.164 ansible_port=22 #192.168.1.94 ansible_user=smauro ansible_port=22 ansible_ssh_private_key_file=~/.ssh/id_rsa [grafana] +#website ansible_host=10.0.20.251 ansible_port=59513 +db-02 ansible_host=10.0.20.248 #192.168.1.58 ansible_user=smauro #192.168.1.249 ansible_user=smauro ansible_port=59008 #192.168.1.65 ansible_user=smauro #192.168.1.138 ansible_user=smauro ansible_port=59512 -#192.168.1.251 ansible_user=smauro ansible_port=59513 #192.168.1.168 ansible_user=smauro #192.168.1.136 ansible_user=smauro -#192.168.1.248 ansible_user=smauro #192.168.1.10 ansible_user=smauro ansible_port=52190 #192.168.1.14 ansible_user=smauro ansible_port=52190 #5.196.14.69 ansible_user=smauro ansible_port=2222