add extra packages variable
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
cd4dad6047
commit
940e35da5b
@ -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
|
||||
|
@ -1,5 +0,0 @@
|
||||
---
|
||||
- src: https://gitea.rknet.org/ansible/xoxys.yum.git
|
||||
name: xoxys.yum
|
||||
scm: git
|
||||
version: master
|
@ -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
3
vars/main.yml
Normal file
@ -0,0 +1,3 @@
|
||||
---
|
||||
__mosquitto_packages:
|
||||
- mosquitto
|
Loading…
Reference in New Issue
Block a user