made libraries just tasks

This commit is contained in:
tolerryan
2024-10-24 00:31:29 -05:00
parent 6821aa5d7d
commit 7fc40b1089
2 changed files with 16 additions and 14 deletions

View File

@@ -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 }}"

View File

@@ -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