/ansible-role-aem-verify

ansible role for verifying if AEM instance is ready for operations

Primary LanguagePythonApache License 2.0Apache-2.0

Ansible Role: AEM Verify

Build Status

This role tests AEM instance if its available.

This role was developed as part of AEM.Design

Requirements

None.

Role Variables

Available variables are listed below, along with default values (see defaults/main.yml):

wait_delay: 1
aem_schema: "http"
aem_host: "localhost"
aem_port: 4502
aem_username: "admin"
aem_password: "admin"

debug_hide: true

url_login: "/libs/granite/core/content/login.html"
url_packages: "/crx/packmgr/service.jsp"
url_bunldes_json: "/system/console/bundles.json"
url_bunldes: "/system/console/bundles"

To specify service that should be used as target for tests set following variable

aem_schema: "http"
aem_host: "localhost"
aem_port: 4502
aem_username: "admin"
aem_password: "admin"

Dependencies

None.

Example Playbook

- hosts: all
  roles:
    - aem_design.aem_verify

Debug

Run container to test this role:

docker run -it -w /build/source -v ${PWD}:/build/source -v /sys/fs/cgroup:/sys/fs/cgroup:ro -v /var/run/docker.sock:/var/run/docker.sock -v ${HOME}/.m2:/build/.m2 --net=host aemdesign/ansible-playbook:centos7 /bin/bash --login

License

Apache 2.0

Author Information

This role was created by Max Barrass.