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

View File

@ -1,17 +1,7 @@
--- ---
- block: - 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 - name: Install mttq packages
yum: package:
name: "{{ item }}" name: "{{ item }}"
state: present state: present
with_items: with_items: