made libraries just tasks
This commit is contained in:
@@ -1,14 +1,15 @@
|
|||||||
---
|
# Do not need as a playbook if included inside another playbook
|
||||||
- name: Setup restic cron jobs
|
#---
|
||||||
hosts: all
|
#- name: Setup restic cron jobs
|
||||||
become: yes
|
# hosts: all
|
||||||
remote_user: ansible
|
# become: yes
|
||||||
gather_facts: false
|
# remote_user: ansible
|
||||||
|
# gather_facts: false
|
||||||
|
|
||||||
# vars_files:
|
# vars_files:
|
||||||
# - cron.vars
|
# - cron.vars
|
||||||
|
|
||||||
tasks:
|
# tasks:
|
||||||
- name: Set up restic cron jobs
|
- name: Set up restic cron jobs
|
||||||
cron:
|
cron:
|
||||||
name: "{{ item.job_name }}"
|
name: "{{ item.job_name }}"
|
||||||
|
|||||||
@@ -1,12 +1,13 @@
|
|||||||
---
|
# Do not need as a playbook if included inside another playbook
|
||||||
- name: Setup restic user and scripts.
|
#---
|
||||||
hosts: all
|
#- name: Setup restic user and scripts.
|
||||||
become: yes
|
# hosts: all
|
||||||
remote_user: ansible
|
# become: yes
|
||||||
gather_facts: false
|
# remote_user: ansible
|
||||||
|
# gather_facts: true
|
||||||
|
|
||||||
|
|
||||||
tasks:
|
# tasks:
|
||||||
- name: Create Restic user
|
- name: Create Restic user
|
||||||
user:
|
user:
|
||||||
name: restic
|
name: restic
|
||||||
|
|||||||
Reference in New Issue
Block a user