File tree Expand file tree Collapse file tree 5 files changed +22
-34
lines changed
edpm_neutron_metadata/tasks Expand file tree Collapse file tree 5 files changed +22
-34
lines changed Original file line number Diff line number Diff line change 2424 file : healthchecks.yml
2525
2626- name : Manage iscsid containers
27- ansible.builtin.include_role :
28- name : edpm_container_standalone
29- vars :
30- edpm_container_standalone_service : iscsid
31- edpm_container_standalone_container_defs :
32- iscsid : " {{ lookup('template', 'iscsid.yaml.j2') | from_yaml }}"
33- edpm_container_standalone_kolla_config_files :
34- iscsid : " {{ lookup('file', 'files/iscsid.yaml') | from_yaml }}"
27+ ansible.builtin.systemd_service :
28+ name : edpm-compute@iscsid
29+ enabled : true
30+ state : started
3531 register : manage_iscsid_stat
32+ become : true
3633
3734- name : Check if the iscsid container restart is required
3835 ansible.builtin.stat :
5249 - not manage_iscsid_stat.changed|bool
5350 - iscsi_restart_stat.stat.exists|bool
5451 ansible.builtin.systemd :
55- name : edpm_iscsid
52+ name : edpm-compute@iscsid
5653 state : restarted
5754
5855- name : Remove iscsid container restart sentinel file
Original file line number Diff line number Diff line change 4141 - ansible_facts.services["multipathd"]["status"] == "enabled"
4242 failed_when : false
4343 loop :
44- - multipathd.service
44+ - edpm-compute@ multipathd.service
4545 - multipathd.socket
4646 loop_control :
4747 index_var : multipath_service_index
Original file line number Diff line number Diff line change 2424 file : healthchecks.yml
2525
2626- name : Manage multipathd containers
27- ansible.builtin.include_role :
28- name : edpm_container_standalone
29- vars :
30- edpm_container_standalone_service : multipathd
31- edpm_container_standalone_container_defs :
32- multipathd : " {{ lookup('template', 'multipathd.yaml.j2') | from_yaml }}"
33- edpm_container_standalone_kolla_config_files :
34- multipathd : " {{ lookup('template', 'kolla_multipathd.yaml.j2') | from_yaml }}"
27+ ansible.builtin.systemd_service :
28+ name : edpm-compute@multipathd
29+ enabled : true
30+ state : started
3531 register : manage_multipathd_stat
3632
3733- name : Check if the multipathd container restart is required
Original file line number Diff line number Diff line change 3737 file : healthchecks.yml
3838
3939- name : Run ovn_metadata_agent container
40- ansible.builtin.include_role :
41- name : osp.edpm.edpm_container_standalone
42- vars :
43- edpm_container_standalone_service : ovn_metadata_agent
44- edpm_container_standalone_container_defs :
45- ovn_metadata_agent : " {{ lookup('template', 'ovn_metadata_agent.yaml.j2') | from_yaml }}"
46- edpm_container_standalone_kolla_config_files :
47- ovn_metadata_agent : " {{ lookup('template', 'kolla_ovn_metadata_agent.yaml.j2') | from_yaml }}"
40+ ansible.builtin.systemd_service :
41+ name : edpm-compute@ovn_metadata_agent
42+ enabled : true
43+ state : started
44+ become : true
Original file line number Diff line number Diff line change 3737 file : healthchecks.yml
3838
3939- name : Run ovn_controller container
40- ansible.builtin.include_role :
41- name : osp.edpm.edpm_container_standalone
42- vars :
43- edpm_container_standalone_service : edpm-compute@ovn_controller
44- edpm_container_standalone_container_defs :
45- ovn_controller : " {{ lookup('template', 'ovn_controller.yaml.j2') | from_yaml }}"
46- edpm_container_standalone_kolla_config_files :
47- ovn_controller : " {{ lookup('template', 'kolla_ovn_controller.yaml.j2') | from_yaml }}"
40+ ansible.builtin.systemd_service :
41+ name : edpm-compute@ovn_controller
42+ enabled : true
43+ state : started
44+ become : true
45+
You can’t perform that action at this time.
0 commit comments