xoxys.mosquitto/tasks/install.yml

17 lines
446 B
YAML
Raw Normal View History

2017-12-16 20:33:26 +00:00
---
- 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
- name: Install mttq packages
yum:
name: "{{ item }}"
state: installed
2017-12-16 20:39:50 +00:00
with_items:
2017-12-16 20:33:26 +00:00
- mosquitto
- mosquitto-clients