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
|
- name: Converge
|
||||||
hosts: all
|
hosts: all
|
||||||
vars:
|
vars:
|
||||||
yum_repositories:
|
mosquitto_packages_extra:
|
||||||
epel:
|
- epel-release
|
||||||
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_bind_address: "127.0.0.1"
|
mosquitto_bind_address: "127.0.0.1"
|
||||||
|
|
||||||
roles:
|
roles:
|
||||||
- role: xoxys.yum
|
|
||||||
- role: xoxys.mosquitto
|
- 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:
|
- block:
|
||||||
- name: Install mqtt packages
|
- name: Install mqtt packages
|
||||||
package:
|
package:
|
||||||
name: mosquitto
|
name: "{{ item }}"
|
||||||
state: present
|
state: present
|
||||||
|
loop: "{{ mosquitto_packages_extra + __mosquitto_packages }}"
|
||||||
|
|
||||||
- name: Create group '{{ mosquitto_group }}'
|
- name: Create group '{{ mosquitto_group }}'
|
||||||
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