Move variables to 1 place
Much easier to manage
This commit is contained in:
40
ansible/group_vars/all/wireguard.yml
Normal file
40
ansible/group_vars/all/wireguard.yml
Normal file
@ -0,0 +1,40 @@
|
||||
wireguard:
|
||||
public_ip: "{{ hosts.casey_ip }}"
|
||||
port: 51820
|
||||
server:
|
||||
ip: "10.23.0.1"
|
||||
public_key: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
38663861323433663733306266313862383538613562616531656262616665393130626564666539
|
||||
6636666561663137623166383432396163653835346335650a616139306431363934383031353161
|
||||
63656233623963316238663366613237613165663238343937313062616565333038326664373463
|
||||
6463623861656362350a636564363163353736613032386533613163333039336637356433633037
|
||||
66663563666263613737336235316565663337636339613933343939323563393034353431343932
|
||||
6339386262333134373465616637613534333839333265613563
|
||||
private_key: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
39333362373534343265623337353037343238623365633863373333323166646562326234336633
|
||||
3265653136326337306439623331393733346237326630340a346466316562643432656330313764
|
||||
64303535663736356561623636366261343830366561343463653561343337353034626533306634
|
||||
3334323935303734660a373961303535646336663637346137316337383132346665366336353139
|
||||
34313137366239323361386136396666646362306538616661643164383166326335666638336230
|
||||
6432363064313239656338356630626235336239356662326362
|
||||
clients:
|
||||
intersect:
|
||||
ip: "10.23.0.2"
|
||||
public_key: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
36376136643534323433666161366363646630393165326264633266383535396362613461326631
|
||||
3837323462643738633261666638306264666237313634350a363339396464373735366437346666
|
||||
34393334626338653139653664656532343666376265343331613832646437643364643734383930
|
||||
3139333464396561650a323164393361393261373135333834663961626337636662663433613339
|
||||
31393961616535633763623839373463316336643835323762373837336366376232663333646532
|
||||
6131636532623734633964393338626134616466613032306364
|
||||
private_key: !vault |
|
||||
$ANSIBLE_VAULT;1.1;AES256
|
||||
32346134373364616630633466636666343261393338636534396465613361666639333433646461
|
||||
3063373061313836303331613438303839333763393264610a636165616665383137643132383064
|
||||
66383638636638346539303638653765623438616663636639333663326463306134343862646437
|
||||
3334636537393863340a383665623363343761633438343838393562653335303437306139373035
|
||||
31366135353861313064343562353163326238373630346631613734303732666235613332653431
|
||||
3866663137353330666539373861633836303839386331363366
|
Reference in New Issue
Block a user