Custom cfssl role

This commit is contained in:
Paul-Henri Froidmont 2018-07-31 13:36:17 +02:00
parent 2aadca1b39
commit 956038220b
10 changed files with 780 additions and 1 deletions

60
roles/cfssl/README.md Normal file
View file

@ -0,0 +1,60 @@
ansible-role-cfssl
==================
Installes CFSSL (CloudFlare's PKI toolkit) binaries. I used it as a lightweight certificate authority (CA) for Kubernetes. This Ansible playbook is used in [Kubernetes the not so hard way with Ansible (at Scaleway) - part 4 - certificate authority](https://www.tauceti.blog/post/kubernetes-the-not-so-hard-way-with-ansible-at-scaleway-part-4/).
Versions
--------
I tag every release and try to stay with [semantic versioning](http://semver.org). If you want to use the role I recommend to checkout the latest tag. The master branch is basically development while the tags mark stable releases. But in general I try to keep master in good shape too.
The tag `v1.0.0_r1.2.0` means that this is the release `v1.0.0` of the Ansible role which uses release `r1.2.0` of CFSSL.
Changelog
---------
**v2.0.2_r1.2.0**
- update documentation of variables / update README
**v2.0.1_r1.2.0**
- variable values should be strings
**v2.0.0_r1.2.0**
- removed `cfssl_conf_directory` variable (not needed as this role only installs the CFSSL binaries)
**v1.0.0_r1.2.0**
- initial release
Role Variables
--------------
```
#Specifies the version of CFSSL toolkit we want to download and use
cfssl_version: "R1.2"
# The directory where CFSSL binaries will be installed
cfssl_bin_directory: "/usr/local/bin"
```
Example Playbook
----------------
```
- hosts: k8s_ca
roles:
- githubixx.cfssl
```
License
-------
GNU GENERAL PUBLIC LICENSE Version 3
Author Information
------------------
http://www.tauceti.blog