Skip to content

mrozati/ansible-conga-aem-dispatcher

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wcm_io_devops.conga_aem_dispatcher

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.

Requirements

This role requires Ansible 2.0 or higher.

Role Variables

This role currently has no variables since it totally relies on the CONGA configuration model.

Dependencies

Example

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
      }

License

Apache 2.0

About

Ansible Role conga-aem-dispatcher

Resources

License

Stars

Watchers

Forks

Packages

No packages published