Hi there!
Yesterday i tryed to Install ACS Community version via Ansible on a CentOS7 server .
First I followed the instuctions to set up Ansible , then I execute this command downbelow:
[root@localhost alfresco-ansible-deployment-1.1.1]# ansible-playbook playbooks/acs.yml -i inventory_local.yml -e "@community-extra-vars.yml"
And after this an error msg shows up:
[root@localhost download]# ls alfresco-ansible-deployment-1.1.1 alfresco-ansible-deployment-1.1.1.zip alfresco-ansible-deployment-2.0.0 alfresco-ansible-deployment-2.0.0.zip [root@localhost download]# cd alfresco-ansible-deployment-1.1.1 [root@localhost alfresco-ansible-deployment-1.1.1]# ansible-playbook playbooks/acs.yml -i inventory_local.yml -e "@community-extra-vars.yml" PLAY [Database Role] ************************************************************************************************************************************************************************ TASK [Gathering Facts] **********************************************************************************************************************************************************************ok: [database_1] TASK [common : Include OS specific variables] ***********************************************************************************************************************************************ok: [database_1] => (item=/home/download/alfresco-ansible-deployment-1.1.1/roles/common/tasks/../vars/CentOS7.yml) TASK [common : Include nexus credentials for local testing] *********************************************************************************************************************************ok: [database_1] TASK [common : Ensure a list of packages installed] *****************************************************************************************************************************************ok: [database_1] => (item=sudo) ok: [database_1] => (item=unzip) ok: [database_1] => (item=tar) ok: [database_1] => (item=libselinux-python) ok: [database_1] => (item=libsemanage-python) ok: [database_1] => (item=gpg) TASK [common : Create alfresco group] *******************************************************************************************************************************************************ok: [database_1] TASK [common : Create alfresco user] ********************************************************************************************************************************************************ok: [database_1] TASK [common : Create binaries, configuration, data, logs and download folders] *************************************************************************************************************ok: [database_1] => (item=/opt/alfresco) ok: [database_1] => (item=/var/opt/alfresco) ok: [database_1] => (item=/etc/opt/alfresco) ok: [database_1] => (item=/var/log/alfresco) ok: [database_1] => (item=/tmp/ansible_artefacts) TASK [../roles/postgres : Include OS specific variables] ************************************************************************************************************************************ok: [database_1] => (item=/home/download/alfresco-ansible-deployment-1.1.1/roles/postgres/tasks/../vars/CentOS7.yml) TASK [../roles/postgres : Prepare package manager] ******************************************************************************************************************************************included: /home/download/alfresco-ansible-deployment-1.1.1/roles/postgres/tasks/yum_repo.yml for database_1 TASK [../roles/postgres : Install rpm repository] *******************************************************************************************************************************************ok: [database_1] 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=0
then i tryed to download the version 2.0.0 Ansible playbook and do so as another similar topic says , and again, another problem comes :
[root@localhost alfresco-ansible-deployment-1.1.1]# cd - /home/download [root@localhost download]# cd alfresco-ansible-deployment-2.0.0 [root@localhost alfresco-ansible-deployment-2.0.0]# ansible-playbook playbooks/acs.yml -i inventory_local.yml -e "@community-extra-vars.yml" ERROR! 'notify' is not a valid attribute for a Block The error appears to be in '/home/download/alfresco-ansible-deployment-2.0.0/roles/nginx/tasks/vhosts.yml': line 37, column 3, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: Vhosts config ^ here
Now, i don't know what to do ,but still want to use ACS. so plz ! can somebody help !!!
Ask for and offer help to other Alfresco Content Services Users and members of the Alfresco team.
Related links:
By using this site, you are agreeing to allow us to collect and use cookies as outlined in Alfresco’s Cookie Statement and Terms of Use (and you have a legitimate interest in Alfresco and our products, authorizing us to contact you in such methods). If you are not ok with these terms, please do not use this website.