Performs the following actions:
- Downloads Alfresco Content Services 6.1 from Nexus (this requires Nexus credentials which must be obtained from Alfresco Customer Support)
- Extracts the downloaded zip to the specified acs_install_folder directory
This uses Ansilble Unarchive module which requires gtar or unzip to be installed on the target host.
The acs_install_folder can be created before hand, however it must be empty. If the directory is not empty, all other tasks will be skipped for safty.
Manditory Variables
Both nexus_user and nexus_password must be specified when using this role. There are a number of ways to do this, for example:
- Passing at the command line using --extra_vars (not recommended)
- Using var_prompt
- Using ansible-vault
Name | Default | Remarks |
---|---|---|
acs_install_folder | /opt/alfresco | The location where the zip file is download and extracted |
acs_user | alfresco | The user account that will own the extracted files and acs_install_folder |
nexus_user | Manditory | |
nexus_password | Manditory | |
nexus_url | https://artifacts.alfresco.com/nexus/content/groups/internal/org/alfresco/alfresco-content-services-distribution/6.1.0/alfresco-content-services-distribution-6.1.0.zip | URL to zip file |
Here is how to user var_prompts to run this role
- hosts: all
vars_prompt:
- name: nexus_user
prompt: "Please specify your Maven username: "
private: no
- name: nexus_password
prompt: "Please specify your Maven password: "
private: yes
encrypt: "sha512_crypt"
include_role:
name: acs
Free