--- - name: Download Check_MK get_url: dest: /opt/check-mk-raw-1.5.0b8_0.stretch_amd64.deb mode: 0644 url: https://mathias-kettner.de/support/1.5.0b8/check-mk-raw-1.5.0b8_0.stretch_amd64.deb - name: Install Check_MK dependencies apt: name={{ item }} with_items: - cron - debconf - time - traceroute - curl - dialog - dnsutils - fping - graphviz - apache2 - libdbi1 - libevent-2.0-5 - libgd3 - libltdl7 - libnet-snmp-perl - libpango1.0-0 - libperl5.24 - libreadline7 - libsnmp-perl - libuuid1 - patch - binutils - rpm - php - php-cgi - php-cli - php-gd - php-mcrypt - php-sqlite3 - php-pear - rsync - smbclient - rpcbind - lcab - snmp - unzip - xinetd - libfreeradius3 - libpcap0.8 - libgsf-1-114 - libglib2.0-0 - poppler-utils - libffi6 - libssl1.0.2 - name: Install Check_MK apt: deb: "check-mk-raw-1.5.0b8_0.stretch_amd64.deb" state: present