18 lines
468 B
YAML
18 lines
468 B
YAML
|
---
|
||
|
- name: Add yum repository
|
||
|
yum_repository:
|
||
|
name: mttq
|
||
|
file: mttq
|
||
|
description: MTTQ Broker
|
||
|
baseurl: http://download.opensuse.org/repositories/home:/oojah:/mqtt/CentOS_CentOS-7/
|
||
|
gpgkey: http://download.opensuse.org/repositories/home:/oojah:/mqtt/CentOS_CentOS-7/repodata/repomd.xml.key
|
||
|
notify: yum_upgrade
|
||
|
|
||
|
- name: Install mttq packages
|
||
|
yum:
|
||
|
name: "{{ item }}"
|
||
|
state: installed
|
||
|
whith_item:
|
||
|
- mosquitto
|
||
|
- mosquitto-clients
|