1
0
mirror of https://github.com/inofix/common-playbooks.git synced 2026-02-05 12:45:29 +01:00
Files
common-playbooks/install-monitored.yml
Michael Lustenberger 88d325116e Add become for software installer
Always use the priviledged user to install stuff.
2017-03-02 13:03:22 +01:00

24 lines
765 B
YAML

#* This playbook wrapps the apt (and others maybe in the future..) module
#* to install software for connecting the host to the monitoring.
#* 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.check-mk-agent
become: True
roles:
- install-cmk-a
# 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