diff options
author | Niklas Yann Wettengel <niyawe@niyawe.de> | 2022-01-22 23:18:36 +0100 |
---|---|---|
committer | Niklas Yann Wettengel <niyawe@niyawe.de> | 2022-01-22 23:18:36 +0100 |
commit | 4d3268b80b55e227a1a89515842cbaaa8a13d788 (patch) | |
tree | e7b85a5214614c5dcb7c999f56c0b369011b50d3 /roles/install_mesh-announce/tasks/main.yml | |
parent | fb0dbf28a0e7979050858256d2040d734b282afe (diff) |
loppermann1
Diffstat (limited to 'roles/install_mesh-announce/tasks/main.yml')
-rw-r--r-- | roles/install_mesh-announce/tasks/main.yml | 4 |
1 files changed, 4 insertions, 0 deletions
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 |