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

Add management roles/playbooks #100

Open
ansiblejunky opened this issue Sep 19, 2022 · 1 comment
Open

Add management roles/playbooks #100

ansiblejunky opened this issue Sep 19, 2022 · 1 comment
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@ansiblejunky
Copy link

Managing multiple AAP instances (dev,test,prod) or in different network zones is a challenge. The tasks often performed are:

  • start, stop, and restart of services
  • healthchecks
  • etc

Basic "Day 2" operations on AAP platform.

So, for example, I want to bring AAP down for some maintenance or whatnot, perhaps I run a playbook that ensures all running jobs are stopped, no new jobs are running, and then I shutdown the web layer (controller), the app layer (exec nodes) and then database layer (postgres) in that order to ensure a clean shutdown sequence. A playbook like that would be cool, which uses roles that support managing the different services (postgres, etc)

Or maybe I just want to bounce the postgres database service. Use a playbook/role for that. "aap_manage_postgres.yml" playbook would be called with extra var mode=restart for example.

@djdanielsson
Copy link
Contributor

thanks for the idea, PRs are welcome :) but I do agree that some of those tasks would be useful to have a role to do.

@djdanielsson djdanielsson added enhancement New feature or request good first issue Good for newcomers labels Sep 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants