Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ jobs:
distro:
- ubuntu2204
- ubuntu2404
- ubuntu2604
- debian12
- debian13

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

Ansible role that installs the OpenWISP Server Application.

Tested on **Debian (Trixie/Bookworm)**, **Ubuntu (24/22 LTS)**.
Tested on **Debian (Trixie/Bookworm)**, **Ubuntu (26/24/22 LTS)**.

**Recommended minimum ansible core version**: 2.13.

Expand Down
1 change: 1 addition & 0 deletions docs/developer/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@ linux debian/ubuntu systems):

.. code-block:: shell

docker pull geerlingguy/docker-ubuntu2604-ansible:latest
docker pull geerlingguy/docker-ubuntu2404-ansible:latest
docker pull geerlingguy/docker-ubuntu2204-ansible:latest
docker pull geerlingguy/docker-debian13-ansible:latest
Expand Down
2 changes: 1 addition & 1 deletion docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ This ansible role allows deploying the OpenWISP Server Application.

**Recommended minimum ansible core version**: 2.13.

Tested on **Debian (Trixie/Bookworm)**, **Ubuntu (24/22 LTS)**.
Tested on **Debian (Trixie/Bookworm)**, **Ubuntu (26/24/22 LTS)**.

The following diagram illustrates the role of the Ansible OpenWISP role
within the OpenWISP architecture.
Expand Down
2 changes: 1 addition & 1 deletion docs/user/role-variables.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ take a look at `the default values of these variables
openwisp2_monitoring_version: "openwisp-monitoring~=1.0.0"
openwisp2_radius_version: "openwisp-radius~=1.0.0"
openwisp2_django_version: "django~=3.2.13"
# Extra arguments passed to pip when reinstalling Python packages with --force-reinstall
# Extra arguments passed to pip when reinstalling Python packages with --force-reinstall
# By default, packages are upgraded on each playbook run.
# Can be overridden, for example:
# openwisp2_pip_extra_args: "--upgrade --force-reinstall"
Expand Down
1 change: 1 addition & 0 deletions docs/user/system-requirements.rst
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,6 @@ Supported Operating Systems

- Debian 12
- Debian 11
- Ubuntu 26 LTS
- Ubuntu 24 LTS
- Ubuntu 22 LTS
1 change: 1 addition & 0 deletions meta/main.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---

dependencies:
- src: https://github.com/openwisp/Stouts.postfix

Check failure on line 4 in meta/main.yml

View workflow job for this annotation

GitHub Actions / Build debian12

syntax-check[specific]

The role 'Stouts.postfix' was not found in: ansible.legacy:/home/runner/work/ansible-openwisp2/ansible-openwisp2/molecule/resources/roles:/home/runner/work/ansible-openwisp2/ansible-openwisp2/.ansible/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/ansible-openwisp2:/home/runner/work/ansible-openwisp2/ansible-openwisp2/molecule/resources

Check failure on line 4 in meta/main.yml

View workflow job for this annotation

GitHub Actions / Build debian13

syntax-check[specific]

The role 'Stouts.postfix' was not found in: ansible.legacy:/home/runner/work/ansible-openwisp2/ansible-openwisp2/molecule/resources/roles:/home/runner/work/ansible-openwisp2/ansible-openwisp2/.ansible/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/ansible-openwisp2:/home/runner/work/ansible-openwisp2/ansible-openwisp2/molecule/resources

Check failure on line 4 in meta/main.yml

View workflow job for this annotation

GitHub Actions / Build ubuntu2604

syntax-check[specific]

The role 'Stouts.postfix' was not found in: ansible.legacy:/home/runner/work/ansible-openwisp2/ansible-openwisp2/molecule/resources/roles:/home/runner/work/ansible-openwisp2/ansible-openwisp2/.ansible/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/ansible-openwisp2:/home/runner/work/ansible-openwisp2/ansible-openwisp2/molecule/resources

Check failure on line 4 in meta/main.yml

View workflow job for this annotation

GitHub Actions / Build ubuntu2204

syntax-check[specific]

The role 'Stouts.postfix' was not found in: ansible.legacy:/home/runner/work/ansible-openwisp2/ansible-openwisp2/molecule/resources/roles:/home/runner/work/ansible-openwisp2/ansible-openwisp2/.ansible/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/ansible-openwisp2:/home/runner/work/ansible-openwisp2/ansible-openwisp2/molecule/resources

Check failure on line 4 in meta/main.yml

View workflow job for this annotation

GitHub Actions / Build ubuntu2404

syntax-check[specific]

The role 'Stouts.postfix' was not found in: ansible.legacy:/home/runner/work/ansible-openwisp2/ansible-openwisp2/molecule/resources/roles:/home/runner/work/ansible-openwisp2/ansible-openwisp2/.ansible/roles:/home/runner/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/runner/work/ansible-openwisp2:/home/runner/work/ansible-openwisp2/ansible-openwisp2/molecule/resources
version: origin/main
name: Stouts.postfix
when: openwisp2_postfix_install
Expand Down Expand Up @@ -31,6 +31,7 @@
versions:
- jammy
- noble
- resolute
galaxy_tags:
- system
- networking
Expand Down
8 changes: 8 additions & 0 deletions molecule/local/molecule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,14 @@ lint: |
set -e
../../run-qa-checks
platforms:
- name: "openwisp2-ubuntu2604"
image: "geerlingguy/docker-ubuntu2604-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
volumes:
- /sys/fs/cgroup:/sys/fs/cgroup:rw
cgroupns_mode: host
privileged: true
pre_build_image: true
- name: "openwisp2-ubuntu2404"
image: "geerlingguy/docker-ubuntu2404-ansible:latest"
command: ${MOLECULE_DOCKER_COMMAND:-""}
Expand Down
15 changes: 15 additions & 0 deletions tasks/freeradius.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
ansible.builtin.set_fact:
freeradius_dir: "/etc/freeradius/3.0"
when: openwisp2_installed_freeradius_version.stdout == '3.0'

- name: Add freeradius repository into Ubuntu noble sources list
become: true
when:
Expand All @@ -58,6 +59,20 @@
dest: /etc/apt/sources.list.d/networkradius.list
mode: "0644"

- name: Add freeradius repository into Ubuntu resolute sources list
become: true
when:
- ansible_distribution|string == 'Ubuntu'
- ansible_distribution_release|string == 'resolute'
tags:
- molecule-idempotence-notest
ansible.builtin.copy:
content: >
deb [arch=amd64 signed-by=/etc/apt/trusted.gpg.d/packages.networkradius.com.asc]
http://packages.inkbridgenetworks.com/freeradius-3.2/ubuntu/resolute resolute main
dest: /etc/apt/sources.list.d/networkradius.list
mode: "0644"

- name: Add freeradius repository into Debian bookworm sources list
become: true
when:
Expand Down
9 changes: 9 additions & 0 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,15 @@
- ansible_distribution_release|string == 'trixie'
tags: [always]

- name: Include variables for Ubuntu 26.04
ansible.builtin.include_vars:
dir: "{{ role_path }}/vars"
files_matching: "^ubuntu-26.yml$"
when:
- ansible_distribution|string == 'Ubuntu'
- ansible_distribution_release|string == 'resolute'
tags: [always]

- name: Import APT tasks
ansible.builtin.import_tasks: apt.yml
tags: [openwisp2, apt]
Expand Down
6 changes: 6 additions & 0 deletions vars/ubuntu-26.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---

# Override variables for Ubuntu 26.04

openwisp2_ntp_pkg: ntpsec
openwisp2_libgdk_pixbuf_pkg: libgdk-pixbuf-2.0-0
Loading