This role deploys the configuration artifacts generated by the CONGA role aem-dispatcher with Ansible. It also configured the webserver based on the CONGA configuration model.
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.0 or higher.
This role currently has no variables since it totally relies on the CONGA configuration model.
- wcm_io_devops.conga_facts role for accessing the CONGA configuration model.
Compiles the CONGA configuration, installs the webserver with the
Ansible wcm_io_devops.apache role and deploys the configuration from
the CONGA aem-dispatcher
role in the aem-author
variant.
- hosts: localhost
roles:
- wcm_io_devops.conga_maven
- hosts: webserver
pre_tasks:
# Setup CONGA facts for the role aem-dispatcher so that
# we have access to the httpd port configuration
- conga_facts:
conga_role_mapping: aem-dispatcher
- set_fact:
# Save http and https port config aem-dispacher role for use by the aem-dispatcher role
aem_dispatcher_port: "{{ conga_config.httpd.serverPort | default(80) }}"
aem_dispatcher_port_ssl: "{{ conga_config.httpd.serverPortSsl | default(443) }}"
roles:
- wcm_io_devops.aem_dispatcher
- { role: wcm_io_devops.conga_aem_dispatcher,
conga_variant_mapping: aem-author
}
Apache 2.0