Skip to content

lgaggini/ansible-alfresco

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

57 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ansible-alfresco

Ansible playbook to deploy an allinone rpm-based machine alfresco community environment. Based on a 1524MB RAM (and relative JAVA_OPTS tuning) CentOS 6.4 minimal vagrant box and packed with following components:

  • Some prerequisites and utilities (wget, unzip, libselinux-python, python-psycopg2, MySQL-python, vim, byobu)
  • Oracle Java JDK 7 from Oracle website
  • Apache Tomcat 7 from Tomcat website
  • PostgreSql 9 from PostgreSql official rpm repo / Mysql 5 from Mysql official repo and Mysql-connector-java
  • ImageMagick from distro repo
  • FFmpeg from atrpms repo
  • Libreoffice from distro repo
  • SWFTools from rpmforge repo
  • Alfresco Community 4.2 Repository from Alfresco website
  • Alfresco Community 4.2 Share from Alfresco website

Especially useful for virtual development environment, maybe using Vagrant.

Configuration

Configuration variables are in group_vars/all. You can adjust default values to your need, especially versions, username/password and JAVA_OPTS.

Installation

$ git clone https://github.com/libersoft/ansible-alfresco.git ansible-alfresco

Usage

Plain Ansible

$ cd ansible-alfresco/provisioning
$ ansible-playbook [target] site.yml

Point your browser to http://{{ target_ip }}:8080/share

  • user:admin
  • password:admin

Vagrant

$ cd ansible-alfresco
$ vagrant up
$ vagrant provision

Point your browser to http://127.0.0.1:58080/share

  • user:admin
  • password:admin

Status

Tested on some machines, ready for development environment.

Future improvements

  • Include Apache Solr
  • Apt-based distro compatibility
  • Some refactoring (conditionals, variables, tags, users)
  • Multi machine environment
  • SSL enabled version

Feel free to contribute.

License

Gnu General Public License 3.0

Credits

About

Ansible playbook to deploy an allinone machine alfresco environment

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%