Commit graph

84 commits

Author SHA1 Message Date
67483ece20 docker roles: Support debian 12 2023-07-08 23:47:04 +02:00
82b64e24c6 Fix variable name
Thanks jtbx for pointing that out!
2023-07-08 23:41:12 +02:00
8bc60e42a8 Extend distribution_check role to account for Ansible changes reg. facts
Somewhere between ansible [core 2.14.4] and ansible [core 2.15.0] the
logic for the distribution_version Ansible fact got changed. With the
newer Ansible version Debians distribution_version gets reported as 11.7
as opposed to getting reported as 11 with the old Ansible version. To
still allow for useful distribution checks, extend the
distribution_check role by allowing the specification of
distribution_major_versions and distribution_releases as well.
This way you can check for an Ubuntu version by using
distribution_version (which for example resolves to 18.04, while
distribution_major_version would resolve to 18 in that case) and check
for a Debian version by using distribution_major_version (which for
example resolves to 11, while distribution_version would resolve to 11.7
in that case).
2023-07-08 19:58:02 +02:00
0c62a8f3e0 Add role for deploying SSH config and also add mailserver-endpoint host 2023-06-06 23:37:42 +02:00
55506a003a Make Rspamd configs world-readable 2023-05-26 03:27:56 +02:00
e37d84c60d
clean up foobazdmx role
make git repo url and version to check out a variable instead of a
hard-coded value the role, and update host_vars to match.
2023-05-21 15:12:42 +02:00
2d5f116ff3
Use access token with Reporter role for foobazdmx 2023-05-21 03:03:02 +02:00
a6db315138
Update foobazdmx repository url and release target
Update foobazdmx repository url in foobazdmx role to main repo.
Change commit to be checked out by ansible to latest commit on main.
2023-05-20 22:58:24 +02:00
33d1cfca1f
Move become: true into esphome role
Move become: true into zigbee2mqtt role

Remove become: true from deploy_public_reverse_proxy playbook

Remove become: true from deploy_dokuwiki playbook

Move become: true from deploy_audio_pi and deploy_light playbooks into roles

Remove become: true from deploy_keycloak playbook

Move become: true from deploy_automation playbook to mosquitto role
2023-05-10 18:02:10 +02:00
b56ca3899d Add send_only_mailserver role and deploy Send-Only-Mailserver with it
Co-authored-by: yuri <yuri@nekover.se>
2023-05-09 23:01:57 +02:00
f4a79fb4e2 Make it possible to set custom permissions for certificate files
This is in preparation for a role using OpenSMTPD.
2023-05-09 22:07:44 +02:00
1cd0700cf5
Fix filename for include_tasks 2023-05-09 17:20:24 +02:00
9dc77ad5a5
Only deploy zigbee2mqtt config when it doesn't exist 2023-05-09 14:39:50 +02:00
1bcb77961b
Use the .yaml file extension for all YAML files 2023-05-08 19:55:08 +02:00
julian
91274de823 Add my docker and docker_compose role
Do this in preparation for the keycloak deployment.
2023-05-01 01:45:15 +02:00
julian
1a0636307b Use Certbot naming for certificate files 2023-05-01 00:18:59 +02:00
julian
aac049efb2 Use BIND 9 server instead of Cloudfl. for DNS-01 challenge via nsupdate
Co-authored-by: Jannik Beyerstedt <code@jannikbeyerstedt.de>
2023-04-27 23:38:14 +02:00
julian
4814ea8bda Use one ACME account key per host
This is nicer for us, since this avoids sharing a secret.
Also put certificate directories in `certs` sub-directory for better
organization.
2023-04-25 18:03:59 +02:00
julian
f9c51842fd Make use of become in role 2023-04-25 17:13:10 +02:00
julian
6e9d07b6f6 Add some spacing between tasks 2023-04-25 16:59:02 +02:00
julian
f8d89c9742 Use /etc/ansible_certs instead of /certs directory 2023-04-25 16:57:34 +02:00
c407f93b0a
Add initial cert role 2023-04-25 13:49:45 +02:00
79953d3463
Fix esphome task name 2023-04-15 18:22:37 +02:00
julian
65ac14c18b Use nginx role with custom nginx.conf support 2023-04-15 18:13:22 +02:00
2f2a4f262f
Only enable Bluetooth Audio Sink 2022-12-18 23:06:39 +01:00
8a54c0f58e
Fix wireplumber failing before reboot 2022-12-18 20:17:53 +01:00
96ac8de142
Add playbook and roles for Audio Pi 2022-12-18 04:36:53 +01:00
926f9aa3a5
Make websockets and Web Serial work, set PATH variable in service file 2022-12-18 02:37:15 +01:00
51fd3367db
Add zigbee2mqtt role and playbook 2022-12-08 23:45:22 +01:00
e084462ae1
Add esphome role and playbook 2022-12-04 20:11:39 +01:00
7a93546616
Add mosquitto role and add playbook to deploy MQTT broker on automation.z9 2022-12-01 21:29:40 +01:00
59dc7a1d7d
Bump foobazdmx version 2022-11-22 20:44:41 +01:00
e74a50e873
Automate light server
Co-authored-by: J <j@jsts.xyz>
2022-11-17 23:30:52 +01:00
aefdd123a4
Add ola and foobazdmx role and add playbook for light.z9 2022-11-11 15:28:26 +01:00