From b590229e99d3fb4e561b7a05c903553a1b0ac421 Mon Sep 17 00:00:00 2001 From: Brendan Shephard Date: Mon, 9 Dec 2024 15:23:35 +1000 Subject: [PATCH] Change name of services for bootc Signed-off-by: Brendan Shephard --- roles/edpm_neutron_metadata/tasks/run.yml | 13 +++++-------- roles/edpm_ovn/tasks/run.yml | 14 ++++++-------- 2 files changed, 11 insertions(+), 16 deletions(-) diff --git a/roles/edpm_neutron_metadata/tasks/run.yml b/roles/edpm_neutron_metadata/tasks/run.yml index bc46b251d..01c93168e 100644 --- a/roles/edpm_neutron_metadata/tasks/run.yml +++ b/roles/edpm_neutron_metadata/tasks/run.yml @@ -37,11 +37,8 @@ file: healthchecks.yml - name: Run ovn_metadata_agent container - ansible.builtin.include_role: - name: osp.edpm.edpm_container_standalone - vars: - edpm_container_standalone_service: ovn_metadata_agent - edpm_container_standalone_container_defs: - ovn_metadata_agent: "{{ lookup('template', 'ovn_metadata_agent.yaml.j2') | from_yaml }}" - edpm_container_standalone_kolla_config_files: - ovn_metadata_agent: "{{ lookup('template', 'kolla_ovn_metadata_agent.yaml.j2') | from_yaml }}" + ansible.builtin.systemd_service: + name: edpm-compute@ovn_metadata_agent + enabled: true + state: started + become: true diff --git a/roles/edpm_ovn/tasks/run.yml b/roles/edpm_ovn/tasks/run.yml index 0a44bb24f..ee4008a3e 100644 --- a/roles/edpm_ovn/tasks/run.yml +++ b/roles/edpm_ovn/tasks/run.yml @@ -37,11 +37,9 @@ file: healthchecks.yml - name: Run ovn_controller container - ansible.builtin.include_role: - name: osp.edpm.edpm_container_standalone - vars: - edpm_container_standalone_service: edpm-compute@ovn_controller - edpm_container_standalone_container_defs: - ovn_controller: "{{ lookup('template', 'ovn_controller.yaml.j2') | from_yaml }}" - edpm_container_standalone_kolla_config_files: - ovn_controller: "{{ lookup('template', 'kolla_ovn_controller.yaml.j2') | from_yaml }}" + ansible.builtin.systemd_service: + name: edpm-compute@ovn_controller + enabled: true + state: started + become: true +