03-16-2022 01:35 AM
Greetings,
I am attempting to install community version 7.1 on CentOS Stream 8 using Ansible and the official instructions found here. When I run the playbook, I receive the error:
"Error! couldn't resolve module/action 'postgresql_db'. This often indicates a misspelling, missing collction, or incorrect module path.
The error appears to be in '/alfreso-ansible-deployment-1.1.1/roles/postgres/tasks/main.yml': line 58, column 7, but may be elswhere in the file depending on the exact syntax problem.
The offending line appears to be:
block:
- name: "Create a new database with name {{ item }}""
It goes on to suggest that the error may be due to missing quotes, but it appears to my (very novice) eyes that that is not the problem. I am including a couple screenshots of both the error and the alleged relevant portion of main.yml.
Any help would be greatly appreciated!
04-25-2022 05:39 PM
Yes, I saw the same error when I was installing alfresco-ansible-deployment-1.1.1.zip
It appears that there are a couple of modules not listed in the Alfresco Ansible deployment prerequisites
You'll need to run ansible-galaxy each time you get a module/action ERROR:
Example:
ansible-galaxy collection install community.general
ansible-galaxy collection install community.mysql
ansible-galaxy collection install community.postgresql
ansible-galaxy collection install community.seboolean
EDIT: There are several others, and you may have to upgrade Ansible to 2.11+
Explore our Alfresco products with the links below. Use labels to filter content by product module.