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
fe696e47
Commit
fe696e47
authored
Mar 16, 2014
by
Michael DeHaan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Merge commit.
parent
7ab54321
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
6 deletions
+2
-6
lib/ansible/color.py
+1
-2
lib/ansible/constants.py
+1
-4
No files found.
lib/ansible/color.py
View file @
fe696e47
...
...
@@ -15,7 +15,6 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
import
os
import
sys
import
constants
...
...
@@ -37,7 +36,7 @@ else:
# curses returns an error (e.g. could not find terminal)
ANSIBLE_COLOR
=
False
if
os
.
getenv
(
"ANSIBLE_FORCE_COLOR"
)
is
not
None
:
if
constants
.
ANSIBLE_FORCE_COLOR
:
ANSIBLE_COLOR
=
True
# --- begin "pretty"
...
...
lib/ansible/constants.py
View file @
fe696e47
...
...
@@ -143,10 +143,7 @@ DEFAULT_VARS_PLUGIN_PATH = get_config(p, DEFAULTS, 'vars_plugins', '
DEFAULT_FILTER_PLUGIN_PATH
=
get_config
(
p
,
DEFAULTS
,
'filter_plugins'
,
'ANSIBLE_FILTER_PLUGINS'
,
'/usr/share/ansible_plugins/filter_plugins'
)
DEFAULT_LOG_PATH
=
shell_expand_path
(
get_config
(
p
,
DEFAULTS
,
'log_path'
,
'ANSIBLE_LOG_PATH'
,
''
))
# URL Arguments for generic module urllib2 use
DEFAULT_HTTP_USER_AGENT
=
get_config
(
p
,
DEFAULTS
,
'http_user_agent'
,
'ANSIBLE_HTTP_USER_AGENT'
,
'ansible-agent'
)
DEFAULT_CA_FILE_PATH
=
shell_expand_path
(
get_config
(
p
,
DEFAULTS
,
'ca_file_path'
,
'ANSIBLE_CA_FILE_PATH'
,
''
))
ANSIBLE_FORCE_COLOR
=
get_config
(
p
,
DEFAULTS
,
'force_color'
,
'ANSIBLE_FORCE_COLOR'
,
None
,
boolean
=
True
)
ANSIBLE_NOCOLOR
=
get_config
(
p
,
DEFAULTS
,
'nocolor'
,
'ANSIBLE_NOCOLOR'
,
None
,
boolean
=
True
)
ANSIBLE_NOCOWS
=
get_config
(
p
,
DEFAULTS
,
'nocows'
,
'ANSIBLE_NOCOWS'
,
None
,
boolean
=
True
)
DISPLAY_SKIPPED_HOSTS
=
get_config
(
p
,
DEFAULTS
,
'display_skipped_hosts'
,
'DISPLAY_SKIPPED_HOSTS'
,
True
,
boolean
=
True
)
...
...
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