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
Adding ansible 3 support #545
Conversation
|
Attached issue: https://pulp.plan.io/issues/8365 |
|
@mikedep333 I changed 2 tests to use ansible 3 instead of 2.9, but these tests were marked as required. Could you please change the repo settings? |
| ansible.posix.firewalld: | ||
| port: '{{ pulp_webserver_http_port }}/tcp' | ||
| permanent: true | ||
| immediate: true | ||
| state: enabled | ||
| zone: '{{ pulp_firewalld_zone | default(omit) }}' | ||
|
|
||
| - name: Accept HTTPS connections on port {{ pulp_webserver_https_port }} | ||
| firewalld: | ||
| ansible.posix.firewalld: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Try out this syntax:
+++ b/roles/pulp_webserver/meta/main.yml
@@ -23,3 +23,5 @@ galaxy_info:
- pulpcore
dependencies:
- pulp_common
+collections:
+ - ansible.posix
It may cause the collection to be installed as a dependency.
I am almost certain it will eliminate the need to specify the FQCN.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it did work! 🎉
| @@ -0,0 +1 @@ | |||
| Adding ansible 3 support | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need to list dropping Ansible 2.8 support under removal. (Although it may technically work, but still.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done!
8a545b0
to
a3d6761
Compare
[noissue]
https://pulp.plan.io/issues/8365
closes #8365