xoxys.mosquitto/tasks/install.yml

17 lines
446 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
- name: Install mttq packages
yum:
name: "{{ item }}"
state: installed
with_items:
- mosquitto
- mosquitto-clients