]> arthur.barton.de Git - AnsibleRoles.git/commitdiff
git-backup-script: Make Git URL configurable
authorAlexander Barton <alex@barton.de>
Mon, 12 Oct 2015 09:24:44 +0000 (11:24 +0200)
committerAlexander Barton <alex@barton.de>
Mon, 12 Oct 2015 09:24:44 +0000 (11:24 +0200)
roles/git-backup-script/defaults/main.yml [new file with mode: 0644]
roles/git-backup-script/tasks/main.yml

diff --git a/roles/git-backup-script/defaults/main.yml b/roles/git-backup-script/defaults/main.yml
new file mode 100644 (file)
index 0000000..80122b1
--- /dev/null
@@ -0,0 +1,4 @@
+---
+# defaults file for git-backup-script
+
+git_backup_script_repository: "git://arthur.barton.de/backup-script.git"
index 77f39c4b57eafcadc3deb35a8cc0acee17bfdeef..6ff6ab4086f269b6307083a507148ae0f61c04e1 100644 (file)
@@ -16,7 +16,7 @@
   git: >
     accept_hostkey=True
     dest=/usr/local/src/backup-script
-    repo="git://arthur.barton.de/backup-script.git"
+    repo={{ git_backup_script_repository }}
     update=yes
   notify:
     - install "backup-script"