Commit graph

1078 commits

Author SHA1 Message Date
925a4ab1b0 Merge pull request '🎨 Change alias for BrotherQL WebUI to labelprinter' (!150) from labelprinter-alias into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/150
Reviewed-by: dkdent <dkdent@netz39.de>
2023-07-09 10:47:48 +02:00
efd088816b 🎨 Change alias for BrotherQL WebUI to labelprinter
Change the WebUI URL to https://labelprinter.n39.eu for improved
accessiblility.
2023-07-09 10:17:23 +02:00
eff54962aa Merge pull request 'Temporarily move spaceapi handling to pottwal' (!151) from pottwal-spaceapi into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/151
Reviewed-by: dkdent <dkdent@netz39.de>
2023-07-07 16:51:47 +02:00
e9d700eef4 Move spaceapi handling to pottwal on holmium 2023-07-02 16:32:01 +02:00
ed29dc7221 Create spaceapi.n39.eu site on pottwal 2023-07-02 16:31:38 +02:00
8d66952c49 Add a template for spaceapi handling on pottwal 2023-07-02 16:31:23 +02:00
975351f81a Merge pull request 'Add K3S nodes to Ansible management' (!149) from k3s-nodes into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/149
Reviewed-by: dkdent <dkdent@netz39.de>
2023-05-06 09:53:26 +02:00
fb6ff4ec29 Add group config for k3s 2023-05-05 16:21:07 +02:00
f9999c9251 Add group k3s to inventory 2023-05-05 16:20:36 +02:00
1da1dd0eb2 Add k3s host vars
Configuring distincs admin addresses and MAC addresses.
2023-05-05 16:19:59 +02:00
02a88f010e Add k3s hosts to inventory 2023-05-05 16:06:13 +02:00
b25d6eff5e Merge pull request ' Add forward discord.netz39.de to discord invite link' (!148) from discord-invite into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/148
Reviewed-by: dkdent <dkdent@netz39.de>
2023-05-02 13:59:32 +02:00
93e513df2f 🔧 Use share-link for discord forward to gather some statistics 2023-05-01 14:00:37 +02:00
22ee95eee1 Add forward discord.netz39.de to discord invite link
The URI https://discord.netz39.de will be on our printed flyers.
2023-04-30 20:04:37 +02:00
c119448706 Merge pull request '⬆️ hobbes: Update to chromium-browser' (!147) from grafana-chrome-upgrade into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/147
Reviewed-by: dkdent <dkdent@netz39.de>
2023-04-18 20:11:56 +02:00
241ecaec7b ⬆️ Update to chromium-browser
This is needed to make the grafana kiosk work again.
2023-04-17 23:19:19 +02:00
67162a5eb0 Merge pull request 'grafana-kiosk-1.0.6' (!146) from grafana-kiosk-1.0.6 into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/146
Reviewed-by: Alexander Dahl <alex@netz39.de>
2023-04-13 08:51:38 +02:00
090fa3eb22 🔧 Pin the Grafana verion
Pin the grafana version to avoid issues with incompatibilities in
dependend tools, such as grafana-kiosk.
2023-04-12 23:35:58 +02:00
4001a16974 ⬆️ Update grafana-kiosk to 1.0.6
https://github.com/grafana/grafana-kiosk/releases/tag/v1.0.6
2023-04-12 16:06:04 +02:00
7a8ef3d4e2 Merge pull request '🔧 Change registry to domain docker.netz39.de' (!145) from docker.netz39.de into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/145
Reviewed-by: dkdent <dkdent@netz39.de>
2023-04-06 18:30:18 +02:00
6631ef4e7f 🔧 Change registry to domain docker.netz39.de
The previous .n39.eu domain is meant to be used within the space only.
Change to the external domain, as the registry is running on our external
server.
2023-04-06 18:17:03 +02:00
d94f5a2882 Merge pull request '🚚 Change internal names from gitea to forgejo' (!143) from 842-forgejo-internal-names into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/143
Reviewed-by: Alexander Dahl <alex@netz39.de>
Reviewed-by: dkdent <dkdent@netz39.de>
2023-04-04 12:58:11 +02:00
4ec9865eeb 🚚 Rename git host_port variable for gitea to forgejo 2023-04-03 13:53:55 +02:00
3b31b3427a 🚚 Rename git container to forgejo
The gitea container must be deleted manually!
2023-04-03 13:53:52 +02:00
7e515c40e2 🚚 Change git data dir from gitea to forgejo
This change includes a manual directory rename on the server
2023-04-03 13:53:48 +02:00
06483df3ac Merge pull request '🎨 Switch from gitea to forgejo' (!142) from switch-to-forgejo into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/142
Reviewed-by: dkdent <dkdent@netz39.de>
Reviewed-by: Alexander Dahl <alex@netz39.de>
2023-04-01 15:41:38 +02:00
d345576eb5 🔧 Rename the git mgmt name to remove "gitea" 2023-03-30 11:37:25 +02:00
6cda14525d 🎨 Switch from gitea to forgejo 2023-03-30 11:37:09 +02:00
357d41d76f Merge pull request '⬆️ Update gitea to 1.19.0' (!141) from gitea-1.19.0 into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/141
Reviewed-by: dkdent <dkdent@netz39.de>
Reviewed-by: Alexander Dahl <alex@netz39.de>
2023-03-30 01:17:00 +02:00
ea3aa9f6cc ⬆️ Update gitea to 1.19.0
Preparation for a switch to Forgejo
2023-03-29 16:37:47 +02:00
195aa3f265 Merge pull request '🩹 fix homebox port' (!140) from fix-homebox-port into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/140
2023-03-22 21:53:04 +01:00
fdbf0aaff2 :bandaid: fix homebox port 2023-03-22 21:29:20 +01:00
c591199988 Merge pull request 'add config for homebox container' (!137) from feat/homebox into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/137
Reviewed-by: Stefan Haun <tux@netz39.de>
2023-03-22 21:05:31 +01:00
8c637f0a1f add entry on holmium to enable https ac cess to inventory.n39.eu 2023-03-20 19:32:41 +01:00
b978a22eba add config for homebox container
add TZ env to homebox container
2023-03-20 19:32:41 +01:00
737dcf50bd Merge pull request '⬆️ Update cleanuri-webui to 0.2.0' (!139) from cleanuri-webui-0.2.0 into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/139
Reviewed-by: dkdent <dkdent@netz39.de>
2023-02-24 19:11:16 +01:00
13a5285f89 ⬆️ Update cleanuri-webui to 0.2.0
https://github.com/penguineer/cleanURI-webui/releases/tag/v0.2.0
2023-02-24 16:39:28 +01:00
c54b47bb5f Merge pull request '⬆️ Upgrade gitea to 1.18.3' (!138) from gitea-upgrade into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/138
2023-02-20 21:10:58 +01:00
f0a68bbaec ⬆️ Upgrade gitea to 1.18.3
Changes to the configuration have been done manually.
2023-02-20 20:54:56 +01:00
054a268331 Merge pull request 'telegraf' (!132) from alex/netz39-infra-ansible:telegraf into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/132
Reviewed-by: dkdent <dkdent@netz39.de>
Reviewed-by: Stefan Haun <tux@netz39.de>
2023-01-12 06:25:28 +01:00
f4c4a42edc 🔧 Fix influxdb org
Unsure why this differs from the previous value, but this is the
organization name actually used by the running database.  Output from
the container:

    2023-01-11T19:22:41Z E! [outputs.influxdb_v2] Failed to write metric to system_metrics (will be dropped: 404 Not Found): not found: organization name "Netz39" not found
2023-01-11 20:49:47 +01:00
366ef720af ⬆️ Bump role version to v0.2.1
Execution of the playbook failed like this before:

    TASK [lespocky.telegraf_docker_in_docker : Copy telegraf docker_input_agent conf] ************************************************************************************************
    fatal: [unicorn.n39.eu]: FAILED! => changed=false
      checksum: 3230d394872351730e265778639936912c9f1030
      msg: Destination directory /etc/telegraf does not exist
    fatal: [krypton.n39.eu]: FAILED! => changed=false
      checksum: 3230d394872351730e265778639936912c9f1030
      msg: Destination directory /etc/telegraf does not exist
    fatal: [radon.n39.eu]: FAILED! => changed=false
      checksum: 3230d394872351730e265778639936912c9f1030
      msg: Destination directory /etc/telegraf does not exist
    fatal: [pottwal.n39.eu]: FAILED! => changed=false
      checksum: 3230d394872351730e265778639936912c9f1030
      msg: Destination directory /etc/telegraf does not exist

That was a bug in the role, which was fixed with release v0.2.1.

Link: https://github.com/LeSpocky/ansible-role-telegraf-docker-in-docker/issues/15
2023-01-11 18:26:33 +01:00
57db3bf0ca 🐳 Add telegraf container for Docker metrics in influxdb
All our hosts running docker can put their metrics into our influxdb
now.

Note: not all docker hosts do this (yet), because the influxdb is
currently only reachable from within the local space internal network in
our rooms.

Link: https://docs.ansible.com/ansible/latest/inventory_guide/intro_patterns.html
Link: https://galaxy.ansible.com/lespocky/telegraf_docker_in_docker
References: #760
2023-01-10 06:26:14 +01:00
4b74ca0d0f 🔨 Move influxdb org to variable
We will need that for deploying telegraf docker metrics container soon.
2023-01-10 06:19:52 +01:00
755f655551 Merge pull request '🔧 Clarify naming of ssh jump host groups' (!136) from alex/netz39-infra-ansible:reorganize_groups into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/136
Reviewed-by: dkdent <dkdent@netz39.de>
Reviewed-by: Stefan Haun <tux@netz39.de>
2023-01-10 06:19:19 +01:00
1c2cea1dda 🔧 Clarify naming of ssh jump host groups
The key difference between these groups is not that one needs a jump
host and the other does not, but that all hosts of one group run on
machines located in the Netz39 rooms in Magdeburg, while the other group
contains only hosts hosted anywhere in the public internet.  We'll need
this distinction for more things than SSH in the future, e.g. PR !132.

(This is also better, because technically there could be a third group
requiring a jump host which is not ssh.n39.eu … 😉 )

Acked-by: Stefan Haun <tux@netz39.de>
Acked-by: David Kilias <dkdent@netz39.de>
2023-01-10 06:15:52 +01:00
2a4630e3b5 Merge pull request ' Install jq on platon' (!135) from platon-jq into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/135
Reviewed-by: Alexander Dahl <alex@netz39.de>
2023-01-09 16:19:59 +01:00
24c8409edc Install jq on platon
This is needed for an improved space status check, see
https://github.com/netz39/rollladensteuerung/pull/25
2023-01-09 15:49:17 +01:00
3f8ddf1e26 Merge pull request 'Change login name for Max2' (!134) from MG-95/netz39-infra-ansible:master into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/134
Reviewed-by: Stefan Haun <tux@netz39.de>
2023-01-09 10:21:39 +01:00
25deedd05f Change login name for Max2 2023-01-09 00:01:10 +01:00