Skip to content
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

handle undefined vbox_guest_missing_deps #1

Merged
merged 2 commits into from
Jul 21, 2022
Merged

Conversation

kalaskow
Copy link
Contributor

@kalaskow kalaskow commented Feb 14, 2022

When there is no missing dependencies in "Detect missing VirtualBox Guest Additions dependencies" rule then "Install VirtualBox Guest Additions dependencies" rule cannot proceed as vbox_guest_missing_deps is undefined. Example logs:

virtualbox-iso.almalinux-8: TASK [ezamriy.vbox_guest : Detect missing VirtualBox Guest Additions dependencies] ***
virtualbox-iso.almalinux-8: skipping: [default] => (item=elfutils-libelf-devel)
virtualbox-iso.almalinux-8: skipping: [default] => (item=gcc)
virtualbox-iso.almalinux-8: skipping: [default] => (item=kernel-devel)
virtualbox-iso.almalinux-8: skipping: [default] => (item=kernel-headers)
virtualbox-iso.almalinux-8: skipping: [default] => (item=make)                                                                          
virtualbox-iso.almalinux-8: skipping: [default] => (item=perl)                                                                          
virtualbox-iso.almalinux-8:                                                                                                             
virtualbox-iso.almalinux-8: TASK [ezamriy.vbox_guest : Install VirtualBox Guest Additions dependencies] ****
virtualbox-iso.almalinux-8: fatal: [default]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'vbox_guest_missing_deps' is undefined..."}

When there is no missing dependencies in "Detect missing VirtualBox Guest Additions dependencies" rule then "Install VirtualBox Guest Additions dependencies" rule cannot proceed as vbox_guest_missing_deps is undefined. Example logs:

    virtualbox-iso.almalinux-8: TASK [ezamriy.vbox_guest : Detect missing VirtualBox Guest Additions dependencies] ***
    virtualbox-iso.almalinux-8: skipping: [default] => (item=elfutils-libelf-devel)
    virtualbox-iso.almalinux-8: skipping: [default] => (item=gcc)
    virtualbox-iso.almalinux-8: skipping: [default] => (item=kernel-devel)
    virtualbox-iso.almalinux-8: skipping: [default] => (item=kernel-headers)
    virtualbox-iso.almalinux-8: skipping: [default] => (item=make)                                                                          virtualbox-iso.almalinux-8: skipping: [default] => (item=perl)                                                                          virtualbox-iso.almalinux-8:                                                                                                             virtualbox-iso.almalinux-8: TASK [ezamriy.vbox_guest : Install VirtualBox Guest Additions dependencies] ****                            virtualbox-iso.almalinux-8: fatal: [default]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'vbox_guest_missing_deps' is undefined..."}
it seems that also "Remove VirtualBox Guest Additions dependencies" rule suffers from undefined vbox_guest_missing_deps issue
@ezamriy ezamriy merged commit 9dc6420 into ezamriy:master Jul 21, 2022
@ezamriy
Copy link
Owner

ezamriy commented Jul 21, 2022

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants