From 466a08a0b38c03e262d38b06ecb1391638248744 Mon Sep 17 00:00:00 2001 From: Tobias Hachmer Date: Thu, 30 Nov 2017 23:12:15 +0100 Subject: [PATCH] Role service-fastd-mesh: ensure fastd_status.json file is present; reorder nginx roles --- playbooks/gateways.yml | 4 ++-- roles/service-fastd-mesh/tasks/main.yml | 8 ++++++++ 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/playbooks/gateways.yml b/playbooks/gateways.yml index 9e2e2da..8adeeb0 100755 --- a/playbooks/gateways.yml +++ b/playbooks/gateways.yml @@ -20,6 +20,8 @@ - network-iptables-gateway - network-routing - service-dhcpd + - service-nginx + - service-nginx-firmware - service-radvd - service-fastd - service-fastd-mesh @@ -30,5 +32,3 @@ - service-bird-ffrl - service-bind-slave - service-respondd - - service-nginx - - service-nginx-firmware diff --git a/roles/service-fastd-mesh/tasks/main.yml b/roles/service-fastd-mesh/tasks/main.yml index c8b9f8e..879fe80 100644 --- a/roles/service-fastd-mesh/tasks/main.yml +++ b/roles/service-fastd-mesh/tasks/main.yml @@ -112,6 +112,14 @@ mode: 0644 notify: reload systemd +- name: create fastd_status.json file + file: + path: /var/www/html/fastd_status.json + state: touch + owner: admin + group: admin + mode: 0644 + - name: write configuration for fastd-peer-limit-update script template: src: fastd_peer_limit_config.yaml.j2