]> arthur.barton.de Git - AnsibleRoles.git/blobdiff - roles/git-backup-script/tasks/main.yml
Update "apt" tasks to use lists
[AnsibleRoles.git] / roles / git-backup-script / tasks / main.yml
index 77f39c4b57eafcadc3deb35a8cc0acee17bfdeef..5375bee9eeb1c262154c66bf0c8dd58ed6287502 100644 (file)
@@ -1,12 +1,15 @@
 ---
 # git-backup-script
 
-- name: install "rsync"
+- name: install "rsync" and "make"
   tags:
     - packages
-  apt: >
-    state=installed
-    name=rsync
+  apt:
+    state: present
+    name: [
+      'rsync',
+      'make',
+    ]
 
 - name: clone "backup-script" GIT repository
   tags:
@@ -16,7 +19,8 @@
   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
+    version=master
   notify:
     - install "backup-script"