-
Notifications
You must be signed in to change notification settings - Fork 580
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
added the use of handlers #299
Conversation
…rvices during boot instead of having extra tasks. I removed them since they are not necessary.
handlers/main.yml
Outdated
when: (ansible_distribution == "CentOS" and ansible_distribution_major_version == "7") or | ||
(ansible_distribution == "RedHat" and ansible_distribution_major_version == "7") or | ||
(ansible_distribution == "Debian" and ansible_distribution_major_version == "8") or | ||
ansible_os_family == "Ubuntu" and ansible_lsb.major_release|int >= 15.04 |
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.
You can use the ansible_service_mgr == 'systemd'
to check which init system is used, because an administrator can install another init even on a recent system (sysvinit
on Debian Jessie LXC container is common)
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.
dang. I miss that. Alright let me update it
Not sure if this the correct place to ask this, but it appears that before this was merged into ANXS:master, this pull request's final CI build passed. Is there a way to trigger another build after approval but just before merging to make sure the build is still passing? When this pull request was finally merged the CI builds failed. Just seems like it would be good to verify that the pull request still works with the current tip of ANXS:master. Maybe there's something I'm missing. Kind of new to this whole CI process with pull requests. |
what i noticed is that mostly the builds fail because the changes are rhel based and from what i noticed the ci auto builds are debian based. we can open a new issue and discuss it more. |
When you say the CI auto builds are Debian-based, do you just mean that the machines running the Docker containers are Debian-based? The Docker containers themselves appear to be a mix of Debian- and RHEL-based. The particular distro build that's failing is Ubuntu 14.04. I'm still trying to understand whether pull request branches are building against the same Docker images as the master branch. Something changed between the build in your pull request and the build after your pull request was merged, which I would attribute to recent merges into the master branch. If there was a way to rebase the PR onto the live tip of master and run a build, I think that build would have failed as well. Would have been good to know before merging. |
i apologize for that. i'll do eeper investigation next time but, when i merged i did not see it failed and had completedly successfully. |
No worries. I didn't mean to criticize. Just simply trying to understand what happened. When I checked this pull request, I saw that its last build succeeded. |
no problem. i opened an issue to investigate the failures. |
the remaining question is which task should call the handlers.