Comment 2 for bug 1693234

Revision history for this message
Miguel Alejandro Cantu (miguel-cantu) wrote :

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
[2] https://github.com/openstack/openstack-ansible-plugins/blob/master/action/_v2_config_template.py#L111