Skip to content

sorrowless/ansible_tls

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Ansible role to work with TLS certificates

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •