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/tmpdusqm72k 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 Tuesday 19 July 2022 19:49:24 +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 Tuesday 19 July 2022 19:49:25 +0000 (0:00:01.343) 0:00:01.361 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmpfayf35st/tests/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [linux-system-roles.nbde_client : Set version specific variables] ********* task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 19:49:25 +0000 (0:00:00.038) 0:00:01.399 ********** included: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_client : Ensure ansible_facts used by role] ****** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 19:49:25 +0000 (0:00:00.023) 0:00:01.423 ********** ok: [/cache/rhel-7.qcow2] TASK [linux-system-roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 Tuesday 19 July 2022 19:49:26 +0000 (0:00:00.629) 0:00:02.052 ********** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/vars/RedHat_7.yml" ], "changed": false } TASK [linux-system-roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 19:49:26 +0000 (0:00:00.035) 0:00:02.088 ********** included: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml for /cache/rhel-7.qcow2 TASK [linux-system-roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 19:49:26 +0000 (0:00:00.031) 0:00:02.120 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "clevis-7-8.el7.x86_64 providing clevis is already installed", "clevis-dracut-7-8.el7.x86_64 providing clevis-dracut is already installed", "clevis-luks-7-8.el7.x86_64 providing clevis-luks is already installed", "clevis-systemd-7-8.el7.x86_64 providing clevis-systemd is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "1:NetworkManager-1.18.8-2.el7_9.x86_64 providing NetworkManager is already installed" ] } TASK [linux-system-roles.nbde_client : Enable clevis askpass unit] ************* task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 19:49:27 +0000 (0:00:00.655) 0:00:02.775 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target -.mount", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "clevis-luks-askpass.service remote-fs-pre.target paths.target shutdown.target", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "DefaultDependencies": "yes", "Description": "Clevis systemd-ask-password Watcher", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "LoadState": "loaded", "MakeDirectory": "no", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "PathChanged": "/run/systemd/ask-password", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "sysinit.target -.mount", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StopWhenUnneeded": "no", "SubState": "dead", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "remote-fs.target", "Wants": "remote-fs-pre.target" } } TASK [linux-system-roles.nbde_client : Generate nbde_client dracut config] ***** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 19:49:27 +0000 (0:00:00.591) 0:00:03.367 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 19:49:28 +0000 (0:00:00.710) 0:00:04.078 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 19:49:28 +0000 (0:00:00.031) 0:00:04.110 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Ensure we transfer key files] *********** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 19:49:28 +0000 (0:00:00.023) 0:00:04.133 ********** TASK [linux-system-roles.nbde_client : Perform clevis operations] ************** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 19:49:28 +0000 (0:00:00.016) 0:00:04.150 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 19:49:28 +0000 (0:00:00.023) 0:00:04.173 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.nbde_client : Deploy network flushing script] ********* task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 19:49:28 +0000 (0:00:00.022) 0:00:04.196 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy network flushing service] ******** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 19:49:29 +0000 (0:00:00.487) 0:00:04.684 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 19:49:29 +0000 (0:00:00.488) 0:00:05.173 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/files/nbde_client/" } TASK [linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 19:49:30 +0000 (0:00:00.846) 0:00:06.020 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.037842", "end": "2022-07-19 15:49:30.040357", "rc": 0, "start": "2022-07-19 15:49:30.002515" } TASK [linux-system-roles.nbde_client : Reload systemd config] ****************** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 19:49:30 +0000 (0:00:00.457) 0:00:06.477 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [linux-system-roles.nbde_client : Enable network flushing service] ******** task path: /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 19:49:31 +0000 (0:00:00.405) 0:00:06.882 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target multi-user.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "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", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=14 changed=0 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Tuesday 19 July 2022 19:49:31 +0000 (0:00:00.363) 0:00:07.245 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.34s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- linux-system-roles.nbde_client : Deploy nbde_client dracut network flushing module --- 0.85s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:85 linux-system-roles.nbde_client : Generate nbde_client dracut config ----- 0.71s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:12 linux-system-roles.nbde_client : Ensure required packages are installed --- 0.66s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:2 linux-system-roles.nbde_client : Ensure ansible_facts used by role ------ 0.63s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:2 linux-system-roles.nbde_client : Enable clevis askpass unit ------------- 0.59s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:7 linux-system-roles.nbde_client : Deploy network flushing service -------- 0.49s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:79 linux-system-roles.nbde_client : Deploy network flushing script --------- 0.49s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:73 linux-system-roles.nbde_client : Prepare for network flushing - reset autoconnect-priority --- 0.46s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:92 linux-system-roles.nbde_client : Reload systemd config ------------------ 0.41s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:98 linux-system-roles.nbde_client : Enable network flushing service -------- 0.36s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:102 linux-system-roles.nbde_client : Set platform/version specific variables --- 0.04s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/set_vars.yml:9 linux-system-roles.nbde_client : Include the appropriate provider tasks --- 0.03s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:7 -- linux-system-roles.nbde_client : Check whether devices are at the desired state --- 0.03s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:19 linux-system-roles.nbde_client : Create temporary directory to hold key files --- 0.02s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:29 linux-system-roles.nbde_client : Set version specific variables --------- 0.02s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main.yml:4 -- linux-system-roles.nbde_client : Perform clevis operations -------------- 0.02s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:49 linux-system-roles.nbde_client : Remove temporary directory used to hold key files --- 0.02s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:59 linux-system-roles.nbde_client : Ensure we transfer key files ----------- 0.02s /tmp/tmpfayf35st/tests/roles/linux-system-roles.nbde_client/tasks/main-clevis.yml:37 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/tmpdusqm72k 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 Tuesday 19 July 2022 20:01:48 +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 Tuesday 19 July 2022 20:01:49 +0000 (0:00:01.313) 0:00:01.331 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.31s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- PLAYBOOK: tests_default.yml **************************************************** 1 plays in /tmp/tmp1ur23wmu/tests/nbde_client/tests_default.yml PLAY [Ensure that the role runs with default parameters] *********************** META: ran handlers TASK [fedora.linux_system_roles.nbde_client : Set version specific variables] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 Tuesday 19 July 2022 20:01:49 +0000 (0:00:00.036) 0:00:01.367 ********** included: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 Tuesday 19 July 2022 20:01:49 +0000 (0:00:00.021) 0:00:01.389 ********** ok: [/cache/rhel-7.qcow2] TASK [fedora.linux_system_roles.nbde_client : Set platform/version specific variables] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 Tuesday 19 July 2022 20:01:50 +0000 (0:00:00.635) 0:00:02.025 ********** ok: [/cache/rhel-7.qcow2] => { "ansible_facts": { "__nbde_client_dracut_settings": [ "kernel_cmdline+=\" rd.neednet=1 \"", "omit_dracutmodules+=\" ifcfg \"" ], "__nbde_client_initramfs_update_cmd": "dracut -fv --regenerate-all\n", "__nbde_client_packages": [ "clevis", "clevis-dracut", "clevis-luks", "clevis-systemd", "iproute", "NetworkManager" ] }, "ansible_included_var_files": [ "/tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/vars/RedHat_7.yml" ], "changed": false } TASK [fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 Tuesday 19 July 2022 20:01:50 +0000 (0:00:00.038) 0:00:02.063 ********** included: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml for /cache/rhel-7.qcow2 TASK [fedora.linux_system_roles.nbde_client : Ensure required packages are installed] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 Tuesday 19 July 2022 20:01:50 +0000 (0:00:00.038) 0:00:02.102 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "rc": 0, "results": [ "clevis-7-8.el7.x86_64 providing clevis is already installed", "clevis-dracut-7-8.el7.x86_64 providing clevis-dracut is already installed", "clevis-luks-7-8.el7.x86_64 providing clevis-luks is already installed", "clevis-systemd-7-8.el7.x86_64 providing clevis-systemd is already installed", "iproute-4.11.0-30.el7.x86_64 providing iproute is already installed", "1:NetworkManager-1.18.8-2.el7_9.x86_64 providing NetworkManager is already installed" ] } TASK [fedora.linux_system_roles.nbde_client : Enable clevis askpass unit] ****** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 Tuesday 19 July 2022 20:01:50 +0000 (0:00:00.713) 0:00:02.815 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "clevis-luks-askpass.path", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "-.mount sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "paths.target shutdown.target remote-fs-pre.target clevis-luks-askpass.service", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "DefaultDependencies": "yes", "Description": "Clevis systemd-ask-password Watcher", "DirectoryMode": "0755", "FragmentPath": "/usr/lib/systemd/system/clevis-luks-askpass.path", "Id": "clevis-luks-askpass.path", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "LoadState": "loaded", "MakeDirectory": "no", "Names": "clevis-luks-askpass.path", "NeedDaemonReload": "no", "OnFailureJobMode": "replace", "PathChanged": "/run/systemd/ask-password", "RefuseManualStart": "no", "RefuseManualStop": "no", "Requires": "-.mount sysinit.target", "RequiresMountsFor": "/run/systemd/ask-password", "Result": "success", "StopWhenUnneeded": "no", "SubState": "dead", "Transient": "no", "Triggers": "clevis-luks-askpass.service", "Unit": "clevis-luks-askpass.service", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "remote-fs.target", "Wants": "remote-fs-pre.target" } } TASK [fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 Tuesday 19 July 2022 20:01:51 +0000 (0:00:00.647) 0:00:03.462 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "checksum": "baf43726e7fec14c1cf60a5127853f5988def29a", "dest": "/etc/dracut.conf.d/nbde_client.conf", "gid": 0, "group": "root", "mode": "0444", "owner": "root", "path": "/etc/dracut.conf.d/nbde_client.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 91, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 Tuesday 19 July 2022 20:01:52 +0000 (0:00:00.743) 0:00:04.205 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 Tuesday 19 July 2022 20:01:52 +0000 (0:00:00.032) 0:00:04.238 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Ensure we transfer key files] **** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37 Tuesday 19 July 2022 20:01:52 +0000 (0:00:00.024) 0:00:04.263 ********** TASK [fedora.linux_system_roles.nbde_client : Perform clevis operations] ******* task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 Tuesday 19 July 2022 20:01:52 +0000 (0:00:00.017) 0:00:04.280 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 Tuesday 19 July 2022 20:01:52 +0000 (0:00:00.021) 0:00:04.301 ********** skipping: [/cache/rhel-7.qcow2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing script] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 Tuesday 19 July 2022 20:01:52 +0000 (0:00:00.023) 0:00:04.325 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "checksum": "4543d4e7d1e66294cac47801a6b6675dcbceaa6c", "dest": "/usr/bin/nbde_client-network-flush", "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/usr/bin/nbde_client-network-flush", "secontext": "system_u:object_r:bin_t:s0", "size": 1109, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy network flushing service] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 Tuesday 19 July 2022 20:01:52 +0000 (0:00:00.509) 0:00:04.834 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "checksum": "dab1b7cd151ef2cd24efe8108020d2071b473cbe", "dest": "/etc/systemd/system/nbde_client-network-flush.service", "gid": 0, "group": "root", "mode": "0644", "owner": "root", "path": "/etc/systemd/system/nbde_client-network-flush.service", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 218, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 Tuesday 19 July 2022 20:01:53 +0000 (0:00:00.492) 0:00:05.326 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "dest": "/usr/lib/dracut/modules.d/60nbde_client/", "src": "/tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/files/nbde_client/" } TASK [fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 Tuesday 19 July 2022 20:01:54 +0000 (0:00:00.854) 0:00:06.181 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "cmd": [ "/usr/bin/nbde_client-network-flush", "reset-autoconn-prio" ], "delta": "0:00:00.041320", "end": "2022-07-19 16:01:54.303703", "rc": 0, "start": "2022-07-19 16:01:54.262383" } TASK [fedora.linux_system_roles.nbde_client : Reload systemd config] *********** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 Tuesday 19 July 2022 20:01:54 +0000 (0:00:00.443) 0:00:06.625 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "name": null, "status": {} } TASK [fedora.linux_system_roles.nbde_client : Enable network flushing service] *** task path: /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 Tuesday 19 July 2022 20:01:55 +0000 (0:00:00.433) 0:00:07.059 ********** ok: [/cache/rhel-7.qcow2] => { "changed": false, "enabled": true, "name": "nbde_client-network-flush.service", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "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": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Network flush service for nbde_client Ansible role", "DevicePolicy": "auto", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/bin/nbde_client-network-flush ; argv[]=/usr/bin/nbde_client-network-flush flush ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/etc/systemd/system/nbde_client-network-flush.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "nbde_client-network-flush.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "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", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "nbde_client-network-flush.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } META: role_complete for /cache/rhel-7.qcow2 META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* /cache/rhel-7.qcow2 : ok=14 changed=0 unreachable=0 failed=0 skipped=5 rescued=0 ignored=0 Tuesday 19 July 2022 20:01:55 +0000 (0:00:00.411) 0:00:07.470 ********** =============================================================================== set up internal repositories -------------------------------------------- 1.31s /cache/rhel-7_setup.yml:5 ----------------------------------------------------- fedora.linux_system_roles.nbde_client : Deploy nbde_client dracut network flushing module --- 0.86s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:85 fedora.linux_system_roles.nbde_client : Generate nbde_client dracut config --- 0.74s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:12 fedora.linux_system_roles.nbde_client : Ensure required packages are installed --- 0.71s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:2 fedora.linux_system_roles.nbde_client : Enable clevis askpass unit ------ 0.65s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:7 fedora.linux_system_roles.nbde_client : Ensure ansible_facts used by role --- 0.64s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:2 fedora.linux_system_roles.nbde_client : Deploy network flushing script --- 0.51s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:73 fedora.linux_system_roles.nbde_client : Deploy network flushing service --- 0.49s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:79 fedora.linux_system_roles.nbde_client : Prepare for network flushing - reset autoconnect-priority --- 0.44s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:92 fedora.linux_system_roles.nbde_client : Reload systemd config ----------- 0.43s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:98 fedora.linux_system_roles.nbde_client : Enable network flushing service --- 0.41s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:102 fedora.linux_system_roles.nbde_client : Include the appropriate provider tasks --- 0.04s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:7 fedora.linux_system_roles.nbde_client : Set platform/version specific variables --- 0.04s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/set_vars.yml:7 fedora.linux_system_roles.nbde_client : Check whether devices are at the desired state --- 0.03s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:19 fedora.linux_system_roles.nbde_client : Create temporary directory to hold key files --- 0.02s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:29 fedora.linux_system_roles.nbde_client : Remove temporary directory used to hold key files --- 0.02s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:59 fedora.linux_system_roles.nbde_client : Set version specific variables --- 0.02s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main.yml:4 fedora.linux_system_roles.nbde_client : Perform clevis operations ------- 0.02s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:49 fedora.linux_system_roles.nbde_client : Ensure we transfer key files ---- 0.02s /tmp/tmpdusqm72k/ansible_collections/fedora/linux_system_roles/roles/nbde_client/tasks/main-clevis.yml:37