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
996bd058
Commit
996bd058
authored
Apr 14, 2015
by
root
Committed by
Toshio Kuratomi
Apr 14, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "Rather than moving connection option setting, fix defaults"
This reverts commit
0345b675
.
parent
53177a9b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
v2/ansible/executor/connection_info.py
+3
-3
v2/ansible/playbook/play.py
+2
-2
No files found.
v2/ansible/executor/connection_info.py
View file @
996bd058
...
...
@@ -64,14 +64,14 @@ class ConnectionInformation:
self
.
no_log
=
False
self
.
check_mode
=
False
if
play
:
self
.
set_play
(
play
)
#TODO: just pull options setup to above?
# set options before play to allow play to override them
if
options
:
self
.
set_options
(
options
)
if
play
:
self
.
set_play
(
play
)
def
__repr__
(
self
):
value
=
"CONNECTION INFO:
\n
"
...
...
v2/ansible/playbook/play.py
View file @
996bd058
...
...
@@ -56,11 +56,11 @@ class Play(Base, Taggable, Become):
_accelerate_port
=
FieldAttribute
(
isa
=
'int'
,
default
=
5099
)
# should be alias of port
# Connection
_connection
=
FieldAttribute
(
isa
=
'string'
)
_connection
=
FieldAttribute
(
isa
=
'string'
,
default
=
'smart'
)
_gather_facts
=
FieldAttribute
(
isa
=
'string'
,
default
=
'smart'
)
_hosts
=
FieldAttribute
(
isa
=
'list'
,
default
=
[],
required
=
True
)
_name
=
FieldAttribute
(
isa
=
'string'
,
default
=
'<no name specified>'
)
_port
=
FieldAttribute
(
isa
=
'int'
)
_port
=
FieldAttribute
(
isa
=
'int'
,
default
=
22
)
_remote_user
=
FieldAttribute
(
isa
=
'string'
)
# Variable Attributes
...
...
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