Commit Graph
100 Commits
Author SHA1 Message Date
rene d40205f795 global handlers 2022-03-14 16:42:31 +01:00
rene bb44bbdab5 wrong keyword 2022-03-14 16:31:31 +01:00
rene e0bb07ae0e extended snmp 2022-03-14 16:30:04 +01:00
rene 8abb21e983 removed validate 2022-03-14 16:18:17 +01:00
rene 705a375617 configure snmp 2022-03-14 15:56:50 +01:00
rene 5f31cde7bb corrected syntax 2022-03-14 15:56:40 +01:00
rene 42e9e00efb deleted main 2022-03-14 15:56:15 +01:00
rene a5bb0d6316 added handler 2022-03-11 16:17:01 +01:00
rene 164c9f2393 changed syntax 2022-03-11 16:14:56 +01:00
rene 33fc66f81c include instead of import 2022-03-11 16:13:27 +01:00
rene 99ba8d52b6 optimized snmpd 2022-03-11 15:43:17 +01:00
rene 3bd4f46ceb setup snmpd 2022-03-11 14:06:05 +01:00
rene 2ff81b17ea moved handlers to global 2022-03-11 14:05:49 +01:00
rene 2d27818dd9 typo 2022-03-11 09:53:56 +01:00
rene a7c7a3066d you also have to call the task... 2022-03-11 09:51:33 +01:00
rene ee0dc27f18 install ssmtp
needed for servers that are no mailservers
2022-03-11 09:38:10 +01:00
rene d7bdfeaf7d added a new host 2022-03-10 17:55:22 +01:00
rene ec8ca0c72c install wireguard only if variable is set to true 2022-03-10 17:55:13 +01:00
rene ff581dc013 added snmp statistics for bind 2022-03-10 17:27:59 +01:00
rene 7f4d415ad4 changed permissions 2022-03-10 12:03:11 +01:00
rene ac80dc9548 removed unneeded dirs 2022-03-10 12:02:21 +01:00
rene 22e29e9726 disabled git recursion 2022-03-10 11:48:52 +01:00
rene b6246dd340 typo 2022-03-10 11:43:48 +01:00
rene 406a60b513 setup wireguard depending on vars 2022-03-10 11:41:34 +01:00
rene ce2760a00b Merge branch 'master' of ssh://gitlab.social.my-wan.de:22422/rene/ansible-pull 2022-03-10 11:31:27 +01:00
rene a55ec37dbf removed unneccessary files 2022-03-10 11:31:19 +01:00
rene 09517fd4dc removed tantooine, because wg will not come up 2022-03-10 11:01:33 +01:00
rene ec99901f8a setup git config 2022-03-10 10:59:42 +01:00
rene 3c14509f56 skip tasks if preinstalled 2022-03-10 10:59:21 +01:00
rene 945d07aca9 set hostname 2022-03-10 09:34:34 +01:00
rene 16a1c2c847 added dist-upgrade for debian based distros 2022-03-08 12:37:36 +01:00
rene 1a70db4baf copy update script 2022-03-08 12:30:39 +01:00
rene 489ab4e848 recursive: yes 2022-03-08 12:30:26 +01:00
rene 63b69b5373 user must be executed before cron 2022-03-07 17:02:58 +01:00
rene f345411f6a key file is not present at this time 2022-03-07 16:57:02 +01:00
rene 63eadfdce4 key file is not present at this time 2022-03-07 16:56:50 +01:00
rene 9bd16ff47f start service is already done with wg-quick 2022-03-07 16:52:20 +01:00
rene 2ac74888eb removed some interims doku 2022-03-07 14:47:14 +01:00
rene 7eea9f8b4d Merge branch 'master' of ssh://gitlab.social.my-wan.de:22422/rene/ansible-pull 2022-03-07 14:41:39 +01:00
rene d1aaaabba5 change mode on files 2022-03-07 14:34:53 +01:00
rene 985ba7c42f only delete a file if it is present 2022-03-07 14:34:32 +01:00
rene 97972ef448 no recursive for git 2022-03-04 18:02:09 +01:00
rene dca0164cfa added option for git submodules 2022-03-04 17:33:10 +01:00
rene 3ac897efd6 typo 2022-03-04 17:29:16 +01:00
rene 8204823a7d ignore errors in git repos 2022-03-04 17:15:34 +01:00
rene 52a31f9aff set password for user 2022-03-04 16:51:37 +01:00
rene d2a8aae758 renamed service 2022-03-04 16:35:39 +01:00
rene ce789b9d0d indentation 2022-03-03 14:44:00 +01:00
rene 53c57a7c06 include angepasst 2022-03-03 14:23:54 +01:00
rene 02acb0a50e added fiel extension 2022-03-03 12:26:58 +01:00
rene 4ec9acf8b6 adjusted ssh config 2022-02-25 16:05:57 +01:00
rene 64bbb73b71 moved user tasks to an own file
so they can be called from other roles
2022-02-25 14:59:09 +01:00
rene bff9415438 start and enable wu only if not already running 2022-02-25 14:31:17 +01:00
rene aeaf0af01c moved editing the hosts file to role server
because only servers might be outside the home network
and connect with wireguard
2022-02-25 14:12:21 +01:00
rene 785e422be4 bring up the vpn 2022-02-25 14:06:37 +01:00
rene c884684d51 enabled task wireguard 2022-02-25 12:08:12 +01:00
rene c8895cc8fa Merge branch 'master' into dev 2022-02-25 12:01:33 +01:00
rene 32e8520e7b added config for wireguard 2022-02-25 11:52:20 +01:00
rene 03e72aad7b corrected block statement 2022-02-25 10:58:40 +01:00
rene 16cb75a48e corrected hostname 2022-02-25 10:54:08 +01:00
rene 5d162d9f32 corrected typos, set vars 2022-02-25 10:51:34 +01:00
rene 98f7cf0339 make use of preinstalled variable 2022-02-25 10:38:41 +01:00
rene aefba529db introduced preinstalled variable 2022-02-25 09:56:04 +01:00
rene e06715d790 install fail2ban and snmpd for role server 2022-02-24 17:25:44 +01:00
rene 4dd86381d7 changed become user for calling dotfile install 2022-02-24 15:41:48 +01:00
rene 773e8b2802 selection for copying private ssh keys added 2022-02-24 15:13:14 +01:00
rene 8715689dad made all server types a child of server 2022-02-24 15:04:35 +01:00
rene c37f55d380 move call vor dotfile/install.sh to all.yml 2022-02-22 16:36:06 +01:00
rene ad21af7f18 call dotfile/install.sh 2022-02-22 15:23:57 +01:00
rene 531a500b35 Merge branch 'dev' 2022-02-21 18:54:41 +01:00
rene 9b98bf6222 use loop_control -> index_var 2022-02-21 18:48:30 +01:00
rene 9467ebab10 wrong variable 2022-02-21 18:33:38 +01:00
rene 4e9df7fa53 added a loop control 2022-02-21 18:29:50 +01:00
rene 6c9488159a globbing in replace for path does not work
so added a task to find all files to change
and loop over the registered var
2022-02-21 18:08:55 +01:00
rene 306666bcd1 language files must be changed, too 2022-02-21 17:55:49 +01:00
rene 547cfd9a3a a notify is needed 2022-02-21 17:36:33 +01:00
rene b3c81b005d escaping the '.' in a regex does not work 2022-02-21 17:32:03 +01:00
rene a7cd6f4d03 adjusted file permissions
and got rid of the task to do the same,
because that would break further ansible-pull calls
2022-02-21 17:27:24 +01:00
rene e776ac21ba Some replacements added 2022-02-21 17:22:24 +01:00
rene da0e0d7df0 service needs a string not a list 2022-02-21 16:50:58 +01:00
rene ab0ef7280e flush handlers to force and apt update 2022-02-21 16:38:21 +01:00
rene 3a4b8a219b force notify 2022-02-21 16:27:05 +01:00
rene 90256f3ebf fixed a user dir 2022-02-21 15:54:25 +01:00
rene 4a380cd902 added files and tasks 2022-02-21 15:49:29 +01:00
rene 5cfa94d384 fixed a user dir 2022-02-21 15:48:46 +01:00
rene 5ca4a43c67 juts test with one key 2022-02-18 19:10:42 +01:00
rene 9265331bf7 test 2022-02-18 19:03:43 +01:00
rene 607a1d18ed become? 2022-02-18 18:42:43 +01:00
rene 12732ec622 dest path corrected 2022-02-18 18:39:56 +01:00
rene 8a017f2343 added key again with correct vault password 2022-02-18 18:35:50 +01:00
rene 91c6e610e0 user lock is not a good idea to use sudo 2022-02-18 17:15:18 +01:00
rene 9924a90d27 user lock is not a good idea to use sudo 2022-02-18 17:14:45 +01:00
rene 9cb1636097 disabled unused roles 2022-02-18 16:41:11 +01:00
rene c587e85144 disabled unused roles 2022-02-18 16:36:41 +01:00
rene 91204a547c added private keys (vault)
git clone switched to use ssh key
2022-02-18 16:13:21 +01:00
rene 9177746c39 Merge branch 'master' of ssh://gitlab.social.my-wan.de:22422/rene/ansible-pull 2022-02-18 15:30:01 +01:00
rene bce3c95bd7 Removed unneeded stuff
keep it in develop branch
2022-02-18 15:29:21 +01:00
rene 39e6425510 Path corrected 2022-02-17 18:26:08 +01:00
rene 09920e07f6 dst -> dest 2022-02-17 18:24:49 +01:00
rene 07769c52e4 corrected call on var 2022-02-17 18:23:45 +01:00