From 77a35b2c79f981c93b43218abbdc6e23ad45a2e2 Mon Sep 17 00:00:00 2001 From: Oscar Carlsson Date: Wed, 3 Aug 2022 22:59:12 +0200 Subject: [PATCH] Add support for Ubuntu 22.04 --- README.adoc | 2 +- meta/main.yml | 1 + vars/ubuntu-22.yml | 19 +++++++++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 vars/ubuntu-22.yml diff --git a/README.adoc b/README.adoc index fb8bc6d..6371c1d 100644 --- a/README.adoc +++ b/README.adoc @@ -22,7 +22,7 @@ IP address management (IPAM) and data center infrastructure management (DCIM) to This role will deploy NetBox within its own virtualenv either by release tarball or via git using uWSGI as the application server. -Tested and supported against CentOS 7 / Debian 9,10,11 / Ubuntu 16, 18 and 20. +Tested and supported against CentOS 7 / Debian 9,10,11 / Ubuntu 16, 18, 20 and 22. Note that this role is slightly opinionated and differs from installation instructions from the NetBox documentation. The main differences are: diff --git a/meta/main.yml b/meta/main.yml index ad6117f..df666a3 100644 --- a/meta/main.yml +++ b/meta/main.yml @@ -10,6 +10,7 @@ galaxy_info: - bionic - xenial - focal + - jammy - name: Debian versions: - buster diff --git a/vars/ubuntu-22.yml b/vars/ubuntu-22.yml new file mode 100644 index 0000000..f2caa0f --- /dev/null +++ b/vars/ubuntu-22.yml @@ -0,0 +1,19 @@ +--- +_netbox_packages: + - libxml2-dev + - libxslt1-dev + - libffi-dev + - libjpeg-dev + - graphviz + - libpq-dev + - libssl-dev +_netbox_python_packages: + - python3 + - python3-dev + - python3-pip + - python3-venv + - python3-psycopg2 # used by ansible's postgres modules +_netbox_python_binary: /usr/bin/python3 +_netbox_ldap_packages: + - libldap2-dev + - libsasl2-dev