Closed Aryamanz29 closed 1 year ago
Hi @Aryamanz29! I will be taking over this PR. Can you please push any changes you have locally?
Hi @Aryamanz29! I will be taking over this PR. Can you please push any changes you have locally?
Not much changes, I'm also testing it locally as follows:
(defaults/main.yml)
, we can execute the below command inside lookup pipe,
eg. "{{ lookup('pipe', '<command_here>') }}"
# First check if 'freeradius' is installed and if its version is 3.0.X then use /etc/freeradius/3.0 else use /etc/freeradius
dpkg -s <package_name_here> 2>/dev/null >/dev/null && if $(dpkg --compare-versions $(dpkg-query -f='${Version}\n' --show <package_name_here>) gt <freeradius_verion_here>); then echo /etc/freeradius/3.0; fi || echo /etc/freeradius/
--no-upgrade
option to prevent installing freeradius 3.2 with the existing installation. (It will skip installation & upgrade if the package already exists) - name: Update and upgrade apt packages
shell: |
sudo apt-get update
sudo apt-get install -y --no-upgrade freeradius
@nemesisdesign the builds are failing because importlib-metadata
is incompatible with Python 3.7. I have already pinned the version in openwissp-utils. Should I update the role to use the development version of openwisp-utils?
Closes #401