Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Nacrul opened this issue Jan 27, 2022 · 2 comments

Comments

@Nacrul
Copy link
Contributor

Nacrul commented Jan 27, 2022

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

@robertdebock
Copy link
Owner

Should be fixed with the latest version, please verify and close the issue when you agree.

Thanks for addressing this issue!

@flotho
Copy link
Contributor

flotho commented Apr 22, 2023

Hi @Nacrul is it fixed by #13 if so , could we close ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants