19 lines
787 B
YAML
19 lines
787 B
YAML
---
|
|
- name: "UTIL-SETUP: Install and configure bgutils container on workers"
|
|
hosts: workers
|
|
gather_facts: yes
|
|
vars_files:
|
|
- "group_vars/all/vault.yml"
|
|
pre_tasks:
|
|
- name: Set inventory_env fact
|
|
ansible.builtin.set_fact:
|
|
inventory_env: "{{ inventory_file | basename | splitext | first | replace('inventory.', '') }}"
|
|
- name: Load environment-specific variables
|
|
ansible.builtin.include_vars: "{{ item }}"
|
|
with_fileglob:
|
|
- "group_vars/all/generated_vars{{ '.' + inventory_env if inventory_env else '' }}.yml"
|
|
tasks:
|
|
- name: Note that bgutil-provider is now on master
|
|
ansible.builtin.debug:
|
|
msg: "The bgutil-provider service is now deployed on the master node via docker-compose and is no longer deployed on workers."
|