ansible/ansible — pull request #4428 by robparrott (2013-10-10 13:15:07+00:00)
Title: Properly handle DEFAULT section with ConfigParser in ini_file modules

In ConfigParser, the DEFAULT section is treated as always there by default, and not as a named section. As such, it's a special case.

This patch moves the test for the DEFAULT section out so that sections are added only when the section named is not default. Options within the DEFAULT work as if it's already present, and it will be implicitly added if not.