ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles 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_preserve_authselect.yml **************************************** 1 plays in /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_preserve_authselect.yml [WARNING]: Could not match supplied host pattern, ignoring: ad PLAY [Ensure that the role ad_integration_preserve_authselect_profile works] *** META: ran handlers TASK [Test - Run the system role] ********************************************** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_preserve_authselect.yml:13 Friday 20 September 2024 20:14:24 -0400 (0:00:00.020) 0:00:00.020 ****** TASK [fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Friday 20 September 2024 20:14:24 -0400 (0:00:00.037) 0:00:00.058 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Friday 20 September 2024 20:14:24 -0400 (0:00:00.032) 0:00:00.091 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Friday 20 September 2024 20:14:24 -0400 (0:00:00.031) 0:00:00.123 ****** skipping: [managed_node1] => { "changed": false, "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: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Friday 20 September 2024 20:14:24 -0400 (0:00:00.031) 0:00:00.154 ****** skipping: [managed_node1] => { "changed": false, "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: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Friday 20 September 2024 20:14:24 -0400 (0:00:00.030) 0:00:00.184 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure all required dns variables are provided] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Friday 20 September 2024 20:14:24 -0400 (0:00:00.030) 0:00:00.215 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Friday 20 September 2024 20:14:24 -0400 (0:00:00.029) 0:00:00.245 ****** included: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.ad_integration : Ensure ansible_facts used by role] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Friday 20 September 2024 20:14:24 -0400 (0:00:00.020) 0:00:00.265 ****** ok: [managed_node1] TASK [fedora.linux_system_roles.ad_integration : Check if system is ostree] **** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Friday 20 September 2024 20:14:25 -0400 (0:00:00.743) 0:00:01.009 ****** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Friday 20 September 2024 20:14:26 -0400 (0:00:00.430) 0:00:01.439 ****** ok: [managed_node1] => { "ansible_facts": { "__ad_integration_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Friday 20 September 2024 20:14:26 -0400 (0:00:00.036) 0:00:01.476 ****** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure required packages are installed] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Friday 20 September 2024 20:14:26 -0400 (0:00:00.068) 0:00:01.545 ****** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do TASK [fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Friday 20 September 2024 20:14:29 -0400 (0:00:03.200) 0:00:04.746 ****** ok: [managed_node1] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 20:14:20 EDT", "ActiveEnterTimestampMonotonic": "318426288", "ActiveExitTimestamp": "Fri 2024-09-20 20:14:20 EDT", "ActiveExitTimestampMonotonic": "318409197", "ActiveState": "active", "After": "systemd-journald.socket basic.target dbus.socket sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 20:14:20 EDT", "AssertTimestampMonotonic": "318414044", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.realmd", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 20:14:20 EDT", "ConditionTimestampMonotonic": "318414043", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/realmd.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8547", "ExecMainStartTimestamp": "Fri 2024-09-20 20:14:20 EDT", "ExecMainStartTimestampMonotonic": "318414945", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/realmd ; argv[]=/usr/libexec/realmd ; ignore_errors=no ; start_time=[Fri 2024-09-20 20:14:20 EDT] ; stop_time=[n/a] ; pid=8547 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-09-20 20:14:20 EDT", "InactiveEnterTimestampMonotonic": "318413300", "InactiveExitTimestamp": "Fri 2024-09-20 20:14:20 EDT", "InactiveExitTimestampMonotonic": "318414979", "InvocationID": "3da22264bc9945d693f56374f942eaad", "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": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8547", "MemoryAccounting": "yes", "MemoryCurrent": "2097152", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "realmd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-09-20 20:14:20 EDT", "StateChangeTimestampMonotonic": "318426288", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WatchdogTimestamp": "Fri 2024-09-20 20:14:20 EDT", "WatchdogTimestampMonotonic": "318426286", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf] **** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Friday 20 September 2024 20:14:30 -0400 (0:00:01.118) 0:00:05.864 ****** NOTIFIED HANDLER fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services for managed_node1 changed: [managed_node1] => { "backup_file": "/etc/realmd.conf.9956.2024-09-20@20:14:31~", "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-1726877670.536953-9383-152097957209575/source", "state": "file", "uid": 0 } RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:3 Friday 20 September 2024 20:14:31 -0400 (0:00:00.827) 0:00:06.692 ****** changed: [managed_node1] => (item=realmd) => { "ansible_loop_var": "item", "changed": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-20 20:14:20 EDT", "ActiveEnterTimestampMonotonic": "318426288", "ActiveExitTimestamp": "Fri 2024-09-20 20:14:20 EDT", "ActiveExitTimestampMonotonic": "318409197", "ActiveState": "active", "After": "systemd-journald.socket basic.target dbus.socket sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-20 20:14:20 EDT", "AssertTimestampMonotonic": "318414044", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.realmd", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-20 20:14:20 EDT", "ConditionTimestampMonotonic": "318414043", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/realmd.service", "ControlPID": "0", "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", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8547", "ExecMainStartTimestamp": "Fri 2024-09-20 20:14:20 EDT", "ExecMainStartTimestampMonotonic": "318414945", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/realmd ; argv[]=/usr/libexec/realmd ; ignore_errors=no ; start_time=[Fri 2024-09-20 20:14:20 EDT] ; stop_time=[n/a] ; pid=8547 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-09-20 20:14:20 EDT", "InactiveEnterTimestampMonotonic": "318413300", "InactiveExitTimestamp": "Fri 2024-09-20 20:14:20 EDT", "InactiveExitTimestampMonotonic": "318414979", "InvocationID": "3da22264bc9945d693f56374f942eaad", "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": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "8547", "MemoryAccounting": "yes", "MemoryCurrent": "2097152", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "realmd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "dbus.socket sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Fri 2024-09-20 20:14:20 EDT", "StateChangeTimestampMonotonic": "318426288", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22405", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WatchdogTimestamp": "Fri 2024-09-20 20:14:20 EDT", "WatchdogTimestampMonotonic": "318426286", "WatchdogUSec": "0" } } META: ran handlers TASK [Add AD server to existing network connection for DNS] ******************** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:77 Friday 20 September 2024 20:14:32 -0400 (0:00:00.968) 0:00:07.661 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:91 Friday 20 September 2024 20:14:32 -0400 (0:00:00.017) 0:00:07.678 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Friday 20 September 2024 20:14:32 -0400 (0:00:00.023) 0:00:07.702 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 Friday 20 September 2024 20:14:32 -0400 (0:00:00.019) 0:00:07.721 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if we are already joined to a domain] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 Friday 20 September 2024 20:14:32 -0400 (0:00:00.020) 0:00:07.742 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Leave existing joined domain] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:129 Friday 20 September 2024 20:14:32 -0400 (0:00:00.026) 0:00:07.769 ****** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Build Command - Join to a specific Domain Controller] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Friday 20 September 2024 20:14:32 -0400 (0:00:00.018) 0:00:07.787 ****** skipping: [managed_node1] => { "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: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Friday 20 September 2024 20:14:32 -0400 (0:00:00.019) 0:00:07.807 ****** ok: [managed_node1] => { "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: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:165 Friday 20 September 2024 20:14:32 -0400 (0:00:00.028) 0:00:07.835 ****** ok: [managed_node1] => {} 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: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:177 Friday 20 September 2024 20:14:32 -0400 (0:00:00.024) 0:00:07.860 ****** skipping: [managed_node1] => { "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: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Friday 20 September 2024 20:14:32 -0400 (0:00:00.022) 0:00:07.883 ****** TASK [fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Friday 20 September 2024 20:14:32 -0400 (0:00:00.017) 0:00:07.900 ****** skipping: [managed_node1] => (item={'key': 'dyndns_update', 'value': 'False'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_update", "value": "False" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_ttl', 'value': '3600'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_ttl", "value": "3600" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_refresh_interval', 'value': '86400'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_refresh_interval", "value": "86400" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_update_ptr', 'value': 'True'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_update_ptr", "value": "True" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_force_tcp', 'value': 'False'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_force_tcp", "value": "False" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_auth', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_auth", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'ad_hostname', 'value': 'ip-10-31-45-110.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "ad_hostname", "value": "ip-10-31-45-110.sample-realm.com" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Configure custom SSSD settings] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 Friday 20 September 2024 20:14:32 -0400 (0:00:00.077) 0:00:07.978 ****** TASK [fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 Friday 20 September 2024 20:14:32 -0400 (0:00:00.011) 0:00:07.990 ****** skipping: [managed_node1] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } TASK [Test - Check that realmd config is present] ****************************** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_preserve_authselect.yml:17 Friday 20 September 2024 20:14:32 -0400 (0:00:00.023) 0:00:08.013 ****** ok: [managed_node1] => { "changed": false, "failed_when_result": false, "stat": { "atime": 1726877672.195189, "attr_flags": "", "attributes": [], "block_size": 4096, "blocks": 8, "charset": "us-ascii", "checksum": "fd25e0699c5ebc2997bdc5460934d94ad75de834", "ctime": 1726877671.270184, "dev": 51713, "device_type": 0, "executable": false, "exists": true, "gid": 0, "gr_name": "root", "inode": 450887812, "isblk": false, "ischr": false, "isdir": false, "isfifo": false, "isgid": false, "islnk": false, "isreg": true, "issock": false, "isuid": false, "mimetype": "text/plain", "mode": "0400", "mtime": 1726877670.899182, "nlink": 1, "path": "/etc/realmd.conf", "pw_name": "root", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 341, "uid": 0, "version": "3347316622", "wgrp": false, "woth": false, "writeable": true, "wusr": false, "xgrp": false, "xoth": false, "xusr": false } } TASK [Get realmd.conf] ********************************************************* task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_preserve_authselect.yml:24 Friday 20 September 2024 20:14:32 -0400 (0:00:00.321) 0:00:08.334 ****** ok: [managed_node1] => { "changed": false, "content": "IyBTUERYLUxpY2Vuc2UtSWRlbnRpZmllcjogTUlUCiMKIwojIEFuc2libGUgbWFuYWdlZAojCiMgc3lzdGVtX3JvbGU6YWRfaW50ZWdyYXRpb24KClthY3RpdmUtZGlyZWN0b3J5XQpkZWZhdWx0LWNsaWVudCA9IHNzc2QKCltzYW1wbGUtcmVhbG0uY29tXQphdXRvbWF0aWMtaWQtbWFwcGluZyA9IFRydWUKW2NvbW1hbmRzXQpzc3NkLWVuYWJsZS1sb2dpbnMgPSAvdXNyL2Jpbi9zaCAtYyAiL3Vzci9iaW4vc3lzdGVtY3RsIGVuYWJsZSBvZGRqb2JkLnNlcnZpY2UgJiYgL3Vzci9iaW4vc3lzdGVtY3RsIHN0YXJ0IG9kZGpvYmQuc2VydmljZSIKc3NzZC1kaXNhYmxlLWxvZ2lucyA9IC9iaW4vdHJ1ZQo=", "encoding": "base64", "source": "/etc/realmd.conf" } TASK [Decode realmd.conf] ****************************************************** task path: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_preserve_authselect.yml:29 Friday 20 September 2024 20:14:33 -0400 (0:00:00.436) 0:00:08.770 ****** ok: [managed_node1] => { "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: /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_preserve_authselect.yml:33 Friday 20 September 2024 20:14:33 -0400 (0:00:00.024) 0:00:08.795 ****** ok: [managed_node1] => { "changed": false } MSG: All assertions passed META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=14 changed=2 unreachable=0 failed=0 skipped=19 rescued=0 ignored=0 Friday 20 September 2024 20:14:33 -0400 (0:00:00.024) 0:00:08.819 ****** =============================================================================== fedora.linux_system_roles.ad_integration : Ensure required packages are installed --- 3.20s /tmp/collections-qPm/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 --- 1.12s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services --- 0.97s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:3 fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf ---- 0.83s /tmp/collections-qPm/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.74s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Get realmd.conf --------------------------------------------------------- 0.44s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_preserve_authselect.yml:24 fedora.linux_system_roles.ad_integration : Check if system is ostree ---- 0.43s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Test - Check that realmd config is present ------------------------------ 0.32s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_preserve_authselect.yml:17 fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates --- 0.08s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 fedora.linux_system_roles.ad_integration : Set platform/version specific variables --- 0.07s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Test - Run the system role ---------------------------------------------- 0.04s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_preserve_authselect.yml:13 fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree --- 0.04s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available --- 0.03s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 fedora.linux_system_roles.ad_integration : Assume managing timesync if timesource is set --- 0.03s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 fedora.linux_system_roles.ad_integration : Ensure time source is provided if managing timesync --- 0.03s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 fedora.linux_system_roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set --- 0.03s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 fedora.linux_system_roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4 --- 0.03s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 fedora.linux_system_roles.ad_integration : Ensure all required dns variables are provided --- 0.03s /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 fedora.linux_system_roles.ad_integration : Build Join Command - Perform discovery-based realm join operation --- 0.03s /tmp/collections-qPm/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 /tmp/collections-qPm/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123