fix: cicd change services
This commit is contained in:
@@ -29,7 +29,17 @@ jobs:
|
||||
|
||||
# TODO: (when) do we need to restart the master service or reinstall/restart the master ioc?
|
||||
|
||||
- name: Initialize Virtual Environment from cli/uv.lock
|
||||
run: |
|
||||
uv venv .venv
|
||||
uv sync --directory cli
|
||||
|
||||
- name: Install Ansible Galaxy Collections
|
||||
run: |
|
||||
uv run ansible-galaxy collection install -r ansible/collections/requirements.yml -p ./ansible/installed-collections
|
||||
|
||||
- name: Run Ansible Orchestrator
|
||||
working-directory: ansible
|
||||
run: |
|
||||
set -x
|
||||
|
||||
@@ -50,7 +60,7 @@ jobs:
|
||||
fi
|
||||
|
||||
# 3. Fire the playbook passing variables down
|
||||
ansible-playbook ansible/playbooks/deploy-and-restart-modified-services.yml \
|
||||
-i ansible/hosts.yml \
|
||||
ansible-playbook playbooks/deploy-and-restart-modified-services.yml \
|
||||
-i hosts.yml \
|
||||
-e "changed_services_raw=$CHANGED_SVC" \
|
||||
-e "agebd_env=$AGEBD_ENV"
|
||||
|
||||
Reference in New Issue
Block a user