mirror of
https://github.com/schnidrig/openhab-ansible
synced 2026-01-12 00:48:46 +01:00
27 lines
475 B
YAML
27 lines
475 B
YAML
---
|
|
|
|
- name: ensure packages are installed
|
|
apt:
|
|
pkg: "{{item}}"
|
|
update_cache: "{{apt_config.update_cache}}"
|
|
cache_valid_time: "{{apt_config.cache_valid_time}}"
|
|
with_items:
|
|
- apt-transport-https
|
|
- ntp
|
|
- tmux
|
|
- python-pip
|
|
- python3-pip
|
|
- git
|
|
- multitail
|
|
- python3-requests
|
|
tags:
|
|
- packages
|
|
|
|
- name: install python 3 modules with pip
|
|
pip:
|
|
name: websocket-client
|
|
executable: pip3
|
|
tags:
|
|
- packages
|
|
|