-
Notifications
You must be signed in to change notification settings - Fork 18
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
ci: Run Fedora/CentOS CI in GH Actions + unbreak debian buster CI run #135
Conversation
Fixes for the debian buster live here: roles-ansible/check-ansible-debian-buster-action#4 Note, that the buster is getting phased out by Ansible as I am getting the errors new ansible will not be supported on the native python 3.7.x:
|
8df6dcf
to
82a6edc
Compare
The debian action was fixed now. But Fedora for some reason does not work and I was not able to reproduce this in local container. Any hint why it should be failing would be welcomed. |
tests/tests_all_options.yml
Outdated
- name: Reinstall manual pages for openssh-clients on RHEL | ||
ansible.builtin.command: "{{ pkg_mgr }} reinstall -y openssh-clients" | ||
when: | ||
- ansible_facts['os_family'] == "RedHat" and not __ssh_is_ostree | bool |
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.
- ansible_facts['os_family'] == "RedHat" and not __ssh_is_ostree | bool | |
- ansible_facts['os_family'] == "RedHat" | |
- not __ssh_is_ostree | bool |
since you are already using the multi-line when condition format
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.
Thanks! Changed. I am never sure if it is and
or or
when writing the when
condition ...
Don't know - strange. Try adding the environment variable |
Good idea. Looks like the https://docs.ansible.com/ansible/latest/collections/ansible/builtin/getent_module.html |
minor linter issues, otherwise, lgtm |
Signed-off-by: Jakub Jelen <[email protected]>
Signed-off-by: Jakub Jelen <[email protected]>
Signed-off-by: Jakub Jelen <[email protected]>
Signed-off-by: Jakub Jelen <[email protected]>
Signed-off-by: Jakub Jelen <[email protected]>
5141b40
to
053f243
Compare
Thanks for the review! Squashed and cleaned up. |
@Jakuje looks like the same change for Fedora needs to be made to sshd - https://github.com/willshersystems/ansible-sshd/actions/runs/7451303938/job/20272119608?pr=272 |
yeah. Commented there we have it in the outstanding PR willshersystems/ansible-sshd#267. I can pull it into separate PR if needed. |
Enhancement: Run tests on Fedora and CentOS
Reason: The downstream testing is down-sizing and moving upstream
Result: We are able to catch issues earlier in upstream.
Issue Tracker Tickets (Jira or BZ if any): -