There is no indication that ConfigParser omits lines starting with an exclamation point. According to the ConfigParser docs[1], "Lines beginning with '#' or ';' are ignored and may be used to provide comments.". I'm also looking at the ConfigParser.RawConfigParser subclass in config_template[2], and there is no logic written it to ignore lines starting with an exclamation point.
Perhaps this line is being ignored by some other code in the config_template module. Maybe it's happening during the merging process. I'll keep digging.
There is no indication that ConfigParser omits lines starting with an exclamation point. According to the ConfigParser docs[1], "Lines beginning with '#' or ';' are ignored and may be used to provide comments.". I'm also looking at the ConfigParser. RawConfigParser subclass in config_template[2], and there is no logic written it to ignore lines starting with an exclamation point.
Perhaps this line is being ignored by some other code in the config_template module. Maybe it's happening during the merging process. I'll keep digging.
[1] https:/ /docs.python. org/2/library/ configparser. html /github. com/openstack/ openstack- ansible- plugins/ blob/master/ action/ _v2_config_ template. py#L111
[2] https:/