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
f29c1c74
Commit
f29c1c74
authored
Jun 10, 2015
by
Brian Coca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
respect undefined config setting
parent
40336b50
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
lib/ansible/executor/playbook_executor.py
+1
-1
lib/ansible/executor/task_queue_manager.py
+1
-1
No files found.
lib/ansible/executor/playbook_executor.py
View file @
f29c1c74
...
...
@@ -81,7 +81,7 @@ class PlaybookExecutor:
# Create a temporary copy of the play here, so we can run post_validate
# on it without the templating changes affecting the original object.
all_vars
=
self
.
_variable_manager
.
get_vars
(
loader
=
self
.
_loader
,
play
=
play
)
templar
=
Templar
(
loader
=
self
.
_loader
,
variables
=
all_vars
,
fail_on_undefined
=
False
)
templar
=
Templar
(
loader
=
self
.
_loader
,
variables
=
all_vars
)
new_play
=
play
.
copy
()
new_play
.
post_validate
(
templar
)
...
...
lib/ansible/executor/task_queue_manager.py
View file @
f29c1c74
...
...
@@ -224,7 +224,7 @@ class TaskQueueManager:
play
.
vars
[
vname
]
=
self
.
_do_var_prompt
(
vname
,
private
,
prompt
,
encrypt
,
confirm
,
salt_size
,
salt
,
default
)
all_vars
=
self
.
_variable_manager
.
get_vars
(
loader
=
self
.
_loader
,
play
=
play
)
templar
=
Templar
(
loader
=
self
.
_loader
,
variables
=
all_vars
,
fail_on_undefined
=
False
)
templar
=
Templar
(
loader
=
self
.
_loader
,
variables
=
all_vars
)
new_play
=
play
.
copy
()
new_play
.
post_validate
(
templar
)
...
...
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