install from epel instead of custom

This commit is contained in:
Robert Kaussow 2018-11-04 23:34:41 +01:00
parent dfc2019f35
commit 1834e8d086
1 changed files with 1 additions and 11 deletions

View File

@ -1,17 +1,7 @@
---
- block:
- name: Add mttq repository
yum_repository:
name: mttq
file: Mosquitto
description: MTTQ Broker
baseurl: "https://download.opensuse.org/repositories/home:/oojah:/mqtt/CentOS_CentOS-{{ ansible_distribution_major_version }}/"
gpgkey: "https://download.opensuse.org/repositories/home:/oojah:/mqtt/CentOS_CentOS-{{ ansible_distribution_major_version }}/repodata/repomd.xml.key"
gpgcheck: yes
enabled: yes
- name: Install mttq packages
yum:
package:
name: "{{ item }}"
state: present
with_items: