xoxys.mosquitto/tasks/install.yml

18 lines
468 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
notify: yum_upgrade
- name: Install mttq packages
yum:
name: "{{ item }}"
state: installed
whith_item:
- mosquitto
- mosquitto-clients