]> arthur.barton.de Git - AnsibleRoles.git/blobdiff - roles/git-backup-script/tasks/main.yml
Apt module: Update "state=installed" to "state=present"
[AnsibleRoles.git] / roles / git-backup-script / tasks / main.yml
index 77f39c4b57eafcadc3deb35a8cc0acee17bfdeef..031805b24ab40e0731d40d7d340abb4e12ba2fd9 100644 (file)
@@ -1,12 +1,15 @@
 ---
 # git-backup-script
 
-- name: install "rsync"
+- name: install "rsync" and "make"
   tags:
     - packages
   apt: >
-    state=installed
-    name=rsync
+    state=present
+    name={{ item }}
+  with_items:
+    - 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"