1
0
mirror of https://github.com/inofix/common-playbooks.git synced 2026-02-05 12:45:29 +01:00
Files
common-playbooks/install-java.yml
Michael Lustenberger 375a246abd Switch to the new role
Tell the playbook to use the new install-java role.
2017-05-08 18:22:51 +02:00

25 lines
743 B
YAML

#* 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:
- { role: install-java }
# 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