+ cd /tmp/tmpnzp77mfr/tests; TEST_SUBJECTS=/cache/rhel-6.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_vpn-2-c52278a-rhel-6-57572rog/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpnzp77mfr/_setup.yml /tmp/tmpnzp77mfr/tests/tests_default.yml ansible-playbook 2.9.16 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.8/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.8.6 (default, Sep 25 2020, 00:00:00) [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] Using /etc/ansible/ansible.cfg as config file 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: _setup.yml *********************************************************** 2 plays in /tmp/tmpnzp77mfr/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpnzp77mfr/_setup.yml:5 ok: [/cache/rhel-6.qcow2] => { "groups": { "all": [ "/cache/rhel-6.qcow2" ], "localhost": [ "/cache/rhel-6.qcow2" ], "subjects": [ "/cache/rhel-6.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpnzp77mfr/_setup.yml:7 skipping: [/cache/rhel-6.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /tmp/tmpnzp77mfr/_setup.yml:16 changed: [/cache/rhel-6.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-6.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-6.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2 : ok=2 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpnzp77mfr/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpnzp77mfr/tests/tests_default.yml:3 ok: [/cache/rhel-6.qcow2] META: ran handlers TASK [linux-system-roles.template : Set platform/version specific variables] *** task path: /tmp/tmpnzp77mfr/tasks/main.yml:8 skipping: [/cache/rhel-6.qcow2] => (item=RedHat.yml) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False"} skipping: [/cache/rhel-6.qcow2] => (item=RedHat.yml) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False"} skipping: [/cache/rhel-6.qcow2] => (item=RedHat_6.yml) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat_6.yml", "skip_reason": "Conditional result was False"} skipping: [/cache/rhel-6.qcow2] => (item=RedHat_6.10.yml) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat_6.10.yml", "skip_reason": "Conditional result was False"} TASK [linux-system-roles.template : Ensure required packages are installed] **** task path: /tmp/tmpnzp77mfr/tasks/main.yml:22 ok: [/cache/rhel-6.qcow2] => {"changed": false, "msg": "", "rc": 0, "results": []} TASK [linux-system-roles.template : Ensure required services are enabled and started] *** task path: /tmp/tmpnzp77mfr/tasks/main.yml:27 TASK [linux-system-roles.template : Generate /etc/foo.conf] ******************** task path: /tmp/tmpnzp77mfr/tasks/main.yml:34 NOTIFIED HANDLER linux-system-roles.template : template handler to restart services for /cache/rhel-6.qcow2 changed: [/cache/rhel-6.qcow2] => {"changed": true, "checksum": "37ca01c8752be9e3c6bffd00835366a6d606a2f7", "dest": "/etc/foo.conf", "gid": 0, "group": "root", "md5sum": "1f17e90823e58aad923d09f72c9b0715", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 125, "src": "/root/.ansible/tmp/ansible-tmp-1610389129.9823043-326585-198667713584165/source", "state": "file", "uid": 0} RUNNING HANDLER [linux-system-roles.template : template handler to restart services] *** task path: /tmp/tmpnzp77mfr/handlers/main.yml:6 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2 : ok=5 changed=2 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + cd /tmp/tmpnzp77mfr/tests; TEST_SUBJECTS=/cache/rhel-6.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_vpn-2-c52278a-rhel-6-57572rog/artifacts ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpnzp77mfr/_setup.yml /tmp/tmpnzp77mfr/tests/tests_include_vars_from_parent.yml ansible-playbook 2.9.16 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.8/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.8.6 (default, Sep 25 2020, 00:00:00) [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] Using /etc/ansible/ansible.cfg as config file 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: _setup.yml *********************************************************** 2 plays in /tmp/tmpnzp77mfr/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpnzp77mfr/_setup.yml:5 ok: [/cache/rhel-6.qcow2] => { "groups": { "all": [ "/cache/rhel-6.qcow2" ], "localhost": [ "/cache/rhel-6.qcow2" ], "subjects": [ "/cache/rhel-6.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpnzp77mfr/_setup.yml:7 skipping: [/cache/rhel-6.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /tmp/tmpnzp77mfr/_setup.yml:16 changed: [/cache/rhel-6.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-6.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-6.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2 : ok=2 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmpnzp77mfr/tests/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpnzp77mfr/tests/tests_include_vars_from_parent.yml:1 ok: [/cache/rhel-6.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmpnzp77mfr/tests/tests_include_vars_from_parent.yml:3 changed: [/cache/rhel-6.qcow2] => (item=RedHat-6.10) => {"ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpnzp77mfr/tests/roles/caller/vars/RedHat-6.10.yml", "gid": 0, "group": "root", "item": "RedHat-6.10", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1610389153.9668345-326825-9334249090276/source", "state": "file", "uid": 0} changed: [/cache/rhel-6.qcow2] => (item=RedHat-6) => {"ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpnzp77mfr/tests/roles/caller/vars/RedHat-6.yml", "gid": 0, "group": "root", "item": "RedHat-6", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1610389154.5119808-326825-139146327281032/source", "state": "file", "uid": 0} changed: [/cache/rhel-6.qcow2] => (item=RedHat_6.10) => {"ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpnzp77mfr/tests/roles/caller/vars/RedHat_6.10.yml", "gid": 0, "group": "root", "item": "RedHat_6.10", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1610389154.8380673-326825-146334221938889/source", "state": "file", "uid": 0} changed: [/cache/rhel-6.qcow2] => (item=RedHat_6) => {"ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpnzp77mfr/tests/roles/caller/vars/RedHat_6.yml", "gid": 0, "group": "root", "item": "RedHat_6", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1610389155.1579618-326825-171219192646779/source", "state": "file", "uid": 0} changed: [/cache/rhel-6.qcow2] => (item=RedHat) => {"ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpnzp77mfr/tests/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0644", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1610389155.472206-326825-255014112028910/source", "state": "file", "uid": 0} TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmpnzp77mfr/tests/roles/caller/tasks/main.yml:4 TASK [linux-system-roles.template : Set platform/version specific variables] *** task path: /tmp/tmpnzp77mfr/tasks/main.yml:8 skipping: [/cache/rhel-6.qcow2] => (item=RedHat.yml) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False"} skipping: [/cache/rhel-6.qcow2] => (item=RedHat.yml) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False"} skipping: [/cache/rhel-6.qcow2] => (item=RedHat_6.yml) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat_6.yml", "skip_reason": "Conditional result was False"} skipping: [/cache/rhel-6.qcow2] => (item=RedHat_6.10.yml) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat_6.10.yml", "skip_reason": "Conditional result was False"} TASK [linux-system-roles.template : Ensure required packages are installed] **** task path: /tmp/tmpnzp77mfr/tasks/main.yml:22 ok: [/cache/rhel-6.qcow2] => {"changed": false, "msg": "", "rc": 0, "results": []} TASK [linux-system-roles.template : Ensure required services are enabled and started] *** task path: /tmp/tmpnzp77mfr/tasks/main.yml:27 TASK [linux-system-roles.template : Generate /etc/foo.conf] ******************** task path: /tmp/tmpnzp77mfr/tasks/main.yml:34 NOTIFIED HANDLER linux-system-roles.template : template handler to restart services for /cache/rhel-6.qcow2 changed: [/cache/rhel-6.qcow2] => {"changed": true, "checksum": "37ca01c8752be9e3c6bffd00835366a6d606a2f7", "dest": "/etc/foo.conf", "gid": 0, "group": "root", "md5sum": "1f17e90823e58aad923d09f72c9b0715", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 125, "src": "/root/.ansible/tmp/ansible-tmp-1610389159.3781934-326954-66905367264350/source", "state": "file", "uid": 0} TASK [caller : assert] ********************************************************* task path: /tmp/tmpnzp77mfr/tests/roles/caller/tasks/main.yml:7 ok: [/cache/rhel-6.qcow2] => { "changed": false, "msg": "All assertions passed" } RUNNING HANDLER [linux-system-roles.template : template handler to restart services] *** task path: /tmp/tmpnzp77mfr/handlers/main.yml:6 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2 : ok=7 changed=3 unreachable=0 failed=0 skipped=4 rescued=0 ignored=0 + cd /tmp/tmp0ta8ew8c/tests/vpn; TEST_SUBJECTS=/cache/rhel-6.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_vpn-2-c52278a-rhel-6-57572rog/artifacts ANSIBLE_COLLECTIONS_PATHS=/tmp/tmptd7cp1mw:~/.ansible/collections:/usr/share/ansible/collections ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpnzp77mfr/_setup.yml /tmp/tmp0ta8ew8c/tests/vpn/tests_cleanup.yml ansible-playbook 2.9.16 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.8/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.8.6 (default, Sep 25 2020, 00:00:00) [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] Using /etc/ansible/ansible.cfg as config file 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: _setup.yml *********************************************************** 2 plays in /tmp/tmpnzp77mfr/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpnzp77mfr/_setup.yml:5 ok: [/cache/rhel-6.qcow2] => { "groups": { "all": [ "/cache/rhel-6.qcow2" ], "localhost": [ "/cache/rhel-6.qcow2" ], "subjects": [ "/cache/rhel-6.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpnzp77mfr/_setup.yml:7 skipping: [/cache/rhel-6.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /tmp/tmpnzp77mfr/_setup.yml:16 changed: [/cache/rhel-6.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-6.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-6.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2 : ok=2 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 PLAYBOOK: tests_cleanup.yml **************************************************** 1 plays in /tmp/tmp0ta8ew8c/tests/vpn/tests_cleanup.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp0ta8ew8c/tests/vpn/tests_cleanup.yml:1 ok: [/cache/rhel-6.qcow2] META: ran handlers TASK [Set platform/version specific variables] ********************************* task path: /tmp/tmp0ta8ew8c/tests/vpn/tests_cleanup.yml:3 skipping: [/cache/rhel-6.qcow2] => (item=RedHat.yml) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False"} skipping: [/cache/rhel-6.qcow2] => (item=RedHat.yml) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False"} skipping: [/cache/rhel-6.qcow2] => (item=RedHat_6.yml) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat_6.yml", "skip_reason": "Conditional result was False"} skipping: [/cache/rhel-6.qcow2] => (item=RedHat_6.10.yml) => {"ansible_loop_var": "item", "changed": false, "item": "RedHat_6.10.yml", "skip_reason": "Conditional result was False"} skipping: [/cache/rhel-6.qcow2] => (item=main.yml) => {"ansible_loop_var": "item", "changed": false, "item": "main.yml", "skip_reason": "Conditional result was False"} TASK [get service facts] ******************************************************* task path: /tmp/tmp0ta8ew8c/tests/vpn/tests_cleanup.yml:20 ok: [/cache/rhel-6.qcow2] => {"ansible_facts": {"services": {"acpid": {"name": "acpid", "source": "sysv", "state": "running", "status": "enabled"}, "auditd": {"name": "auditd", "source": "sysv", "state": "running", "status": "enabled"}, "blk-availability": {"name": "blk-availability", "source": "sysv", "state": "running", "status": "enabled"}, "cgconfig": {"name": "cgconfig", "source": "sysv", "state": "stopped", "status": "disabled"}, "cgred": {"name": "cgred", "source": "sysv", "state": "stopped", "status": "disabled"}, "cloud-config": {"name": "cloud-config", "source": "sysv", "state": "stopped", "status": "enabled"}, "cloud-final": {"name": "cloud-final", "source": "sysv", "state": "stopped", "status": "enabled"}, "cloud-init": {"name": "cloud-init", "source": "sysv", "state": "stopped", "status": "enabled"}, "cloud-init-local": {"name": "cloud-init-local", "source": "sysv", "state": "stopped", "status": "enabled"}, "crond": {"name": "crond", "source": "sysv", "state": "stopped", "status": "enabled"}, "ip6tables": {"name": "ip6tables", "source": "sysv", "state": "stopped", "status": "enabled"}, "iptables": {"name": "iptables", "source": "sysv", "state": "stopped", "status": "enabled"}, "kdump": {"name": "kdump", "source": "sysv", "state": "stopped", "status": "disabled"}, "ktune": {"name": "ktune", "source": "sysv", "state": "running", "status": "enabled"}, "mdmonitor": {"name": "mdmonitor", "source": "sysv", "state": "stopped", "status": "enabled"}, "netconsole": {"name": "netconsole", "source": "sysv", "state": "stopped", "status": "disabled"}, "netfs": {"name": "netfs", "source": "sysv", "state": "running", "status": "enabled"}, "network": {"name": "network", "source": "sysv", "state": "running", "status": "enabled"}, "nfs": {"name": "nfs", "source": "sysv", "state": "stopped", "status": "disabled"}, "nfs-rdma": {"name": "nfs-rdma", "source": "sysv", "state": "stopped", "status": "disabled"}, "nfslock": {"name": "nfslock", "source": "sysv", "state": "running", "status": "enabled"}, "ovirt-guest-agent": {"name": "ovirt-guest-agent", "source": "sysv", "state": "stopped", "status": "enabled"}, "qemu-ga": {"name": "qemu-ga", "source": "sysv", "state": "stopped", "status": "enabled"}, "rdisc": {"name": "rdisc", "source": "sysv", "state": "stopped", "status": "disabled"}, "rdma": {"name": "rdma", "source": "sysv", "state": "running", "status": "enabled"}, "restorecond": {"name": "restorecond", "source": "sysv", "state": "stopped", "status": "disabled"}, "rhnsd": {"name": "rhnsd", "source": "sysv", "state": "stopped", "status": "enabled"}, "rhsmcertd": {"name": "rhsmcertd", "source": "sysv", "state": "running", "status": "enabled"}, "rpcbind": {"name": "rpcbind", "source": "sysv", "state": "running", "status": "enabled"}, "rpcgssd": {"name": "rpcgssd", "source": "sysv", "state": "stopped", "status": "enabled"}, "rpcsvcgssd": {"name": "rpcsvcgssd", "source": "sysv", "state": "stopped", "status": "disabled"}, "rsyslog": {"name": "rsyslog", "source": "sysv", "state": "running", "status": "enabled"}, "saslauthd": {"name": "saslauthd", "source": "sysv", "state": "stopped", "status": "disabled"}, "sendmail": {"name": "sendmail", "source": "sysv", "state": "running", "status": "enabled"}, "sshd": {"name": "sshd", "source": "sysv", "state": "running", "status": "enabled"}, "tuned": {"name": "tuned", "source": "sysv", "state": "running", "status": "enabled"}, "udev-post": {"name": "udev-post", "source": "sysv", "state": "running", "status": "enabled"}}}, "changed": false} TASK [stop ipsec service] ****************************************************** task path: /tmp/tmp0ta8ew8c/tests/vpn/tests_cleanup.yml:23 skipping: [/cache/rhel-6.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} TASK [uninstall packages] ****************************************************** task path: /tmp/tmp0ta8ew8c/tests/vpn/tests_cleanup.yml:30 TASK [remove ipsec.conf files] ************************************************* task path: /tmp/tmp0ta8ew8c/tests/vpn/tests_cleanup.yml:52 TASK [remove ipsec.secrets files] ********************************************** task path: /tmp/tmp0ta8ew8c/tests/vpn/tests_cleanup.yml:58 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2 : ok=4 changed=1 unreachable=0 failed=0 skipped=6 rescued=0 ignored=0 + cd /tmp/tmp0ta8ew8c/tests/vpn; TEST_SUBJECTS=/cache/rhel-6.qcow2 TEST_ARTIFACTS=/tmp/linux-system-role-test-work-pull-linux-system-roles_vpn-2-c52278a-rhel-6-57572rog/artifacts ANSIBLE_COLLECTIONS_PATHS=/tmp/tmptd7cp1mw:~/.ansible/collections:/usr/share/ansible/collections ansible-playbook -vv --inventory=/usr/share/ansible/inventory/standard-inventory-qcow2 /tmp/tmpnzp77mfr/_setup.yml /tmp/tmp0ta8ew8c/tests/vpn/tests_default.yml ansible-playbook 2.9.16 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/tester/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.8/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 3.8.6 (default, Sep 25 2020, 00:00:00) [GCC 10.2.1 20200723 (Red Hat 10.2.1-1)] Using /etc/ansible/ansible.cfg as config file 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: _setup.yml *********************************************************** 2 plays in /tmp/tmpnzp77mfr/_setup.yml PLAY [Fail when only localhost is available] *********************************** META: ran handlers TASK [debug] ******************************************************************* task path: /tmp/tmpnzp77mfr/_setup.yml:5 ok: [/cache/rhel-6.qcow2] => { "groups": { "all": [ "/cache/rhel-6.qcow2" ], "localhost": [ "/cache/rhel-6.qcow2" ], "subjects": [ "/cache/rhel-6.qcow2" ], "ungrouped": [] } } TASK [fail] ******************************************************************** task path: /tmp/tmpnzp77mfr/_setup.yml:7 skipping: [/cache/rhel-6.qcow2] => {"changed": false, "skip_reason": "Conditional result was False"} META: ran handlers META: ran handlers PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /tmp/tmpnzp77mfr/_setup.yml:16 changed: [/cache/rhel-6.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-6.qcow2] => (item=None) => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} changed: [/cache/rhel-6.qcow2] => {"censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true} META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-6.qcow2 : ok=2 changed=1 unreachable=0 failed=0 skipped=1 rescued=0 ignored=0 ERROR! the role 'linux-system-roles.template' was not found in /tmp/tmp0ta8ew8c/tests/vpn/roles:/home/tester/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/tmp/tmp0ta8ew8c/tests/vpn The error appears to be in '/tmp/tmp0ta8ew8c/tests/vpn/tests_default.yml': line 7, column 7, but may be elsewhere in the file depending on the exact syntax problem. The offending line appears to be: roles: - linux-system-roles.template ^ here