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
c27978fa
Commit
c27978fa
authored
Aug 12, 2015
by
Brian Coca
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
minor fixes to pull
parent
9f29e39d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
4 deletions
+3
-4
lib/ansible/cli/pull.py
+3
-4
No files found.
lib/ansible/cli/pull.py
View file @
c27978fa
...
...
@@ -23,12 +23,11 @@ import random
import
shutil
import
socket
import
sys
import
time
from
ansible
import
constants
as
C
from
ansible.errors
import
AnsibleError
,
AnsibleOptionsError
from
ansible.errors
import
AnsibleOptionsError
from
ansible.cli
import
CLI
from
ansible.plugins
import
module_loader
from
ansible.utils.display
import
Display
from
ansible.utils.cmd_functions
import
run_cmd
########################################################
...
...
@@ -219,7 +218,7 @@ class PullCLI(CLI):
fqdn
=
socket
.
getfqdn
()
hostpb
=
os
.
path
.
join
(
path
,
fqdn
+
'.yml'
)
shorthostpb
=
os
.
path
.
join
(
path
,
fqdn
.
split
(
'.'
)[
0
]
+
'.yml'
)
localpb
=
os
.
path
.
join
(
path
,
DEFAULT_PLAYBOOK
)
localpb
=
os
.
path
.
join
(
path
,
self
.
DEFAULT_PLAYBOOK
)
errors
=
[]
for
pb
in
[
hostpb
,
shorthostpb
,
localpb
]:
rc
=
self
.
try_playbook
(
pb
)
...
...
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