+ cd /tmp/tmp54u69nck/tests; TEST_SUBJECTS=/cache/fedora-33.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_kernel_settings-58-ed44dba-fedora-33-jj7_vass/artifacts ANSIBLE_COLLECTIONS_PATHS=/tmp/tmp7dw1bm05:~/.ansible/collections:/usr/share/ansible/collections ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 --skip-tags=tests::cleanup /tmp/tmp54u69nck/_setup.yml /tmp/tmp54u69nck/tests/tests_apply_kernel_report_settings.yml ansible-playbook [core 2.12.0rc1.post0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/runner/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.8/site-packages/ansible ansible collection location = /tmp/tmp7dw1bm05:/home/runner/.ansible/collections:/usr/share/ansible/collections executable location = /usr/local/bin/ansible-playbook python version = 3.8.6 (default, Jan 29 2021, 17:38:16) [GCC 8.4.1 20200928 (Red Hat 8.4.1-1)] jinja version = 2.10.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: _setup.yml *********************************************************** 1 plays in /tmp/tmp54u69nck/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmp54u69nck/_setup.yml:5 ok: [/cache/fedora-33.qcow2] => { "groups": { "all": [ "/cache/fedora-33.qcow2" ], "localhost": [ "/cache/fedora-33.qcow2" ], "subjects": [ "/cache/fedora-33.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmp54u69nck/_setup.yml:6 skipping: [/cache/fedora-33.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/fedora-33.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 redirecting (type: modules) ansible.builtin.sysctl to ansible.posix.sysctl ERROR! couldn't resolve module/action 'sysctl'. This often indicates a misspelling, missing collection, or incorrect module path. The error appears to be in '/tmp/tmp54u69nck/tests/tests_apply_kernel_report_settings.yml': line 40, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: - name: update sysctl values on the template machine ^ here