ansible / ansible-modules-core

Ansible modules - these modules ship with ansible
1.3k stars 1.95k forks source link

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

Closed DBLaci closed 7 years ago

DBLaci commented 7 years ago
ISSUE TYPE
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
ansibot commented 7 years ago

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

jpmens commented 7 years ago

needs_contributor

ansibot commented 7 years ago

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.