Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix apply on Ansible 2.9 #135

Merged
merged 6 commits into from
Jun 16, 2021
Merged

Conversation

gravesm
Copy link
Member

@gravesm gravesm commented Jun 15, 2021

SUMMARY

For some reason the apply function can't be correctly imported in
Ansible 2.9. This just renames it to get it to import. I've also added
molecule testing on multiple Ansible versions.

ISSUE TYPE
  • Bugfix Pull Request
COMPONENT NAME
ADDITIONAL INFORMATION

gravesm added 2 commits June 15, 2021 10:34
For some reason the apply function can't be correctly imported in
Ansible 2.9. This just renames it to get it to import. I've also added
molecule testing on multiple Ansible versions.
@codecov
Copy link

codecov bot commented Jun 15, 2021

Codecov Report

Merging #135 (de14bec) into main (46494a1) will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##             main     #135   +/-   ##
=======================================
  Coverage   24.02%   24.02%           
=======================================
  Files           1        1           
  Lines         154      154           
  Branches       29       29           
=======================================
  Hits           37       37           
- Misses        111      112    +1     
+ Partials        6        5    -1     
Impacted Files Coverage Δ
...ections/kubernetes/core/plugins/action/k8s_info.py 24.02% <0.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 46494a1...de14bec. Read the comment docs.

.github/workflows/ci.yml Outdated Show resolved Hide resolved
@@ -0,0 +1 @@
k8s_info.py
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't realize runtime.yml does not work on 2.9. @gravesm Thanks for catching this.

@gravesm gravesm merged commit c11a255 into ansible-collections:main Jun 16, 2021
@gravesm gravesm deleted the fix-apply-2.9 branch June 16, 2021 15:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants