This repository has been archived by the owner on Sep 16, 2020. It is now read-only.
Releases: ansible/tower-cli
Releases · ansible/tower-cli
Major release in response to Tower 3.2.0
General:
- Officially support using tower_cli as a python library.
- Major documentation updates. From 3.2.0 docs are hosted on http://tower-cli.readthedocs.io.
- Added project_update and inventory_update resources to allow canceling and deleting.
Updates from Tower 3.2:
- Migrated to API V2. All API calls will start with
/api/v2
instead of/api/v1
. - Made inventory_source an external resource and remove the old relationship to its associated group. Remove launching inventory updates from group resource.
- Added credential_type resource and significantly modified credential resource to reveal user-defined credentials feature of Tower 3.2.
- Added job template extra credential (dis)association to reveal extra_credential field of 3.2 job templates.
- Removed all source-specific inventory source fields and replaced them with a
credential
field. - Updated inventory resource fields to reveal smart inventory and insights integration features of Tower 3.2.
- Added
list_fact
andinsights
commands to host resource to reveal smart inventory and insights integration features of Tower 3.2. - Added
instance
andinstance_group
resources to reveal instance/instance group feature of Tower 3.2. - Enabled (dis)associating instance groups to(from) organization, job_template and inventory resources to reveal instance/instance group feature of Tower 3.2.
- Added support for Tower 3.2 SCM inventory sources.
- Updated job_template resource fields to reveal changes in Tower 3.2, including
--diff
mode feature. - Updated job resource launch command to reveal changes in Tower 3.2, including
--diff
mode feature. - Updated ad_hoc resource fields to reveal changes in Tower 3.2, including
--diff
mode feature. Specifically, changed name of--become
oflaunch
command into--become-enabled
.
Deprecated features:
- Removed permission resource.
- Disabled launching a job using the jobs endpoint.
- Removed scan jobs in favor of new job fact cache.
- Removed Rackspace options.
- Remove outdated association function for project’s organization.
Reflected from 3.1.8:
- Include method of installing with alias tower-cli-v2
- Fix bug of incomplete role membership lookup, preventing granting of roles.
- Combine click parameters from multiple base classes in metaclass.
- Fix unicode bug in human display format.
- Add new page_size parameter to list view.
- Add scm_update_cache_timeout field to project resource.
- Begin process to deprecate python 2.6.
Adaptive radiation
This release fixes bugs and begins to specialize to the Tower/AWX v1 API, with the 3.1.x numbers becoming the final release series for v1 API.
- Fix bug of incomplete role membership lookup, preventing granting of roles
- New method of installing tower-cli-v1, specific to API v1 use
- Combine click parameters from multiple base classes in metaclass
- Fix unicode bug in human display format
- Add new page_size parameter to list view
- Add scm_update_cache_timeout field to project resource
- Begin process to deprecate python 2.6
Followup compatibility bug fix
This would be the first release of Tower CLI 3.1.x LTS versions for API v1.
- Follow up 3.1.6 by duplicating
exceptions.py
to supportimport tower_cli.utils.exceptions
syntax.
Usage compatibility fix for Tower modules
- Fix a usage compatibility issue for Ansible Tower modules.
Code base structural refactor, new features and bug fixes
- Major code base file structure refactor. Now all click-related logics are moved to
tower_cli/cli/
directory, andexceptions.py
as well ascompat.py
are moved out of utils directory into base directory. - Categorize help text options for resource action commands (like
update
) to increase readability. - Behavior change of workflow schema command. Now schema will both create new nodes and delete existing nodes when needed to make the resulting workflow topology exactly the same as described in schema file.
- Add command
job_template callback
to enable conducting provisioning callback via Tower CLI. - Add new format option to just echo id.
- Expand some resource fields, including hipchat rooms for notification template and allow_simultaneous for job templates.
- Lookup related inventory sources with "starts with" logic if its name is not fully qualified.
- Fixed a python 3.5 compatibility issue that causes job monitor traceback.
- Minor typo and help text updates.
Enhancements and Bug fixes
- Support resource copy subcommand.
- Support auth-token-based authentication for Tower CLI requests.
- Support managing workflow roles, labels and notifications via Tower CLI.
- Several fixes on RPM spec file.
- Name change from 'foreman' to 'satellite6' in credential kind choices.
- Fixed a bug where creating job templates with --extra-vars did not work after
3.1.0 upgrade. - Fixed traceback when launching job with --use-job-endpoint.
- Enhanced json library usage to prevent traceback when using earlier python 2.6
versions. - Prevent throwing unnecessary warning when reading from global configuration file.
3.1.3 extra_vars silent ignore bug fix
- Fixed a bug where extra_vars were dropped in some commands.
3.1.2 Global Options Bug Fix
- Fixed a bug where global flags are not added to some commands.
3.1.1 Bug fixes
- Fixed a bug which blocks named resources from using runtime configure settings.
- Fixed a bug in 3.1.0 which sometimes causes traceback when pk value is given.
Major Release for Tower3.1
- Improved job monitoring functionality to enable standard out streaming, which displays real-time job output on command line.
- Added workflow, workflow_job and node endpoints to manipulate workflow graph and manage workflow job resources. Reflecting workflows feature of Tower 3.1.
- Added settings command to manage Tower settings via Tower CLI. Reflecting Configure Tower in Tower (CTiT) feature of Tower 3.1.
- Included timeout option to certain unified job template resources. Reflecting job timeout feature of Tower 3.1.
- Added unicode support to extra_vars and variable types.
- Several minor bug fixes to improve user experience.