Francois Deppierraz cdc337d9a1 Fix scripts/inventory-manage.py help invocation
Without this patch, the following exception was raised.

root@os-deploy:~# /opt/openstack-ansible/scripts/inventory-manage.py -h
Traceback (most recent call last):
  File "/opt/openstack-ansible/scripts/inventory-manage.py", line 39, in <module>
    manage.main()
  File "/opt/openstack-ansible/osa_toolkit/manage.py", line 329, in main
    user_args = args()
  File "/opt/openstack-ansible/osa_toolkit/manage.py", line 100, in args
    return vars(parser.parse_args())
  File "/usr/lib/python2.7/argparse.py", line 1701, in parse_args
    args, argv = self.parse_known_args(args, namespace)
  File "/usr/lib/python2.7/argparse.py", line 1733, in parse_known_args
    namespace, args = self._parse_known_args(args, namespace)
  File "/usr/lib/python2.7/argparse.py", line 1939, in _parse_known_args
    start_index = consume_optional(start_index)
  File "/usr/lib/python2.7/argparse.py", line 1879, in consume_optional
    take_action(action, args, option_string)
  File "/usr/lib/python2.7/argparse.py", line 1807, in take_action
    action(self, namespace, argument_values, option_string)
  File "/usr/lib/python2.7/argparse.py", line 996, in __call__
    parser.print_help()
  File "/usr/lib/python2.7/argparse.py", line 2340, in print_help
    self._print_message(self.format_help(), file)
  File "/usr/lib/python2.7/argparse.py", line 2314, in format_help
    return formatter.format_help()
  File "/usr/lib/python2.7/argparse.py", line 281, in format_help
    help = self._root_section.format_help()
  File "/usr/lib/python2.7/argparse.py", line 211, in format_help
    func(*args)
  File "/usr/lib/python2.7/argparse.py", line 211, in format_help
    func(*args)
  File "/usr/lib/python2.7/argparse.py", line 517, in _format_action
    help_text = self._expand_help(action)
  File "/usr/lib/python2.7/argparse.py", line 603, in _expand_help
    return self._get_help_string(action) % params
TypeError: unsupported operand type(s) for %: 'tuple' and 'dict'
root@os-deploy:~#

Change-Id: I9c0d6ce574caabcf4b59b5896aba1b1d21096f79
2019-06-07 11:04:47 +02:00
2019-05-26 21:54:00 +03:00
2019-06-02 14:09:27 +00:00
2019-06-02 16:13:05 +02:00
2019-04-19 19:48:42 +00:00
2017-03-02 11:51:03 +00:00
2019-05-18 09:57:28 +02:00
2018-12-04 10:08:33 +00:00

Team and repository tags

image

OpenStack-Ansible

OpenStack-Ansible is an official OpenStack project which aims to deploy production environments from source in a way that makes it scalable while also being simple to operate, upgrade, and grow.

For an overview of the mission, repositories and related Wiki home page, please see the formal Home Page for the project.

For those looking to test OpenStack-Ansible using an All-In-One (AIO) build, please see the Quick Start guide.

For more detailed Installation and Operator documentation, please see the Deployment Guide.

If OpenStack-Ansible is missing something you'd like to see included, then we encourage you to see the Developer Documentation for more details on how you can get involved.

Developers wishing to work on the OpenStack-Ansible project should always base their work on the latest code, available from the master GIT repository at Source.

If you have some questions, or would like some assistance with achieving your goals, then please feel free to reach out to us on the OpenStack Mailing Lists (particularly openstack-discuss) or on IRC in #openstack-ansible on the freenode network.

OpenStack-Ansible Roles

OpenStack-Ansible offers separate role repositories for each individual role that OpenStack-Ansible supports. For individual role configuration options, see the Role Documentation.

An individual role's source code can be found at: https://opendev.org/openstack/openstack-ansible-<ROLENAME>.

Resources

Description
Ansible playbooks for deploying OpenStack.
Readme 139 MiB
Languages
Python 61.4%
Shell 26.8%
Jinja 11.7%
Smarty 0.1%