2017-05-05 14:59:45 +02:00
|
|
|
#* This playbook wrapps the apt (and others maybe in the future..) module
|
|
|
|
|
#* to install the correct java package.
|
|
|
|
|
#* 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.
|
|
|
|
|
|
|
|
|
|
- hosts: app.java.jdk
|
|
|
|
|
become: True
|
|
|
|
|
|
|
|
|
|
roles:
|
2017-05-08 18:22:51 +02:00
|
|
|
- { role: install-java }
|
2017-05-05 16:09:30 +02:00
|
|
|
|
2017-05-05 14:59:45 +02: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
|
|
|
|
|
|