This role deploys the configuration artifacts generated by the CONGA role aem-cms with Ansible. It is part of the wcm.io set of roles to integrate Ansible with CONGA and cannot be used independently.
This role was developed as part of the wcm.io DevOps Ansible Automation for AEM to integrate Ansible with CONGA.
This role requires Ansible 2.7 or higher.
The role requires the aem_cms_user
and aem_cms_group
variables to be set to the owner and group the files should have on the target system. Usually it uses the defaults defined by the wcm_io_devops.aem_cms role which it is designed to combined with.
This role depends on
- wcm_io_devops.conga_facts role for accessing the CONGA configuration model
- wcm_io_devops.conga_files role for deploying configuration files
- wcm_io_devops.aem_service role to initially start the instance and to provide the "aem restart" handler for wcm_io_devops.conga_bundle_files and wcm_io_devops.conga_aem_packages.
- wcm_io_devops.aem_security role for applying security changes like changing the admin user password
- wcm_io_devops.conga_bundle_files role for deploying bundle related files
- wcm_io_devops.conga_aem_packages for deploying aem packages.
Compiles the CONGA configuration, installs AEM with the Ansible wcm_io_devops.aem_cms
role and deploys the configuration from the CONGA aem-cms
role.
- hosts: localhost
roles:
- wcm_io_devops.conga_maven
- hosts: aem
pre_tasks:
# Get CONGA facts for role aem-cms to set aem_cms_home below
- conga_facts:
conga_role_mapping: aem-cms
roles:
- { role: wcm_io_devops.aem_cms,
aem_cms_home: "{{ conga_config.quickstart.rootPath }}" }
- wcm_io_devops.conga_aem_cms
Apache 2.0