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

Add Rocky-8 support #186

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add Rocky-8 support #186

wants to merge 1 commit into from

Conversation

a-belhadj
Copy link

On Rocky 8.5 bind_python_version is not a character/string but a integer. The role try to instal python-netaddr instead of python3-netaddr.

Debug here:

TASK [bertvv.bind : Debug ansible_distribution ] *******************************************************************************************************************************************************************************************************************************************************
ok: [my_rocky_system] => {
    "ansible_distribution": "Rocky"
}

TASK [bertvv.bind : Debug ansible_distribution_major_version] *******************************************************************************************************************************************************************************************************************************************************
ok: [my_rocky_system] => {
    "ansible_distribution_major_version": 8
}

TASK [bertvv.bind : Debug bind_python_version] *******************************************************************************************************************************************************************************************************************************************************
ok: [my_rocky_system] => {
    "bind_python_version": 3
}

TASK [bertvv.bind : Debug bind_default_python_version] *******************************************************************************************************************************************************************************************************************************************************
ok: [my_rocky_system] => {
    "bind_default_python_version": 3
}

TASK [bertvv.bind : Debug bind_packages] *******************************************************************************************************************************************************************************************************************************************************
ok: [my_rocky_system] => {
    "bind_packages": [
        "python-netaddr",
        "python-dns",
        "bind",
        "bind-utils"
    ]
}

TASK [bertvv.bind : Install BIND] ************************************************************************************************************************************************************************************************************************************************
failed: [my_rocky_system] (item=python-netaddr) => {"ansible_loop_var": "item", "changed": false, "failures": ["No package python-netaddr available."], "item": "python-netaddr", "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
failed: [my_rocky_system] (item=python-dns) => {"ansible_loop_var": "item", "changed": false, "failures": ["No package python-dns available."], "item": "python-dns", "msg": "Failed to install some of the specified packages", "rc": 1, "results": []}
ok: [my_rocky_system] => (item=bind) => {"ansible_loop_var": "item", "changed": false, "item": "bind", "msg": "Nothing to do", "rc": 0, "results": []}
ok: [my_rocky_system] => (item=bind-utils) => {"ansible_loop_var": "item", "changed": false, "item": "bind-utils", "msg": "Nothing to do", "rc": 0, "results": []}

PLAY RECAP ***********************************************************************************************************************************************************************************************************************************************************************
my_rocky_system : ok=26   changed=0    unreachable=0    failed=1    skipped=4    rescued=0    ignored=0   

@Sispheor
Copy link

Sispheor commented May 6, 2022

I confirm that this fix the install issue.

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