Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/penguineer/ansible-role-dehydrated_cron
Install cron calls to dehydrated and only send e-mails in case of changes.
https://github.com/penguineer/ansible-role-dehydrated_cron
ansible-galaxy ansible-role cron dehydrated letsencrypt
Last synced: about 1 month ago
JSON representation
Install cron calls to dehydrated and only send e-mails in case of changes.
- Host: GitHub
- URL: https://github.com/penguineer/ansible-role-dehydrated_cron
- Owner: penguineer
- License: mit
- Created: 2022-06-18T18:27:01.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-15T00:13:04.000Z (about 1 year ago)
- Last Synced: 2024-05-02T02:12:34.931Z (8 months ago)
- Topics: ansible-galaxy, ansible-role, cron, dehydrated, letsencrypt
- Language: Shell
- Homepage: https://galaxy.ansible.com/penguineer/dehydrated_cron
- Size: 27.3 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
# Ansible Role: deyhdrated_cron
[![Molecule](https://github.com/penguineer/ansible-role-dehydrated_cron/actions/workflows/molecule.yml/badge.svg)](https://github.com/penguineer/ansible-role-dehydrated_cron/actions/workflows/molecule.yml)
> Install cron calls to dehydrated and only send e-mails in case of changes.
## Usage
### Configuration
Please note that all variables have default values and usually do not need to be changed.
* `dehydrated_cron_script_dir`: Path to the cron helper scripts
* `dehydrated_config_dir`: Path to the Dehydrated configuration
* `dehydrated_certs_dir`: Path to the Dehydrated certificates
* `dehydrated_binary`: Path to the Dehydrated binary
* `dehydrated_check_span`: Time (in seconds) before expiration for a certificate to be reported as stale.
* `dehydrated_cron_renew`: Crontab pattern for the renew call
* `dehydrated_cron_check`: Crontab pattern for the check callThe configuration variables are compatible with [24367dfa/ansible-role-dehydrated](https://github.com/24367dfa/ansible-role-dehydrated).
### Include
as role:
```yaml
vars:
- dehydrated_…: …roles:
- role: penguineer.dehydrated_cron
```as task:
```yaml
tasks:
- name: Setup cron for dehydrated
include_role:
name: penguineer.dehydrated_cron
vars:
dehydrated_…: …
```### Cleanup
If you had dehydrated running before, make sure to disable any pre-existing crontab entries.
## Maintainers
* Stefan Haun ([@penguineer](https://github.com/penguineer))
## Contributing
PRs are welcome!
If possible, please stick to the following guidelines:
* Keep PRs reasonably small and their scope limited to a feature or module within the code.
* If a large change is planned, it is best to open a feature request issue first, then link subsequent PRs to this issue, so that the PRs move the code towards the intended feature.## License
[MIT](LICENSE.txt) © 2022 Stefan Haun and contributors