]> arthur.barton.de Git - AnsibleRoles.git/blob - roles/git-backup-script/tasks/main.yml
77f39c4b57eafcadc3deb35a8cc0acee17bfdeef
[AnsibleRoles.git] / roles / git-backup-script / tasks / main.yml
1 ---
2 # git-backup-script
3
4 - name: install "rsync"
5   tags:
6     - packages
7   apt: >
8     state=installed
9     name=rsync
10
11 - name: clone "backup-script" GIT repository
12   tags:
13     - git
14     - source
15     - backup
16   git: >
17     accept_hostkey=True
18     dest=/usr/local/src/backup-script
19     repo="git://arthur.barton.de/backup-script.git"
20     update=yes
21   notify:
22     - install "backup-script"