ansible-playbook 2.9.27
  config file = /etc/ansible/ansible.cfg
  configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules']
  ansible python module location = /usr/lib/python2.7/site-packages/ansible
  executable location = /usr/bin/ansible-playbook
  python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)]
Using /etc/ansible/ansible.cfg as config file
[WARNING]: running playbook inside collection fedora.linux_system_roles
Skipping callback 'actionable', as we already have a stdout callback.
Skipping callback 'counter_enabled', as we already have a stdout callback.
Skipping callback 'debug', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'dense', as we already have a stdout callback.
Skipping callback 'full_skip', as we already have a stdout callback.
Skipping callback 'json', as we already have a stdout callback.
Skipping callback 'minimal', as we already have a stdout callback.
Skipping callback 'null', as we already have a stdout callback.
Skipping callback 'oneline', as we already have a stdout callback.
Skipping callback 'selective', as we already have a stdout callback.
Skipping callback 'skippy', as we already have a stdout callback.
Skipping callback 'stderr', as we already have a stdout callback.
Skipping callback 'unixy', as we already have a stdout callback.
Skipping callback 'yaml', as we already have a stdout callback.

PLAYBOOK: tests_wrong_provider.yml *********************************************
1 plays in /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_wrong_provider.yml

PLAY [Test issuing certificate with nonexistent provider] **********************

TASK [Gathering Facts] *********************************************************
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_wrong_provider.yml:2
Friday 20 September 2024  20:13:48 -0400 (0:00:00.038)       0:00:00.038 ****** 
ok: [managed_node3]
META: ran handlers

TASK [fedora.linux_system_roles.certificate : Set version specific variables] ***
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2
Friday 20 September 2024  20:13:49 -0400 (0:00:00.872)       0:00:00.911 ****** 
included: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node3

TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] ***
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2
Friday 20 September 2024  20:13:49 -0400 (0:00:00.034)       0:00:00.945 ****** 
skipping: [managed_node3] => {
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Check if system is ostree] *******
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10
Friday 20 September 2024  20:13:49 -0400 (0:00:00.057)       0:00:01.003 ****** 
ok: [managed_node3] => {
    "changed": false, 
    "stat": {
        "exists": false
    }
}

TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] ***
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15
Friday 20 September 2024  20:13:50 -0400 (0:00:00.536)       0:00:01.539 ****** 
ok: [managed_node3] => {
    "ansible_facts": {
        "__certificate_is_ostree": false
    }, 
    "changed": false
}

TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] ***
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19
Friday 20 September 2024  20:13:50 -0400 (0:00:00.068)       0:00:01.608 ****** 
skipping: [managed_node3] => (item=RedHat.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "RedHat.yml", 
    "skip_reason": "Conditional result was False"
}
skipping: [managed_node3] => (item=CentOS.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "CentOS.yml", 
    "skip_reason": "Conditional result was False"
}
ok: [managed_node3] => (item=CentOS_7.yml) => {
    "ansible_facts": {
        "__certificate_default_directory": "/etc/pki/tls", 
        "__certificate_packages": [
            "python-pyasn1", 
            "python-cryptography", 
            "python-dbus"
        ]
    }, 
    "ansible_included_var_files": [
        "/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml"
    ], 
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "CentOS_7.yml"
}
skipping: [managed_node3] => (item=CentOS_7.9.yml)  => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": "CentOS_7.9.yml", 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] ***
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5
Friday 20 September 2024  20:13:50 -0400 (0:00:00.113)       0:00:01.721 ****** 
ok: [managed_node3] => {
    "changed": false, 
    "rc": 0, 
    "results": [
        "python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", 
        "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", 
        "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed"
    ]
}

TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] ***
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23
Friday 20 September 2024  20:13:52 -0400 (0:00:01.582)       0:00:03.303 ****** 
skipping: [managed_node3] => (item=fake-provider)  => {
    "__certificate_provider": "fake-provider", 
    "ansible_loop_var": "__certificate_provider", 
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] ***
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35
Friday 20 September 2024  20:13:52 -0400 (0:00:00.081)       0:00:03.385 ****** 
skipping: [managed_node3] => (item=fake-provider)  => {
    "__certificate_provider": "fake-provider", 
    "ansible_loop_var": "__certificate_provider", 
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] ***
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61
Friday 20 September 2024  20:13:52 -0400 (0:00:00.075)       0:00:03.461 ****** 
skipping: [managed_node3] => (item=fake-provider)  => {
    "__certificate_provider": "fake-provider", 
    "ansible_loop_var": "__certificate_provider", 
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] ***
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90
Friday 20 September 2024  20:13:52 -0400 (0:00:00.075)       0:00:03.536 ****** 
skipping: [managed_node3] => (item=fake-provider)  => {
    "__certificate_provider": "fake-provider", 
    "ansible_loop_var": "__certificate_provider", 
    "changed": false, 
    "skip_reason": "Conditional result was False"
}

TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] *****
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101
Friday 20 September 2024  20:13:52 -0400 (0:00:00.077)       0:00:03.614 ****** 
failed: [managed_node3] (item={u'ca': u'self-sign', u'name': u'mycert_wrong_provider', u'dns': u'www.example.com', u'provider': u'fake-provider'}) => {
    "ansible_loop_var": "item", 
    "changed": false, 
    "item": {
        "ca": "self-sign", 
        "dns": "www.example.com", 
        "name": "mycert_wrong_provider", 
        "provider": "fake-provider"
    }
}

MSG:

Chosen provider 'fake-provider' is not available.

TASK [Assert...] ***************************************************************
task path: /tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_wrong_provider.yml:24
Friday 20 September 2024  20:13:53 -0400 (0:00:00.647)       0:00:04.262 ****** 
ok: [managed_node3] => {
    "changed": false
}

MSG:

All assertions passed
META: ran handlers
META: ran handlers

PLAY RECAP *********************************************************************
managed_node3              : ok=7    changed=0    unreachable=0    failed=0    skipped=5    rescued=1    ignored=0   

Friday 20 September 2024  20:13:53 -0400 (0:00:00.065)       0:00:04.328 ****** 
=============================================================================== 
fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 1.58s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 
Gathering Facts --------------------------------------------------------- 0.87s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_wrong_provider.yml:2 
fedora.linux_system_roles.certificate : Ensure certificate requests ----- 0.65s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 
fedora.linux_system_roles.certificate : Check if system is ostree ------- 0.54s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 
fedora.linux_system_roles.certificate : Set platform/version specific variables --- 0.11s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 
fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 0.08s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 
fedora.linux_system_roles.certificate : Ensure provider service is running --- 0.08s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 
fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists --- 0.08s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 
fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists --- 0.08s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 
fedora.linux_system_roles.certificate : Set flag to indicate system is ostree --- 0.07s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 
Assert... --------------------------------------------------------------- 0.07s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/tests/certificate/tests_wrong_provider.yml:24 
fedora.linux_system_roles.certificate : Ensure ansible_facts used by role --- 0.06s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 
fedora.linux_system_roles.certificate : Set version specific variables --- 0.03s
/tmp/collections-LhV/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2