21 lines
581 B
YAML
21 lines
581 B
YAML
---
|
|
# Jobs relating to the ansible user.
|
|
|
|
- name: General | Cron | Ansible | Create Subscriber Job
|
|
cron:
|
|
user: ansible
|
|
name: "Ansible Sync"
|
|
minute: "*/15"
|
|
job: "sudo {{ ansible_pull_exec.stdout }} -o -U https://github.com/Hyperling/ansible.git"
|
|
state: present
|
|
disabled: no
|
|
|
|
- name: General | Cron | Ansible | Create Heartbeat Job
|
|
cron:
|
|
user: ansible
|
|
name: "Ansible Sync"
|
|
minute: "*/15"
|
|
job: "echo {{ ansible_date_time.iso8601_basic_short }} > {{ heartbeat_report }}; chmod 777 {{ heartbeat_report }}"
|
|
state: present
|
|
disabled: no
|