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_sssd_settings.yml ********************************************** 1 plays in /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml [WARNING]: Could not match supplied host pattern, ignoring: ad PLAY [Ensure that the role configures dynamic dns] ***************************** META: ran handlers TASK [Test - Run the system role with bogus vars] ****************************** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:17 Wednesday 23 October 2024 09:36:46 -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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Wednesday 23 October 2024 09:36:46 -0400 (0:00:00.037) 0:00:00.058 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Wednesday 23 October 2024 09:36:46 -0400 (0:00:00.032) 0:00:00.090 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Wednesday 23 October 2024 09:36:46 -0400 (0:00:00.032) 0:00:00.123 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Wednesday 23 October 2024 09:36:46 -0400 (0:00:00.033) 0:00:00.156 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Wednesday 23 October 2024 09:36:46 -0400 (0:00:00.035) 0:00:00.192 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Wednesday 23 October 2024 09:36:46 -0400 (0:00:00.050) 0:00:00.242 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Wednesday 23 October 2024 09:36:46 -0400 (0:00:00.045) 0:00:00.288 ***** included: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.ad_integration : Ensure ansible_facts used by role] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Wednesday 23 October 2024 09:36:46 -0400 (0:00:00.057) 0:00:00.345 ***** ok: [managed-node3] TASK [fedora.linux_system_roles.ad_integration : Check if system is ostree] **** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Wednesday 23 October 2024 09:36:47 -0400 (0:00:00.830) 0:00:01.176 ***** ok: [managed-node3] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Wednesday 23 October 2024 09:36:48 -0400 (0:00:00.477) 0:00:01.653 ***** ok: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Wednesday 23 October 2024 09:36:48 -0400 (0:00:00.053) 0:00:01.707 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Wednesday 23 October 2024 09:36:48 -0400 (0:00:00.079) 0:00:01.786 ***** ok: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Wednesday 23 October 2024 09:36:51 -0400 (0:00:03.470) 0:00:05.257 ***** ok: [managed-node3] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-10-23 09:36:45 EDT", "ActiveEnterTimestampMonotonic": "350470937", "ActiveExitTimestamp": "Wed 2024-10-23 09:36:45 EDT", "ActiveExitTimestampMonotonic": "350452341", "ActiveState": "active", "After": "sysinit.target system.slice dbus.socket basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-10-23 09:36:45 EDT", "AssertTimestampMonotonic": "350457147", "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": "Wed 2024-10-23 09:36:45 EDT", "ConditionTimestampMonotonic": "350457146", "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": "8435", "ExecMainStartTimestamp": "Wed 2024-10-23 09:36:45 EDT", "ExecMainStartTimestampMonotonic": "350458713", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/realmd ; argv[]=/usr/libexec/realmd ; ignore_errors=no ; start_time=[Wed 2024-10-23 09:36:45 EDT] ; stop_time=[n/a] ; pid=8435 ; 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": "Wed 2024-10-23 09:36:45 EDT", "InactiveEnterTimestampMonotonic": "350456332", "InactiveExitTimestamp": "Wed 2024-10-23 09:36:45 EDT", "InactiveExitTimestampMonotonic": "350458754", "InvocationID": "62d6d75a51b94f14952634d77c4ffc70", "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": "8435", "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": "sysinit.target system.slice dbus.socket", "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": "Wed 2024-10-23 09:36:45 EDT", "StateChangeTimestampMonotonic": "350470937", "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": "Wed 2024-10-23 09:36:45 EDT", "WatchdogTimestampMonotonic": "350470934", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf] **** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Wednesday 23 October 2024 09:36:53 -0400 (0:00:01.128) 0:00:06.385 ***** ok: [managed-node3] => { "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 } META: ran handlers TASK [Add AD server to existing network connection for DNS] ******************** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:77 Wednesday 23 October 2024 09:36:53 -0400 (0:00:00.716) 0:00:07.102 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:91 Wednesday 23 October 2024 09:36:53 -0400 (0:00:00.013) 0:00:07.115 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Wednesday 23 October 2024 09:36:53 -0400 (0:00:00.014) 0:00:07.129 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 Wednesday 23 October 2024 09:36:53 -0400 (0:00:00.013) 0:00:07.142 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 Wednesday 23 October 2024 09:36:53 -0400 (0:00:00.013) 0:00:07.156 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Leave existing joined domain] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:129 Wednesday 23 October 2024 09:36:53 -0400 (0:00:00.012) 0:00:07.168 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Wednesday 23 October 2024 09:36:53 -0400 (0:00:00.013) 0:00:07.182 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Wednesday 23 October 2024 09:36:53 -0400 (0:00:00.012) 0:00:07.194 ***** ok: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:165 Wednesday 23 October 2024 09:36:53 -0400 (0:00:00.017) 0:00:07.211 ***** ok: [managed-node3] => {} 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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:177 Wednesday 23 October 2024 09:36:53 -0400 (0:00:00.017) 0:00:07.228 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Wednesday 23 October 2024 09:36:53 -0400 (0:00:00.013) 0:00:07.242 ***** changed: [managed-node3] => (item={'key': 'reconnection_retries', 'value': 5}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "reconnection_retries", "value": 5 }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 33, "state": "file", "uid": 0 } MSG: section and option added changed: [managed-node3] => (item={'key': 'default_domain_suffix', 'value': 'addomain.xyz'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "default_domain_suffix", "value": "addomain.xyz" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 70, "state": "file", "uid": 0 } MSG: option added NOTIFIED HANDLER fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd for managed-node3 TASK [fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Wednesday 23 October 2024 09:36:54 -0400 (0:00:00.785) 0:00:08.028 ***** skipping: [managed-node3] => (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-node3] => (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-node3] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => (item={'key': 'dyndns_auth', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_auth", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'key': 'ad_hostname', 'value': 'managed-node3.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "ad_hostname", "value": "managed-node3.sample-realm.com" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Configure custom SSSD settings] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 Wednesday 23 October 2024 09:36:54 -0400 (0:00:00.056) 0:00:08.084 ***** TASK [fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 Wednesday 23 October 2024 09:36:54 -0400 (0:00:00.012) 0:00:08.096 ***** skipping: [managed-node3] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } TASK [Check SSSD settings] ***************************************************** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:21 Wednesday 23 October 2024 09:36:54 -0400 (0:00:00.022) 0:00:08.118 ***** ok: [managed-node3] => (item={'key': 'reconnection_retries', 'value': 5}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "reconnection_retries", "value": 5 }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 70, "state": "file", "uid": 0 } MSG: OK ok: [managed-node3] => (item={'key': 'default_domain_suffix', 'value': 'addomain.xyz'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "default_domain_suffix", "value": "addomain.xyz" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 70, "state": "file", "uid": 0 } MSG: OK TASK [Search /var/log/sssd/sssd.log for [sss_ini_call_validators]] ************* task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:36 Wednesday 23 October 2024 09:36:55 -0400 (0:00:00.707) 0:00:08.826 ***** ok: [managed-node3] => { "changed": false, "cmd": [ "grep", "-i", "sss_ini_call_validators", "/var/log/sssd/sssd.log" ], "delta": "0:00:00.003545", "end": "2024-10-23 09:36:55.883640", "failed_when_result": false, "rc": 2, "start": "2024-10-23 09:36:55.880095" } STDERR: grep: /var/log/sssd/sssd.log: No such file or directory MSG: non-zero return code TASK [Fail if signature found] ************************************************* task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:43 Wednesday 23 October 2024 09:36:55 -0400 (0:00:00.451) 0:00:09.277 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test - Re-Build a list of settings with state=absent] ******************** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:48 Wednesday 23 October 2024 09:36:55 -0400 (0:00:00.014) 0:00:09.291 ***** ok: [managed-node3] => { "ansible_facts": { "update_list": [ { "key": "reconnection_retries", "state": "absent", "value": 5 }, { "key": "default_domain_suffix", "state": "absent", "value": "addomain.xyz" } ] }, "changed": false } TASK [Test - Re-run the system role to remove vars] **************************** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:52 Wednesday 23 October 2024 09:36:55 -0400 (0:00:00.021) 0:00:09.313 ***** TASK [fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Wednesday 23 October 2024 09:36:56 -0400 (0:00:00.061) 0:00:09.374 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Wednesday 23 October 2024 09:36:56 -0400 (0:00:00.014) 0:00:09.389 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Wednesday 23 October 2024 09:36:56 -0400 (0:00:00.020) 0:00:09.410 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Wednesday 23 October 2024 09:36:56 -0400 (0:00:00.012) 0:00:09.423 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Wednesday 23 October 2024 09:36:56 -0400 (0:00:00.018) 0:00:09.441 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Wednesday 23 October 2024 09:36:56 -0400 (0:00:00.018) 0:00:09.460 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Wednesday 23 October 2024 09:36:56 -0400 (0:00:00.014) 0:00:09.474 ***** included: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml for managed-node3 TASK [fedora.linux_system_roles.ad_integration : Ensure ansible_facts used by role] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Wednesday 23 October 2024 09:36:56 -0400 (0:00:00.026) 0:00:09.501 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if system is ostree] **** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Wednesday 23 October 2024 09:36:56 -0400 (0:00:00.019) 0:00:09.520 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Wednesday 23 October 2024 09:36:56 -0400 (0:00:00.013) 0:00:09.534 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Wednesday 23 October 2024 09:36:56 -0400 (0:00:00.017) 0:00:09.551 ***** skipping: [managed-node3] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item=CentOS_8.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Wednesday 23 October 2024 09:36:56 -0400 (0:00:00.031) 0:00:09.583 ***** ok: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Wednesday 23 October 2024 09:36:59 -0400 (0:00:03.268) 0:00:12.851 ***** ok: [managed-node3] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "ActiveEnterTimestamp": "Wed 2024-10-23 09:36:45 EDT", "ActiveEnterTimestampMonotonic": "350470937", "ActiveExitTimestamp": "Wed 2024-10-23 09:36:45 EDT", "ActiveExitTimestampMonotonic": "350452341", "ActiveState": "active", "After": "sysinit.target system.slice dbus.socket basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Wed 2024-10-23 09:36:45 EDT", "AssertTimestampMonotonic": "350457147", "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": "Wed 2024-10-23 09:36:45 EDT", "ConditionTimestampMonotonic": "350457146", "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": "8435", "ExecMainStartTimestamp": "Wed 2024-10-23 09:36:45 EDT", "ExecMainStartTimestampMonotonic": "350458713", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/realmd ; argv[]=/usr/libexec/realmd ; ignore_errors=no ; start_time=[Wed 2024-10-23 09:36:45 EDT] ; stop_time=[n/a] ; pid=8435 ; 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": "Wed 2024-10-23 09:36:45 EDT", "InactiveEnterTimestampMonotonic": "350456332", "InactiveExitTimestamp": "Wed 2024-10-23 09:36:45 EDT", "InactiveExitTimestampMonotonic": "350458754", "InvocationID": "62d6d75a51b94f14952634d77c4ffc70", "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": "8435", "MemoryAccounting": "yes", "MemoryCurrent": "2105344", "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": "sysinit.target system.slice dbus.socket", "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": "Wed 2024-10-23 09:36:45 EDT", "StateChangeTimestampMonotonic": "350470937", "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": "Wed 2024-10-23 09:36:45 EDT", "WatchdogTimestampMonotonic": "350470934", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf] **** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Wednesday 23 October 2024 09:37:00 -0400 (0:00:00.837) 0:00:13.689 ***** ok: [managed-node3] => { "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 [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:10 Wednesday 23 October 2024 09:37:00 -0400 (0:00:00.607) 0:00:14.296 ***** skipping: [managed-node3] => (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: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:77 Wednesday 23 October 2024 09:37:00 -0400 (0:00:00.020) 0:00:14.317 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:91 Wednesday 23 October 2024 09:37:00 -0400 (0:00:00.013) 0:00:14.330 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Wednesday 23 October 2024 09:37:00 -0400 (0:00:00.013) 0:00:14.343 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 Wednesday 23 October 2024 09:37:01 -0400 (0:00:00.012) 0:00:14.356 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 Wednesday 23 October 2024 09:37:01 -0400 (0:00:00.013) 0:00:14.369 ***** skipping: [managed-node3] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Leave existing joined domain] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:129 Wednesday 23 October 2024 09:37:01 -0400 (0:00:00.012) 0:00:14.381 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Wednesday 23 October 2024 09:37:01 -0400 (0:00:00.013) 0:00:14.395 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Wednesday 23 October 2024 09:37:01 -0400 (0:00:00.012) 0:00:14.407 ***** ok: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:165 Wednesday 23 October 2024 09:37:01 -0400 (0:00:00.017) 0:00:14.425 ***** ok: [managed-node3] => {} 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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:177 Wednesday 23 October 2024 09:37:01 -0400 (0:00:00.016) 0:00:14.441 ***** skipping: [managed-node3] => { "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-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Wednesday 23 October 2024 09:37:01 -0400 (0:00:00.013) 0:00:14.455 ***** changed: [managed-node3] => (item={'key': 'reconnection_retries', 'value': 5, 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "reconnection_retries", "state": "absent", "value": 5 }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 45, "state": "file", "uid": 0 } MSG: option changed changed: [managed-node3] => (item={'key': 'default_domain_suffix', 'value': 'addomain.xyz', 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "default_domain_suffix", "state": "absent", "value": "addomain.xyz" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 8, "state": "file", "uid": 0 } MSG: option changed NOTIFIED HANDLER fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd for managed-node3 TASK [fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Wednesday 23 October 2024 09:37:01 -0400 (0:00:00.690) 0:00:15.145 ***** skipping: [managed-node3] => (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-node3] => (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-node3] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (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-node3] => (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-node3] => (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-node3] => (item={'key': 'dyndns_auth', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_auth", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'key': 'ad_hostname', 'value': 'managed-node3.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "ad_hostname", "value": "managed-node3.sample-realm.com" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Configure custom SSSD settings] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 Wednesday 23 October 2024 09:37:01 -0400 (0:00:00.054) 0:00:15.200 ***** TASK [fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 Wednesday 23 October 2024 09:37:01 -0400 (0:00:00.012) 0:00:15.213 ***** skipping: [managed-node3] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node3] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } TASK [Check custom SSSD settings] ********************************************** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:58 Wednesday 23 October 2024 09:37:01 -0400 (0:00:00.022) 0:00:15.235 ***** ok: [managed-node3] => (item={'key': 'reconnection_retries', 'value': 5, 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "reconnection_retries", "state": "absent", "value": 5 }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 8, "state": "file", "uid": 0 } MSG: OK ok: [managed-node3] => (item={'key': 'default_domain_suffix', 'value': 'addomain.xyz', 'state': 'absent'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "default_domain_suffix", "state": "absent", "value": "addomain.xyz" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 8, "state": "file", "uid": 0 } MSG: OK RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd] *** task path: /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:10 Wednesday 23 October 2024 09:37:02 -0400 (0:00:00.700) 0:00:15.936 ***** skipping: [managed-node3] => (item=sssd) => { "ansible_loop_var": "item", "changed": false, "item": "sssd", "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node3 : ok=21 changed=2 unreachable=0 failed=0 skipped=42 rescued=0 ignored=0 Wednesday 23 October 2024 09:37:02 -0400 (0:00:00.018) 0:00:15.955 ***** =============================================================================== fedora.linux_system_roles.ad_integration : Ensure required packages are installed --- 3.47s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 fedora.linux_system_roles.ad_integration : Ensure required packages are installed --- 3.27s /tmp/collections-Obu/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.13s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started --- 0.84s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 fedora.linux_system_roles.ad_integration : Ensure ansible_facts used by role --- 0.83s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 fedora.linux_system_roles.ad_integration : Configure SSSD settings ------ 0.79s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf ---- 0.72s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Check SSSD settings ----------------------------------------------------- 0.71s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:21 Check custom SSSD settings ---------------------------------------------- 0.70s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:58 fedora.linux_system_roles.ad_integration : Configure SSSD settings ------ 0.69s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf ---- 0.61s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 fedora.linux_system_roles.ad_integration : Check if system is ostree ---- 0.48s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Search /var/log/sssd/sssd.log for [sss_ini_call_validators] ------------- 0.45s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:36 fedora.linux_system_roles.ad_integration : Set platform/version specific variables --- 0.08s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Test - Re-run the system role to remove vars ---------------------------- 0.06s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:52 fedora.linux_system_roles.ad_integration : Set platform/version specific variables --- 0.06s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates --- 0.06s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates --- 0.05s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree --- 0.05s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 fedora.linux_system_roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4 --- 0.05s /tmp/collections-Obu/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30