Commit graph

49 commits

Author SHA1 Message Date
4c36b9964d Revert "remove restic (#648)"
Some checks failed
ci/woodpecker/push/gitleaks Pipeline was successful
ci/woodpecker/push/ansible-lint Pipeline failed
This reverts commit 170e788c9b.
2024-05-25 20:56:04 +02:00
32fe00c0b6 monitoring: add munin again... (#790)
Reviewed-on: #790
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>

munin: nacharbeiten (#791)

Reviewed-on: #791
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>

munin: remove playbook fixed (#792)

Reviewed-on: #792
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2024-02-16 09:15:56 +01:00
170e788c9b remove restic (#648)
Reviewed-on: #648
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2024-01-26 14:04:22 +01:00
7d118f1193 on-off: remove drone-user (#645)
Reviewed-on: #645
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2024-01-25 09:48:55 +01:00
87ecbf6353 Typo (#637)
Reviewed-on: #637
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2024-01-05 14:43:57 +01:00
d6bb2cfae4 fix update_cache (#632)
Reviewed-on: #632
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-12-19 11:11:38 +01:00
33faf8b188 add update-playbook (#631)
Reviewed-on: #631
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-12-19 10:55:47 +01:00
cde39970eb add on-off-playbook: remove dotfiles (#621)
Reviewed-on: #621
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-11-29 21:27:17 +01:00
a091463e8e add on-off-playbook: apt autoremove (#620)
Reviewed-on: #620
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-11-29 21:18:44 +01:00
7a24089031 fix linter errors (#584)
Reviewed-on: #584
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-25 22:26:17 +02:00
ccaaabc1be fix ansible-lint (#583)
Reviewed-on: #583
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-19 11:10:04 +02:00
8e0e7bde21 Abbau munin (#581)
Reviewed-on: #581
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Co-committed-by: Michael Grote <michael.grote@posteo.de>
2023-10-19 09:32:59 +02:00
mg
ce813a881b rotate ansibe-user ssh key (#544)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #544
2023-07-03 22:42:46 +02:00
mg
b5c16eaacd Rolle aktualisiert: unattended upgrades (#461)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: #461
2023-02-17 12:17:12 +01:00
mg
9e104aad58 Neuen ssh-key eingerichtet (#388)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#388
2022-07-02 13:20:21 +02:00
mg
231229f33f Playbook: setze root-shell auf /bin/bash hinzugefügt (#373)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#373
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-05-27 12:05:42 +02:00
mg
428a87144c Bugfix: restic: set root gid auf 0 (#334)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#334
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-02-22 10:02:29 +01:00
mg
16ebb0324e systemd: restic (#332)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#332
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-02-21 16:42:22 +01:00
mg
ce709e7918 systemd: chrony --> timesyncd (#329)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#329
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-02-18 20:34:43 +01:00
mg
ffd264e3ec Script user für restic erstellt (#260)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#260
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-02-09 10:06:37 +01:00
mg
d4873c27a8 Nacharbeiten: ssh-key Wechsel (#321)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#321
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2022-01-28 16:49:15 +01:00
mg
34ed53fe3c Playbook: deinstall bash-helper-script hinzugefügt (#267)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#267
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2021-12-09 20:11:21 +01:00
mg
d2c425f014 change to script user: smart (#252)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#252
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2021-11-23 21:51:18 +01:00
mg
00aad73ff5 chnage to script user: sanoid (#250)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#250
Co-authored-by: mg <michael.grote@posteo.de>
Co-committed-by: mg <michael.grote@posteo.de>
2021-11-23 21:04:03 +01:00
mg
7799f2a4fe munin 2.0: you can (not) rebuild (#202)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#202
Co-authored-by: mg <mg@noreply.git.mgrote.net>
Co-committed-by: mg <mg@noreply.git.mgrote.net>
2021-09-13 19:26:31 +02:00
mg
e632af78f7 repair rsyslog ergänzt (#185)
Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#185
Co-authored-by: mg <mg@noreply.git.mgrote.net>
Co-committed-by: mg <mg@noreply.git.mgrote.net>
2021-08-15 12:01:03 +02:00
mg
f05c001b57 Housekeeping (#169)
Housekeeping

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#169
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-07-21 10:53:38 +02:00
mg
c5af0719aa dkms (#122)
rolle umbenannt

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#122
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-06-20 10:55:38 +02:00
mg
c0e0f8cfc7 rolle: dotfiles (#104)
dotfiles rolle

wip

geerlingguy entfernt

rolle angelegt

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#104
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-06-06 22:01:20 +02:00
mg
27a1a65608 Rolle: r8152 (#88)
at für alle

at entfernt

aufräumen

when aktiviert

aufräumen

entferne reboot job

aufgeräumt

script durch reboot ersetzt

reboot script für safekeeping

doku

depmod noch nhotwendig

rolle nur mit explizit gesetzten parameter

doku

reboot vars angepasst

doku

aufgeräumt

nur wenn nicht schon da

funktiiniert grundlegend

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#88
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-05-10 14:26:39 +02:00
mg
201e2be4ff neue plays erstellt (#82)
enues plays erstellt

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#82
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-05-07 09:47:51 +02:00
mg
296f5bb646 dotfiles bereinigt (#58)
dotfile vars von pve entfernt

remove playbook angepasst

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#58
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-04-01 21:51:22 +02:00
mg
65f58105b6 Munin für alle "nicht"-Proxmox-Hosts entfernt (#44)
Munin für alle "nicht"-Proxmox-Hosts entfernt

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#44
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-03-19 12:06:40 +01:00
mg
e37d354f2c ntp --> chrony (#28)
ntp-rolle in archiv

syntax when richtig

typo

on+off playbook

Doku

vars

doku server

doku

firewall

server an

client aktualisiert

playbook server

playbook base mit ausnahme

server in inventory

ntp_server ohne server geht

rollen angelegt

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#28
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-03-13 12:32:54 +01:00
mg
e794108547 Munin: fail2ban (#13)
entfernen Playbook erstellt

Typo

fail2ban eingebaut

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#13
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-03-04 16:31:50 +01:00
mg
65f59b303e munin: zfs monitoring (#6)
gitlab-user entfernt

typo

munin-vms entfernt

DNS-Resolver angepasst

zfs_list hinzugefügt

Vars verschoben und extra_plugins eingebaut

PR eingebaut: https://github.com/geerlingguy/ansible-role-munin-node/pull/21/files

Co-authored-by: Michael Grote <michael.grote@posteo.de>
Reviewed-on: mg/ansible#6
Co-Authored-By: mg <mg@noreply.git.mgrote.net>
Co-Committed-By: mg <mg@noreply.git.mgrote.net>
2021-02-26 17:24:14 +01:00
mg
36ebd32aad PVE-Cluster: Playbooks angepasst 2021-02-14 14:53:52 +01:00
mg
1b5c28dad5 Pfade smartctl angepasst 2021-02-14 10:43:53 +01:00
mg
1f402ff5bd Einbau neue Proxmox Server + Test 2021-02-12 10:32:22 +01:00
mg
9f1db30565 ssh: gitlab-user für docker + housekeeping 2021-02-05 12:52:23 +01:00
mg
e9f78f93eb Ersetze ansible.builtin.apt module durch ansible.builtin.package (#20)
Bugfix: acng

ansible.builtin.apt --> ansible.builtin.package

Co-authored-by: Michael Grote <38253905+quotengrote@users.noreply.github.com>
Reviewed-on: mg/ansible#20
Co-Authored-By: mg <michael.grote@posteo.de>
Co-Committed-By: mg <michael.grote@posteo.de>
2021-01-02 10:30:54 +01:00
mg
03d10acea6 Rolle postfix erweitert und Mails per Strato (#12)
Tags angepasst

Postfix Rolle erweitert mit Sender-Mail rewrite

Port für Strato angepasst

Rolle postfix in haertung eingebaut

Bugfix: Vars2

Bugfix: Vars

Doku postfix angepasst

Defaults Postfix aktualisiert

f2b Vars in GroupVars

Fail2Ban parametrisiert

KeePass: Postfix Absenderpasswort aktualisiert

Vars und defaults ergänzt

Rolle umbenannt in anderen Rollen

Rolle umbenannt: mgrote.postfix-gmail --> mgrote.postfix

postfix GroupVars auf Strato umgestellt

postfix defaults aktualisiert

Variablennamen postfix umbenannt

Keepass: gmail_nutzer_passwort --> postfix_absender_passwort

Co-authored-by: Michael Grote <38253905+quotengrote@users.noreply.github.com>
Reviewed-on: mg/ansible#12
2020-12-25 18:37:14 +01:00
Quotengrote
4818ef25ef
Passwort (#77)
* Set Password mg - untested

* Playbook set Password mg

* Keepass - Kennwort Update: User linux: mg + private Key ansible-user

* Passwort Var Linux user mg umbenannt

* Bootstrap: KennwörterVars angepasst + setze Password mg IMMER
2020-12-02 10:49:08 +01:00
Quotengrote
e089818d51
SSH aufgeräumt + neu deployed (#72)
* bootstrap rolle bugfix: https://github.com/robertdebock/ansible-role-bootstrap/issues/43

* on-off Playbook - delete_ssh

* KeepassDB in git aufgenommen

* Variable wird nicht mehr genutzt
2020-11-25 14:34:49 +01:00
Quotengrote
15d783de86
FQCN eingeführt (#70)
* template --> ansible.builtin.template

* apt --> ansible.builtin.apt

* lineinfile --> ansible.builtin.lineinfile

* file --> ansible.builtin.file

* blockinfile --> ansible.builtin.blockinfile

* cron --> ansible.builtin.cron

* timezone --> ansible.builtin.timezone

* get_url --> ansible.builtin.get_url

* group --> ansible.builtin.group

* user --> ansible.builtin.user

* unarchive --> ansible.builtin.unarchive

* service --> ansible.builtin.service

* apache2_module --> ansible.builtin.apache2_module

* package --> ansible.builtin.apt

* template --> ansible.builtin.template 2
2020-11-21 19:41:19 +01:00
Quotengrote
4f9baa65b1
Dotfiles + SSH Komplettumbau (#64)
* Playbook zum aufräumen der alten dotfiles-Struktur

* Rolle mgrote.dotfiles gelöscht

* Rolle geerlingguy.dotfiles hinzugefügt und ergänzt

* Playbook 5_personalisierung mit neuer Rolle aktualisiert

* GroupVars: Variablen mit neuer Rolle aktualisiert

* Variablenname ssh_pubkey angepasst

* Rolle deploy_ssh_keys gelöscht, wird durch create_users übernommen

* Bugfix: password ssh login verbieten

* Playbook: dotfiles User korrigiert

* Inventar: richtig auskommentiert

* GroupVars Docker: Housekeeping

* Variablenname ssh_pubkey angepasst

* create_users: ansible-user angelegt

* GroupVars dotfiles angepasst für geerlingguy

* Keyfile in ansible.cfg definiert

* Rolle: nickjj.ansible-user entfernt

* gitignore aktualisiert
2020-11-05 21:52:43 +01:00
Quotengrote
c994071b7c
Linter Errors (#48)
* Linter 208 - set_dns_resolver

* Linter 208 - acng
2020-10-14 18:49:48 +02:00
Quotengrote
a3620ba5e7
Upgrade auf Ubuntu 20.04 (#29)
* postgres-update für 2004

* Rolle Create USers entfernt, Nutzer wird jetzt durch nickjj.ansible_user erstellt

* Reihenfolge Tasks angepasst

* Rolle create_users angepasst

* wip

* linter

* github Actions Version angepasst

* Rolle geerlingguy.ansible hinzugefügt

* neue Ansible Version

* Version github actions
2020-09-26 14:41:10 +02:00
Michael Grote
7df8c091a1 first commit 2020-08-18 11:57:53 +02:00