ansible/ansible-modules-core

ini_file documentation falsely states the default for "create"option is yes

DBLaci opened this issue · 3 comments

ISSUE TYPE
  • Documentation Report
COMPONENT NAME

ini_file core module

ANSIBLE VERSION
ansible 2.2.0.0
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides
CONFIGURATION

nothing special

OS / ENVIRONMENT

N/A

SUMMARY

http://docs.ansible.com/ansible/ini_file_module.html
states the default for "create" option is yes. This is false, the default is no, as in the file:
/usr/lib/python2.7/dist-packages/ansible/modules/core/files/ini_file.py

STEPS TO REPRODUCE
EXPECTED RESULTS

The documentation should tell the real default OR the default should be yes. (It is a more reasonable default in my opinion)

ACTUAL RESULTS

@jpmens, @noseka1, ping. This issue is waiting on your response.
click here for bot help

needs_contributor

This repository has been locked. All new issues and pull requests should be filed in https://github.com/ansible/ansible

Please read through the repomerge page in the dev guide.