Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
ansible
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenEdx
ansible
Commits
bddaace9
Commit
bddaace9
authored
Dec 12, 2013
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #5268 from mivor/fix-typos
Fix typos in intro_configuration.rst & constants.py
parents
5c504210
b93c23d4
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
docsite/rst/intro_configuration.rst
+2
-2
lib/ansible/constants.py
+1
-1
No files found.
docsite/rst/intro_configuration.rst
View file @
bddaace9
...
...
@@ -10,7 +10,7 @@ The mechanism for doing this is the "ansible.cfg" file, which is looked for in t
* /etc/ansible/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
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.
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
...
...
lib/ansible/constants.py
View file @
bddaace9
...
...
@@ -42,7 +42,7 @@ def get_config(p, section, key, env_var, default, boolean=False, integer=False,
return
float
(
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 '''
if
env_var
is
not
None
:
value
=
os
.
environ
.
get
(
env_var
,
None
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment