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
e1f2cb1d
Commit
e1f2cb1d
authored
Dec 30, 2014
by
Jacopo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Removed early check for empty inventory
parent
8760392a
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
2 deletions
+0
-2
bin/ansible-playbook
+0
-2
No files found.
bin/ansible-playbook
View file @
e1f2cb1d
...
@@ -167,8 +167,6 @@ def main(args):
...
@@ -167,8 +167,6 @@ def main(args):
inventory
=
ansible
.
inventory
.
Inventory
(
options
.
inventory
,
vault_password
=
vault_pass
)
inventory
=
ansible
.
inventory
.
Inventory
(
options
.
inventory
,
vault_password
=
vault_pass
)
inventory
.
subset
(
options
.
subset
)
inventory
.
subset
(
options
.
subset
)
if
len
(
inventory
.
list_hosts
())
==
0
:
raise
errors
.
AnsibleError
(
"provided hosts list is empty"
)
# run all playbooks specified on the command line
# run all playbooks specified on the command line
for
playbook
in
args
:
for
playbook
in
args
:
...
...
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