Skip to content

Commit

Permalink
add ffshmon
Browse files Browse the repository at this point in the history
  • Loading branch information
Grotax committed Feb 25, 2022
1 parent 9810d17 commit de04d0c
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 25 deletions.
54 changes: 29 additions & 25 deletions host_vars/brunsbach.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
$ANSIBLE_VAULT;1.2;AES256;fastd_key
37383164303031396231636430633335626566643437633165303365346166363635316530636530
3565656666663734643365633331326334626261633534390a636566376363633262326536343634
61616333656630323834646266376230323237383838653336306165613262356333623537616331
6330393963393038300a646532386239373238373866396663343931396236643830646134616332
35653835636633316132363664393163623335353663626130656636356365366436363033643266
65653862653361616266653864613033316135646562336534626464356138663333623133656564
37383366363464366561633132373930363737666137366639373035663039383337376565363332
62346436626238313861623962636238306162646564653265396439363832316335626466303861
35623662393536383339343833346639393265386664616434663431326430663465666562326332
38353336326137343565336230633537303338353865326333613966356561316238636263353266
38366564646636353037363362316664363337323435616366626439363834386264383331343034
33356464366238616465663639346164303138666236323135336335356164393334366366623234
36623934336338396263323230376365353437363131393437333533313933666462646462663031
35373233343362666239653330373962323939343134353738653838666338623863346361643463
65326237313333383234643262363234333739636563373934383833633234306433303238636539
39353465353439613034343330386138383430383963613938333439386636323439633131343666
37656635656334653965636439333461343664613436393630376437326235353739376336633762
37663664623862303837336638386535396635653037353532613236333030656431646137616638
39643736613335376133626637663464353631373838643231373563356164326261343334646136
63313463316466353164663465343362653232633634346137633031386263663939343363613731
65636631306566353663386433346163646236613938646335663133373831626231646231366561
64616433663839396166343139323935326138346361343935363136363431343562353637643731
33363063623339656462336333623735633833666636626563623739633533333065623630373135
66333163343238346162643438363036316533313438326536383330333535333362376430353938
3433
36623437656633633464663232316134316365646435663634303638363939363132386132306131
3636326132313034616364383136653562663363646331360a376231623630613631323866383465
38623538663931333035616632336437666338336436373833616432313964626132356462386365
6432616163656235630a663466363837633762386133656665336436363662623430326238346534
36363031613461363366353038343566383330656237613963333332336437653433333930633631
30333537333337393938643861336666633338646536323361316133303738623135316632343034
33303662363733373464643539363031616330373033373831633032623663666130323864306432
66613035376130386361346230616462636434636565353235376362363264353733626464336538
34366262303762666334363166373033363739346436356461663930663164653631326630323638
65633162656333666233326338363437623961636163353032663939616535383338646139616365
61326138656231353430383532666539616665396532626565623538613230393432333534626134
35316664353662376336333062643837313738656339613166336239633636356162626562366639
63383036393733366433343036666232656333613230666433363461656633623036333735633431
32376161383735333931316334306161363262363936636438396335633136633732373533636365
62653865343333373630313832336362333834343161346639356531353337626236343931373831
30326138396133623936353934623632396531643332626235646639346264366236626261333564
30363463366232383934633361636261646436663830373230313334626335653134613261626537
32653632323836303363366537633062613363633837653863626633366332343838313237373032
63306462346133303332383932346663323862316437613732623530383662396663363364326166
62373337396437363534306232363737346632613765633161333035303730656635363039646461
34663535656530343464323137353533623061613330623934613565613637636263346636316162
30643730636532386462633038646162366531363938323863366562633237303564316334353661
62346461363139663032313938626637396230346538636265383161383434393235663438373964
62383733306164373965323535346532656536636163336664666634363134646339313865316462
61353165343832656266323564633264613864336261333361303064643837346561356231613333
39653464386661343865353935643533343661353061666132373936373239303237636563623138
32303061646532363462306136343762346631303862646662613338386330346364656534663764
64613761373434333234396562646138373739653365333539373137613338353935663431613565
6237
10 changes: 10 additions & 0 deletions roles/ffshmon/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
- name: Clone ffshmon repository
git:
repo: https://github.com/ffsh/bind.git
dest: /opt/ffshmon
force: yes
- name: trigger ffshmon regularly
cron:
name: "Execute ffshmon"
minute: "*/30"
job: "python3 /opt/ffshmon/wireguard.py {{ ffshmon_mail }} ffshmon_pw"
1 change: 1 addition & 0 deletions setup.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,4 @@
- { role: ohmyzsh, tags: "oh-my-zsh", oh_my_zsh_theme: ffsh}
- { role: ohmyzshtheme, tags: "oh-my-zsh-theme"}
- { role: ssh, tags: "ssh keys", login_user: 'root'}
- { role: ffshmon, tags: "wireguard, monitor"}

0 comments on commit de04d0c

Please sign in to comment.