Skip to content
Snippets Groups Projects
Commit df449aad authored by Paul's avatar Paul :turtle:
Browse files

use global variable for dns repo url

parent 23d4f88a
No related branches found
No related tags found
No related merge requests found
Pipeline #4515 failed
---
- name: copy dnsdist configs
copy:
src: dnsdist
......@@ -26,11 +23,14 @@
# add update script
- name: copy update script
copy:
src: scripts/update-dns.sh
template:
src: update-dns.sh
dest: /usr/local/lib/ffhl/
mode: 775
- name: run dns-update script
shell:
cmd: /usr/local/lib/ffhl/update-dns.sh
- name: copy systemd services and timers
copy:
......
......@@ -2,8 +2,8 @@
set -e
DIR=$(mktemp -d)
DEST=/var/local/ffhl-dns
REPO=https://git.luebeck.freifunk.net/FreifunkLuebeck/ffhl-dns.git
DEST="/var/local/ffhl-dns"
REPO="{{ dns_repo_url }}"
mkdir -p "$DEST"
git clone "$REPO" "$DIR"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment