Hi... I'm installing ACS using Ansible as per: https://docs.alfresco.com/content-services/community/install/ansible/
I am doing the installation on a CentOS 7 server and I am signed with SUDO.
When executing the command:
[root@dalfresco alfresco-ansible-deployment-1.1.1]# ansible-playbook playbooks/acs.yml -i inventory_local.yml -e "@community-extra-vars.yml"
The following activities are displayed:
PLAY [Database Role]...
TASK [Gathering Facts]...
TASK [common : Include OS-specific variables]...
TASK [common : Include nexus credentials for local testing]...
TASK [common : Ensure a list of packages installed]...
TASK [common : Create alfresco group]...
TASK [common : Create alfresco user]...
TASK [common : Create binaries, configuration, data, logs and download folders]...
TASK [../roles/postgres : Include OS specific variables]...
TASK [../roles/postgres : Prepare package manager]...
TASK [../roles/postgres : Install rpm repository]...
TASK [../roles/postgres : Install packages] ************************************** ************************************************** ************************************************** *******
fatal: [database_1]: FAILED! => {"msg": "[u'postgresql{{ dependencies_version.postgres_major_version }}-server', u'postgresql{{ dependencies_version.postgres_major_version }}', u\"python{{ '3' if ansible_python_version.split(' .')[0] == '3' }}-psycopg2\"]: the inline if-expression on line 1 evaluated to false and no else section was defined."}
PLAY RECAP ************************************************ ************************************************** ************************************************** ******************************
database_1 : ok=10 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0It is the second time that I execute it, in the first it reported changes:
PLAY RECAP ************************************************ ************************************************** ************************************************** ******************************
database_1 : ok=10 changed=4 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
And I installed Python 3 in case that was the problem, but no. The installation stops at the same point.
Any ideas how it can be fixed?
Thanks...