Closed sbezugliy closed 7 months ago
I think for the versioning/numbering issue you can just use priority=9
for nginx.org repos to be preferred without disabling the amazon own repo.
Thanks for the PR! I'll get to it asap!
Two initial thoughts before I actually do a review:
a) Looks like you ran ansible-lint --write
? I might ask you to revert some of the changes the tool does by default. The changes it does are sometimes not that great for readibility
b) Looks like some tests are failing? I had a quick look and all Molecule distro specs are identical across all scenarios, so I am not entirely sure why it sometimes fails? A simple rerun might be good enough to fix those errors, but if they keep failing we might need to look into it a bit more.
Yes, sure I'll recommit linted code without auto fixes. I'm trying to understand what happens with Molecula tests... But in other parts works well at my deployment: Nginx installed, configs looks well, all checks passed and server started up.
So, I'll adjust this PR soon. Thank you
Ok some of these tests are now failing because a new version of NGINX got released over night and it broke some of the Molecule verification tests. I'll open a PR with a fix for that either later today or tomorrow and then we can try to run these tests again :)
Thanks for the updates!
default
scenario). Also, if you could comment out/remove the platform
parameter (e.g. https://github.com/nginxinc/ansible-role-nginx/pull/597/files#diff-f653be9e6e7813c18a248edeb270c6a8034e1ed3b0ea3e49e6e6a9192f740201R65) for the time being, that'd be great. The pipeline has been running into some emulation related issues.Molecule is new for me, but I know what to do with it. So, trying... Yes, I'll check one more time syntax and fix it next. Looks like it's typo with quotes.
Closing this PR in favor of #706.
CLA Assistant Lite bot: 🎉 Thank you for your contribution. It appears you have not yet signed the F5 Contributor License Agreement (CLA), which is required for your changes to be incorporated into an F5 project. Please kindly read the F5 CLA and comment the following to agree:
I have hereby read the F5 CLA and agree to its terms
You can retrigger this bot by commenting recheck in this Pull Request
Proposed changes
Amazon Linux 2023
is not supported by current Ansible role. Also it has some significant differences withAmazon Linux 1, 2
, so same actions aren't compatible. List of differences and issues:Fedora
based. (Not sure about full support of Fedora repositories)CentOS
,RHEL
and other mainline distributive repositories, have unsolvable dependencies graphs.EPEL
repository.EPEL
is not recommended by creators of distributive.Dnf
is default package manager. No yum installed.Python 3
is used by default.Yum
not supported and require some additional dependencies for Python or installingpython ~= 2.7
. Mismatch of versions betweenAmazon Linux 2023 Repository
and officialNginx repository
for Amazon Linux 2023. Added both Nginx repositories:stable
andmainline
. Mismatch in versioning convention for Nginx: amazon linux repository usesnginx-1:<major_version>.<minor_version>
, when Nginx official repository usesnginx:<major_version>.<minor_version>
. So, as example:nginx-1:1.20.4
is recognized as higher version thennginx:1.23.1
. The same with module packages.Checklist
Before creating a PR, run through this checklist and mark each as complete.
CONTRIBUTING
documentdefaults/main/*.yml
,README.md
andCHANGELOG.md
)