Skip to content

Add ALTS deployment roles and playbooks - #40

Merged
anfimovdm merged 2 commits into
masterfrom
al-alts-deploy
Oct 25, 2026
Merged

anfimovdm merged 2 commits into
masterfrom
al-alts-deploy

Conversation

@anfimovdm

@anfimovdm anfimovdm commented Oct 25, 2026 •

Copy link
Copy Markdown
Contributor

Moves the ALTS deployment (RabbitMQ broker, scheduler with Flower, Celery workers) here from the alts repository, so all ALBS deployment code lives in one place.

Changes

  • Roles alts_base, alts_celery, alts_scheduler, alts_flower, alts_rabbitmq_server, alts_terraform, alts_docker_customization, moved as-is apart from the alts_ prefix. Role-specific templates moved into their roles. The config template shared by Celery and the scheduler is playbooks/templates/alts_service_config.yaml.j2.
  • Playbooks playbooks/alts_rabbitmq.yml, alts_scheduler.yml, alts_celery.yml.
  • Inventory inventories/alts (example hosts and group_vars, values are placeholders).
  • geerlingguy.redis added to requirements.yml, galaxy roles gitignored.
  • Ansible Vault encrypted RabbitMQ and Celery TLS certificates and keys in playbooks/files/alts/{celery,rabbitmq}/, copied byte-for-byte from alts deployment/files/.
  • README section with the run order (playbooks need --ask-vault-pass).

Testing

  • ansible-playbook --syntax-check passes for all three playbooks.
  • ansible-inventory -i inventories/alts resolves group_vars and the new cert paths.
  • Not run against hosts.

Should be merged before the matching alts PR, which removes the old deployment/ directory: AlmaLinux/alts#234

Resolves: AlmaLinux/build-system#560

🤖 Generated with Claude Code

Move the ALTS RabbitMQ, scheduler (with Flower) and Celery worker
Ansible roles and playbooks here from the alts repository. Roles get
an alts_ prefix, role-specific templates move into their roles, and
the inventory lives in inventories/alts.

TLS certificates and keys are no longer kept in the repository, the
deployer puts them into the gitignored playbooks/files/alts/.
Copy the Ansible Vault encrypted RabbitMQ and Celery certificates and
keys from the alts repository unchanged, so ALTS can be deployed from
this repository with the vault password.
@anfimovdm
anfimovdm merged commit f05d2b5 into master Oct 25, 2026
2 checks passed
@anfimovdm
anfimovdm deleted the al-alts-deploy branch October 25, 2026 22:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Move ALTS deployment roles and playbooks to albs-deploy

1 participant