Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unify cron command w/ variable, allowing user specifciation #27

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Commits on Feb 26, 2021

  1. Configuration menu
    Copy the full SHA
    a78ea0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    f49fbaa View commit details
    Browse the repository at this point in the history
  3. Disable dns-01 testing on Ubuntu 16.04/Xenial.

    The latest `dns-lexicon` won't install on that platform.
    eengstrom committed Feb 26, 2021
    Configuration menu
    Copy the full SHA
    9b1609e View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e1c9e85 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    76ab84d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    ef52bf5 View commit details
    Browse the repository at this point in the history

Commits on Mar 1, 2021

  1. Add dehydrated_renew_command variable.

    Defaults to `"{{ dehydrated_install_root }}/dehydrated --cron"`
    
    There were subtle variations on the call to this scattered through the
    code, and this way one may change the command, or embed into a pipe to
    redirect output as needed.  For example:
    
    - Don't give up on first failure:
    
    ```
    dehydrated_renew_command: "{{ dehydrated_install_root }}/dehydrated 
    --cron --keep-going"
    ```
    
    - More complicated example to redirect output to `syslog`:
    
    ```
    dehydrated_renew_command: "bash -c '({{ dehydrated_install_root 
    }}/dehydrated -c -g | logger -t dehydrated -p local7.info) 2>&1 | logger 
    -t dehydrated -p local7.error -s'"
    ```
    
    ... although the latter is somewhat contrived and one would probably be 
    better served by using a `systemd` timer rather than a cron job, which 
    would then do effectively the same thing.
    eengstrom committed Mar 1, 2021
    Configuration menu
    Copy the full SHA
    440b152 View commit details
    Browse the repository at this point in the history