Skip to content

Commit 6e1510c

Browse files
committed
Add support for Debian 13
1 parent 33f68a9 commit 6e1510c

File tree

3 files changed

+49
-3
lines changed

3 files changed

+49
-3
lines changed

meta/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ galaxy_info:
99
- name: Debian
1010
versions:
1111
- bookworm
12+
- trixie
1213
- name: Ubuntu
1314
versions:
1415
- jammy

tasks/setup_database.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,20 +15,20 @@
1515
name: "{{ netbox_database_user }}"
1616
password: "{{ netbox_database_password }}"
1717
encrypted: true
18-
db: "{{ netbox_database }}"
18+
login_db: "{{ netbox_database }}"
1919
become: true
2020
become_user: "{{ netbox_postgresql_user }}"
2121

2222
- name: Set PostgreSQL user as owner of database
2323
community.postgresql.postgresql_owner:
24-
db: "{{ netbox_database }}"
24+
login_db: "{{ netbox_database }}"
2525
new_owner: "{{ netbox_database_user }}"
2626
become: true
2727
become_user: "{{ netbox_postgresql_user }}"
2828

2929
- name: Grant ALL privileges to PostgreSQL user
3030
community.postgresql.postgresql_privs:
31-
db: "{{ netbox_database }}"
31+
login_db: "{{ netbox_database }}"
3232
privs: ALL
3333
type: schema
3434
objs: public

vars/debian-13.yml

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
---
2+
__netbox_python_packages:
3+
- python3.13
4+
- python3.13-dev
5+
- python3-venv
6+
- python3-pip
7+
__netbox_postgresql_packages:
8+
- postgresql
9+
- libpq-dev
10+
- python3-psycopg2
11+
__netbox_redis_packages:
12+
- redis-server
13+
14+
__netbox_other_packages:
15+
- git
16+
- libxml2-dev
17+
- libxslt1-dev
18+
- libffi-dev
19+
- libjpeg-dev
20+
- graphviz
21+
- libssl-dev
22+
23+
__netbox_ldap_packages:
24+
- libldap2-dev
25+
- libsasl2-dev
26+
27+
__netbox_web_frontend_packages:
28+
- apache2
29+
- apache2-utils
30+
- libapache2-mod-wsgi-py3
31+
32+
netbox_python_binary: /usr/bin/python3.13
33+
34+
netbox_postgresql_service: postgresql
35+
netbox_postgresql_user: postgres
36+
37+
netbox_redis_service: redis-server
38+
netbox_redis_configuration: /etc/redis/redis.conf
39+
40+
netbox_apache2_service: apache2
41+
netbox_apache2_user: www-data
42+
netbox_apache2_group: www-data
43+
netbox_apache2_sites_available_path: /etc/apache2/sites-available
44+
netbox_apache2_sites_enabled_path: /etc/apache2/sites-enabled
45+
netbox_apache2_default_vhost: 000-default.conf

0 commit comments

Comments
 (0)