Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/wcm-io-devops/ansible-conga-aem-cms

Ansible Role conga-aem-cms
https://github.com/wcm-io-devops/ansible-conga-aem-cms

aem-automation ansible-role conga

Last synced: about 2 months ago
JSON representation

Ansible Role conga-aem-cms

Awesome Lists containing this project

README

        

# wcm_io_devops.conga_aem_cms

This role deploys the configuration artifacts generated by the CONGA role [aem-cms](https://github.com/wcm-io-devops/conga-aem-definitions/blob/develop/conga-aem-definitions/src/main/roles/aem-cms.yaml) with Ansible. It is part of the wcm.io set of roles to integrate Ansible with [CONGA](http://devops.wcm.io/conga/) and cannot be used independently.

> This role was developed as part of the
> [wcm.io DevOps Ansible Automation for AEM](http://devops.wcm.io/ansible-aem/)
> to integrate Ansible with
> [CONGA](http://devops.wcm.io/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](https://github.com/wcm-io-devops/ansible-aem-cms) role which it is designed to combined with.

## Dependencies

This role depends on
* [wcm_io_devops.conga_facts](https://github.com/wcm-io-devops/ansible-conga-facts)
role for accessing the CONGA configuration model
* [wcm_io_devops.conga_files](https://github.com/wcm-io-devops/ansible-conga-files)
role for deploying configuration files
* [wcm_io_devops.aem_service](https://github.com/wcm-io-devops/ansible-aem-service)
role to initially start the instance and to provide the "aem restart"
handler for
[wcm_io_devops.conga_bundle_files](https://github.com/wcm-io-devops/ansible-conga-bundle-files)
and [wcm_io_devops.conga_aem_packages](https://github.com/wcm-io-devops/ansible-conga-aem-packages).
* [wcm_io_devops.aem_security](https://github.com/wcm-io-devops/ansible-aem-security)
role for applying security changes like changing the admin user
password
* [wcm_io_devops.conga_bundle_files](https://github.com/wcm-io-devops/ansible-conga-bundle-files)
role for deploying bundle related files
* [wcm_io_devops.conga_aem_packages](https://github.com/wcm-io-devops/ansible-conga-aem-packages)
for deploying aem packages.

## 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