Closed gadelkareem closed 3 years ago
Wrong easyrsa path
- src: robertdebock.openvpn - src: robertdebock.bootstrap
- name: Deploy hosts: all gather_facts: True become: yes roles: - { role: robertdebock.bootstrap, tags: [ 'openvpn' ] } - { role: robertdebock.openvpn, tags: [ 'openvpn' ] }
TASK [robertdebock.openvpn : easyrsa init-pki] ************************************************************************************************************************************************************************************* fatal: []: FAILED! => {"changed": false, "cmd": "/usr/share/easy-rsa/easyrsa init-pki", "msg": "[Errno 2] No such file or directory: b'/usr/share/easy-rsa/easyrsa': b'/usr/share/easy-rsa/easyrsa'", "rc": 2}
> cat /etc/os-release NAME="Ubuntu" VERSION="16.04.3 LTS (Xenial Xerus)" > ansible --version ansible 2.9.21 > cat /etc/os-release NAME="Ubuntu" VERSION="18.04.5 LTS (Bionic Beaver)"
ln -s /usr/bin/easyrsa /usr/share/easy-rsa/easyrsa
Hi, here too; the differences in distributions and version is too difficult to match in 1 role. Sorry!
Describe the bug
Wrong easyrsa path
Playbook
Output
Environment
fix