add extra packages variable
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Robert Kaussow 2019-08-06 21:24:37 +02:00
parent cd4dad6047
commit 940e35da5b
4 changed files with 7 additions and 14 deletions

View File

@ -2,15 +2,9 @@
- name: Converge
hosts: all
vars:
yum_repositories:
epel:
filename: Extra-EPEL
desc: Extra Packages for Enterprise Linux (EPEL)
baseurl: "http://download.fedoraproject.org/pub/epel/$releasever/$basearch/"
gpgkey: "http://download.fedoraproject.org/pub/epel/RPM-GPG-KEY-EPEL-$releasever/"
enabled: True
mosquitto_packages_extra:
- epel-release
mosquitto_bind_address: "127.0.0.1"
roles:
- role: xoxys.yum
- role: xoxys.mosquitto

View File

@ -1,5 +0,0 @@
---
- src: https://gitea.rknet.org/ansible/xoxys.yum.git
name: xoxys.yum
scm: git
version: master

View File

@ -2,8 +2,9 @@
- block:
- name: Install mqtt packages
package:
name: mosquitto
name: "{{ item }}"
state: present
loop: "{{ mosquitto_packages_extra + __mosquitto_packages }}"
- name: Create group '{{ mosquitto_group }}'
group:

3
vars/main.yml Normal file
View File

@ -0,0 +1,3 @@
---
__mosquitto_packages:
- mosquitto