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

[bug] Command issue on ansible-core~=2.14.0 #414

Closed pandafy closed 1 year ago

pandafy commented 1 year ago

This task fails with ansible-core~=2.14.0

https://github.com/openwisp/ansible-openwisp2/blob/7cea174647a9f1e0a39597e7465e5c634ac7254c/tasks/nginx.yml#L26-L38

It appears that from ansible-core>=2.14, the ansible.builtin.command module no longer accepts warn argument.

We should update this task which maintaining the same functionality.