penguineer.dehydrated_cron

Ansible Role: dehydrated_cron

Molecule

This role sets up cron jobs for dehydrated and sends emails only when there are changes.

How to Use

Configuration

All variables have default values and usually don't need to be changed:

  • dehydrated_cron_script_dir: Directory for cron helper scripts
  • dehydrated_config_dir: Directory for Dehydrated configuration
  • dehydrated_certs_dir: Directory for Dehydrated certificates
  • dehydrated_binary: Path to the Dehydrated executable
  • dehydrated_check_span: Time (in seconds) before a certificate is considered stale.
  • dehydrated_cron_renew: Crontab pattern for the renewal job
  • dehydrated_cron_check: Crontab pattern for the check job

These configuration variables work with 24367dfa/ansible-role-dehydrated.

Include

You can include it as a role:

vars:
  - dehydrated_…: 

roles:
  - role: penguineer.dehydrated_cron

Or as a task:

tasks:
  - name: Set up cron for dehydrated
    include_role:
      name: penguineer.dehydrated_cron
    vars:
      dehydrated_…: 

Cleanup

If you previously used dehydrated, make sure to disable any old crontab entries.

Maintainers

Contributing

Pull Requests (PRs) are welcome!

Please follow these guidelines:

  • Keep PRs small and focused on one feature or module.
  • For larger changes, open a feature request issue first, then link related PRs to that issue to track progress.

License

MIT © 2022 Stefan Haun and contributors

Informazioni sul progetto

Install cron calls to dehydrated and only send e-mails in case of changes.

Installa
ansible-galaxy install penguineer.dehydrated_cron
Licenza
mit
Download
2.3k
Proprietario
Humans, machines and automation.