Skip to content

Latest commit

 

History

History
55 lines (37 loc) · 1.36 KB

README.md

File metadata and controls

55 lines (37 loc) · 1.36 KB

sbog/tls

Build Status Ansible Role Ansible Quality Score Ansible Role GitHub

Role to work with TLS certificates

Requirements

Ansible 2.4+

Role Variables

Role variables can be placed to a dictionary named tls_group for gropu vars and tls_host for host vars. Host vars will override group ones. There is an example for group vars:

tls_group:
  # Types: local
  type: local
  local_src_key: false
  local_src_cert: false
  target_dir: /etc/ssl_certs
  target_key_name: private.pem
  target_cert_name: fullchain.pem


You can see all vars in `default/main.yml` vars file.

## Dependencies

None

## Example Playbook

```yaml
- name: Place needed TLS keypairs to the right places
  hosts: tls
  remote_user: root

  roles:
    - tls

License

Apache 2.0

Author Information

This role was created by Stan Bogatkin.