Closed sabrina-yee closed 11 months ago
Good morning, the release tag 1.1.3 states, that PR #275 is incorporated. I just checked this and would say it got even worse.
The usage of ansible_distribution got extended. In prior versions only
ansible_distribution == "RedHat"
was used (and still is in place). Now for ldap and haproxy for example the when formula is ansible_distribution != "RedHat"
Additionally
roles/third_party/containerd-install/tasks/install_containerd.yml
111: - ansible_facts['distribution'] in ['RedHat', 'AlmaLinux', 'Rocky']
roles/third_party/nginx-install/tasks/setup_os.yml
19: - ansible_facts['distribution'] in ['RedHat', 'AlmaLinux', 'Rocky']
was added. So now CentOS or Amazon/Oracle Linux will not run this part. I would recommend to change these distribution terms to
ansible_os_family == "Redhat"
ansible_os_family != "Redhat"
and it's filtered. No need to use different approaches.
Regards, Christoph
Thanks for the feedback @stoeps13. We'll look into it, as I believe the change was intentional to not run that step on CentOS.
Hi Christoph, Thank you for the feedback. This PR was reviewed by the squad, and it was determined that the change would cause internal test deployments to fail. A number of internal VMs have been switched to AlmaLinux but there are still CentOS 7 VMs used internally, and this change would cause failures on those VMs.
Hi, Yes inerpreted like this.
So combine with ansible_os_family == RedHat and ansible_distribution != Centos and it fits again.