-
Notifications
You must be signed in to change notification settings - Fork 4
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
Package requirements on host are not verified at start of playbook execution #169
Comments
These are additional set of dependencies(see this line from centos-ci script) for building rpms. And I guess we do many other package installations for setting up our test environment using the script from centos-ci branch. I don't think we check for the presence of those packages while test environment is setup on a fresh machine. So I would say we expect mock and rpm-build in addition to other requirements like vagrant, ansible, qemu-kvm, libvirt etc on the node prior to building rpms from samba-build branch. May be we can update README to reflect requirements in respective branches? |
I think a check for the packages before we proceed is a good idea. I propose we discuss this in the next meeting. |
Updating issue title to reflect the idea in a more generic manner. |
So what do you suggest? Check for each and every package that we usually install on host node(centos-ci test run script and samba build script) during start of playbook execution? |
The aim is to make the ansible playbook as re-usable as possible. For example, we could re-use these playbooks in the container build environment. An install action to install all the dependencies required by the build playbook therefore would be a very good addition to the ansible playbook. |
When attempting to build packages in the samba-build branch on a fresh machine, the build failed because I did not have the
mock and rpm-build
packages installed. Should we check for these packages or install them before proceeding with the build?
The text was updated successfully, but these errors were encountered: