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
96759cda
Commit
96759cda
authored
Feb 13, 2015
by
Monty Taylor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add deprecation notices to the old nova inventory
parent
0bb41018
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
plugins/inventory/nova.ini
+3
-0
plugins/inventory/nova.py
+7
-0
No files found.
plugins/inventory/nova.ini
View file @
96759cda
# Ansible OpenStack external inventory script
# DEPRECATED: please use openstack.py inventory which is configured for
# auth using the os-client-config library and either clouds.yaml or standard
# openstack environment variables
[openstack]
...
...
plugins/inventory/nova.py
View file @
96759cda
...
...
@@ -17,6 +17,10 @@
# You should have received a copy of the GNU General Public License
# along with Ansible. If not, see <http://www.gnu.org/licenses/>.
# WARNING: This file is deprecated. New work should focus on the openstack.py
# inventory module, which properly handles multiple clouds as well as keystone
# v3 and keystone auth plugins
import
sys
import
re
import
os
...
...
@@ -28,6 +32,9 @@ try:
except
ImportError
:
import
simplejson
as
json
sys
.
stderr
.
write
(
"WARNING: this inventory module is deprecated. please migrate usage to openstack.py
\n
"
)
###################################################
# executed with no parameters, return the list of
# all groups and hosts
...
...
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