Commit graph

842 commits

Author SHA1 Message Date
fde7af78cd Add power meter pulse gateway for 19i room to Radon setup 2022-08-27 13:30:30 +02:00
9a2b07bafc Add power meter credentials to Radon inventory 2022-08-27 13:30:17 +02:00
tux
dd55181917 Merge pull request ' Add RabbitMQ container on Radon' (!64) from rabbitmq into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/64
Reviewed-by: dkdent <dkdent@netz39.de>
2022-08-26 10:24:35 +00:00
c94a83698a Add RabbitMQ container on Radon 2022-08-24 20:48:46 +02:00
tux
61a0a25183 Merge pull request 'Set up Asterisk on platon for the gatekeeper' (!61) from platon-asterisk into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/61
Reviewed-by: dkdent <dkdent@netz39.de>
2022-08-10 23:40:28 +00:00
0d6ca7bb68 Copy Asterisk sound files 2022-08-05 17:23:48 +02:00
d90e6269ca Add the Asterisk sound files 2022-08-05 17:23:48 +02:00
e1fb88c32b Add asterisk user to the right group 2022-08-05 17:23:48 +02:00
9a5303c216 Set up configuration templates for Asterisk 2022-08-05 17:23:48 +02:00
49a5224e83 Add restart handler for asterisk 2022-08-05 17:23:48 +02:00
0013e29c97 Install the necessary asterisk packages 2022-08-05 17:23:48 +02:00
51c1f98609 Add template for SIP configuration 2022-08-05 17:23:48 +02:00
b17e1ad258 Add template for Asterisk extensions 2022-08-05 17:23:48 +02:00
87bc1d7a25 Add SIP registration string
This string contains user, password and registry (Sipgate). Instead of building
the rules around this, it is added as a whole string to the vault.
2022-08-05 10:32:02 +02:00
tux
6762a7b644 Merge pull request '🐛 Fix Apache templates for missing IPv6' (!62) from fix-apache-ipv6 into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/62
Reviewed-by: dkdent <dkdent@netz39.de>
2022-08-05 08:26:59 +00:00
900f9f43da Merge pull request 'Set up DynDNS cron via Ansible' (!60) from dyndns-cron into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/60
Reviewed-by: dkdent <dkdent@netz39.de>
2022-08-05 06:28:23 +00:00
a410ce5b8f 🐛 Fix template for missing IPv6 on apache-docker-proxy 2022-08-04 17:32:23 +02:00
31fc12dfb2 🐛 Fix template for missing IPv6 on apache-docker-forward 2022-08-04 17:32:06 +02:00
2c9870cd28 Call DD24 dyndns role on pottwal 2022-08-04 17:03:09 +02:00
8375a835f4 Add configuration for DD24 dyndns role 2022-08-04 17:03:09 +02:00
20942f8f4b Add role dd24-dyndns-cron
Setup cron job to call curl for DynDNS update
2022-08-04 17:03:09 +02:00
tux
346cc41148 Merge pull request 'Add Node-RED container on Radon' (!59) from radon-nodered into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/59
Reviewed-by: dkdent <dkdent@netz39.de>
2022-07-30 17:47:36 +00:00
tux
8e4c32555f Merge pull request '👽️ Bump ble-keykeeper-role-1.1.0' (!58) from ble-keykeeper-role-1.1.0 into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/58
Reviewed-by: dkdent <dkdent@netz39.de>
2022-07-30 17:46:13 +00:00
e7b5cfd1df Add Node-RED container on Radon 2022-07-29 15:17:51 +02:00
dbe35c25d8 👽 Add configuration for ble-keykeeper user️ 2022-07-29 12:34:49 +02:00
73e50d7193 🔥 Remove installation of python3-pip, now fixed on the keykeeper role 2022-07-29 12:34:37 +02:00
6d7a0e97fb 👽️ Bump ble-keykeeper-role to 1.1.0
This brings:
* Fix for the missing pyton3-pip package
* Configurable target user
2022-07-29 12:34:30 +02:00
tux
eaf1d1c3d2 Merge pull request 'Setup platon via Ansible (minus asterisk)' (!56) from platon-setup into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/56
Reviewed-by: dkdent <dkdent@netz39.de>
2022-07-29 10:02:12 +00:00
768f6521ee Make sure package build-essential is installed 2022-07-24 18:28:08 +02:00
f257396bc2 Add syslog setup for shuttercontrol.log 2022-07-24 18:26:58 +02:00
ca31f218c0 Install acl package for become-user tasks
All the pain with world-readable temp files and Ansible deprecation
warnings goes away witih this package. :)
2022-07-24 18:09:06 +02:00
bd99ebe684 Transfer sesam access key to pi authorized keys 2022-07-24 18:09:06 +02:00
5495c93ed9 Install i2c-tools 2022-07-24 18:09:06 +02:00
574831e955 Add cron entry for reboot script 2022-07-24 18:09:06 +02:00
4915a5e16d Add local mosquitto broker 2022-07-24 18:09:06 +02:00
b9da1273ec Add MQTT tools 2022-07-24 18:09:06 +02:00
547e6bf251 Add tyr sounds and mpg123 2022-07-24 18:09:06 +02:00
69cac8f011 Install repo rollladensteuerung and compile agents 2022-07-24 18:09:06 +02:00
ea2dde451a Install the wiringPi library
This library is very hard to get ...
2022-07-24 18:09:06 +02:00
f105584fba Disable IPv6 2022-07-24 18:09:06 +02:00
f1e8d52719 Copy service scripts for the gatekeeper user 2022-07-24 18:09:06 +02:00
fbde9090a9 Set up gatekeeper user (pi)
This is the user that will manage door and shutters
2022-07-24 18:09:06 +02:00
2b800e247c Set up sesam user for SSH entry 2022-07-24 18:09:06 +02:00
cf1fed21cb platon: Set the MAC address that is registered in the router 2022-07-24 18:09:06 +02:00
dabf3f6b5f platon: Setup package installation and install pip3 2022-07-24 18:09:06 +02:00
1e4cbb8f44 Remove user setting (pi) for platon
Default admin users are now installed (as Raspbian continues
to discurage the user pi anyways) and administrators can use
their own accounts for Ansible.
2022-07-24 18:09:06 +02:00
tux
6ba2737522 Merge pull request 'Collected suggestions: Moving things around' (!57) from alex/netz39-infra-ansible:moving-things into master
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/57
Reviewed-by: tux <tux@netz39.de>
2022-07-24 16:08:45 +00:00
6b4cf977b6 Add ansible.cfg with inventory path
Link: https://docs.ansible.com/ansible/latest/reference_appendices/config.html#default-host-list
References: !53
2022-07-24 16:49:35 +02:00
e29311c4ed Move tasks for all hosts to separate file
When working on !54 it became obvious playbooks could be structured
better in this project.  Therefor we move the tasks supposed to be run
for _all_ hosts to a separate file.  The *main.yml* file should only
import other playbooks from now on, should not define tasks anymore.
2022-07-24 16:49:35 +02:00
9f3d91bd1c readme: Remove host list
This list has proven to be hard to maintain (not because it is
especially difficult, but people simply tend to forget it).  So we give
some hints instead now and avoid duplicate information.

Suggested-by: Stefan Haun <tux@netz39.de>
References: !55
2022-07-24 16:49:35 +02:00