Open fititnt opened 5 years ago
Ok, Maybe is a better idea to create a separate role, like ap-application-load-balancer-extras
have only these type of extra features.
We will use dedicated extra Role for this at https://github.com/fititnt/ap-application-load-balancer-extras
I will open this issue.
The last commit from private repository https://github.com/fititnt/ap-application-load-balancer-extras was last year, but I guess some features (at least the ones that could be useful for testing) may be useful put as a role, but not on the main Role.
One issue with popular Ansible roles is that most of them did not support half of the AP-ALB platforms. So even if not have full configurations like the other modules, be able to at least install PHP, some tool to check databases, like PHPMyAdmin or the Adminer (that support more than just MariaDB/MySQL)
The most idealistic scenario any Application Load Balancer would only proxy request. Since is fairly easy to proxy local files, we're already do this, to avoid too much custom NGinx scripting for some common cases of ALBs for simpler setups.
This issue is to considering add, as extra feature, also template out PHP-FPM files if one or more serves actually run on the same server that the AP-ALB is running. Since we're already doing this, and to avoid recommend someone use as extra repository just for this, could makes sense to also allow installation of the PHP-FPM and some modules on this.
Maybe this will also require later add same equivalent to run Java or Tomcat. But for now I'm just avoinding add more Ansible roles to another repository that is mostly to handle data warehousing IaCs and creating for each submodule full PHP installation, full Java/Tomcat etc, would need some refactoring later.