# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] 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: tests_dyndns.yml ***************************************************** 1 plays in /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml PLAY [Ensure that the role configures dynamic dns] ***************************** META: ran handlers TASK [Test - Run the system role with bogus vars] ****************************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:32 Monday 25 March 2024 21:02:58 +0000 (0:00:00.019) 0:00:00.019 ********** TASK [linux-system-roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:3 Monday 25 March 2024 21:02:58 +0000 (0:00:00.022) 0:00:00.041 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:8 Monday 25 March 2024 21:02:58 +0000 (0:00:00.151) 0:00:00.192 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:15 Monday 25 March 2024 21:02:58 +0000 (0:00:00.016) 0:00:00.208 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:25 Monday 25 March 2024 21:02:58 +0000 (0:00:00.015) 0:00:00.223 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:30 Monday 25 March 2024 21:02:58 +0000 (0:00:00.014) 0:00:00.238 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure all required dns variables are provided] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:40 Monday 25 March 2024 21:02:58 +0000 (0:00:00.014) 0:00:00.253 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:51 Monday 25 March 2024 21:02:58 +0000 (0:00:00.014) 0:00:00.268 ********** included: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml for sut TASK [linux-system-roles.ad_integration : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:2 Monday 25 March 2024 21:02:58 +0000 (0:00:00.011) 0:00:00.279 ********** ok: [sut] TASK [linux-system-roles.ad_integration : Check if system is ostree] *********** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:11 Monday 25 March 2024 21:03:00 +0000 (0:00:01.414) 0:00:01.694 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.ad_integration : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:16 Monday 25 March 2024 21:03:00 +0000 (0:00:00.309) 0:00:02.004 ********** ok: [sut] => { "ansible_facts": { "__ad_integration_is_ostree": false }, "changed": false } TASK [linux-system-roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:20 Monday 25 March 2024 21:03:00 +0000 (0:00:00.020) 0:00:02.024 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure required packages are installed] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:54 Monday 25 March 2024 21:03:00 +0000 (0:00:00.027) 0:00:02.052 ********** changed: [sut] => { "changed": true, "rc": 0, "results": [ "Installed: abattis-cantarell-fonts-0.301-4.el9.noarch", "Installed: realmd-0.17.1-2.el9.x86_64", "Installed: gsettings-desktop-schemas-40.0-6.el9.x86_64", "Installed: libicu-67.1-9.el9.x86_64", "Installed: glib-networking-2.68.3-3.el9.x86_64", "Installed: libsoup-2.72.0-8.el9.x86_64", "Installed: gdk-pixbuf2-2.42.6-3.el9.x86_64", "Installed: libproxy-webkitgtk4-0.4.15-35.el9.x86_64", "Installed: libatomic-11.4.1-3.el9.x86_64", "Installed: libappstream-glib-0.7.18-4.el9.x86_64", "Installed: libstemmer-0-18.585svn.el9.x86_64", "Installed: adobe-source-code-pro-fonts-2.030.1.050-12.el9.1.noarch", "Installed: PackageKit-1.2.6-1.el9.x86_64", "Installed: libpng-2:1.6.37-12.el9.x86_64", "Installed: libproxy-0.4.15-35.el9.x86_64", "Installed: polkit-0.117-11.el9.x86_64", "Installed: PackageKit-glib-1.2.6-1.el9.x86_64", "Installed: polkit-libs-0.117-11.el9.x86_64", "Installed: polkit-pkla-compat-0.1-21.el9.x86_64", "Installed: shared-mime-info-2.1-5.el9.x86_64", "Installed: webkit2gtk3-jsc-2.42.4-1.el9.x86_64", "Installed: json-glib-1.6.6-1.el9.x86_64", "Installed: libjpeg-turbo-2.0.90-7.el9.x86_64" ] } TASK [linux-system-roles.ad_integration : Ensure required services are enabled and started] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:61 Monday 25 March 2024 21:03:14 +0000 (0:00:13.325) 0:00:15.378 ********** changed: [sut] => (item=realmd) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target system.slice systemd-journald.socket dbus.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.realmd", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Realm and Domain Configuration", "DevicePolicy": "auto", "Documentation": "\"man:realm(8)\" \"man:realmd.conf(5)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/realmd ; argv[]=/usr/libexec/realmd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/libexec/realmd ; argv[]=/usr/libexec/realmd ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13973", "LimitNPROCSoft": "13973", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13973", "LimitSIGPENDINGSoft": "13973", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "realmd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22357", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [linux-system-roles.ad_integration : Generate /etc/realmd.conf] *********** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:68 Monday 25 March 2024 21:03:14 +0000 (0:00:00.830) 0:00:16.208 ********** NOTIFIED HANDLER linux-system-roles.ad_integration : Handler for ad_integration to restart services for sut changed: [sut] => { "changed": true, "checksum": "0fe3f55e582b3bf7fd00d6665b2e8dcfd0f0d645", "dest": "/etc/realmd.conf", "gid": 0, "group": "root", "md5sum": "c03fe7d9bbd0f743ca4fbe88f5320506", "mode": "0400", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 174, "src": "/root/.ansible/tmp/ansible-tmp-1711400594.9371939-2347-235328628157317/source", "state": "file", "uid": 0 } RUNNING HANDLER [linux-system-roles.ad_integration : Handler for ad_integration to restart services] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/handlers/main.yml:3 Monday 25 March 2024 21:03:15 +0000 (0:00:00.574) 0:00:16.783 ********** skipping: [sut] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "item": "realmd", "skip_reason": "Conditional result was False" } META: ran handlers TASK [Add AD server to existing network connection for DNS] ******************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:80 Monday 25 March 2024 21:03:15 +0000 (0:00:00.013) 0:00:16.796 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:94 Monday 25 March 2024 21:03:15 +0000 (0:00:00.007) 0:00:16.804 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:103 Monday 25 March 2024 21:03:15 +0000 (0:00:00.007) 0:00:16.812 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:117 Monday 25 March 2024 21:03:15 +0000 (0:00:00.008) 0:00:16.820 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Check if we are already joined to a domain] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:128 Monday 25 March 2024 21:03:15 +0000 (0:00:00.008) 0:00:16.828 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Leave existing joined domain] ******** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:134 Monday 25 March 2024 21:03:15 +0000 (0:00:00.007) 0:00:16.836 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Build Command - Join to a specific Domain Controller] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:142 Monday 25 March 2024 21:03:15 +0000 (0:00:00.007) 0:00:16.843 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.ad_integration : Build Join Command - Perform discovery-based realm join operation] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:156 Monday 25 March 2024 21:03:15 +0000 (0:00:00.007) 0:00:16.851 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.ad_integration : Show the join command for debug] ***** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:170 Monday 25 March 2024 21:03:15 +0000 (0:00:00.011) 0:00:16.863 ********** ok: [sut] => {} MSG: ['Would run the following command. Note that ad_integration_join_parameters have been removed for security purposes, the role will pass them to the actual realm join command when running without check mode.', 'realm join -U Administrator --membership-software adcli sample-realm.com'] TASK [linux-system-roles.ad_integration : Run realm join command] ************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:184 Monday 25 March 2024 21:03:15 +0000 (0:00:00.009) 0:00:16.872 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.ad_integration : Configure SSSD settings] ************* task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:200 Monday 25 March 2024 21:03:15 +0000 (0:00:00.008) 0:00:16.881 ********** TASK [linux-system-roles.ad_integration : Configure dynamic DNS updates] ******* task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:214 Monday 25 March 2024 21:03:15 +0000 (0:00:00.006) 0:00:16.888 ********** changed: [sut] => (item={'key': 'dyndns_update', 'value': 'True'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_update", "value": "True" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 48, "state": "file", "uid": 0, "warnings": [ "The value True (type bool) in a string field was converted to 'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: section and option added changed: [sut] => (item={'key': 'dyndns_ttl', 'value': '3600'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_ttl", "value": "3600" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 66, "state": "file", "uid": 0 } MSG: option added changed: [sut] => (item={'key': 'dyndns_iface', 'value': 'TESTING'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_iface", "value": "TESTING" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 89, "state": "file", "uid": 0 } MSG: option added changed: [sut] => (item={'key': 'dyndns_refresh_interval', 'value': '86400'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_refresh_interval", "value": "86400" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 121, "state": "file", "uid": 0 } MSG: option added changed: [sut] => (item={'key': 'dyndns_update_ptr', 'value': 'True'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_update_ptr", "value": "True" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 146, "state": "file", "uid": 0, "warnings": [ "The value True (type bool) in a string field was converted to 'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: option added changed: [sut] => (item={'key': 'dyndns_force_tcp', 'value': 'False'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_force_tcp", "value": "False" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 171, "state": "file", "uid": 0, "warnings": [ "The value False (type bool) in a string field was converted to 'False' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: option added changed: [sut] => (item={'key': 'dyndns_auth', 'value': 'GSS-TSIG'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_auth", "value": "GSS-TSIG" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 194, "state": "file", "uid": 0 } MSG: option added changed: [sut] => (item={'key': 'dyndns_server', 'value': '127.0.0.1'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_server", "value": "127.0.0.1" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 220, "state": "file", "uid": 0 } MSG: option added changed: [sut] => (item={'key': 'ad_hostname', 'value': '41cfe713-4e47-4a09-b945-b972a5e97097.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "ad_hostname", "value": "41cfe713-4e47-4a09-b945-b972a5e97097.sample-realm.com" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0 } MSG: option added NOTIFIED HANDLER linux-system-roles.ad_integration : Handler for ad_integration to restart services - sssd for sut TASK [linux-system-roles.ad_integration : Configure custom SSSD settings] ****** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:256 Monday 25 March 2024 21:03:17 +0000 (0:00:01.747) 0:00:18.635 ********** TASK [linux-system-roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:273 Monday 25 March 2024 21:03:17 +0000 (0:00:00.008) 0:00:18.643 ********** skipping: [sut] => (item={'key': 'dyndns_iface', 'value': 'TESTING'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "TESTING" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_server', 'value': '127.0.0.1'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_server", "value": "127.0.0.1" }, "skip_reason": "Conditional result was False" } TASK [Check custom dyndns settings] ******************************************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:41 Monday 25 March 2024 21:03:17 +0000 (0:00:00.017) 0:00:18.661 ********** ok: [sut] => (item={'key': 'dyndns_update', 'value': 'True'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "dyndns_update", "value": "True" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0, "warnings": [ "The value True (type bool) in a string field was converted to 'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: OK ok: [sut] => (item={'key': 'dyndns_iface', 'value': 'TESTING'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "dyndns_iface", "value": "TESTING" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0 } MSG: OK ok: [sut] => (item={'key': 'dyndns_auth', 'value': 'GSS-TSIG'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "dyndns_auth", "value": "GSS-TSIG" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0 } MSG: OK ok: [sut] => (item={'key': 'dyndns_server', 'value': '127.0.0.1'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "dyndns_server", "value": "127.0.0.1" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0 } MSG: OK TASK [Search /var/log/sssd/sssd.log for [sss_ini_call_validators]] ************* task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:64 Monday 25 March 2024 21:03:18 +0000 (0:00:00.719) 0:00:19.381 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "-i", "sss_ini_call_validators", "/var/log/sssd/sssd.log" ], "delta": "0:00:00.003382", "end": "2024-03-25 21:03:18.400075", "failed_when_result": false, "rc": 2, "start": "2024-03-25 21:03:18.396693" } STDERR: grep: /var/log/sssd/sssd.log: No such file or directory MSG: non-zero return code TASK [Fail if signature found] ************************************************* task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:70 Monday 25 March 2024 21:03:18 +0000 (0:00:00.337) 0:00:19.719 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test - Re-run the system role to remove vars] **************************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:75 Monday 25 March 2024 21:03:18 +0000 (0:00:00.008) 0:00:19.727 ********** TASK [linux-system-roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:3 Monday 25 March 2024 21:03:18 +0000 (0:00:00.024) 0:00:19.752 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:8 Monday 25 March 2024 21:03:18 +0000 (0:00:00.009) 0:00:19.761 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:15 Monday 25 March 2024 21:03:18 +0000 (0:00:00.007) 0:00:19.768 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:25 Monday 25 March 2024 21:03:18 +0000 (0:00:00.009) 0:00:19.778 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:30 Monday 25 March 2024 21:03:18 +0000 (0:00:00.007) 0:00:19.785 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure all required dns variables are provided] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:40 Monday 25 March 2024 21:03:18 +0000 (0:00:00.007) 0:00:19.793 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:51 Monday 25 March 2024 21:03:18 +0000 (0:00:00.007) 0:00:19.800 ********** included: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml for sut TASK [linux-system-roles.ad_integration : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:2 Monday 25 March 2024 21:03:18 +0000 (0:00:00.012) 0:00:19.813 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Check if system is ostree] *********** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:11 Monday 25 March 2024 21:03:18 +0000 (0:00:00.008) 0:00:19.821 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:16 Monday 25 March 2024 21:03:18 +0000 (0:00:00.007) 0:00:19.829 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:20 Monday 25 March 2024 21:03:18 +0000 (0:00:00.007) 0:00:19.837 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure required packages are installed] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:54 Monday 25 March 2024 21:03:18 +0000 (0:00:00.018) 0:00:19.855 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [linux-system-roles.ad_integration : Ensure required services are enabled and started] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:61 Monday 25 March 2024 21:03:19 +0000 (0:00:01.174) 0:00:21.029 ********** ok: [sut] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Mon 2024-03-25 21:03:14 UTC", "ActiveEnterTimestampMonotonic": "494731806", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket dbus.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-03-25 21:03:14 UTC", "AssertTimestampMonotonic": "494714512", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.realmd", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "13187000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-03-25 21:03:14 UTC", "ConditionTimestampMonotonic": "494714509", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/realmd.service", "ControlGroupId": "4261", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Realm and Domain Configuration", "DevicePolicy": "auto", "Documentation": "\"man:realm(8)\" \"man:realmd.conf(5)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9361", "ExecMainStartTimestamp": "Mon 2024-03-25 21:03:14 UTC", "ExecMainStartTimestampMonotonic": "494721354", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/realmd ; argv[]=/usr/libexec/realmd ; ignore_errors=no ; start_time=[Mon 2024-03-25 21:03:14 UTC] ; stop_time=[n/a] ; pid=9361 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/libexec/realmd ; argv[]=/usr/libexec/realmd ; flags= ; start_time=[Mon 2024-03-25 21:03:14 UTC] ; stop_time=[n/a] ; pid=9361 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Mon 2024-03-25 21:03:14 UTC", "InactiveExitTimestampMonotonic": "494722106", "InvocationID": "50dc9a07c31442ce97531917d51d96cc", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13973", "LimitNPROCSoft": "13973", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13973", "LimitSIGPENDINGSoft": "13973", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "9361", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1720320", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "realmd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice dbus.socket sysinit.target", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Mon 2024-03-25 21:03:14 UTC", "StateChangeTimestampMonotonic": "494731806", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22357", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.ad_integration : Generate /etc/realmd.conf] *********** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:68 Monday 25 March 2024 21:03:20 +0000 (0:00:00.671) 0:00:21.701 ********** ok: [sut] => { "changed": false, "checksum": "0fe3f55e582b3bf7fd00d6665b2e8dcfd0f0d645", "dest": "/etc/realmd.conf", "gid": 0, "group": "root", "mode": "0400", "owner": "root", "path": "/etc/realmd.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 174, "state": "file", "uid": 0 } RUNNING HANDLER [linux-system-roles.ad_integration : Handler for ad_integration to restart services - sssd] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/handlers/main.yml:10 Monday 25 March 2024 21:03:20 +0000 (0:00:00.571) 0:00:22.272 ********** skipping: [sut] => (item=sssd) => { "ansible_loop_var": "item", "changed": false, "item": "sssd", "skip_reason": "Conditional result was False" } META: ran handlers TASK [Add AD server to existing network connection for DNS] ******************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:80 Monday 25 March 2024 21:03:21 +0000 (0:00:00.066) 0:00:22.338 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:94 Monday 25 March 2024 21:03:21 +0000 (0:00:00.036) 0:00:22.375 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:103 Monday 25 March 2024 21:03:21 +0000 (0:00:00.025) 0:00:22.400 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:117 Monday 25 March 2024 21:03:21 +0000 (0:00:00.036) 0:00:22.437 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Check if we are already joined to a domain] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:128 Monday 25 March 2024 21:03:21 +0000 (0:00:00.032) 0:00:22.469 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Leave existing joined domain] ******** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:134 Monday 25 March 2024 21:03:21 +0000 (0:00:00.015) 0:00:22.484 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Build Command - Join to a specific Domain Controller] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:142 Monday 25 March 2024 21:03:21 +0000 (0:00:00.040) 0:00:22.524 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.ad_integration : Build Join Command - Perform discovery-based realm join operation] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:156 Monday 25 March 2024 21:03:21 +0000 (0:00:00.023) 0:00:22.548 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.ad_integration : Show the join command for debug] ***** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:170 Monday 25 March 2024 21:03:21 +0000 (0:00:00.017) 0:00:22.565 ********** ok: [sut] => {} MSG: ['Would run the following command. Note that ad_integration_join_parameters have been removed for security purposes, the role will pass them to the actual realm join command when running without check mode.', 'realm join -U Administrator --membership-software adcli sample-realm.com'] TASK [linux-system-roles.ad_integration : Run realm join command] ************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:184 Monday 25 March 2024 21:03:21 +0000 (0:00:00.013) 0:00:22.579 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.ad_integration : Configure SSSD settings] ************* task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:200 Monday 25 March 2024 21:03:21 +0000 (0:00:00.025) 0:00:22.605 ********** TASK [linux-system-roles.ad_integration : Configure dynamic DNS updates] ******* task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:214 Monday 25 March 2024 21:03:21 +0000 (0:00:00.010) 0:00:22.616 ********** ok: [sut] => (item={'key': 'dyndns_update', 'value': 'True'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "dyndns_update", "value": "True" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0, "warnings": [ "The value True (type bool) in a string field was converted to 'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: OK ok: [sut] => (item={'key': 'dyndns_ttl', 'value': '3600'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "dyndns_ttl", "value": "3600" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0 } MSG: OK skipping: [sut] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 'dyndns_refresh_interval', 'value': '86400'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "dyndns_refresh_interval", "value": "86400" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0 } MSG: OK ok: [sut] => (item={'key': 'dyndns_update_ptr', 'value': 'True'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "dyndns_update_ptr", "value": "True" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0, "warnings": [ "The value True (type bool) in a string field was converted to 'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: OK ok: [sut] => (item={'key': 'dyndns_force_tcp', 'value': 'False'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "dyndns_force_tcp", "value": "False" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0, "warnings": [ "The value False (type bool) in a string field was converted to 'False' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: OK skipping: [sut] => (item={'key': 'dyndns_auth', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_auth", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 'ad_hostname', 'value': '41cfe713-4e47-4a09-b945-b972a5e97097.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "ad_hostname", "value": "41cfe713-4e47-4a09-b945-b972a5e97097.sample-realm.com" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0 } MSG: OK TASK [linux-system-roles.ad_integration : Configure custom SSSD settings] ****** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:256 Monday 25 March 2024 21:03:22 +0000 (0:00:01.303) 0:00:23.919 ********** TASK [linux-system-roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:273 Monday 25 March 2024 21:03:22 +0000 (0:00:00.019) 0:00:23.939 ********** changed: [sut] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_iface", "value": "" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 265, "state": "file", "uid": 0 } MSG: option changed changed: [sut] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_server", "value": "" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 239, "state": "file", "uid": 0 } MSG: option changed NOTIFIED HANDLER linux-system-roles.ad_integration : Handler for ad_integration to restart services - sssd for sut TASK [Restart sssd] ************************************************************ task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:83 Monday 25 March 2024 21:03:23 +0000 (0:00:00.441) 0:00:24.380 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check custom dyndns settings are removed] ******************************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:89 Monday 25 March 2024 21:03:23 +0000 (0:00:00.019) 0:00:24.400 ********** ok: [sut] => (item={'key': 'dyndns_iface', 'value': None}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "dyndns_iface", "value": null }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 239, "state": "file", "uid": 0 } MSG: OK ok: [sut] => (item={'key': 'dyndns_server', 'value': None}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "dyndns_server", "value": null }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 239, "state": "file", "uid": 0 } MSG: OK TASK [Gather facts] ************************************************************ task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:110 Monday 25 March 2024 21:03:23 +0000 (0:00:00.381) 0:00:24.781 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get IP for host's FQDN] ************************************************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:116 Monday 25 March 2024 21:03:23 +0000 (0:00:00.008) 0:00:24.790 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get hostname for host's IP address] ************************************** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:122 Monday 25 March 2024 21:03:23 +0000 (0:00:00.008) 0:00:24.799 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert IPv4 DNS records were created] ************************************ task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:128 Monday 25 March 2024 21:03:23 +0000 (0:00:00.008) 0:00:24.808 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.ad_integration : Handler for ad_integration to restart services - sssd] *** task path: /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/handlers/main.yml:10 Monday 25 March 2024 21:03:23 +0000 (0:00:00.009) 0:00:24.817 ********** skipping: [sut] => (item=sssd) => { "ansible_loop_var": "item", "changed": false, "item": "sssd", "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=21 changed=5 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 Monday 25 March 2024 21:03:23 +0000 (0:00:00.011) 0:00:24.829 ********** =============================================================================== linux-system-roles.ad_integration : Ensure required packages are installed -- 13.33s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:54 linux-system-roles.ad_integration : Configure dynamic DNS updates ------- 1.75s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:214 linux-system-roles.ad_integration : Ensure ansible_facts used by role --- 1.42s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:2 linux-system-roles.ad_integration : Configure dynamic DNS updates ------- 1.30s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:214 linux-system-roles.ad_integration : Ensure required packages are installed --- 1.17s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:54 linux-system-roles.ad_integration : Ensure required services are enabled and started --- 0.83s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:61 Check custom dyndns settings -------------------------------------------- 0.72s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:41 ---------- linux-system-roles.ad_integration : Ensure required services are enabled and started --- 0.67s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:61 linux-system-roles.ad_integration : Generate /etc/realmd.conf ----------- 0.57s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:68 linux-system-roles.ad_integration : Generate /etc/realmd.conf ----------- 0.57s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:68 linux-system-roles.ad_integration : Cleanup dynamic DNS configuration options --- 0.44s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:273 Check custom dyndns settings are removed -------------------------------- 0.38s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:89 ---------- Search /var/log/sssd/sssd.log for [sss_ini_call_validators] ------------- 0.34s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/tests_dyndns.yml:64 ---------- linux-system-roles.ad_integration : Check if system is ostree ----------- 0.31s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:11 linux-system-roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available --- 0.15s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:3 linux-system-roles.ad_integration : Handler for ad_integration to restart services - sssd --- 0.07s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/handlers/main.yml:10 linux-system-roles.ad_integration : Leave existing joined domain -------- 0.04s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:134 Manage crypto policies -------------------------------------------------- 0.04s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:103 Add AD server to existing network connection for DNS -------------------- 0.04s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:80 Enable crypto policy allowing RC4 encryption ---------------------------- 0.03s /WORKDIR/git-use-fresh-win-modulesa8s04o7f/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:117 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Could not match supplied host pattern, ignoring: ad [DEPRECATION WARNING]: Distribution centos 9 on host sut should use /usr/libexec/platform-python, but is using /usr/bin/python for backward compatibility with prior Ansible releases. A future Ansible release will default to using the discovered platform python for this host. See https://docs .ansible.com/ansible/2.9/reference_appendices/interpreter_discovery.html for more information. This feature will be removed in version 2.12. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: The value True (type bool) in a string field was converted to 'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change. [WARNING]: The value False (type bool) in a string field was converted to 'False' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change. ---^---^---^---^---^---