[DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Could not match supplied host pattern, ignoring: ad ansible-playbook [core 2.17.4] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-BAs executable location = /usr/local/bin/ansible-playbook python version = 3.12.5 (main, Aug 23 2024, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-2)] (/usr/bin/python3.12) jinja version = 3.1.4 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.debug to ansible.posix.debug redirecting (type: callback) ansible.builtin.profile_tasks to ansible.posix.profile_tasks Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_sssd_settings.yml ********************************************** 1 plays in /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml PLAY [Ensure that the role configures dynamic dns] ***************************** TASK [Test - Run the system role with bogus vars] ****************************** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:17 Saturday 14 September 2024 08:21:42 -0400 (0:00:00.012) 0:00:00.012 **** included: fedora.linux_system_roles.ad_integration for managed_node1 TASK [fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Saturday 14 September 2024 08:21:42 -0400 (0:00:00.079) 0:00:00.091 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not ad_integration_realm", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Saturday 14 September 2024 08:21:42 -0400 (0:00:00.017) 0:00:00.109 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_timesync_source is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Saturday 14 September 2024 08:21:42 -0400 (0:00:00.029) 0:00:00.138 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_manage_timesync | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Saturday 14 September 2024 08:21:42 -0400 (0:00:00.054) 0:00:00.193 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Saturday 14 September 2024 08:21:42 -0400 (0:00:00.054) 0:00:00.247 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure all required dns variables are provided] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Saturday 14 September 2024 08:21:42 -0400 (0:00:00.041) 0:00:00.289 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_manage_dns | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Saturday 14 September 2024 08:21:42 -0400 (0:00:00.034) 0:00:00.324 **** included: /tmp/collections-BAs/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-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Saturday 14 September 2024 08:21:42 -0400 (0:00:00.022) 0:00:00.346 **** [WARNING]: Platform linux on host managed_node1 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed_node1] TASK [fedora.linux_system_roles.ad_integration : Check if system is ostree] **** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Saturday 14 September 2024 08:21:43 -0400 (0:00:01.001) 0:00:01.348 **** 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-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Saturday 14 September 2024 08:21:44 -0400 (0:00:00.393) 0:00:01.741 **** 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-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Saturday 14 September 2024 08:21:44 -0400 (0:00:00.024) 0:00:01.766 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.ad_integration : Ensure required packages are installed] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Saturday 14 September 2024 08:21:44 -0400 (0:00:00.027) 0:00:01.793 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: PackageKit realmd TASK [fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Saturday 14 September 2024 08:21:46 -0400 (0:00:01.807) 0:00:03.601 **** ok: [managed_node1] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-09-14 08:21:37 EDT", "ActiveEnterTimestampMonotonic": "241221379", "ActiveExitTimestamp": "Sat 2024-09-14 08:21:37 EDT", "ActiveExitTimestampMonotonic": "241201983", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target dbus.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-14 08:21:37 EDT", "AssertTimestampMonotonic": "241203412", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.realmd", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "8476000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-09-14 08:21:37 EDT", "ConditionTimestampMonotonic": "241203409", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/realmd.service", "ControlGroupId": "3851", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Realm and Domain Configuration", "DevicePolicy": "auto", "Documentation": "\"man:realm(8)\" \"man:realmd.conf(5)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7582", "ExecMainStartTimestamp": "Sat 2024-09-14 08:21:37 EDT", "ExecMainStartTimestampMonotonic": "241213099", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/realmd ; argv[]=/usr/libexec/realmd ; ignore_errors=no ; start_time=[Sat 2024-09-14 08:21:37 EDT] ; stop_time=[n/a] ; pid=7582 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/libexec/realmd ; argv[]=/usr/libexec/realmd ; flags= ; start_time=[Sat 2024-09-14 08:21:37 EDT] ; stop_time=[n/a] ; pid=7582 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-09-14 08:21:37 EDT", "InactiveEnterTimestampMonotonic": "241202848", "InactiveExitTimestamp": "Sat 2024-09-14 08:21:37 EDT", "InactiveExitTimestampMonotonic": "241213365", "InvocationID": "9d3dba9609de414f9a4d42e5b5940e9e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13964", "LimitNPROCSoft": "13964", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13964", "LimitSIGPENDINGSoft": "13964", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7582", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1728512", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "realmd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-09-14 08:21:37 EDT", "StateChangeTimestampMonotonic": "241221379", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "4", "TasksMax": "22342", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf] **** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Saturday 14 September 2024 08:21:47 -0400 (0:00:00.988) 0:00:04.590 **** Notification for handler Handler for ad_integration to restart services has been saved. changed: [managed_node1] => { "backup_file": "/etc/realmd.conf.8803.2024-09-14@08:21:47~", "changed": true, "checksum": "0fe3f55e582b3bf7fd00d6665b2e8dcfd0f0d645", "dest": "/etc/realmd.conf", "gid": 0, "group": "root", "md5sum": "c03fe7d9bbd0f743ca4fbe88f5320506", "mode": "0400", "owner": "root", "secontext": "system_u:object_r:etc_t:s0", "size": 174, "src": "/root/.ansible/tmp/ansible-tmp-1726316507.1058135-8303-77718606786212/.source.conf", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.ad_integration : Flush handlers] *************** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:73 Saturday 14 September 2024 08:21:47 -0400 (0:00:00.750) 0:00:05.340 **** NOTIFIED HANDLER fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:3 Saturday 14 September 2024 08:21:47 -0400 (0:00:00.004) 0:00:05.345 **** skipping: [managed_node1] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not __ad_integration_test_sssd_config_only | default(false)", "item": "realmd", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Add AD server to existing network connection for DNS] ******************** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:77 Saturday 14 September 2024 08:21:47 -0400 (0:00:00.038) 0:00:05.384 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_manage_dns | bool", "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:91 Saturday 14 September 2024 08:21:47 -0400 (0:00:00.032) 0:00:05.416 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_manage_timesync | bool", "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Saturday 14 September 2024 08:21:47 -0400 (0:00:00.029) 0:00:05.446 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_manage_crypto_policies | bool", "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 Saturday 14 September 2024 08:21:47 -0400 (0:00:00.028) 0:00:05.474 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if we are already joined to a domain] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 Saturday 14 September 2024 08:21:47 -0400 (0:00:00.028) 0:00:05.502 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_force_rejoin | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Leave existing joined domain] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:129 Saturday 14 September 2024 08:21:48 -0400 (0:00:00.027) 0:00:05.529 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_force_rejoin | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Build Command - Join to a specific Domain Controller] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Saturday 14 September 2024 08:21:48 -0400 (0:00:00.026) 0:00:05.556 **** 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-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Saturday 14 September 2024 08:21:48 -0400 (0:00:00.013) 0:00:05.570 **** 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-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:165 Saturday 14 September 2024 08:21:48 -0400 (0:00:00.034) 0:00:05.605 **** 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-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:177 Saturday 14 September 2024 08:21:48 -0400 (0:00:00.015) 0:00:05.621 **** 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-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Saturday 14 September 2024 08:21:48 -0400 (0:00:00.011) 0:00:05.632 **** changed: [managed_node1] => (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_node1] => (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 Notification for handler Handler for ad_integration to restart services - sssd has been saved. Notification for handler Handler for ad_integration to restart services - sssd has been saved. TASK [fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Saturday 14 September 2024 08:21:48 -0400 (0:00:00.758) 0:00:06.391 **** skipping: [managed_node1] => (item={'key': 'dyndns_update', 'value': 'False'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_update", "value": "False" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_ttl', 'value': '3600'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_ttl", "value": "3600" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_refresh_interval', 'value': '86400'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_refresh_interval", "value": "86400" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_update_ptr', 'value': 'True'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_update_ptr", "value": "True" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_force_tcp', 'value': 'False'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_force_tcp", "value": "False" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_auth', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_auth", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'ad_hostname', 'value': 'ip-10-31-41-236.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "ad_hostname", "value": "ip-10-31-41-236.sample-realm.com" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.ad_integration : Configure custom SSSD settings] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 Saturday 14 September 2024 08:21:48 -0400 (0:00:00.099) 0:00:06.490 **** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 Saturday 14 September 2024 08:21:48 -0400 (0:00:00.014) 0:00:06.505 **** skipping: [managed_node1] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Check SSSD settings] ***************************************************** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:21 Saturday 14 September 2024 08:21:49 -0400 (0:00:00.061) 0:00:06.566 **** ok: [managed_node1] => (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_node1] => (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-BAs/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:36 Saturday 14 September 2024 08:21:49 -0400 (0:00:00.680) 0:00:07.247 **** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-i", "sss_ini_call_validators", "/var/log/sssd/sssd.log" ], "delta": "0:00:00.003462", "end": "2024-09-14 08:21:50.099470", "failed_when_result": false, "rc": 2, "start": "2024-09-14 08:21:50.096008" } 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-BAs/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:43 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.411) 0:00:07.659 **** skipping: [managed_node1] => { "changed": false, "false_condition": "sssd_log.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [Test - Re-Build a list of settings with state=absent] ******************** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:48 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.028) 0:00:07.688 **** ok: [managed_node1] => { "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-BAs/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:52 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.032) 0:00:07.720 **** included: fedora.linux_system_roles.ad_integration for managed_node1 TASK [fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.044) 0:00:07.764 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not ad_integration_realm", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.010) 0:00:07.775 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_timesync_source is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.018) 0:00:07.794 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_manage_timesync | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.033) 0:00:07.827 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.033) 0:00:07.861 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure all required dns variables are provided] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.032) 0:00:07.893 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_manage_dns | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.036) 0:00:07.929 **** included: /tmp/collections-BAs/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-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.022) 0:00:07.952 **** skipping: [managed_node1] => { "changed": false, "false_condition": "__ad_integration_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if system is ostree] **** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.034) 0:00:07.986 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __ad_integration_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.014) 0:00:08.001 **** skipping: [managed_node1] => { "changed": false, "false_condition": "not __ad_integration_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.016) 0:00:08.017 **** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS_9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS_9.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.ad_integration : Ensure required packages are installed] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Saturday 14 September 2024 08:21:50 -0400 (0:00:00.028) 0:00:08.045 **** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [] } MSG: Nothing to do lsrpackages: PackageKit realmd TASK [fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Saturday 14 September 2024 08:21:52 -0400 (0:00:01.618) 0:00:09.664 **** ok: [managed_node1] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:systemd_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2024-09-14 08:21:37 EDT", "ActiveEnterTimestampMonotonic": "241221379", "ActiveExitTimestamp": "Sat 2024-09-14 08:21:37 EDT", "ActiveExitTimestampMonotonic": "241201983", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target dbus.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-09-14 08:21:37 EDT", "AssertTimestampMonotonic": "241203412", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "BusName": "org.freedesktop.realmd", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "9103000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-09-14 08:21:37 EDT", "ConditionTimestampMonotonic": "241203409", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/realmd.service", "ControlGroupId": "3851", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "Realm and Domain Configuration", "DevicePolicy": "auto", "Documentation": "\"man:realm(8)\" \"man:realmd.conf(5)\"", "DynamicUser": "no", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "7582", "ExecMainStartTimestamp": "Sat 2024-09-14 08:21:37 EDT", "ExecMainStartTimestampMonotonic": "241213099", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/libexec/realmd ; argv[]=/usr/libexec/realmd ; ignore_errors=no ; start_time=[Sat 2024-09-14 08:21:37 EDT] ; stop_time=[n/a] ; pid=7582 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/libexec/realmd ; argv[]=/usr/libexec/realmd ; flags= ; start_time=[Sat 2024-09-14 08:21:37 EDT] ; stop_time=[n/a] ; pid=7582 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "FreezerState": "running", "GID": "[not set]", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-09-14 08:21:37 EDT", "InactiveEnterTimestampMonotonic": "241202848", "InactiveExitTimestamp": "Sat 2024-09-14 08:21:37 EDT", "InactiveExitTimestampMonotonic": "241213365", "InvocationID": "9d3dba9609de414f9a4d42e5b5940e9e", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13964", "LimitNPROCSoft": "13964", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13964", "LimitSIGPENDINGSoft": "13964", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "7582", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "1712128", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "realmd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMPolicy": "stop", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target dbus.socket", "Restart": "no", "RestartKillSignal": "15", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2024-09-14 08:21:37 EDT", "StateChangeTimestampMonotonic": "241221379", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "3", "TasksMax": "22342", "TimeoutAbortUSec": "1min 30s", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "1min 30s", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf] **** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Saturday 14 September 2024 08:21:52 -0400 (0:00:00.788) 0:00:10.453 **** ok: [managed_node1] => { "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 } TASK [fedora.linux_system_roles.ad_integration : Flush handlers] *************** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:73 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.645) 0:00:11.099 **** NOTIFIED HANDLER fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd for managed_node1 META: triggered running handlers for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:10 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.002) 0:00:11.102 **** skipping: [managed_node1] => (item=sssd) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not __ad_integration_test_sssd_config_only | default(false)", "item": "sssd", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Add AD server to existing network connection for DNS] ******************** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:77 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.031) 0:00:11.133 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_manage_dns | bool", "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:91 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.027) 0:00:11.161 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_manage_timesync | bool", "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.027) 0:00:11.188 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_manage_crypto_policies | bool", "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.028) 0:00:11.217 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if we are already joined to a domain] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.028) 0:00:11.245 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_force_rejoin | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Leave existing joined domain] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:129 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.026) 0:00:11.272 **** skipping: [managed_node1] => { "changed": false, "false_condition": "ad_integration_force_rejoin | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Build Command - Join to a specific Domain Controller] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.025) 0:00:11.298 **** 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-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.014) 0:00:11.312 **** 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-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:165 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.032) 0:00:11.345 **** 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-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:177 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.018) 0:00:11.363 **** 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-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Saturday 14 September 2024 08:21:53 -0400 (0:00:00.011) 0:00:11.374 **** changed: [managed_node1] => (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_node1] => (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 Notification for handler Handler for ad_integration to restart services - sssd has been saved. Notification for handler Handler for ad_integration to restart services - sssd has been saved. TASK [fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Saturday 14 September 2024 08:21:54 -0400 (0:00:00.619) 0:00:11.994 **** skipping: [managed_node1] => (item={'key': 'dyndns_update', 'value': 'False'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_update", "value": "False" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_ttl', 'value': '3600'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_ttl", "value": "3600" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_refresh_interval', 'value': '86400'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_refresh_interval", "value": "86400" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_update_ptr', 'value': 'True'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_update_ptr", "value": "True" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_force_tcp', 'value': 'False'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_force_tcp", "value": "False" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_auth', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_auth", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'ad_hostname', 'value': 'ip-10-31-41-236.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "ad_hostname", "value": "ip-10-31-41-236.sample-realm.com" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [fedora.linux_system_roles.ad_integration : Configure custom SSSD settings] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 Saturday 14 September 2024 08:21:54 -0400 (0:00:00.061) 0:00:12.055 **** skipping: [managed_node1] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 Saturday 14 September 2024 08:21:54 -0400 (0:00:00.009) 0:00:12.065 **** skipping: [managed_node1] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "ad_dyndns_update | bool", "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped TASK [Check custom SSSD settings] ********************************************** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:58 Saturday 14 September 2024 08:21:54 -0400 (0:00:00.037) 0:00:12.103 **** ok: [managed_node1] => (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_node1] => (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 NOTIFIED HANDLER fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd for managed_node1 RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd] *** task path: /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:10 Saturday 14 September 2024 08:21:55 -0400 (0:00:00.623) 0:00:12.726 **** skipping: [managed_node1] => (item=sssd) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not __ad_integration_test_sssd_config_only | default(false)", "item": "sssd", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => { "changed": false } MSG: All items skipped PLAY RECAP ********************************************************************* managed_node1 : ok=23 changed=3 unreachable=0 failed=0 skipped=43 rescued=0 ignored=0 Saturday 14 September 2024 08:21:55 -0400 (0:00:00.032) 0:00:12.758 **** =============================================================================== fedora.linux_system_roles.ad_integration : Ensure required packages are installed --- 1.81s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 fedora.linux_system_roles.ad_integration : Ensure required packages are installed --- 1.62s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 fedora.linux_system_roles.ad_integration : Ensure ansible_facts used by role --- 1.00s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started --- 0.99s /tmp/collections-BAs/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.79s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 fedora.linux_system_roles.ad_integration : Configure SSSD settings ------ 0.76s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf ---- 0.75s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Check SSSD settings ----------------------------------------------------- 0.68s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:21 fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf ---- 0.65s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Check custom SSSD settings ---------------------------------------------- 0.62s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:58 fedora.linux_system_roles.ad_integration : Configure SSSD settings ------ 0.62s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Search /var/log/sssd/sssd.log for [sss_ini_call_validators] ------------- 0.41s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:36 fedora.linux_system_roles.ad_integration : Check if system is ostree ---- 0.39s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates --- 0.10s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Test - Run the system role with bogus vars ------------------------------ 0.08s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:17 fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd --- 0.06s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:10 fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options --- 0.06s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates --- 0.06s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 fedora.linux_system_roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set --- 0.05s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 fedora.linux_system_roles.ad_integration : Ensure time source is provided if managing timesync --- 0.05s /tmp/collections-BAs/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15