ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [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-k7R/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-k7R/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:17 Saturday 23 November 2024 07:22:47 -0500 (0:00:00.023) 0:00:00.023 ***** TASK [fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Saturday 23 November 2024 07:22:47 -0500 (0:00:00.049) 0:00:00.072 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Saturday 23 November 2024 07:22:47 -0500 (0:00:00.037) 0:00:00.109 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Saturday 23 November 2024 07:22:48 -0500 (0:00:00.033) 0:00:00.143 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Saturday 23 November 2024 07:22:48 -0500 (0:00:00.033) 0:00:00.176 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Saturday 23 November 2024 07:22:48 -0500 (0:00:00.033) 0:00:00.210 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure all required dns variables are provided] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Saturday 23 November 2024 07:22:48 -0500 (0:00:00.032) 0:00:00.243 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Saturday 23 November 2024 07:22:48 -0500 (0:00:00.033) 0:00:00.276 ***** included: /tmp/collections-k7R/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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Saturday 23 November 2024 07:22:48 -0500 (0:00:00.083) 0:00:00.360 ***** ok: [managed-node1] TASK [fedora.linux_system_roles.ad_integration : Check if system is ostree] **** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Saturday 23 November 2024 07:22:49 -0500 (0:00:00.976) 0:00:01.337 ***** 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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Saturday 23 November 2024 07:22:49 -0500 (0:00:00.441) 0:00:01.778 ***** 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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Saturday 23 November 2024 07:22:49 -0500 (0:00:00.063) 0:00:01.842 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure required packages are installed] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Saturday 23 November 2024 07:22:49 -0500 (0:00:00.093) 0:00:01.935 ***** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "realmd", "PackageKit" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package PackageKit.x86_64 0:1.1.10-2.el7.centos will be installed\n--> Processing Dependency: PackageKit-glib(x86-64) = 1.1.10-2.el7.centos for package: PackageKit-1.1.10-2.el7.centos.x86_64\n--> Processing Dependency: PackageKit-backend for package: PackageKit-1.1.10-2.el7.centos.x86_64\n--> Processing Dependency: libpackagekit-glib2.so.18()(64bit) for package: PackageKit-1.1.10-2.el7.centos.x86_64\n---> Package realmd.x86_64 0:0.16.1-12.el7_9.1 will be installed\n--> Processing Dependency: oddjob-mkhomedir for package: realmd-0.16.1-12.el7_9.1.x86_64\n--> Running transaction check\n---> Package PackageKit-glib.x86_64 0:1.1.10-2.el7.centos will be installed\n---> Package PackageKit-yum.x86_64 0:1.1.10-2.el7.centos will be installed\n--> Processing Dependency: pygobject2 for package: PackageKit-yum-1.1.10-2.el7.centos.x86_64\n---> Package oddjob-mkhomedir.x86_64 0:0.31.5-4.el7 will be installed\n--> Processing Dependency: oddjob = 0.31.5-4.el7 for package: oddjob-mkhomedir-0.31.5-4.el7.x86_64\n--> Processing Dependency: psmisc for package: oddjob-mkhomedir-0.31.5-4.el7.x86_64\n--> Running transaction check\n---> Package oddjob.x86_64 0:0.31.5-4.el7 will be installed\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\n---> Package pygobject2.x86_64 0:2.28.6-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n PackageKit x86_64 1.1.10-2.el7.centos base 587 k\n realmd x86_64 0.16.1-12.el7_9.1 updates 210 k\nInstalling for dependencies:\n PackageKit-glib x86_64 1.1.10-2.el7.centos base 128 k\n PackageKit-yum x86_64 1.1.10-2.el7.centos base 75 k\n oddjob x86_64 0.31.5-4.el7 base 69 k\n oddjob-mkhomedir x86_64 0.31.5-4.el7 base 38 k\n psmisc x86_64 22.20-17.el7 base 141 k\n pygobject2 x86_64 2.28.6-11.el7 base 226 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+6 Dependent packages)\n\nTotal download size: 1.4 M\nInstalled size: 5.6 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.0 MB/s | 1.4 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : psmisc-22.20-17.el7.x86_64 1/8 \n Installing : oddjob-0.31.5-4.el7.x86_64 2/8 \n Installing : oddjob-mkhomedir-0.31.5-4.el7.x86_64 3/8 \n Installing : pygobject2-2.28.6-11.el7.x86_64 4/8 \n Installing : PackageKit-glib-1.1.10-2.el7.centos.x86_64 5/8 \n Installing : PackageKit-yum-1.1.10-2.el7.centos.x86_64 6/8 \n Installing : PackageKit-1.1.10-2.el7.centos.x86_64 7/8 \n Installing : realmd-0.16.1-12.el7_9.1.x86_64 8/8 \n Verifying : realmd-0.16.1-12.el7_9.1.x86_64 1/8 \n Verifying : PackageKit-glib-1.1.10-2.el7.centos.x86_64 2/8 \n Verifying : PackageKit-1.1.10-2.el7.centos.x86_64 3/8 \n Verifying : oddjob-mkhomedir-0.31.5-4.el7.x86_64 4/8 \n Verifying : PackageKit-yum-1.1.10-2.el7.centos.x86_64 5/8 \n Verifying : psmisc-22.20-17.el7.x86_64 6/8 \n Verifying : pygobject2-2.28.6-11.el7.x86_64 7/8 \n Verifying : oddjob-0.31.5-4.el7.x86_64 8/8 \n\nInstalled:\n PackageKit.x86_64 0:1.1.10-2.el7.centos realmd.x86_64 0:0.16.1-12.el7_9.1 \n\nDependency Installed:\n PackageKit-glib.x86_64 0:1.1.10-2.el7.centos \n PackageKit-yum.x86_64 0:1.1.10-2.el7.centos \n oddjob.x86_64 0:0.31.5-4.el7 \n oddjob-mkhomedir.x86_64 0:0.31.5-4.el7 \n psmisc.x86_64 0:22.20-17.el7 \n pygobject2.x86_64 0:2.28.6-11.el7 \n\nComplete!\n" ] } lsrpackages: PackageKit realmd TASK [fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Saturday 23 November 2024 07:22:57 -0500 (0:00:07.829) 0:00:09.765 ***** changed: [managed-node1] => (item=realmd) => { "ansible_loop_var": "item", "changed": true, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.realmd", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Realm and Domain Configuration", "DevicePolicy": "auto", "Documentation": "man:realm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib64/realmd/realmd ; argv[]=/usr/lib64/realmd/realmd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "realmd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf] **** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Saturday 23 November 2024 07:22:58 -0500 (0:00:00.967) 0:00:10.733 ***** NOTIFIED HANDLER fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services for managed-node1 changed: [managed-node1] => { "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-1732364578.63-10294-94822449882574/source", "state": "file", "uid": 0 } RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:3 Saturday 23 November 2024 07:22:59 -0500 (0:00:00.669) 0:00:11.402 ***** skipping: [managed-node1] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "item": "realmd", "skip_reason": "Conditional result was False" } META: ran handlers TASK [Add AD server to existing network connection for DNS] ******************** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:77 Saturday 23 November 2024 07:22:59 -0500 (0:00:00.027) 0:00:11.430 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:91 Saturday 23 November 2024 07:22:59 -0500 (0:00:00.019) 0:00:11.450 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Saturday 23 November 2024 07:22:59 -0500 (0:00:00.017) 0:00:11.467 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 Saturday 23 November 2024 07:22:59 -0500 (0:00:00.018) 0:00:11.485 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if we are already joined to a domain] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 Saturday 23 November 2024 07:22:59 -0500 (0:00:00.017) 0:00:11.503 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Leave existing joined domain] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:129 Saturday 23 November 2024 07:22:59 -0500 (0:00:00.018) 0:00:11.521 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Build Command - Join to a specific Domain Controller] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Saturday 23 November 2024 07:22:59 -0500 (0:00:00.016) 0:00:11.538 ***** 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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Saturday 23 November 2024 07:22:59 -0500 (0:00:00.018) 0:00:11.557 ***** 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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:165 Saturday 23 November 2024 07:22:59 -0500 (0:00:00.023) 0:00:11.580 ***** ok: [managed-node1] => {} MSG: [u'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.', u'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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:177 Saturday 23 November 2024 07:22:59 -0500 (0:00:00.023) 0:00:11.604 ***** 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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Saturday 23 November 2024 07:22:59 -0500 (0:00:00.019) 0:00:11.623 ***** changed: [managed-node1] => (item={u'value': 5, u'key': u'reconnection_retries'}) => { "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={u'value': u'addomain.xyz', u'key': u'default_domain_suffix'}) => { "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-node1 TASK [fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Saturday 23 November 2024 07:23:00 -0500 (0:00:00.694) 0:00:12.318 ***** skipping: [managed-node1] => (item={u'value': u'False', u'key': u'dyndns_update'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_update", "value": "False" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'3600', u'key': u'dyndns_ttl'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_ttl", "value": "3600" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'', u'key': u'dyndns_iface'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'86400', u'key': u'dyndns_refresh_interval'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_refresh_interval", "value": "86400" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'True', u'key': u'dyndns_update_ptr'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_update_ptr", "value": "True" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'False', u'key': u'dyndns_force_tcp'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_force_tcp", "value": "False" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'', u'key': u'dyndns_auth'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_auth", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'', u'key': u'dyndns_server'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'ad_hostname', u'value': u'managed-node1.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "ad_hostname", "value": "managed-node1.sample-realm.com" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Configure custom SSSD settings] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 Saturday 23 November 2024 07:23:00 -0500 (0:00:00.078) 0:00:12.396 ***** TASK [fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 Saturday 23 November 2024 07:23:00 -0500 (0:00:00.016) 0:00:12.413 ***** skipping: [managed-node1] => (item={u'value': u'', u'key': u'dyndns_iface'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'', u'key': u'dyndns_server'}) => { "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-k7R/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:21 Saturday 23 November 2024 07:23:00 -0500 (0:00:00.030) 0:00:12.443 ***** ok: [managed-node1] => (item={u'value': 5, u'key': u'reconnection_retries'}) => { "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={u'value': u'addomain.xyz', u'key': u'default_domain_suffix'}) => { "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-k7R/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:36 Saturday 23 November 2024 07:23:00 -0500 (0:00:00.579) 0:00:13.022 ***** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "-i", "sss_ini_call_validators", "/var/log/sssd/sssd.log" ], "delta": "0:00:00.003275", "end": "2024-11-23 07:23:01.251941", "failed_when_result": false, "rc": 2, "start": "2024-11-23 07:23:01.248666" } 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-k7R/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:43 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.415) 0:00:13.438 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test - Re-Build a list of settings with state=absent] ******************** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:48 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.019) 0:00:13.458 ***** 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-k7R/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:52 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.024) 0:00:13.482 ***** TASK [fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.098) 0:00:13.580 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.024) 0:00:13.605 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.021) 0:00:13.626 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.021) 0:00:13.647 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.018) 0:00:13.666 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure all required dns variables are provided] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.030) 0:00:13.696 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.019) 0:00:13.715 ***** included: /tmp/collections-k7R/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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.045) 0:00:13.761 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if system is ostree] **** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.022) 0:00:13.783 ***** skipping: [managed-node1] => { "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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.022) 0:00:13.805 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.019) 0:00:13.825 ***** skipping: [managed-node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure required packages are installed] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Saturday 23 November 2024 07:23:01 -0500 (0:00:00.048) 0:00:13.873 ***** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "realmd-0.16.1-12.el7_9.1.x86_64 providing realmd is already installed", "PackageKit-1.1.10-2.el7.centos.x86_64 providing PackageKit is already installed" ] } lsrpackages: PackageKit realmd TASK [fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Saturday 23 November 2024 07:23:02 -0500 (0:00:00.875) 0:00:14.748 ***** ok: [managed-node1] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-11-23 07:22:58 EST", "ActiveEnterTimestampMonotonic": "261794998", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-11-23 07:22:58 EST", "AssertTimestampMonotonic": "261777155", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.realmd", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2024-11-23 07:22:58 EST", "ConditionTimestampMonotonic": "261777153", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/realmd.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Realm and Domain Configuration", "DevicePolicy": "auto", "Documentation": "man:realm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9561", "ExecMainStartTimestamp": "Sat 2024-11-23 07:22:58 EST", "ExecMainStartTimestampMonotonic": "261777816", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib64/realmd/realmd ; argv[]=/usr/lib64/realmd/realmd ; ignore_errors=no ; start_time=[Sat 2024-11-23 07:22:58 EST] ; stop_time=[n/a] ; pid=9561 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2024-11-23 07:22:58 EST", "InactiveExitTimestampMonotonic": "261777852", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9561", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "realmd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "WatchdogTimestamp": "Sat 2024-11-23 07:22:58 EST", "WatchdogTimestampMonotonic": "261794943", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf] **** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Saturday 23 November 2024 07:23:03 -0500 (0:00:00.656) 0:00:15.405 ***** 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 } RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:10 Saturday 23 November 2024 07:23:03 -0500 (0:00:00.666) 0:00:16.071 ***** skipping: [managed-node1] => (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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:77 Saturday 23 November 2024 07:23:03 -0500 (0:00:00.026) 0:00:16.098 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:91 Saturday 23 November 2024 07:23:03 -0500 (0:00:00.019) 0:00:16.117 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Saturday 23 November 2024 07:23:03 -0500 (0:00:00.021) 0:00:16.138 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 Saturday 23 November 2024 07:23:04 -0500 (0:00:00.017) 0:00:16.155 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if we are already joined to a domain] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 Saturday 23 November 2024 07:23:04 -0500 (0:00:00.025) 0:00:16.181 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Leave existing joined domain] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:129 Saturday 23 November 2024 07:23:04 -0500 (0:00:00.024) 0:00:16.205 ***** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Build Command - Join to a specific Domain Controller] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Saturday 23 November 2024 07:23:04 -0500 (0:00:00.026) 0:00:16.231 ***** 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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Saturday 23 November 2024 07:23:04 -0500 (0:00:00.024) 0:00:16.256 ***** 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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:165 Saturday 23 November 2024 07:23:04 -0500 (0:00:00.032) 0:00:16.288 ***** ok: [managed-node1] => {} MSG: [u'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.', u'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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:177 Saturday 23 November 2024 07:23:04 -0500 (0:00:00.034) 0:00:16.323 ***** 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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Saturday 23 November 2024 07:23:04 -0500 (0:00:00.031) 0:00:16.354 ***** changed: [managed-node1] => (item={u'state': u'absent', u'value': 5, u'key': u'reconnection_retries'}) => { "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={u'state': u'absent', u'value': u'addomain.xyz', u'key': u'default_domain_suffix'}) => { "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-node1 TASK [fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Saturday 23 November 2024 07:23:04 -0500 (0:00:00.646) 0:00:17.000 ***** skipping: [managed-node1] => (item={u'value': u'False', u'key': u'dyndns_update'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_update", "value": "False" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'3600', u'key': u'dyndns_ttl'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_ttl", "value": "3600" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'', u'key': u'dyndns_iface'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'86400', u'key': u'dyndns_refresh_interval'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_refresh_interval", "value": "86400" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'True', u'key': u'dyndns_update_ptr'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_update_ptr", "value": "True" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'False', u'key': u'dyndns_force_tcp'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_force_tcp", "value": "False" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'', u'key': u'dyndns_auth'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_auth", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'', u'key': u'dyndns_server'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'ad_hostname', u'value': u'managed-node1.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "ad_hostname", "value": "managed-node1.sample-realm.com" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Configure custom SSSD settings] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 Saturday 23 November 2024 07:23:04 -0500 (0:00:00.108) 0:00:17.108 ***** TASK [fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 Saturday 23 November 2024 07:23:04 -0500 (0:00:00.023) 0:00:17.131 ***** skipping: [managed-node1] => (item={u'value': u'', u'key': u'dyndns_iface'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': u'', u'key': u'dyndns_server'}) => { "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-k7R/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:58 Saturday 23 November 2024 07:23:05 -0500 (0:00:00.042) 0:00:17.174 ***** ok: [managed-node1] => (item={u'state': u'absent', u'value': 5, u'key': u'reconnection_retries'}) => { "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={u'state': u'absent', u'value': u'addomain.xyz', u'key': u'default_domain_suffix'}) => { "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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:10 Saturday 23 November 2024 07:23:05 -0500 (0:00:00.711) 0:00:17.885 ***** skipping: [managed-node1] => (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-node1 : ok=21 changed=5 unreachable=0 failed=0 skipped=43 rescued=0 ignored=0 Saturday 23 November 2024 07:23:05 -0500 (0:00:00.024) 0:00:17.909 ***** =============================================================================== fedora.linux_system_roles.ad_integration : Ensure required packages are installed --- 7.83s /tmp/collections-k7R/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 --- 0.98s /tmp/collections-k7R/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.97s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 fedora.linux_system_roles.ad_integration : Ensure required packages are installed --- 0.88s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Check custom SSSD settings ---------------------------------------------- 0.71s /tmp/collections-k7R/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-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf ---- 0.67s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf ---- 0.67s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started --- 0.66s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 fedora.linux_system_roles.ad_integration : Configure SSSD settings ------ 0.65s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Check SSSD settings ----------------------------------------------------- 0.58s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:21 fedora.linux_system_roles.ad_integration : Check if system is ostree ---- 0.44s /tmp/collections-k7R/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.42s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:36 fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates --- 0.11s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Test - Re-run the system role to remove vars ---------------------------- 0.10s /tmp/collections-k7R/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.09s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 fedora.linux_system_roles.ad_integration : Set platform/version specific variables --- 0.08s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates --- 0.08s /tmp/collections-k7R/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.06s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Test - Run the system role with bogus vars ------------------------------ 0.05s /tmp/collections-k7R/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_sssd_settings.yml:17