Skip to content

Commit

Permalink
neutron_metadata_agent compat with bootc
Browse files Browse the repository at this point in the history
Signed-off-by: Brendan Shephard <bshephar@redhat.com>
  • Loading branch information
bshephar committed Nov 30, 2024
1 parent 2569b6b commit cde9667
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 0 deletions.
9 changes: 9 additions & 0 deletions roles/edpm_neutron_metadata/tasks/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,12 @@
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 }}"

when: not edpm_use_bootc

- name: Run ovn_controller container
ansible.builtin.systemd_service:
name: edpm-compute@ovn_metadata_agent
state: started
become: true
when: edpm_use_bootc
13 changes: 13 additions & 0 deletions roles/edpm_ovn/tasks/run.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,20 @@
name: edpm_container_manage
tasks_from: shutdown.yml

- name: Run ovn_controller container
ansible.builtin.include_role:
name: osp.edpm.edpm_container_standalone
vars:
edpm_container_standalone_service: 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 }}"
when: not edpm_use_bootc

- name: Run ovn_controller container
ansible.builtin.systemd_service:
name: edpm-compute@ovn_controller
state: started
become: true
when: edpm_use_bootc

0 comments on commit cde9667

Please sign in to comment.