forked from inofix/common-playbooks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
install-liferay.yml
38 lines (29 loc) · 1.07 KB
/
install-liferay.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#* This playbook downloads, unpacks, and installes our customized liferay
#* packages (without enabling it yet though - see install-liferay-enabled/
#* install-liferay-disabled too).
#* 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.
- import_playbook: install-tomcat.yml
- hosts: app.liferay
become: True
roles:
- { role: inofix.yapkg, yapkg__task_group_name: 'preview generation', yapkg__names: [ 'imagemagick', 'ghostscript' ] }
- hosts: app.liferay.7
become: True
roles:
- install-liferay-unbundled
- hosts: app.liferay.6
become: True
roles:
- install-liferay
# 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