vduseev.easyrsa
easyrsa
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_urlis 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/easyrsaspecifies easyrsa installation dir.easyrsa_pki: /etc/pkispecifies PKI location.easyrsa_requirements: [openssl]lists additional required packages.easyrsa_tmp_package: /tmp/easyrsa.tgzsets temporary download location for the release package.easyrsa_symlink: /usr/local/bin/easyrsasets 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.easyrsaLicense
Unknown
Downloads
161
Owner
Software Engineer
