-
Notifications
You must be signed in to change notification settings - Fork 22
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
separate role out #15
Comments
In my view there's no point in separating application deployment from defining cluster resources (roles Anyway, I agree that separating the cluster deployment from specific usage patterns is a good way to go. I already have an ansible lib files to better embrace the pcs command to be able to safely check for constraints and resources. I'll try to put it together. |
As soon as the #8 is merged, I'll start working on this. |
Case in point: I'm writing TF and Ansible to create clusters for Atlassian data center applications for multiple environments: 1 Customize the VMs to our local sysadmin standards. Roles 1, 2, and 3 are all done. This evening before I noticed this issue, I'd made a start on pulling out the tasks for the Postgres and PAF into a separate role to be my 4th role. I'd be happy to do that in conjunction with your work here. Also, since I'm using CentOS 8 Stream, I'm also updating for that here. |
Hi @mdiehn |
Any thoughts yet on organization? |
Not bad idea. I didn't know the role hierarchy is supported in galaxy. One role can be for the PCS cluster install. Other roles can be for generic resource, vip, pg cluster, etc. Maybe the resource role can even handle all resource types. |
A while ago we chatted about separating the role so that it could be more modular for other applications that one might want to cluster a few examples;
apache
mysql
redis
haproxy
my thought was 3 roles
The text was updated successfully, but these errors were encountered: