ansible.builtin.mount not available in Ansible 2.12
Using satnogs-setup
and Ansible core version 2.12.7 installed, running "Apply" fails with:
ERROR! couldn't resolve module/action 'ansible.builtin.mount'. This often indicates a misspelling, missing collection, or incorrect module path.
The error appears to be in '/root/.satnogs/ansible/roles/satnogs_client/tasks/main.yml': line 111, column 3, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
- Restart satnogs-client service
- name: Use tmpfs for state directory
^ here
Apparently the ansible.builtin.mount
module was moved to ansible.posix.mount into the ansible.posix collection. It disappeared from the documentation after version 2.4 (ansible/2.4/mount_module.html).
Replace ansible.builtin.mount
with ansible.posix.mount
.