Skip to content

Enable confs like enable mods #259

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

Open
s-hell opened this issue Nov 18, 2024 · 2 comments
Open

Enable confs like enable mods #259

s-hell opened this issue Nov 18, 2024 · 2 comments
Labels

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

Copy link

This issue has been marked 'stale' due to lack of recent activity. If there is no further activity, the issue will be closed in another 30 days. Thank you for your contribution!

Please read this blog post to see the reasons why I mark issues as stale.

@github-actions github-actions bot added the stale label Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant