<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Failed to install ACS via Ansible on CentOS7 server ! need help in Alfresco Forum</title>
    <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-install-acs-via-ansible-on-centos7-server-need-help/m-p/144917#M38441</link>
    <description>I just replied in the other thread you mentioned before I saw this one. 
&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/failed-to-install-acs-via-ansible-perhaps-because-of-the-python/m-p/315737/highlight/true#M28771" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/failed-to-install-acs-via-ansible-perhaps-because-of-the-python/m-p/315737/highlight/true#M28771&lt;/A&gt;</description>
    <pubDate>Tue, 28 Mar 2023 20:13:40 GMT</pubDate>
    <dc:creator>alxgomz</dc:creator>
    <dc:date>2023-03-28T20:13:40Z</dc:date>
    <item>
      <title>Failed to install ACS via Ansible on CentOS7 server ! need help</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-install-acs-via-ansible-on-centos7-server-need-help/m-p/144916#M38440</link>
      <description>&lt;P&gt;Hi there!&lt;/P&gt;&lt;P&gt;Yesterday&amp;nbsp;i tryed to Install ACS Community version via Ansible on a CentOS7 server .&lt;/P&gt;&lt;P&gt;First I followed the instuctions to set up Ansible , then I execute this command downbelow:&lt;/P&gt;&lt;PRE&gt;[root@localhost alfresco-ansible-deployment-1.1.1]# ansible-playbook playbooks/acs.yml -i inventory_local.yml -e "@community-extra-vars.yml"&lt;/PRE&gt;&lt;P&gt;And after this an error msg shows up:&lt;/P&gt;&lt;PRE&gt;[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] =&amp;gt; (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] =&amp;gt; (item=sudo)
ok: [database_1] =&amp;gt; (item=unzip)
ok: [database_1] =&amp;gt; (item=tar)
ok: [database_1] =&amp;gt; (item=libselinux-python)
ok: [database_1] =&amp;gt; (item=libsemanage-python)
ok: [database_1] =&amp;gt; (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] =&amp;gt; (item=/opt/alfresco)
ok: [database_1] =&amp;gt; (item=/var/opt/alfresco)
ok: [database_1] =&amp;gt; (item=/etc/opt/alfresco)
ok: [database_1] =&amp;gt; (item=/var/log/alfresco)
ok: [database_1] =&amp;gt; (item=/tmp/ansible_artefacts)

TASK [../roles/postgres : Include OS specific variables] ************************************************************************************************************************************ok: [database_1] =&amp;gt; (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! =&amp;gt; {"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&lt;/PRE&gt;&lt;P&gt;then i tryed to download the version 2.0.0 Ansible playbook and do so&amp;nbsp; as &lt;A title="another similar topic" href="https://hub.alfresco.com/t5/alfresco-content-services-forum/failed-to-install-acs-via-ansible-perhaps-because-of-the-python/m-p/311967/highlight/true#M27007" target="_self" rel="nofollow noopener noreferrer"&gt;another similar topic&lt;/A&gt; says , and again, another problem comes :&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;[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&lt;/PRE&gt;&lt;P&gt;Now, i don't know what to do ,but still want to use ACS.&amp;nbsp; so&amp;nbsp; plz ! can somebody help !!!&lt;/P&gt;</description>
      <pubDate>Tue, 28 Mar 2023 08:34:04 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/failed-to-install-acs-via-ansible-on-centos7-server-need-help/m-p/144916#M38440</guid>
      <dc:creator>meiqiu</dc:creator>
      <dc:date>2023-03-28T08:34:04Z</dc:date>
    </item>
    <item>
      <title>Re: Failed to install ACS via Ansible on CentOS7 server ! need help</title>
      <link>https://connect.hyland.com/t5/alfresco-forum/failed-to-install-acs-via-ansible-on-centos7-server-need-help/m-p/144917#M38441</link>
      <description>I just replied in the other thread you mentioned before I saw this one. 
&lt;A href="https://hub.alfresco.com/t5/alfresco-content-services-forum/failed-to-install-acs-via-ansible-perhaps-because-of-the-python/m-p/315737/highlight/true#M28771" target="_blank" rel="nofollow noopener noreferrer"&gt;https://hub.alfresco.com/t5/alfresco-content-services-forum/failed-to-install-acs-via-ansible-perhaps-because-of-the-python/m-p/315737/highlight/true#M28771&lt;/A&gt;</description>
      <pubDate>Tue, 28 Mar 2023 20:13:40 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-forum/failed-to-install-acs-via-ansible-on-centos7-server-need-help/m-p/144917#M38441</guid>
      <dc:creator>alxgomz</dc:creator>
      <dc:date>2023-03-28T20:13:40Z</dc:date>
    </item>
  </channel>
</rss>

