diff options
Diffstat (limited to 'roles/contexts/fretlink/tasks/main.yml')
-rw-r--r-- | roles/contexts/fretlink/tasks/main.yml | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/roles/contexts/fretlink/tasks/main.yml b/roles/contexts/fretlink/tasks/main.yml index b7dd387..972da59 100644 --- a/roles/contexts/fretlink/tasks/main.yml +++ b/roles/contexts/fretlink/tasks/main.yml | |||
@@ -135,3 +135,15 @@ | |||
135 | tag: "{{ item.1 }}" | 135 | tag: "{{ item.1 }}" |
136 | name: "{{ item.0 }}" | 136 | name: "{{ item.0 }}" |
137 | loop: "{{ docker_images }}" | 137 | loop: "{{ docker_images }}" |
138 | - name: add backup_git_dirs | ||
139 | get_url: | ||
140 | url: "https://git.immae.eu/?p=perso/Immae/Projets/Scripts/Public.git;a=blob_plain;f=backup_git_dirs;hb=HEAD" | ||
141 | dest: $HOME/.local/bin/backup_git_dirs | ||
142 | mode: 0755 | ||
143 | checksum: sha256:6b93902373e1f9269adffb1d4a0353dd3382f4ce6cb75bad9f61a3c409b80c95 | ||
144 | - name: backup work directory | ||
145 | cron: | ||
146 | name: backup workdir | ||
147 | minute: 0 | ||
148 | hour: 1 | ||
149 | job: '$HOME/.local/bin/backup_git_dirs $HOME/workdir/*/' | ||