Skip to content
Permalink
Browse files

Merge branch 'docs-mention-pyopenssl' of https://github.com/imrejonk/…

…debops into imrejonk-docs-mention-pyopenssl
  • Loading branch information...
drybjed committed Aug 10, 2019
2 parents ccf991d + b08cbf9 commit e9121183399e302574c4489732613b269cbc4277
Showing with 9 additions and 25 deletions.
  1. +9 −1 INSTALL.rst
  2. +0 −7 ansible/playbooks/service/opendkim.yml
  3. +0 −17 ansible/roles/debops.opendkim/defaults/main.yml
@@ -111,13 +111,21 @@ Ansible:

.. __: https://bitbucket.org/ecollins/passlib/wiki/Home

`pyOpenSSL`__
This is a Python wrapper for the OpenSSL library, available in the
``python-openssl`` package. It's a requirement for :ref:`debops.opendkim` and
other roles that generate X.509 certificates or private keys on the Ansible
Controller.

.. __: https://www.pyopenssl.org/

You can install them using your distribution packages on Debian or
Ubuntu by running the command:

.. code-block:: console

sudo apt install python-future python-ldap python-netaddr \
python-dnspython python-passlib
python-dnspython python-passlib python-openssl

The missing Python dependencies will be automatically installed with the
``ansible`` and ``debops`` Python packages, however some of them, like the
@@ -30,12 +30,5 @@
config: '{{ opendkim__postfix__dependent_maincf }}'
when: opendkim__postfix_integration|bool

- role: debops.python
tags: [ 'role::python', 'skip::python' ]
python__dependent_packages3:
- '{{ opendkim__python__dependent_packages3 }}'
python__dependent_packages2:
- '{{ opendkim__python__dependent_packages2 }}'

- role: debops.opendkim
tags: [ 'role::opendkim', 'skip::opendkim' ]
@@ -473,23 +473,6 @@ opendkim__postfix__dependent_maincf:
value:
- name: 'unix:/opendkim/opendkim.sock'
weight: -300

# ]]]
# .. envvar:: opendkim__python__dependent_packages3 [[[
#
# Configuration for the :ref:`debops.python` Ansible role.
opendkim__python__dependent_packages3:

- 'python3-openssl'

# ]]]
# .. envvar:: opendkim__python__dependent_packages2 [[[
#
# Configuration for the :ref:`debops.python` Ansible role.
opendkim__python__dependent_packages2:

- 'python-openssl'

# ]]]
# ]]]
# ]]]

0 comments on commit e912118

Please sign in to comment.
You can’t perform that action at this time.