Skip to content

Commit

Permalink
Merge pull request #24 from wcm-io-devops/feature/aem_license_file
Browse files Browse the repository at this point in the history
Add aem_cms_license_file variable
  • Loading branch information
bellackn authored Jan 20, 2021
2 parents 8dc352e + fed1f2d commit b2e15f6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ This role installs Adobe Experience Manager (AEM) 6.x on Debian/Ubuntu or RHEL/C
## Requirements

This role requires Ansible 2.7 or higher and works with AEM 6.1 or higher. Also required are an AEM quickstart JAR file and a valid AEM license file. The `license.properties` files needs be made accessible to the role, normally by copying it into the `files` folder in the playbook directory. The `AEM_*_Quickstart.jar` can be supplied in the same way or retrieved from a Maven/RPM/APT repository, an HTTP URL or a S3 bucket (see below).
This role requires Ansible 2.7 or higher and works with AEM 6.1 or higher. Also required are an AEM quickstart JAR file and a valid AEM license file. The `license.properties` files needs be made accessible to the role, normally by copying it into the `files` folder in the playbook directory. You can also use another license file and reference it by the `aem_cms_license_file` variable. The `AEM_*_Quickstart.jar` can be supplied in the same way or retrieved from a Maven/RPM/APT repository, an HTTP URL or a S3 bucket (see below).

## Role Variables

Expand Down Expand Up @@ -131,6 +131,10 @@ specify a custom template.

Destination path of the synchronous stop script on the instance.

aem_cms_license_file: license.properties

Name of the AEM license file.

## Dependencies

This role depends on the
Expand Down
3 changes: 3 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,3 +82,6 @@ aem_cms_stop_sync_template: "stop-sync.sh.j2"

# Destination path of the synchronous stop script on the instance
aem_cms_stop_sync_path: "{{ aem_cms_home }}/crx-quickstart/bin/stop-sync.sh"

# File name of the AEM license file
aem_cms_license_file: license.properties
4 changes: 2 additions & 2 deletions tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@

- name: Create AEM license.
copy:
src: license.properties
src: "{{ aem_cms_license_file }}"
dest: "{{ aem_cms_home }}/license.properties"
owner: "{{ aem_cms_user }}"
group: "{{ aem_cms_group }}"
Expand Down Expand Up @@ -96,4 +96,4 @@

- name: Setup i386 support for XMPFilesProcessor.
include_tasks: xmp_i386.yml
when: ansible_architecture == 'x86_64'
when: ansible_architecture == 'x86_64'

0 comments on commit b2e15f6

Please sign in to comment.