2016-11-03 20:25:46 +01:00
|
|
|
#* This playbook downloads, unpacks, and installes our customized liferay
|
|
|
|
|
#* packages. It will also connect the container and the #* database - both
|
|
|
|
|
#* must be already installed (see below).
|
|
|
|
|
#* Note: this playbook should be used either from the main install playbook
|
|
|
|
|
#* (which resolves its dependencies) or as a shorthand for an already set up
|
|
|
|
|
#* system, where the dependencies are already provided.
|
|
|
|
|
#* Use '-a' to pass parameters to ansible (as '-e'). See ansible fetch for
|
|
|
|
|
#* details.
|
|
|
|
|
#* No arguments are mandatory.
|
|
|
|
|
|
2024-03-30 12:28:47 +01:00
|
|
|
- import_playbook: install-elasticsearch.yml
|
|
|
|
|
- import_playbook: install-liferay.yml
|
2017-05-09 12:40:22 +02:00
|
|
|
|
2017-05-09 21:53:24 +02:00
|
|
|
- hosts: app.liferay,&app.tomcat
|
2017-05-09 12:40:22 +02:00
|
|
|
become: True
|
|
|
|
|
roles:
|
2017-05-09 21:22:36 +02:00
|
|
|
- { role: setup-liferay-tomcat, when: ( app__liferay__container == "tomcat" ) }
|
2016-11-03 20:25:46 +01:00
|
|
|
|
2017-05-09 21:53:24 +02:00
|
|
|
- hosts: app.liferay,&app.postgresql
|
|
|
|
|
become: True
|
|
|
|
|
roles:
|
|
|
|
|
- { role: setup-liferay-postgres, when: ( app__liferay__dbs == "postgresql" ) }
|
|
|
|
|
|
2017-06-12 16:12:21 +02:00
|
|
|
- hosts: app.liferay
|
|
|
|
|
become: True
|
|
|
|
|
roles:
|
|
|
|
|
- install-liferay-plugins
|
|
|
|
|
|
2018-09-21 22:03:40 +02:00
|
|
|
- hosts: app.liferay.7,&app.elasticsearch
|
|
|
|
|
roles:
|
|
|
|
|
- { role: setup-liferay-elasticsearch }
|
|
|
|
|
|
2016-11-03 20:25:46 +01:00
|
|
|
# not enabling this yet, as it only tracks 'today'
|
|
|
|
|
# it is only useful for human communication and needs
|
|
|
|
|
# to be combined with something smarter as
|
|
|
|
|
# dpkg --get-selections
|
|
|
|
|
#- hosts: all
|
|
|
|
|
|
|
|
|
|
# roles:
|
|
|
|
|
# - track-packages
|
|
|
|
|
|