From 1709e6aecfb92a7782d9861c3601ab3e03ac06c9 Mon Sep 17 00:00:00 2001 From: jaydee Date: Tue, 19 Nov 2024 07:56:57 +0100 Subject: [PATCH] bitwarden --- playbooks/install_mqtt_srv.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playbooks/install_mqtt_srv.yml b/playbooks/install_mqtt_srv.yml index c519a56..59116df 100644 --- a/playbooks/install_mqtt_srv.yml +++ b/playbooks/install_mqtt_srv.yml @@ -32,7 +32,7 @@ owner: root when: inventory_hostname != 'nas.home.lan' become: "{{ 'no' if inventory_hostname == 'nas.home.lan' else 'yes' }}" - + - name: Upload service script config ansible.builtin.copy: src: scripts/mqtt_srv.cfg @@ -66,7 +66,7 @@ dest: /etc/init.d/ mode: '755' owner: admin - when: inventory_hostname != 'nas.home.lan' + when: inventory_hostname == 'nas.home.lan' become: "{{ 'no' if inventory_hostname == 'nas.home.lan' else 'yes' }}" - name: Upload service script2 @@ -75,7 +75,7 @@ dest: /usr/bin/ mode: '755' owner: admin - when: inventory_hostname != 'nas.home.lan' + when: inventory_hostname == 'router.home.lan' become: "{{ 'no' if inventory_hostname == 'nas.home.lan' else 'yes' }}" - name: Install bottle python package