From 4d3268b80b55e227a1a89515842cbaaa8a13d788 Mon Sep 17 00:00:00 2001 From: Niklas Yann Wettengel Date: Sat, 22 Jan 2022 23:18:36 +0100 Subject: loppermann1 --- roles/install_mesh-announce/tasks/main.yml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'roles/install_mesh-announce/tasks/main.yml') diff --git a/roles/install_mesh-announce/tasks/main.yml b/roles/install_mesh-announce/tasks/main.yml index 50c5175..d4591cf 100644 --- a/roles/install_mesh-announce/tasks/main.yml +++ b/roles/install_mesh-announce/tasks/main.yml @@ -6,20 +6,24 @@ - lsb-release - ethtool state: present + when: sites | length > 0 - name: clone mesh-announce repo git: repo: https://github.com/FreifunkMYK/mesh-announce.git dest: /opt/mesh-announce + when: sites | length > 0 - name: create respondd service template: src: respondd.service.j2 dest: /etc/systemd/system/respondd.service mode: 0644 + when: sites | length > 0 - name: start and enable respondd service systemd: name: respondd state: started enabled: yes + when: sites | length > 0 -- cgit v1.2.3-54-g00ecf