Skip to content

Enable confs like enable mods #259

Open
@s-hell

Description

@s-hell

Hi,

i really like your role. But in my opinion there's still one thing missing.
I would like to enable confs aka. a2enconf
There should be a var like apache_mods_enable => apache_confs_enable
This would be a great option to activate php-fpm for example.

For example on Debian you have to do:

NOTICE: Not enabling PHP 8.2 FPM by default.
NOTICE: To enable PHP 8.2 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php8.2-fpm
NOTICE: You are seeing this message because you have apache2 package installed.

Just copied it from dpkg-reconfigure. ;-)

Another good advantage would to easily write your own confs and enable them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions