We are pumped to announce the release of: openstack-ansible-plugins 14.0.0: plugins for OpenStack Ansible This release is part of the newton release series. Download the package from: https://tarballs.openstack.org/openstack-ansible-plugins/ For more details, please see below. 14.0.0 ^^^^^^ New Features ************ * The "py_pkgs" lookup plugin now has strict ordering for requirement files discovered. These files are used to add additional requirements to the python packages discovered. The order is defined by the constant, "REQUIREMENTS_FILE_TYPES" which contains the following entries, 'test-requirements.txt', 'dev-requirements.txt', 'requirements.txt', 'global-requirements.txt', 'global-requirement- pins.txt'. The items in this list are arranged from least to most priority. * The ability to support login user domain and login project domain has been added to the keystone module. # Example usage - keystone: command: ensure_user endpoint: "{{ keystone_admin_endpoint }}" login_user: admin login_password: admin login_project_name: admin login_user_domain_name: custom login_project_domain_name: custom user_name: demo password: demo project_name: demo domain_name: custom * The config_template action plugin now has a new option to toggle list extension for JSON or YAML formats. The new option is "list_extend" and is a boolean. The default is True which maintains the existing API. * An opportunistic Ansible execution strategy has been implemented. This allows the Ansible linear strategy to skip tasks with conditionals faster by never queuing the task when the conditional is evaluated to be false. * The Ansible SSH plugin has been modified to support running commands within containers without having to directly ssh into them. The change will detect presence of a container. If a container is found the physical host will be used as the SSH target and commands will be run directly. This will improve system reliability and speed while also opening up the possibility for SSH to be disabled from within the container itself. Bug Fixes ********* * The ability to support login user domain and login project domain has been added to the keystone module. This resolves https://bugs.launchpad.net/openstack-ansible/+bug/1574000 # Example usage - keystone: command: ensure_user endpoint: "{{ keystone_admin_endpoint }}" login_user: admin login_password: admin login_project_name: admin login_user_domain_name: custom login_project_domain_name: custom user_name: demo password: demo project_name: demo domain_name: custom Changes in openstack-ansible-plugins 13.0.0..14.0.0 --------------------------------------------------- 54270a0 Accept ansible_host in linear strategy ebbea84 Use centralised test scripts c9bcca3 Support more than one flat network a7825ec Update .gitreview for stable/newton 544adfe Update testing bits for consistency f25bf23 Human readable logs should be removed 5e0fd58 Update homepage with developer documentation page 7af6721 Fix regression for proprietary packages 65390c6 Implement distro package lookups and index 80beba8 Add option to toggle list extensions f974f7a Deserialize glance image_properties ffb02cf Fix assumption that the main OSA inventory will be used cb01efe Implement an opportunistic strategy and connection plugin 7e931aa Added SNI support for ansible_plugins via OS packages accc469 Add indexing of individual package keys 7a88090 Account for the move of other-requirements.txt to bindep.txt 29668ca Adding Vagrantfile for local testing d801f78 Ansible 2.1.1 role testing fb67f22 Move other-requirements.txt to bindep.txt 388dfe1 [DOCS] Updating plugin role docs 0464815 Add test playbook for filters 3ec922c Update py_pkgs to set options group membership and itemise global pins 523afbd Fix py_pkgs lookup to not include optional packages bc73b33 Remove dev-requirements.txt c8e25f5 Updated py_pkgs to index requirement files c7b7169 Update dist-sort module for better effectiveness 9913803 Omit the "other-requirements.txt" 7f50658 Update the lookup plugin to force dep ordering 54ce4ce Updated from global requirements aa69b10 Add the Ansible human_log call back plugin c44f2b1 Pin test-requirements to match OpenStack requirements 7d059fd Optionally include image properties 7d534a4 Adding ability to set 'properties' via Glance a72d40e Provide type for boolean module parameters 58d9d83 Bring delete and update functions to keystone module 07d600d Support users without projects in keystone library f975da2 Revert "Support users without projects in keystone library" 2e1492a Support users without projects in keystone library 627b70b Add .swp files to .gitignore e20add1 Add dependencies for paramiko 2.0 dce1b35 Add user and project login domains to keystone 79f3735 Adjust release note for config template 4a70773 Add reno scaffolding for release notes management f946160 Added option to support case-insensitive keys cd47eda Update the config_template plugin 41778e3 Fix NoneType with no subnet allocation ranges 4cd932a Add allocation pool support to neutron module c962fd2 Add logic to NOT build "proprietary" packages 5d610fd Update py_pkgs.py to support ansible v2.1 Diffstat (except docs and test files) ------------------------------------- .gitignore | 16 +- .gitreview | 2 +- README.rst | 77 +--- Vagrantfile | 13 + action/_v1_config_template.py | 26 +- action/_v2_config_template.py | 47 +- bindep.txt | 38 ++ connection/ssh.py | 127 ++++++ dev-requirements.txt | 6 - examples/example.ini | 5 + examples/playbook.yml | 4 + library/config_template | 10 + library/dist_sort | 27 +- library/glance | 15 +- library/keystone | 164 +++++-- library/neutron | 25 +- library/provider_networks | 19 +- lookup/py_pkgs.py | 477 ++++++++++++++------- manual-test.rc | 33 ++ other-requirements.txt | 16 - ...plate-MultiStrOps-support-c28e33fd5044e14d.yaml | 15 +- .../notes/force-dep-order-2c529683509e45da.yaml | 9 + ..._user_and_project_support-e35b0b335b6522e9.yaml | 42 ++ .../notes/list-extend-toggle-46a75ded97b7ce02.yaml | 6 + ...egy-and-connection-plugin-bc476fa3607dcc4a.yaml | 11 + releasenotes/source/_static/.placeholder | 0 releasenotes/source/_templates/.placeholder | 0 releasenotes/source/conf.py | 274 ++++++++++++ releasenotes/source/index.rst | 9 + releasenotes/source/mitaka.rst | 6 + releasenotes/source/unreleased.rst | 5 + setup.cfg | 2 +- setup.py | 11 +- strategy/linear.py | 156 +++++++ test-requirements.txt | 18 +- tox.ini | 139 ++++-- 46 files changed, 1833 insertions(+), 403 deletions(-) Requirements updates -------------------- diff --git a/test-requirements.txt b/test-requirements.txt index ce31268..8fdd8d8 100644 --- a/test-requirements.txt +++ b/test-requirements.txt @@ -1,2 +1,9 @@ -bashate -flake8 +# The order of packages is significant, because pip processes them in the order +# of appearance. Changing the order has an impact on the overall integration +# process, which may cause wedges in the gate later. +bashate>=0.2 # Apache-2.0 +flake8<2.6.0,>=2.5.4 # MIT +pyasn1 # BSD +pyOpenSSL>=0.14 # Apache-2.0 +requests>=2.10.0 # Apache-2.0 +ndg-httpsclient>=0.4.2;python_version<'3.0' # BSD @@ -5,3 +12,4 @@ flake8 -sphinx!=1.2.0,!=1.3b1,<1.3,>=1.1.2 -oslosphinx>=2.5.0 # Apache-2.0 -reno>=0.1.1 # Apache-2.0 +sphinx!=1.3b1,<1.3,>=1.2.1 # BSD +oslosphinx!=3.4.0,>=2.5.0 # Apache-2.0 +doc8 # Apache-2.0 +reno>=1.8.0 # Apache2