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 136 forks source link

openwisp.openwisp2 (22.5.3) install error #475

Closed devwoojin closed 2 months ago

devwoojin commented 2 months ago

ubuntu 22.04

While proceeding with the installation guide document, an error occurs as shown below.

dev@m2m-server:~/openwisp2-ansible-playbook$ ansible-playbook -i hosts playbook.yml -u dev -k --become -K
SSH password: 
BECOME password[defaults to SSH password]: 
ERROR! couldn't resolve module/action 'ansible.posix.sysctl'. This often indicates a misspelling, missing collection, or incorrect module path.

The error appears to be in '/home/dev/.ansible/roles/openwisp.influxdb/tasks/udp_mode.yml': line 1, column 3, but may
be elsewhere in the file depending on the exact syntax problem.

The offending line appears to be:

- name: Set net.core.rmem_max
  ^ here
dev@m2m-server:~/openwisp2-ansible-playbook$ ls
nemesifier commented 2 months ago

Have you tried as indicated in the README?

ansible-galaxy collection install "community.general:>=3.6.0"
ansible-galaxy collection install "ansible.posix"