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
18adf07f
Commit
18adf07f
authored
Mar 15, 2014
by
Brian Coca
Committed by
Michael DeHaan
Mar 19, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed setting values and updated docs
parent
4dfa40f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
examples/ansible.cfg
+5
-3
lib/ansible/playbook/__init__.py
+1
-1
No files found.
examples/ansible.cfg
View file @
18adf07f
...
...
@@ -24,9 +24,11 @@ transport = smart
remote_port = 22
module_lang = C
# controls implicit fact gathering (always, never or smart).
# smart gathers only if not currently in memory.
# does NOT affect explicit 'gather_facts' entries.
# This setting controls implicit fact gathering, valid values are
# implicit, explicit or smart (default).
# smart gathers only if facts for that host are not currently in memory.
# implicit set the default of gather_facts to True, explicit sets it
# to False. This does NOT affect explicit 'gather_facts' entries.
gathering = smart
# additional paths to search for roles in, colon separated
...
...
lib/ansible/playbook/__init__.py
View file @
18adf07f
...
...
@@ -485,7 +485,7 @@ class PlayBook(object):
host_list
=
[
h
for
h
in
host_list
if
h
not
in
self
.
SETUP_CACHE
or
'module_setup'
not
in
self
.
SETUP_CACHE
[
h
]]
if
len
(
host_list
)
==
0
:
return
{}
elif
play
.
gather_facts
is
False
or
(
play
.
gather_facts
is
None
and
C
.
DEFAULT_GATHERING
==
'
never
'
):
elif
play
.
gather_facts
is
False
or
(
play
.
gather_facts
is
None
and
C
.
DEFAULT_GATHERING
==
'
explicit
'
):
return
{}
self
.
callbacks
.
on_setup
()
...
...
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