cancel
Showing results for 
Search instead for 
Did you mean: 

error installing alfresco-ansible on RockyLinux 8 - 'utils' is undefined

jswordy
Champ in-the-making
Champ in-the-making

Hello, 

i'm tring to install alfresco community with ansible but i receive the following error:


TASK [common : Ensure a list of packages installed] ***************************************************************************************************************************************************************************************
fatal: [database_1]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'utils' is undefined\n\nThe error appears to be in '/root/tmp/alfresco-ansible-deployment-1.2.0/roles/common/tasks/main.yml': line 20, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Ensure a list of packages installed\n ^ here\n"}

any hints ?

thanks a lot

J.

1 ACCEPTED ANSWER

jswordy
Champ in-the-making
Champ in-the-making

for those who fence the same issue. to solve the problem rename all the CentOS8 yaml file in to Rocky8:

cp roles/common/vars/CentOS8.yml roles/common/vars/Rocky8.yml
cp roles/postgres/vars/CentOS8.yml roles/postgres/vars/Rocky8.yml
cp roles/transformers/vars/CentOS8.yml roles/transformers/vars/Rocky8.yml 

and it works.

View answer in original post

1 REPLY 1

jswordy
Champ in-the-making
Champ in-the-making

for those who fence the same issue. to solve the problem rename all the CentOS8 yaml file in to Rocky8:

cp roles/common/vars/CentOS8.yml roles/common/vars/Rocky8.yml
cp roles/postgres/vars/CentOS8.yml roles/postgres/vars/Rocky8.yml
cp roles/transformers/vars/CentOS8.yml roles/transformers/vars/Rocky8.yml 

and it works.