Merge pull request #5268 from mivor/fix-typos

Fix typos in intro_configuration.rst & constants.py
pull/5271/head
Michael DeHaan 11 years ago
commit bddaace970

@ -10,7 +10,7 @@ The mechanism for doing this is the "ansible.cfg" file, which is looked for in t
* /etc/ansible/ansible.cfg * /etc/ansible/ansible.cfg
* ~/.ansible.cfg * ~/.ansible.cfg
* ansible.cfg (in the playbook directory) * ansible.cfg (in the current directory)
If multiple file locations matching the above exist, the last location on the above list is used. Settings in files If multiple file locations matching the above exist, the last location on the above list is used. Settings in files
are not merged together. are not merged together.
@ -319,7 +319,7 @@ nocolor
======= =======
By default ansible will try to colorize output to give a better indication of failure and status information. By default ansible will try to colorize output to give a better indication of failure and status information.
If you dislike this behavior you can turn it off by setting 'nocolor' to 0:: If you dislike this behavior you can turn it off by setting 'nocolor' to 1::
nocolor=0 nocolor=0

@ -42,7 +42,7 @@ def get_config(p, section, key, env_var, default, boolean=False, integer=False,
return float(value) return float(value)
return value return value
def _get_config(p, section, key, env_var, default, boolean=True): def _get_config(p, section, key, env_var, default):
''' helper function for get_config ''' ''' helper function for get_config '''
if env_var is not None: if env_var is not None:
value = os.environ.get(env_var, None) value = os.environ.get(env_var, None)

Loading…
Cancel
Save