No description
Find a file
2018-11-25 22:37:34 +01:00
defaults feat: add renew hook script 2018-07-07 19:26:05 +02:00
files feat: add renew hook script 2018-07-07 19:26:05 +02:00
meta break: change with_items to loop 2018-11-25 22:01:23 +01:00
tasks style: replace include_tasks to import_tasks 2018-11-25 22:37:34 +01:00
templates feat: add renew hook script 2018-07-07 19:26:05 +02:00
test/integration fix: replace inline module to cron for renew cron 2018-11-25 10:16:09 +01:00
.gitignore first version 2018-06-10 19:37:31 +02:00
.kitchen.yml test: use new docker images 2018-11-25 10:14:27 +01:00
.rubocop.yml first version 2018-06-10 19:37:31 +02:00
.travis.yml break: change with_items to loop 2018-11-25 22:01:23 +01:00
CHANGELOG.md break: change with_items to loop 2018-11-25 22:01:23 +01:00
Gemfile first version 2018-06-10 19:37:31 +02:00
Gemfile.lock first version 2018-06-10 19:37:31 +02:00
LICENSE first version 2018-06-10 19:37:31 +02:00
README.md break: change with_items to loop 2018-11-25 22:01:23 +01:00

Ansible role: Certbot

Version Build Status License

Generate certificate SSL with certbot.

Requirements

  • Ansible >= 2.5
  • Debian Stretch

Role variables

  • certbot_mail - mail address used by let's encrypt to notify
  • certbot_key_size - private key size (default: 4096)
  • certbot_path - path where certbot write temporary files(default: /var/www/acme)
  • certbot_domains - array with the domain name and command
  • certbot_role - string must be master or slave, if master generate the certificates

How to use

- hosts: git-server
  roles:
    - certbot

Development

Tests with docker

  • install docker
  • install ruby
  • install bundler gem install bundler
  • install dependencies bundle install
  • run the tests kitchen test

License

Copyright (c) 2018 Adrien Waksberg

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.