mirror of
https://github.com/schnidrig/openhab-ansible
synced 2026-01-12 08:58:46 +01:00
40 lines
827 B
YAML
40 lines
827 B
YAML
---
|
|
|
|
- name: install main packages
|
|
apt:
|
|
pkg: "{{item}}"
|
|
update_cache: "{{apt_config.update_cache}}"
|
|
cache_valid_time: "{{apt_config.cache_valid_time}}"
|
|
with_items:
|
|
- "{{jdk}}"
|
|
- openhab-runtime
|
|
- sysstat
|
|
tags:
|
|
- packages
|
|
- openhab
|
|
|
|
- name: install bindings
|
|
apt:
|
|
pkg: "openhab-addon-binding-{{item}}"
|
|
update_cache: "{{apt_config.update_cache}}"
|
|
cache_valid_time: "{{apt_config.cache_valid_time}}"
|
|
with_items: "{{bindings}}"
|
|
tags:
|
|
- packages
|
|
- bindings
|
|
- openhab
|
|
|
|
- name: install persistence add ons
|
|
apt:
|
|
pkg: "openhab-addon-persistence-{{item}}"
|
|
update_cache: "{{apt_config.update_cache}}"
|
|
cache_valid_time: "{{apt_config.cache_valid_time}}"
|
|
with_items: "{{persistence}}"
|
|
tags:
|
|
- packages
|
|
- persistence
|
|
- openhab
|
|
|
|
|
|
|