diff --git a/roles/lib/setup-restic-cron.yml b/roles/lib/setup-restic-cron.yml index c24f6c5..d0a1dd1 100644 --- a/roles/lib/setup-restic-cron.yml +++ b/roles/lib/setup-restic-cron.yml @@ -1,14 +1,15 @@ ---- -- name: Setup restic cron jobs - hosts: all - become: yes - remote_user: ansible - gather_facts: false +# Do not need as a playbook if included inside another playbook +#--- +#- name: Setup restic cron jobs +# hosts: all +# become: yes +# remote_user: ansible +# gather_facts: false # vars_files: # - cron.vars - tasks: +# tasks: - name: Set up restic cron jobs cron: name: "{{ item.job_name }}" diff --git a/roles/lib/setup-restic.yml b/roles/lib/setup-restic.yml index e978303..292ef96 100644 --- a/roles/lib/setup-restic.yml +++ b/roles/lib/setup-restic.yml @@ -1,12 +1,13 @@ ---- -- name: Setup restic user and scripts. - hosts: all - become: yes - remote_user: ansible - gather_facts: false +# Do not need as a playbook if included inside another playbook +#--- +#- name: Setup restic user and scripts. +# hosts: all +# become: yes +# remote_user: ansible +# gather_facts: true - tasks: +# tasks: - name: Create Restic user user: name: restic