ansible-cron/README.md
GregoryDosh 5f56f9342b
All checks were successful
Version Bump Galaxy.yml / Version Bump Galaxy.yml (push) Successful in 8s
Publish Collection / Publish Collection (push) Successful in 9s
Initial Dosh LLC Config 🌈🐻
2025-11-24 14:42:45 -06:00

36 lines
1.1 KiB
Markdown

<!--
SPDX-License-Identifier: AGPL-3.0-or-later
SPDX-FileCopyrightText: 2025 Dosh LLC
-->
# Ansible Collection `dosh_llc.ansible_cron`
A collection of Ansible roles to manage the various tasks in my homelab.
## Collection Installation
### Ansible Galaxy - `requirements.yml`
Add the following snippet to Ansible Galaxy's [`requirements.yml`](https://docs.ansible.com/ansible/latest/galaxy/user_guide.html#installing-roles-and-collections-from-the-same-requirements-yml-file) file.
```yaml
collections:
- name: ssh://git@git.auengun.net/dosh-llc/ansible-cron.git
type: git
# Note: it's better to pin to a version/commit than main.
version: main
```
Then install using [`ansible-galaxy`](https://docs.ansible.com/ansible/latest/cli/ansible-galaxy.html).
```shell
ansible-galaxy collection install -r requirements.yml
```
## Roles
### [`dosh_llc.ansible_cron.healthcheck_script`](./roles/healthcheck_script)
Quickly wrap a basic shell script with a `crontab` schedule and [Healthchecks.io](https://healthchecks.io) alert.
Read the [README.md](./roles/healthcheck_script/README.md) for usage and configuration details.