File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 203203 with_items :
204204 - nova-compute
205205 - nova-compute-ironic
206+
207+ - name : Copying over multipath.conf
208+ become : true
209+ vars :
210+ service : " {{ nova_cell_services['nova-compute'] }}"
211+ ansible.builtin.template :
212+ src : " {{ item }}"
213+ dest : " {{ node_config_directory }}/nova-compute/multipath.conf"
214+ mode : " 0660"
215+ with_first_found :
216+ - files :
217+ - " {{ node_custom_config }}/nova/{{ inventory_hostname }}/multipath.conf"
218+ - " {{ node_custom_config }}/multipath/{{ inventory_hostname }}/multipath.conf"
219+ - " {{ node_custom_config }}/nova/multipath.conf"
220+ - " {{ node_custom_config }}/multipath.conf"
221+ - " multipath.conf.j2"
222+ skip : true
223+ when :
224+ - service | service_enabled_and_mapped_to_host
225+ - enable_multipathd | bool
Original file line number Diff line number Diff line change 1+ defaults {
2+ user_friendly_names no
3+ find_multipaths yes
4+ skip_kpartx yes
5+ }
6+
7+ blacklist {
8+ }
Original file line number Diff line number Diff line change 8585 "dest": "/var/lib/kolla/share/ca-certificates",
8686 "owner": "root",
8787 "perm": "0600"
88+ }{% endif %}{% if enable_multipathd | bool %} ,
89+ {
90+ "source": "{{ container_config_directory }}/multipath.conf",
91+ "dest": "/etc/multipath.conf",
92+ "owner": "root",
93+ "perm": "0644"
8894 }{% endif %}
8995 ],
9096 "permissions": [
You can’t perform that action at this time.
0 commit comments