Skip to content

Commit

Permalink
Bump ansible-runner to 2.0.2+ (#5205)
Browse files Browse the repository at this point in the history
* Bump ansible-runner to 2.0.2+

After 2.0, ansible-runner has changed its signature, so we also reverse
the command structure.

While updating the docs, I noticed a couple other deps that were out of
sync and aligned the docs to the Pipfile.

Closes #5043

Signed-off-by: austin <austin@redhat.com>

* fixup not a breaking change.

Signed-off-by: austin <austin@redhat.com>
  • Loading branch information
asmacdo committed Sep 20, 2021
1 parent 4ae3033 commit 19750cd
Show file tree
Hide file tree
Showing 5 changed files with 216 additions and 170 deletions.
37 changes: 37 additions & 0 deletions changelog/fragments/01-bump-ansible-runner.yaml
@@ -0,0 +1,37 @@
# entries is a list of entries to include in
# release notes and/or the migration guide
entries:
- description: >
For ansible-based operators, we have bumped `ansible-runner` dependency
to >= 2.0.2.
# kind is one of:
# - addition
# - change
# - deprecation
# - removal
# - bugfix
kind: "change"
# Is this a breaking change?
breaking: false
# NOTE: ONLY USE `pull_request_override` WHEN ADDING THIS
# FILE FOR A PREVIOUSLY MERGED PULL_REQUEST!
#
# The generator auto-detects the PR number from the commit
# message in which this file was originally added.
#
# What is the pull request number (without the "#")?
# pull_request_override: 0
# Migration can be defined to automatically add a section to
# the migration guide. This is required for breaking changes.
migration:
header: (Optional) Update local version of `ansible-runner`
body: >
`ansible-runner` 2.0+ includes a backwards incompatible change in the
command signature, so in order to use `make run` with Ansible-based
operators, users will need to upgrade their local version of
`ansible-runner` to 2.0.2+
4 changes: 2 additions & 2 deletions images/ansible-operator/Pipfile
Expand Up @@ -4,8 +4,8 @@ verify_ssl = true
name = "pypi"

[packages]
ansible-runner = "~=1.4.7"
ansible-runner-http = "==1.0.0"
ansible-runner = "~=2.0.2"
ansible-runner-http = "~=1.0.0"
ipaddress = "==1.0.23"
openshift = "~=0.12.0"
ansible = "~=2.9.15"
Expand Down

0 comments on commit 19750cd

Please sign in to comment.