diff --git a/roles/mgrote_zfs_sanoid/tasks/main.yml b/roles/mgrote_zfs_sanoid/tasks/main.yml index cd5f0840..4253d629 100644 --- a/roles/mgrote_zfs_sanoid/tasks/main.yml +++ b/roles/mgrote_zfs_sanoid/tasks/main.yml @@ -14,15 +14,14 @@ - sanoid state: present -- name: Overwrite syncoid script from package +- name: Overwrite syncoid script from package # todo become: true - ansible.builtin.get_url: - url: https://raw.githubusercontent.com/jimsalterjrs/sanoid/master/syncoid + ansible.builtin.file: dest: /usr/bin/syncoid mode: '0755' owner: root group: root - force: true + state: absent - name: create sanoid directories become: true