vduseev.easyrsa

easyrsa

Build Status Codacy Badge

This role manages easyrsa 3.x installation on Ubuntu 18.04 bionic servers.

All installation tasks are tagged with the install tag. All uninstalling tags are tagged with never tag.

By default the role installs the latest release of easyrsa 3.x, creates a symlink in a standard PATH location and initializes a PKI if not done so already.

Role Variables

  • easyrsa_release_url is commented out by default. Use it when you want to download from a specific URL rather than the latest tag from official repo.
  • easyrsa: /opt/easyrsa specifies easyrsa installation dir.
  • easyrsa_pki: /etc/pki specifies PKI location.
  • easyrsa_requirements: [openssl] lists additional required packages.
  • easyrsa_tmp_package: /tmp/easyrsa.tgz sets temporary download location for the release package.
  • easyrsa_symlink: /usr/local/bin/easyrsa sets symlink location. Ideally available from $PATH.

Example Playbook

---
- hosts: all
  roles:
    - vduseev.easyrsa

Installation

ansible-playbook -i hosts -b playbook.yml

Uninstall

ansible-playbook -i hosts -b playbook.yml --skip-tags install --tags never
About

Installs latest EasyRSA 3.x version from official repo and initializes PKI. Adds easyrsa to PATH. Uninstalling tag is included.

Install
ansible-galaxy install vduseev.easyrsa
GitHub repository
License
Unknown
Downloads
161
Owner
Software Engineer