From 50fd53aadd711ae3dba1c7f858568458bb4464f2 Mon Sep 17 00:00:00 2001 From: jaydee Date: Wed, 30 Oct 2024 12:14:02 +0100 Subject: [PATCH] bitwarden --- playbooks/install_mqtt_srv.yml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/playbooks/install_mqtt_srv.yml b/playbooks/install_mqtt_srv.yml index fb7072c..9d2060a 100644 --- a/playbooks/install_mqtt_srv.yml +++ b/playbooks/install_mqtt_srv.yml @@ -30,7 +30,14 @@ owner: root when: inventory_hostname not in groups['nas'] and inventory_hostname not in groups['router'] become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}" - + - name: Upload service script config + ansible.builtin.copy: + src: scripts/mqtt_srv.cfg + dest: /etc/mqtt_srv + mode: '755' + owner: root + when: inventory_hostname not in groups['nas'] and inventory_hostname not in groups['router'] + become: "{{ 'no' if inventory_hostname in groups['nas'] else 'yes' }}" - name: Upload service script1 ansible.builtin.copy: src: scripts/mqtt_srv.sh