Skip to content

wcm-io-devops/ansible-conga-aem-cms

Repository files navigation

wcm_io_devops.conga_aem_cms

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.

Requirements

This role requires Ansible 2.7 or higher.

Role Variables

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.

Dependencies

This role depends on

Example

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

License

Apache 2.0