Installation of custom OpenWISP modules is changing in the main branch of ansible-openwisp2

73 views
Skip to first unread message

Federico Capoano

unread,
May 7, 2022, 2:06:52 PM5/7/22
to open...@googlegroups.com
I merged [change!] Simplify installation of custom OpenWISP modules (eg: forks)
in the main branch of ansible-openwisp2: https://github.com/openwisp/ansible-openwisp2/pull/378
This PRs changes how custom OpenWISP versions are installed in a backward incompatible way.

The previous way to install forks or different versions of OpenWISP was messed up because it installed the forks after the stable versions were installed and installed the forks without pulling dependencies.

I could not dedicate a lot of time to fix it because I have been very busy on other fronts, but recently it occurred to me a much simpler way to allow installing different versions or customized versions of OpenWISP without going crazy.

This change means that whoever is installing customized versions of OpenWISP via ansible-openwisp2 will have to upgrade their playbooks before upgrading to the new version, which is just around the corner and should be released next week!

Cheers!
Federico Capoano

Michele Salerno

unread,
May 9, 2022, 4:07:40 PM5/9/22
to open...@googlegroups.com

Hi,

will the old playbooks continue to work for updates or do you need to create a new playbook?

thanks.


Il 07/05/22 20:06, Federico Capoano ha scritto:
-- 
Informativa Privacy - Ai sensi del D. Lgs n. 196/2003 (Codice Privacy) si precisa che le informazioni contenute in questo messaggio sono riservate e ad uso esclusivo del destinatario. Qualora il messaggio in parola Le fosse pervenuto per errore, La preghiamo di eliminarlo senza copiarlo e di non inoltrarlo a terzi, dandocene gentilmente comunicazione. Grazie.

Privacy Information - This message, for the D. Lgs n. 196/2003 (Privacy Code), may contain confidential and/or privileged information. If you are not the addressee or authorized to receive this for the addressee, you must not use, copy, disclose or take any action based on this message or any information herein. If you have received this message in error, please advise the sender immediately by reply e-mail and delete this message. Thank you for your cooperation.

Federico Capoano

unread,
May 9, 2022, 6:10:32 PM5/9/22
to open...@googlegroups.com
If you use the variables which set the custom openwisp modules, you will have to update the playbook, eg:


Becomes:


--
You received this message because you are subscribed to the Google Groups "OpenWISP" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/16b769cc-d564-8820-320a-12eb8d7605d9%40gmail.com.
Reply all
Reply to author
Forward
0 new messages