Skip to content

mod_ssl error on Debian 11 (possibly on all other Debian based OSes as well) #12

@m-klenk

Description

@m-klenk

Describe the bug

If ssl is activated in the playbook, the installation of httpd fails.
mod_ssl is installed by default on Debian based systems.
=> commeting out - mod_ssl in vars/main.yml solves it.

_httpd_ssl_packages:
  default:
    - mod_ssl

Playbook

host_vars used for robertdebock.httpd
https_ssl_enable: yes
httpd_ssl_port: 443

httpd_vhosts:

  • name: nextcloud_root
    servername: "{{ ansible_fqdn }}"
    documentroot: "{{ httpd_data_directory }}/nextcloud"
    httpd_directories:
  • name: my_directory
    path: "{{ httpd_data_directory }}nextcloud"
    allow_override: All

Output

TASK [robertdebock.httpd : install ssl packages] **********************************************************************
fatal: [nextcloud.klenk.bayern]: FAILED! => {"changed": false, "msg": "No package matching 'mod_ssl' is available"}

Environment

  • Control node OS: openSUSE Tumbleweed
  • Control node Ansible version: ansible 2.9.27
  • Managed node OS: Debian 11.2

In case you need more input, please let me know. Just checking out all of your nice scripts and if they are feasible to set up the homelab from scratch

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions