From 642b56d465b18947523ce94585e62ec1140c0f82 Mon Sep 17 00:00:00 2001 From: mg Date: Fri, 26 Nov 2021 12:26:55 +0100 Subject: [PATCH] Kleinere Verbesserungen - misc (#255) Co-authored-by: Michael Grote Reviewed-on: https://git.mgrote.net/mg/ansible/pulls/255 Co-authored-by: mg Co-committed-by: mg --- group_vars/all.yml | 9 +++++++++ group_vars/gitea.yml | 4 ++-- playbooks/0_setup.yml | 2 +- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/group_vars/all.yml b/group_vars/all.yml index ffb8775d..475a4762 100644 --- a/group_vars/all.yml +++ b/group_vars/all.yml @@ -150,6 +150,15 @@ use_sudo_nopass: yes user_state: present groups: root, docker + servers: + - docker + - username: munin + password: "{{ lookup('keepass', 'munin_linux_password_hash', 'password') }}" + update_password: always + use_sudo: yes + use_sudo_nopass: yes + user_state: present + groups: root servers: - production - test diff --git a/group_vars/gitea.yml b/group_vars/gitea.yml index 0e7cef26..ab73e366 100644 --- a/group_vars/gitea.yml +++ b/group_vars/gitea.yml @@ -75,6 +75,6 @@ gitea_disable_registration: true gitea_fail2ban_enabled: true - gitea_fail2ban_jail_maxretry: 10 + gitea_fail2ban_jail_maxretry: 3 gitea_fail2ban_jail_findtime: 300 - gitea_fail2ban_jail_bantime: 300 + gitea_fail2ban_jail_bantime: 600 diff --git a/playbooks/0_setup.yml b/playbooks/0_setup.yml index c7739b0c..56ae8fa8 100644 --- a/playbooks/0_setup.yml +++ b/playbooks/0_setup.yml @@ -1,4 +1,4 @@ --- - import_playbook: 1_bootstrap.yml - - import_playbook: 2_all.yml - import_playbook: 4_update_packages.yml + - import_playbook: 2_all.yml