Skip to content

fabrizio2210/ansible-easy_rsa

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy_rsa

Build Status

Installs and configures easy-rsa

Requirements

This role requires Ansible 1.9 or higher.

Role Variables

Name Default Description
easy_rsa_ca_expire 3650 Number of days that CA is valid for
easy_rsa_clients [] List of client certificates/keys to generate
easy_rsa_key_city "SanFrancisco" City
easy_rsa_key_country "US" Country
easy_rsa_key_email "[email protected]" Email address
easy_rsa_key_expire 3650 Number of days that key is valid for
easy_rsa_key_name "EasyRSA" Name of server key
easy_rsa_key_org "Fort-Funston" Organization
easy_rsa_key_ou "MyOrganizationalUnit" Organizational Unit
easy_rsa_key_province "CA" Province
easy_rsa_key_size 2048 Diffie-Hellman key size

Dependencies

None

Example Playbook

Install easy-rsa

- hosts: all
  roles:
    - kbrebanov.easy_rsa

Install easy-rsa and generate a client cert/key

- hosts: all
  vars:
    easy_rsa_clients:
      - client1
  roles:
    - kbrebanov.easy_rsa

License

BSD

Author Information

Kevin Brebanov

About

Ansible easy-rsa role

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Jinja 100.0%