add secondary groups

This commit is contained in:
Robert Kaussow 2018-11-11 03:45:53 +01:00
parent df4c762534
commit d2a94b920a
2 changed files with 7 additions and 1 deletions

View File

@ -1,5 +1,10 @@
--- ---
zigbee2mqtt_version: 0.1.8 zigbee2mqtt_version: 0.1.8
zigbee2mqtt_group: zigbee2mqtt
zigbee2mqtt_user: zigbee2mqtt zigbee2mqtt_user: zigbee2mqtt
zigbee2mqtt_group: zigbee2mqtt
zigbee2mqtt_secondary_groups:
- tty
- dialout
zigbee2mqtt_base_dir: /opt/zigbee2mqtt zigbee2mqtt_base_dir: /opt/zigbee2mqtt

View File

@ -41,5 +41,6 @@
user: user:
name: "{{ zigbee2mqtt_user }}" name: "{{ zigbee2mqtt_user }}"
group: "{{ zigbee2mqtt_group }}" group: "{{ zigbee2mqtt_group }}"
groups: "{{ zigbee2mqtt_secondary_groups }}"
become: True become: True
become_user: root become_user: root