ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpa7i3jt2d executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 06 July 2022 06:08:56 +0000 (0:00:00.018) 0:00:00.018 ******** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 06:08:57 +0000 (0:00:01.399) 0:00:01.417 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.40s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmp36a1z907/tests/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp36a1z907/tests/tests_include_vars_from_parent.yml:1 Wednesday 06 July 2022 06:08:57 +0000 (0:00:00.011) 0:00:01.429 ******** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmp36a1z907/tests/tests_include_vars_from_parent.yml:4 Wednesday 06 July 2022 06:08:58 +0000 (0:00:00.966) 0:00:02.396 ******** changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp36a1z907/tests/roles/caller/vars/RedHat-7.9.yml", "gid": 0, "group": "root", "item": "RedHat-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657087738.5854082-148789-242557816462038/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp36a1z907/tests/roles/caller/vars/RedHat-7.yml", "gid": 0, "group": "root", "item": "RedHat-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657087739.137211-148789-86333503067936/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp36a1z907/tests/roles/caller/vars/RedHat_7.9.yml", "gid": 0, "group": "root", "item": "RedHat_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657087739.4680517-148789-212526589311027/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp36a1z907/tests/roles/caller/vars/RedHat_7.yml", "gid": 0, "group": "root", "item": "RedHat_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657087739.7964613-148789-61387318284563/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmp36a1z907/tests/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657087740.1228282-148789-269102997678228/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmp36a1z907/tests/roles/caller/tasks/main.yml:4 Wednesday 06 July 2022 06:09:00 +0000 (0:00:01.903) 0:00:04.300 ******** TASK [linux-system-roles.nbde_server : Set version specific variables] ********* task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 06:09:00 +0000 (0:00:00.032) 0:00:04.332 ******** included: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_server : Ensure ansible_facts used by role] ****** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:09:00 +0000 (0:00:00.029) 0:00:04.361 ******** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 Wednesday 06 July 2022 06:09:00 +0000 (0:00:00.387) 0:00:04.748 ******** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/vars/default.yml" ], "changed": false } TASK [linux-system-roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 06:09:00 +0000 (0:00:00.039) 0:00:04.787 ******** included: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_server : Ensure tang is installed] *************** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 06:09:00 +0000 (0:00:00.031) 0:00:04.819 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [linux-system-roles.nbde_server : Ensure keys are rotated] **************** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 06:09:01 +0000 (0:00:00.666) 0:00:05.485 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure we have keys] ******************** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 06:09:01 +0000 (0:00:00.020) 0:00:05.505 ******** ok: [/cache/rhel-7.qcow2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 06:09:02 +0000 (0:00:00.415) 0:00:05.921 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 06:09:02 +0000 (0:00:00.022) 0:00:05.944 ******** ok: [/cache/rhel-7.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2022-07-06 02:07:50 EDT", "ActiveEnterTimestampMonotonic": "17436439", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:07:50 EDT", "AssertTimestampMonotonic": "17435506", "Backlog": "128", "Before": "shutdown.target multi-user.target tangd@0.service sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 02:07:50 EDT", "ConditionTimestampMonotonic": "17435506", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-07-06 02:07:50 EDT", "InactiveExitTimestampMonotonic": "17436439", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } META: role_complete for /cache/rhel-7.qcow2 TASK [caller : assert] ********************************************************* task path: /tmp/tmp36a1z907/tests/roles/caller/tasks/main.yml:7 Wednesday 06 July 2022 06:09:02 +0000 (0:00:00.632) 0:00:06.576 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=11 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Wednesday 06 July 2022 06:09:02 +0000 (0:00:00.072) 0:00:06.649 ******** =============================================================================== create var file in caller that can override the one in called role ------ 1.90s /tmp/tmp36a1z907/tests/tests_include_vars_from_parent.yml:4 ------------------- set up internal repositories -------------------------------------------- 1.40s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.97s /tmp/tmp36a1z907/tests/tests_include_vars_from_parent.yml:1 ------------------- linux-system-roles.nbde_server : Ensure tang is installed --------------- 0.67s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:2 linux-system-roles.nbde_server : Ensure required services are enabled and at the right state --- 0.63s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:29 linux-system-roles.nbde_server : Ensure we have keys -------------------- 0.42s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:16 linux-system-roles.nbde_server : Ensure ansible_facts used by role ------ 0.39s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:2 caller : assert --------------------------------------------------------- 0.07s /tmp/tmp36a1z907/tests/roles/caller/tasks/main.yml:7 -------------------------- linux-system-roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/set_vars.yml:9 include_role : {{ roletoinclude }} -------------------------------------- 0.03s /tmp/tmp36a1z907/tests/roles/caller/tasks/main.yml:4 -------------------------- linux-system-roles.nbde_server : Include the appropriate provider tasks --- 0.03s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:9 -- linux-system-roles.nbde_server : Set version specific variables --------- 0.03s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main.yml:6 -- linux-system-roles.nbde_server : Perform key management (fetch/deploy) tasks --- 0.02s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:25 linux-system-roles.nbde_server : Ensure keys are rotated ---------------- 0.02s /tmp/tmp36a1z907/tests/roles/linux-system-roles.nbde_server/tasks/main-tang.yml:7 ansible-playbook [core 2.12.6] config file = /etc/ansible/ansible.cfg configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python3.9/site-packages/ansible ansible collection location = /tmp/tmpa7i3jt2d executable location = /usr/bin/ansible-playbook python version = 3.9.13 (main, May 18 2022, 00:00:00) [GCC 11.3.1 20220421 (Red Hat 11.3.1-2)] jinja version = 2.11.3 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. 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: rhel-7_setup.yml ***************************************************** 1 plays in /cache/rhel-7_setup.yml PLAY [Setup repos] ************************************************************* META: ran handlers TASK [set up internal repositories] ******************************************** task path: /cache/rhel-7_setup.yml:5 Wednesday 06 July 2022 06:11:20 +0000 (0:00:00.017) 0:00:00.017 ******** ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => (item=None) => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ok: [/cache/rhel-7.qcow2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=1 changed=0 unreachable=0 failed=0 skipped=0 rescued=0 ignored=0 Wednesday 06 July 2022 06:11:21 +0000 (0:00:01.405) 0:00:01.422 ******** =============================================================================== set up internal repositories -------------------------------------------- 1.41s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_include_vars_from_parent.yml *********************************** 1 plays in /tmp/tmpmjxcvolv/tests/nbde_server/tests_include_vars_from_parent.yml PLAY [all] ********************************************************************* TASK [Gathering Facts] ********************************************************* task path: /tmp/tmpmjxcvolv/tests/nbde_server/tests_include_vars_from_parent.yml:1 Wednesday 06 July 2022 06:11:21 +0000 (0:00:00.013) 0:00:01.436 ******** ok: [/cache/rhel-7.qcow2] META: ran handlers TASK [create var file in caller that can override the one in called role] ****** task path: /tmp/tmpmjxcvolv/tests/nbde_server/tests_include_vars_from_parent.yml:4 Wednesday 06 July 2022 06:11:22 +0000 (0:00:00.947) 0:00:02.383 ******** changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat-7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpmjxcvolv/tests/nbde_server/roles/caller/vars/RedHat-7.9.yml", "gid": 0, "group": "root", "item": "RedHat-7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657087882.431854-153849-41885583045549/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat-7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpmjxcvolv/tests/nbde_server/roles/caller/vars/RedHat-7.yml", "gid": 0, "group": "root", "item": "RedHat-7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657087883.0003324-153849-88043469870234/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat_7.9) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpmjxcvolv/tests/nbde_server/roles/caller/vars/RedHat_7.9.yml", "gid": 0, "group": "root", "item": "RedHat_7.9", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657087883.353313-153849-51496500092322/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat_7) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpmjxcvolv/tests/nbde_server/roles/caller/vars/RedHat_7.yml", "gid": 0, "group": "root", "item": "RedHat_7", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657087883.70176-153849-266552689989989/source", "state": "file", "uid": 0 } changed: [/cache/rhel-7.qcow2 -> localhost] => (item=RedHat) => { "ansible_loop_var": "item", "changed": true, "checksum": "870b2314d3f4184a363b31373f07abb444f26444", "dest": "/tmp/tmpmjxcvolv/tests/nbde_server/roles/caller/vars/RedHat.yml", "gid": 0, "group": "root", "item": "RedHat", "md5sum": "5a57da448a1d752b982858b38aab344d", "mode": "0600", "owner": "root", "size": 23, "src": "/root/.ansible/tmp/ansible-tmp-1657087884.0374422-153849-49341855693917/source", "state": "file", "uid": 0 } TASK [include_role : {{ roletoinclude }}] ************************************** task path: /tmp/tmpmjxcvolv/tests/nbde_server/roles/caller/tasks/main.yml:4 Wednesday 06 July 2022 06:11:24 +0000 (0:00:01.980) 0:00:04.364 ******** TASK [fedora.linux_system_roles.nbde_server : Set version specific variables] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 Wednesday 06 July 2022 06:11:24 +0000 (0:00:00.031) 0:00:04.395 ******** included: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 Wednesday 06 July 2022 06:11:24 +0000 (0:00:00.026) 0:00:04.422 ******** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.nbde_server : Set platform/version specific variables] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 Wednesday 06 July 2022 06:11:24 +0000 (0:00:00.396) 0:00:04.818 ******** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__nbde_server_cachedir": "/var/cache/tang", "__nbde_server_group": "tang", "__nbde_server_keydir": "/var/db/tang", "__nbde_server_keygen": "/usr/libexec/tangd-keygen", "__nbde_server_packages": [ "tang" ], "__nbde_server_services": [ "tangd.socket" ], "__nbde_server_update": "/usr/libexec/tangd-update", "__nbde_server_user": "tang" }, "ansible_included_var_files": [ "/tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/vars/default.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 Wednesday 06 July 2022 06:11:24 +0000 (0:00:00.037) 0:00:04.855 ******** included: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_server : Ensure tang is installed] ******** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 Wednesday 06 July 2022 06:11:24 +0000 (0:00:00.033) 0:00:04.889 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "tang-6-2.el7.x86_64 providing tang is already installed" ] } TASK [fedora.linux_system_roles.nbde_server : Ensure keys are rotated] ********* task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 Wednesday 06 July 2022 06:11:25 +0000 (0:00:00.659) 0:00:05.549 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure we have keys] ************* task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 Wednesday 06 July 2022 06:11:25 +0000 (0:00:00.022) 0:00:05.571 ******** ok: [/cache/rhel-7.qcow2] => { "arguments": { "cachedir": "/var/cache/tang", "force": false, "keydir": "/var/db/tang", "keygen": "/usr/libexec/tangd-keygen", "keys_to_deploy_dir": null, "state": "keys-created", "update": "/usr/libexec/tangd-update" }, "changed": false, "state": "keys-created" } TASK [fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25 Wednesday 06 July 2022 06:11:25 +0000 (0:00:00.415) 0:00:05.986 ******** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state] *** task path: /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 Wednesday 06 July 2022 06:11:26 +0000 (0:00:00.021) 0:00:06.008 ******** ok: [/cache/rhel-7.qcow2] => (item=tangd.socket) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "tangd.socket", "name": "tangd.socket", "state": "started", "status": { "Accept": "yes", "ActiveEnterTimestamp": "Wed 2022-07-06 02:09:54 EDT", "ActiveEnterTimestampMonotonic": "17474529", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target -.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Wed 2022-07-06 02:09:54 EDT", "AssertTimestampMonotonic": "17473408", "Backlog": "128", "Before": "tangd@0.service shutdown.target multi-user.target sockets.target", "BindIPv6Only": "default", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "Broadcast": "no", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Wed 2022-07-06 02:09:54 EDT", "ConditionTimestampMonotonic": "17473407", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DeferAcceptUSec": "0", "Delegate": "no", "Description": "Tang Server socket", "DevicePolicy": "auto", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/tangd.socket", "FreeBind": "no", "IOScheduling": "0", "IPTOS": "-1", "IPTTL": "-1", "Id": "tangd.socket", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Wed 2022-07-06 02:09:54 EDT", "InactiveExitTimestampMonotonic": "17474529", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KeepAlive": "no", "KeepAliveIntervalUSec": "0", "KeepAliveProbes": "0", "KeepAliveTimeUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "7150", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "7150", "LimitSTACK": "18446744073709551615", "ListenStream": "[::]:80", "LoadState": "loaded", "Mark": "-1", "MaxConnections": "64", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "NAccepted": "0", "NConnections": "0", "Names": "tangd.socket", "NeedDaemonReload": "no", "Nice": "0", "NoDelay": "no", "NoNewPrivileges": "no", "NonBlocking": "no", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PassCredentials": "no", "PassSecurity": "no", "PipeSize": "0", "Priority": "-1", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "ReceiveBuffer": "0", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemoveOnStop": "no", "Requires": "sysinit.target -.slice", "Result": "success", "ReusePort": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendBuffer": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "SocketMode": "0666", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StopWhenUnneeded": "no", "SubState": "listening", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Transparent": "no", "Triggers": "tangd@0.service", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target" } } META: role_complete for /cache/rhel-7.qcow2 TASK [caller : assert] ********************************************************* task path: /tmp/tmpmjxcvolv/tests/nbde_server/roles/caller/tasks/main.yml:7 Wednesday 06 July 2022 06:11:26 +0000 (0:00:00.646) 0:00:06.655 ******** ok: [/cache/rhel-7.qcow2] => { "changed": false } MSG: All assertions passed META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=11 changed=1 unreachable=0 failed=0 skipped=2 rescued=0 ignored=0 Wednesday 06 July 2022 06:11:26 +0000 (0:00:00.051) 0:00:06.706 ******** =============================================================================== create var file in caller that can override the one in called role ------ 1.98s /tmp/tmpmjxcvolv/tests/nbde_server/tests_include_vars_from_parent.yml:4 ------- set up internal repositories -------------------------------------------- 1.41s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- Gathering Facts --------------------------------------------------------- 0.95s /tmp/tmpmjxcvolv/tests/nbde_server/tests_include_vars_from_parent.yml:1 ------- fedora.linux_system_roles.nbde_server : Ensure tang is installed -------- 0.66s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:2 fedora.linux_system_roles.nbde_server : Ensure required services are enabled and at the right state --- 0.65s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:29 fedora.linux_system_roles.nbde_server : Ensure we have keys ------------- 0.42s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:16 fedora.linux_system_roles.nbde_server : Ensure ansible_facts used by role --- 0.40s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:2 caller : assert --------------------------------------------------------- 0.05s /tmp/tmpmjxcvolv/tests/nbde_server/roles/caller/tasks/main.yml:7 -------------- fedora.linux_system_roles.nbde_server : Set platform/version specific variables --- 0.04s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/set_vars.yml:7 fedora.linux_system_roles.nbde_server : Include the appropriate provider tasks --- 0.03s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:9 include_role : {{ roletoinclude }} -------------------------------------- 0.03s /tmp/tmpmjxcvolv/tests/nbde_server/roles/caller/tasks/main.yml:4 -------------- fedora.linux_system_roles.nbde_server : Set version specific variables --- 0.03s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main.yml:6 fedora.linux_system_roles.nbde_server : Ensure keys are rotated --------- 0.02s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:7 fedora.linux_system_roles.nbde_server : Perform key management (fetch/deploy) tasks --- 0.02s /tmp/tmpa7i3jt2d/ansible_collections/fedora/linux_system_roles/roles/nbde_server/tasks/main-tang.yml:25