Skip to content

Refactor Ansible playbooks #32

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Closed
TristanDamron opened this issue Sep 2, 2022 · 2 comments
Closed

Refactor Ansible playbooks #32

TristanDamron opened this issue Sep 2, 2022 · 2 comments
Labels
BLOCKED enhancement New feature or request
Milestone

Comments

@TristanDamron
Copy link
Collaborator

TristanDamron commented Sep 2, 2022

Inspired by the Ansible playbooks hosted at the data.gov repo, we should refactor our Ansible playbooks to be a 'playbook of playbooks.' Taking a modular approach to our Ansible build pipe will allow us to scale this project more efficiently. The scope of this issue includes taking the existing Ansible playbook (currently a single file) and logically separating it into several, smaller playbook files. We will also write new playbooks necessary for configuring geoCML services. For example, all of the system level configuration code may go in the /ansible/sysconfig.yml playbook file, where the PostgreSQL configuration code may go in the /ansible/postgres.yml playbook file. Each playbook will be imported to a main playbook which will be run as a build step.

@TristanDamron TristanDamron added the enhancement New feature or request label Sep 2, 2022
@TristanDamron TristanDamron added this to the geoCML 0.1.0 milestone Sep 2, 2022
@TristanDamron
Copy link
Collaborator Author

This issue is currently blocked by #12 and #8

@TristanDamron
Copy link
Collaborator Author

This isn't really necessary now that we're using a microservice architecture... Rather than having a single playbook that imports modular playbooks, our new architecture allows each service to have its own playbook. Gonna close this issue!

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
BLOCKED enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant