Skip to content

Commit

Permalink
Merge pull request debops#16 from htgoebel/master
Browse files Browse the repository at this point in the history
Ensure directory /etc/cron.d exists even if `cron` is not installed yet.
  • Loading branch information
drybjed committed Mar 1, 2015
2 parents 7099752 + a3caa6b commit b012294
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tasks/manage_pki_realms.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@
when: ((item.source is defined and item.destination is defined) and
(item.makefile is undefined or (item.makefile is defined and item.makefile)))

- name: Ensure directory /etc/cron.d exists
# ... even if `cron` is not installed
file:
state: directory
name: /etc/cron.d
mode: 0755

- name: Regenerate Diffie-Hellman parameters periodically
cron:
name: 'Regenerate Diffie-Hellman parameters in all PKI realms'
Expand Down

0 comments on commit b012294

Please sign in to comment.