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

Enable confs like enable mods #259

Open
s-hell opened this issue Nov 18, 2024 · 1 comment
Open

Enable confs like enable mods #259

s-hell opened this issue Nov 18, 2024 · 1 comment

Comments

@s-hell
Copy link

s-hell commented Nov 18, 2024

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.

@s-hell
Copy link
Author

s-hell commented Nov 19, 2024

Hm, that was easy. I've create a pull request. #260

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

1 participant