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
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
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
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
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
1c194f9685
Merge pull request 'qemu-guest-agent für proxmox VMs' ( !54 ) from alex/netz39-infra-ansible:qemu-guest-agent into master
...
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/54
Reviewed-by: tux <tux@netz39.de>
2022-07-23 19:10:42 +00:00
0bebf35471
Move proxmox specific tasks to separate playbook
...
Suggested-by: Stefan Haun <tux@netz39.de>
2022-07-23 20:42:11 +02:00
2583158b52
Merge pull request 'readme: Add missing hosts' ( !55 ) from alex/netz39-infra-ansible:master into master
...
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/55
2022-07-23 09:03:19 +00:00
658c47c66b
readme: Add missing hosts
...
Found with this command:
ansible -i inventory.yml all --list-hosts
Fixes: 6028ad4e6c
("Merge pull request 'Add VM krypton' (!42 ) from krypton into master")
Fixes: 893d56c56a
("Merge pull request 'add host oganesson' (!52 ) from oganesson into master")
2022-07-23 10:58:23 +02:00
01c8d9d896
main: Install qemu-guest-agent on proxmox VMs
...
proxmox UI can show more VM specific information if qemu-guest-agent is
installed in guest VMs.
2022-07-23 10:39:27 +02:00
953f116b6f
inventory: Define a group with all VMs running on proxmox (beaker)
...
Want to install some package for those hosts only.
2022-07-23 10:39:27 +02:00
1ea9720c7f
Merge pull request 'inventory: Fix some linter warnings' ( !53 ) from alex/netz39-infra-ansible:inventory into master
...
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/53
Reviewed-by: dkdent <dkdent@netz39.de>
2022-07-23 08:38:07 +00:00
91e803f26d
inventory: Join SSH keys to one line
...
authorized keys content has all those three parts in one line and the
keys for tux and dkdent already have it that way, too.
2022-07-22 07:04:57 +02:00
b85c3aab47
inventory: Fix indentation
...
Whitespace only. yamllint complained:
9:5 error wrong indentation: expected 6 but found 4 (indentation)
13:7 error wrong indentation: expected 8 but found 6 (indentation)
48:7 error wrong indentation: expected 8 but found 6 (indentation)
49:81 error line too long (402 > 80 characters) (line-length)
56:7 error wrong indentation: expected 8 but found 6 (indentation)
57:81 error line too long (99 > 80 characters) (line-length)
2022-07-22 07:04:57 +02:00
8997eb710b
inventory: Add missing document start
...
yamllint warning:
1:1 warning missing document start "---" (document-start)
2022-07-22 07:04:57 +02:00
0f0731d800
inventory: Rename file to add file extension
...
This is a YAML file, make ansible-lint (and me) happy and add a proper
file extension. Also helps editors to pick correct syntax highlighting.
2022-07-22 07:04:37 +02:00
893d56c56a
Merge pull request 'add host oganesson' ( !52 ) from oganesson into master
...
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/52
Reviewed-by: Alexander Dahl <alex@netz39.de>
2022-07-22 04:48:31 +00:00
cb85728e26
Add oganesson.n39.eu to inventory
2022-07-20 21:32:26 +02:00
1bd60c190f
Add oganesson to main.yml
2022-07-20 21:29:13 +02:00
7367bce954
Add playbook for host oganesson
...
SSH Jump Host
2022-07-20 21:29:05 +02:00
631f6b0fa7
Merge pull request 'Set docker apt repo matching the Debian release' ( !51 ) from docker_setup-release into master
...
Reviewed-on: https://gitea.n39.eu/Netz39_Admin/netz39-infra-ansible/pulls/51
Reviewed-by: Alexander Dahl <alex@netz39.de>
Fixes : #721
2022-07-17 13:45:21 +00:00
b75205f96c
Use template to replace Docker apt list entry
2022-07-16 17:03:43 +02:00