mirror of https://github.com/ansible/ansible.git
fix handling of config options that share the same prefix
container_config: - "lxc.network.ipv4.gateway=auto" - "lxc.network.ipv4=192.0.2.1" might try to override lxc.network.ipv4.gateway in the second entry as both start with "lxc.network.ipv4". use a regular expression to find a line that contains (optional) whitespace and an = after the key. Signed-off-by: Evgeni Golov <evgeni@golov.de>reviewable/pr18780/r1
parent
c03e77a63a
commit
8db3a63983
Loading…
Reference in New Issue