Comment 12 for bug 1693234

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to openstack-ansible-plugins (stable/ocata)

Reviewed: https://review.openstack.org/495938
Committed: https://git.openstack.org/cgit/openstack/openstack-ansible-plugins/commit/?id=b4a5996c0e163bf39e399045d372e5877339a72b
Submitter: Jenkins
Branch: stable/ocata

commit b4a5996c0e163bf39e399045d372e5877339a72b
Author: Miguel Alex Cantu <email address hidden>
Date: Fri Jun 23 19:32:44 2017 +0000

    Add ignore_none_type to config template

    It is sometimes useful to tell ConfigTemplateParser to write
    out options that are valueless and not suffixed with '=' or ':',
    such as when overriding a my.cnf.

    This commit adds the 'ignore_none_type' attribute to the config_template
    module. If this attribute is set to false, then valueless options will be
    written out to the resultant INI file as-is, without the '=' or ':' suffix.

    Conflicts:
     tests/test-config_template.yml

    Change-Id: I5c88b2019c01b44193a5d0df9299ecce6de52f01
    Partial-Bug: #1693234
    (cherry picked from commit 76d5f02a32465028b47347048dde96533595036b)