# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] 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.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 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: tests_preserve_authselect.yml **************************************** 1 plays in /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/tests/tests_preserve_authselect.yml PLAY [Ensure that the role ad_integration_preserve_authselect_profile works] *** TASK [Test - Run the system role] ********************************************** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/tests/tests_preserve_authselect.yml:13 Monday 25 March 2024 17:09:41 +0000 (0:00:00.013) 0:00:00.013 ********** TASK [fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Monday 25 March 2024 17:09:41 +0000 (0:00:00.050) 0:00:00.063 ********** skipping: [sut] => { "changed": false, "false_condition": "not ad_integration_realm", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Monday 25 March 2024 17:09:41 +0000 (0:00:00.011) 0:00:00.075 ********** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_timesync_source is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Monday 25 March 2024 17:09:42 +0000 (0:00:00.010) 0:00:00.085 ********** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_timesync | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Monday 25 March 2024 17:09:42 +0000 (0:00:00.014) 0:00:00.100 ********** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Monday 25 March 2024 17:09:42 +0000 (0:00:00.014) 0:00:00.115 ********** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure all required dns variables are provided] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Monday 25 March 2024 17:09:42 +0000 (0:00:00.014) 0:00:00.130 ********** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_dns | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Monday 25 March 2024 17:09:42 +0000 (0:00:00.015) 0:00:00.145 ********** included: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.ad_integration : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Monday 25 March 2024 17:09:42 +0000 (0:00:00.016) 0:00:00.161 ********** ok: [sut] TASK [fedora.linux_system_roles.ad_integration : Check if system is ostree] **** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Monday 25 March 2024 17:09:42 +0000 (0:00:00.508) 0:00:00.670 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Monday 25 March 2024 17:09:42 +0000 (0:00:00.251) 0:00:00.922 ********** ok: [sut] => { "ansible_facts": { "__ad_integration_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Monday 25 March 2024 17:09:42 +0000 (0:00:00.068) 0:00:00.990 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__template_packages": [], "__template_services": [] }, "ansible_included_var_files": [ "/WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure required packages are installed] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Monday 25 March 2024 17:09:42 +0000 (0:00:00.052) 0:00:01.043 ********** ok: [sut] => { "changed": false, "rc": 0, "results": [ "realmd-0.16.1-12.el7_9.1.x86_64 providing realmd is already installed", "PackageKit-1.1.10-2.el7.centos.x86_64 providing PackageKit is already installed" ] } TASK [fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Monday 25 March 2024 17:09:43 +0000 (0:00:00.715) 0:00:01.758 ********** ok: [sut] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-03-25 17:09:10 UTC", "ActiveEnterTimestampMonotonic": "1250923368", "ActiveExitTimestamp": "Mon 2024-03-25 17:09:10 UTC", "ActiveExitTimestampMonotonic": "1250907664", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-03-25 17:09:10 UTC", "AssertTimestampMonotonic": "1250911868", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.realmd", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-03-25 17:09:10 UTC", "ConditionTimestampMonotonic": "1250911866", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/realmd.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Realm and Domain Configuration", "DevicePolicy": "auto", "Documentation": "man:realm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11994", "ExecMainStartTimestamp": "Mon 2024-03-25 17:09:10 UTC", "ExecMainStartTimestampMonotonic": "1250912578", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib64/realmd/realmd ; argv[]=/usr/lib64/realmd/realmd ; ignore_errors=no ; start_time=[Mon 2024-03-25 17:09:10 UTC] ; stop_time=[n/a] ; pid=11994 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-03-25 17:09:10 UTC", "InactiveEnterTimestampMonotonic": "1250911178", "InactiveExitTimestamp": "Mon 2024-03-25 17:09:10 UTC", "InactiveExitTimestampMonotonic": "1250912620", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11994", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "realmd.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": "running", "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": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "WatchdogTimestamp": "Mon 2024-03-25 17:09:10 UTC", "WatchdogTimestampMonotonic": "1250923331", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf] **** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Monday 25 March 2024 17:09:44 +0000 (0:00:00.609) 0:00:02.368 ********** Notification for handler Handler for ad_integration to restart services has been saved. changed: [sut] => { "backup_file": "/etc/realmd.conf.12317.2024-03-25@17:09:44~", "changed": true, "checksum": "fd25e0699c5ebc2997bdc5460934d94ad75de834", "dest": "/etc/realmd.conf", "gid": 0, "group": "root", "md5sum": "d1785692fc9967568cfb24ca77dde538", "mode": "0400", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 341, "src": "/root/.ansible/tmp/ansible-tmp-1711386584.317989-2698-234014164928599/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.ad_integration : Flush handlers] *************** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:73 Monday 25 March 2024 17:09:44 +0000 (0:00:00.517) 0:00:02.886 ********** NOTIFIED HANDLER fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:3 Monday 25 March 2024 17:09:44 +0000 (0:00:00.001) 0:00:02.887 ********** changed: [sut] => (item=realmd) => { "ansible_loop_var": "item", "changed": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-03-25 17:09:10 UTC", "ActiveEnterTimestampMonotonic": "1250923368", "ActiveExitTimestamp": "Mon 2024-03-25 17:09:10 UTC", "ActiveExitTimestampMonotonic": "1250907664", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-03-25 17:09:10 UTC", "AssertTimestampMonotonic": "1250911868", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.realmd", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Mon 2024-03-25 17:09:10 UTC", "ConditionTimestampMonotonic": "1250911866", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/realmd.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Realm and Domain Configuration", "DevicePolicy": "auto", "Documentation": "man:realm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "11994", "ExecMainStartTimestamp": "Mon 2024-03-25 17:09:10 UTC", "ExecMainStartTimestampMonotonic": "1250912578", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib64/realmd/realmd ; argv[]=/usr/lib64/realmd/realmd ; ignore_errors=no ; start_time=[Mon 2024-03-25 17:09:10 UTC] ; stop_time=[n/a] ; pid=11994 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Mon 2024-03-25 17:09:10 UTC", "InactiveEnterTimestampMonotonic": "1250911178", "InactiveExitTimestamp": "Mon 2024-03-25 17:09:10 UTC", "InactiveExitTimestampMonotonic": "1250912620", "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": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "11994", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "realmd.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": "running", "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": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "WatchdogTimestamp": "Mon 2024-03-25 17:09:10 UTC", "WatchdogTimestampMonotonic": "1250923331", "WatchdogUSec": "0" } } TASK [Add AD server to existing network connection for DNS] ******************** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:77 Monday 25 March 2024 17:09:45 +0000 (0:00:00.463) 0:00:03.351 ********** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_dns | bool", "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:91 Monday 25 March 2024 17:09:45 +0000 (0:00:00.016) 0:00:03.367 ********** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_timesync | bool", "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Monday 25 March 2024 17:09:45 +0000 (0:00:00.015) 0:00:03.383 ********** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_crypto_policies | bool", "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 Monday 25 March 2024 17:09:45 +0000 (0:00:00.021) 0:00:03.404 ********** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if we are already joined to a domain] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 Monday 25 March 2024 17:09:45 +0000 (0:00:00.018) 0:00:03.422 ********** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_force_rejoin | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Leave existing joined domain] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:129 Monday 25 March 2024 17:09:45 +0000 (0:00:00.025) 0:00:03.448 ********** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_force_rejoin | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Build Command - Join to a specific Domain Controller] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Monday 25 March 2024 17:09:45 +0000 (0:00:00.017) 0:00:03.465 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.ad_integration : Build Join Command - Perform discovery-based realm join operation] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Monday 25 March 2024 17:09:45 +0000 (0:00:00.022) 0:00:03.488 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.ad_integration : Show the join command for debug] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:165 Monday 25 March 2024 17:09:45 +0000 (0:00:00.041) 0:00:03.529 ********** 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 [fedora.linux_system_roles.ad_integration : Run realm join command] ******* task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:177 Monday 25 March 2024 17:09:45 +0000 (0:00:00.018) 0:00:03.547 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.ad_integration : Configure SSSD settings] ****** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Monday 25 March 2024 17:09:45 +0000 (0:00:00.014) 0:00:03.562 ********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Monday 25 March 2024 17:09:45 +0000 (0:00:00.008) 0:00:03.571 ********** skipping: [sut] => (item={'key': 'dyndns_update', 'value': 'False'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_update", "value": "False" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_ttl', 'value': '3600'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_ttl", "value": "3600" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_refresh_interval', 'value': '86400'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_refresh_interval", "value": "86400" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_update_ptr', 'value': 'True'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_update_ptr", "value": "True" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_force_tcp', 'value': 'False'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_force_tcp", "value": "False" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_auth', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_auth", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'ad_hostname', 'value': 'a9733d50-448e-42fa-ac0c-dd283e7ffa0d.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "ad_hostname", "value": "a9733d50-448e-42fa-ac0c-dd283e7ffa0d.sample-realm.com" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.ad_integration : Configure custom SSSD settings] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 Monday 25 March 2024 17:09:45 +0000 (0:00:00.169) 0:00:03.740 ********** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 Monday 25 March 2024 17:09:45 +0000 (0:00:00.025) 0:00:03.766 ********** skipping: [sut] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Test - Check that realmd config is present] ****************************** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/tests/tests_preserve_authselect.yml:17 Monday 25 March 2024 17:09:45 +0000 (0:00:00.054) 0:00:03.820 ********** ok: [sut] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1711386585.2428398, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fd25e0699c5ebc2997bdc5460934d94ad75de834", "ctime": 1711386584.7548504, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 263501, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1711386584.5178556, "nlink": 1, "path": "/etc/realmd.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 341, "uid": 0, "version": "18446744072194530555", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get realmd.conf] ********************************************************* task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/tests/tests_preserve_authselect.yml:24 Monday 25 March 2024 17:09:45 +0000 (0:00:00.151) 0:00:03.972 ********** ok: [sut] => { "changed": false, "content": "IyBTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogTUlUCiMKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6YWRfaW50ZWdyYXRpb24KClthY3RpdmUtZGlyZWN0b3J5XQpkZWZhdWx0LWNsaWVudCA9IHNzc2QKCltzYW1wbGUtcmVhbG0uY29tXQphdXRvbWF0aWMtaWQtbWFwcGluZyA9IFRydWUKW2NvbW1hbmRzXQpzc3NkLWVuYWJsZS1sb2dpbnMgPSAvdXNyL2Jpbi9zaCAtYyAiL3Vzci9iaW4vc3lzdGVtY3RsIGVuYWJsZSBvZGRqb2JkLnNlcnZpY2UgJiYgL3Vzci9iaW4vc3lzdGVtY3RsIHN0YXJ0IG9kZGpvYmQuc2VydmljZSIKc3NzZC1kaXNhYmxlLWxvZ2lucyA9IC9iaW4vdHJ1ZQo=", "encoding": "base64", "source": "/etc/realmd.conf" } TASK [Decode realmd.conf] ****************************************************** task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/tests/tests_preserve_authselect.yml:29 Monday 25 March 2024 17:09:46 +0000 (0:00:00.273) 0:00:04.245 ********** ok: [sut] => { "ansible_facts": { "realmd_conf": "# SPDX-License-Identifier: MIT\n#\n#\n# Ansible managed\n#\n# system_role:ad_integration\n\n[active-directory]\ndefault-client = sssd\n\n[sample-realm.com]\nautomatic-id-mapping = True\n[commands]\nsssd-enable-logins = /usr/bin/sh -c \"/usr/bin/systemctl enable oddjobd.service && /usr/bin/systemctl start oddjobd.service\"\nsssd-disable-logins = /bin/true\n" }, "changed": false } TASK [Test - Check that expected strings are in realmd.conf] ******************* task path: /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/tests/tests_preserve_authselect.yml:33 Monday 25 March 2024 17:09:46 +0000 (0:00:00.020) 0:00:04.265 ********** ok: [sut] => { "changed": false } MSG: All assertions passed PLAY RECAP ********************************************************************* sut : ok=15 changed=2 unreachable=0 failed=0 skipped=18 rescued=0 ignored=0 Monday 25 March 2024 17:09:46 +0000 (0:00:00.015) 0:00:04.281 ********** =============================================================================== fedora.linux_system_roles.ad_integration : Ensure required packages are installed --- 0.72s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started --- 0.61s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf ---- 0.52s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 fedora.linux_system_roles.ad_integration : Ensure ansible_facts used by role --- 0.51s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services --- 0.46s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:3 Get realmd.conf --------------------------------------------------------- 0.27s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/tests/tests_preserve_authselect.yml:24 fedora.linux_system_roles.ad_integration : Check if system is ostree ---- 0.25s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates --- 0.17s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Test - Check that realmd config is present ------------------------------ 0.15s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/tests/tests_preserve_authselect.yml:17 fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree --- 0.07s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options --- 0.05s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 fedora.linux_system_roles.ad_integration : Set platform/version specific variables --- 0.05s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Test - Run the system role ---------------------------------------------- 0.05s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/tests/tests_preserve_authselect.yml:13 fedora.linux_system_roles.ad_integration : Build Join Command - Perform discovery-based realm join operation --- 0.04s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 fedora.linux_system_roles.ad_integration : Check if we are already joined to a domain --- 0.03s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 fedora.linux_system_roles.ad_integration : Configure custom SSSD settings --- 0.03s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 fedora.linux_system_roles.ad_integration : Build Command - Join to a specific Domain Controller --- 0.02s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Manage crypto policies -------------------------------------------------- 0.02s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Decode realmd.conf ------------------------------------------------------ 0.02s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/tests/tests_preserve_authselect.yml:29 Enable crypto policy allowing RC4 encryption ---------------------------- 0.02s /WORKDIR/git-use-fresh-win-modulesv4vb0pv0/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Could not match supplied host pattern, ignoring: ad ---^---^---^---^---^---