Fix formatting of LXC container config files
Spacing changes were inadvertently introduced in https://review.opendev.org/742121 which result in duplicate entries in LXC config files. This commit reverts to the original formatting with spaces either side of the '=', although it makes no attempt to fix files which may already include duplicate entries. Change-Id: Ia95bbc959b54f494b5861afcb4e84d4c227e7b31
This commit is contained in:
parent
ba3a69981a
commit
9a397730b4
@ -17,7 +17,7 @@
|
||||
- name: Write default container config
|
||||
lineinfile:
|
||||
dest: "/var/lib/lxc/{{ inventory_hostname }}/config"
|
||||
line: "{{ item }}"
|
||||
line: "{{ item.split('=', 1)[0] }} = {{ item.split('=', 1)[1] }}"
|
||||
backup: "true"
|
||||
with_items: "{{ lxc_container_default_config_list | union(lxc_container_config_list) }}"
|
||||
delegate_to: "{{ physical_host }}"
|
||||
|
Loading…
x
Reference in New Issue
Block a user