Skip to content

Commit

Permalink
Merge pull request #3 from goneri/master
Browse files Browse the repository at this point in the history
assign a default value to lecm_crons
  • Loading branch information
Spredzy authored Nov 2, 2016
2 parents 2e6ddf2 + 532bcf0 commit 3b46755
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 2 additions & 0 deletions defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,5 @@ lecm_globals: {}
# lecm certificates settings
lecm_certificates: {}

# configuration for the cron module
lecm_crons: {}
1 change: 0 additions & 1 deletion tasks/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,5 +43,4 @@
month={{ item.value.month | default('*') }}
job={{ item.value.job | default('lecm --renew') }}
state={{ item.value.state | default('present') }}
when: '{{ lecm_crons is defined }}'
with_dict: '{{ lecm_crons }}'

0 comments on commit 3b46755

Please sign in to comment.