Skip to content

Add KUI tasks#273

Open
ccoulombe wants to merge 9 commits into
mainfrom
kui-playbook
Open

Add KUI tasks#273
ccoulombe wants to merge 9 commits into
mainfrom
kui-playbook

Conversation

@ccoulombe

Copy link
Copy Markdown
Contributor

Install Google Cloud SDK
Fetch the KUI script
Update it accordingly
And set a cron job to each month at 1am

This should only be ran on prod.

This can be run manually with:

--tag kui --limit "dbservers"

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an Ansible role to install and configure the GalaxyProject KUI script on DB servers, including installing the Google Cloud SDK and scheduling a monthly run on production hosts only.

Changes:

  • New usegalaxy_ca.kui role to install Google Cloud CLI, fetch/pin kui.sh, and patch its configuration variables.
  • Adds a monthly cron job (1st day of month at 01:00) to run the script and append logs.
  • Wires the role into ansible/all.yml with when: inventory_hostname.startswith('prod-') and opt-in kui tagging.

Reviewed changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 4 comments.

File Description
ansible/roles/usegalaxy_ca.kui/tasks/main.yml Installs Google Cloud CLI, downloads/configures kui.sh, creates log directory, and sets the monthly cron job.
ansible/roles/usegalaxy_ca.kui/defaults/main.yml Provides default BigQuery table names for KUI configuration.
ansible/all.yml Adds the usegalaxy_ca.kui role to the dbservers play, gated to prod hosts and tagged for manual runs.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ansible/roles/usegalaxy_ca.kui/tasks/main.yml
Comment thread ansible/roles/usegalaxy_ca.kui/tasks/main.yml
Comment thread ansible/roles/usegalaxy_ca.kui/tasks/main.yml
Comment thread ansible/roles/usegalaxy_ca.kui/tasks/main.yml
ccoulombe and others added 2 commits June 16, 2026 09:44
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
Signed-off-by: Charles Coulombe <ccoulombe@users.noreply.github.com>
Signed-off-by: Charles Coulombe <ccoulombe@users.noreply.github.com>
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.

2 participants