openwisp / ansible-openwisp2

Ansible role that installs and upgrades OpenWISP.
https://openwisp.io/docs/dev/ansible/
BSD 3-Clause "New" or "Revised" License
474 stars 137 forks source link

[fix] Python3 (system) packages should be installed if `false` #393 #394

Closed broadstack-au closed 2 years ago

broadstack-au commented 2 years ago

is_version returns a boolean. Checking for string "False\n" resulted in system python3 packages not being installed

Target Host:

  Ubuntu: 20.04
  Python: 3.8.10

Executing Host (ansible run from):

  ansible [core 2.13.2]
  python version = 3.10.6 (main, Aug 11 2022, 13:49:25) [Clang 13.1.6 (clang-1316.0.21.2.5)]
  jinja version = 3.1.2

Fixes #393

nemesifier commented 2 years ago

Thanks! :+1: