X-Git-Url: https://arthur.barton.de/gitweb/?p=AnsibleRoles.git;a=blobdiff_plain;f=roles%2Fgit-backup-script%2Ftasks%2Fmain.yml;h=5375bee9eeb1c262154c66bf0c8dd58ed6287502;hp=7c57afd357166a29539789613ed419c52eacb8c8;hb=67cd2b0e9d706393b4e3496c54cb71ebc61b39fa;hpb=1b7c6acae00d9a31ef90753c5862fbbc484690b0 diff --git a/roles/git-backup-script/tasks/main.yml b/roles/git-backup-script/tasks/main.yml index 7c57afd..5375bee 100644 --- a/roles/git-backup-script/tasks/main.yml +++ b/roles/git-backup-script/tasks/main.yml @@ -4,12 +4,12 @@ - name: install "rsync" and "make" tags: - packages - apt: > - state=installed - name={{ item }} - with_items: - - rsync - - make + apt: + state: present + name: [ + 'rsync', + 'make', + ] - name: clone "backup-script" GIT repository tags: @@ -21,5 +21,6 @@ dest=/usr/local/src/backup-script repo={{ git_backup_script_repository }} update=yes + version=master notify: - install "backup-script"