From f695afa981f54fa2624eae39fcde0d3f86cc7130 Mon Sep 17 00:00:00 2001 From: julian Date: Sat, 29 Jul 2023 01:28:44 +0200 Subject: [PATCH] Provide network_key for zigbee2mqtt from pass --- inventories/z9/host_vars/zigbee2mqtt.yaml | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/inventories/z9/host_vars/zigbee2mqtt.yaml b/inventories/z9/host_vars/zigbee2mqtt.yaml index da1e8c8..c75902d 100644 --- a/inventories/z9/host_vars/zigbee2mqtt.yaml +++ b/inventories/z9/host_vars/zigbee2mqtt.yaml @@ -1,14 +1,5 @@ zigbee2mqtt__version: "1.32.1" -zigbee2mqtt__network_key: !vault | - $ANSIBLE_VAULT;1.1;AES256 - 61633839396136633962393266643139333961613566396231343061383363393132393333313230 - 6461656564363565623730353138613537643266323438390a363937616136353334333732366233 - 65316234656235333931373135366665353763393439633866373336656266363761383262386534 - 6461396438316236340a323365373739633235356266653864366434386234653235333036346235 - 33633834326534313965626231336633623036613433306436613038363333306432393662653737 - 63343465333062636637313130306434623565623561303835303934306239623035323333323333 - 30303031306635313764323434333465353465366633376432326563666264386431623335613636 - 64643434666433363865 +zigbee2mqtt__network_key: "{{ lookup('community.general.passwordstore', 'vm-secrets/zigbee2mqtt/network_key', create=false, missing='error') }}" zigbee2mqtt__initial_config: "{{ lookup('ansible.builtin.template', 'configs/zigbee2mqtt/zigbee2mqtt/configuration.yaml.j2') }}" cert__acme_account_email: jannes+letsencrypt-ccchh@grzb.de cert__domains: