diff --git a/tasks/install.yml b/tasks/install.yml index d666bcd..34fbf04 100644 --- a/tasks/install.yml +++ b/tasks/install.yml @@ -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: