trying2dev
trying2dev

Reputation: 51

Install OpenSSL using Ansible playbook

I want to install OpenSSL using an Ansible on an Ansible Playbook on Linux.

Would it be somthing like this -

- name: OPENSSL | Installation
  package:
    name:
      - openssl
    state: present

And would I need pip(Python) as well for this to work ?

Upvotes: 1

Views: 2453

Answers (2)

Stefano Martins
Stefano Martins

Reputation: 482

Most distros already come with OpenSSL installed by default. You just need pip or pip3 if you're gonna use the pip/pip3 Ansible modules, otherwise you're just gonna need Python3 (see a list of Ansible's prerequisites). Some modules may require aditional Python modules or libraries. You can check if you have OpenSSL by just typing openssl version on a terminal.

Upvotes: 1

sebthebert
sebthebert

Reputation: 12507

No, package module only install system package.

This modules uses the underlying OS package manager (apt, yum, ...)

Upvotes: 2

Related Questions