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_dyndns.yml ***************************************************** 1 plays in /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:31 Saturday 27 July 2024 08:21:28 -0400 (0:00:00.026) 0:00:00.026 ********* TASK [fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Saturday 27 July 2024 08:21:28 -0400 (0:00:00.056) 0:00:00.082 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Saturday 27 July 2024 08:21:28 -0400 (0:00:00.041) 0:00:00.124 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Saturday 27 July 2024 08:21:28 -0400 (0:00:00.038) 0:00:00.163 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Saturday 27 July 2024 08:21:28 -0400 (0:00:00.038) 0:00:00.201 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Saturday 27 July 2024 08:21:28 -0400 (0:00:00.039) 0:00:00.240 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Saturday 27 July 2024 08:21:28 -0400 (0:00:00.038) 0:00:00.279 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Saturday 27 July 2024 08:21:28 -0400 (0:00:00.039) 0:00:00.318 ********* included: /tmp/tmp.jI7FaNRkF4/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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Saturday 27 July 2024 08:21:28 -0400 (0:00:00.031) 0:00:00.349 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.ad_integration : Check if system is ostree] **** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Saturday 27 July 2024 08:21:29 -0400 (0:00:00.717) 0:00:01.067 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Saturday 27 July 2024 08:21:29 -0400 (0:00:00.408) 0:00:01.476 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Saturday 27 July 2024 08:21:29 -0400 (0:00:00.092) 0:00:01.568 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Saturday 27 July 2024 08:21:29 -0400 (0:00:00.068) 0:00:01.636 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Saturday 27 July 2024 08:21:30 -0400 (0:00:00.957) 0:00:02.594 ********* ok: [managed_node1] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 08:21:24 EDT", "ActiveEnterTimestampMonotonic": "285959955", "ActiveExitTimestamp": "Sat 2024-07-27 08:21:24 EDT", "ActiveExitTimestampMonotonic": "285942991", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 08:21:24 EDT", "AssertTimestampMonotonic": "285947868", "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-07-27 08:21:24 EDT", "ConditionTimestampMonotonic": "285947866", "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": "9639", "ExecMainStartTimestamp": "Sat 2024-07-27 08:21:24 EDT", "ExecMainStartTimestampMonotonic": "285948477", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib64/realmd/realmd ; argv[]=/usr/lib64/realmd/realmd ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:21:24 EDT] ; stop_time=[n/a] ; pid=9639 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-07-27 08:21:24 EDT", "InactiveEnterTimestampMonotonic": "285947114", "InactiveExitTimestamp": "Sat 2024-07-27 08:21:24 EDT", "InactiveExitTimestampMonotonic": "285948519", "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": "9639", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "realmd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "WatchdogTimestamp": "Sat 2024-07-27 08:21:24 EDT", "WatchdogTimestampMonotonic": "285959924", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf] **** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Saturday 27 July 2024 08:21:31 -0400 (0:00:00.914) 0:00:03.508 ********* NOTIFIED HANDLER fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services for managed_node1 changed: [managed_node1] => { "backup_file": "/etc/realmd.conf.10122.2024-07-27@08:21:32~", "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-1722082891.56-10785-128776463433748/source", "state": "file", "uid": 0 } RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services] *** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:3 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.676) 0:00:04.184 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:77 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.029) 0:00:04.214 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:91 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.020) 0:00:04.234 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.018) 0:00:04.252 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.018) 0:00:04.271 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.017) 0:00:04.288 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:129 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.018) 0:00:04.306 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.017) 0:00:04.324 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.017) 0:00:04.342 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:165 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.024) 0:00:04.366 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:177 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.025) 0:00:04.392 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.020) 0:00:04.413 ********* TASK [fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates] *** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Saturday 27 July 2024 08:21:32 -0400 (0:00:00.015) 0:00:04.428 ********* changed: [managed_node1] => (item={u'value': u'True', u'key': u'dyndns_update'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_update", "value": "True" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 55, "state": "file", "uid": 0, "warnings": [ "The value True (type bool) in a string field was converted to u'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: section and option added changed: [managed_node1] => (item={u'value': u'3600', u'key': u'dyndns_ttl'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_ttl", "value": "3600" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 73, "state": "file", "uid": 0 } MSG: option added changed: [managed_node1] => (item={u'value': u'TESTING', u'key': u'dyndns_iface'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_iface", "value": "TESTING" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 96, "state": "file", "uid": 0 } MSG: option added changed: [managed_node1] => (item={u'value': u'86400', u'key': u'dyndns_refresh_interval'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_refresh_interval", "value": "86400" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 128, "state": "file", "uid": 0 } MSG: option added changed: [managed_node1] => (item={u'value': u'True', u'key': u'dyndns_update_ptr'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_update_ptr", "value": "True" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 153, "state": "file", "uid": 0, "warnings": [ "The value True (type bool) in a string field was converted to u'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: option added changed: [managed_node1] => (item={u'value': u'False', u'key': u'dyndns_force_tcp'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_force_tcp", "value": "False" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 178, "state": "file", "uid": 0, "warnings": [ "The value False (type bool) in a string field was converted to u'False' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: option added changed: [managed_node1] => (item={u'value': u'GSS-TSIG', u'key': u'dyndns_auth'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_auth", "value": "GSS-TSIG" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 201, "state": "file", "uid": 0 } MSG: option added changed: [managed_node1] => (item={u'value': u'127.0.0.1', u'key': u'dyndns_server'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_server", "value": "127.0.0.1" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 227, "state": "file", "uid": 0 } MSG: option added changed: [managed_node1] => (item={u'key': u'ad_hostname', u'value': u'ip-10-31-44-125.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "ad_hostname", "value": "ip-10-31-44-125.sample-realm.com" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 274, "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 [WARNING]: The value True (type bool) in a string field was converted to u'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change. [WARNING]: The value False (type bool) in a string field was converted to u'False' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change. TASK [fedora.linux_system_roles.ad_integration : Configure custom SSSD settings] *** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 Saturday 27 July 2024 08:21:35 -0400 (0:00:02.865) 0:00:07.294 ********* TASK [fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 Saturday 27 July 2024 08:21:35 -0400 (0:00:00.016) 0:00:07.310 ********* skipping: [managed_node1] => (item={u'value': u'TESTING', u'key': u'dyndns_iface'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_iface", "value": "TESTING" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': u'127.0.0.1', u'key': u'dyndns_server'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_server", "value": "127.0.0.1" }, "skip_reason": "Conditional result was False" } TASK [Check custom dyndns settings] ******************************************** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:40 Saturday 27 July 2024 08:21:35 -0400 (0:00:00.035) 0:00:07.346 ********* ok: [managed_node1] => (item={u'value': u'True', u'key': u'dyndns_update'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "dyndns_update", "value": "True" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 274, "state": "file", "uid": 0, "warnings": [ "The value True (type bool) in a string field was converted to u'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: OK ok: [managed_node1] => (item={u'value': u'TESTING', u'key': u'dyndns_iface'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "dyndns_iface", "value": "TESTING" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 274, "state": "file", "uid": 0 } MSG: OK ok: [managed_node1] => (item={u'value': u'GSS-TSIG', u'key': u'dyndns_auth'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "dyndns_auth", "value": "GSS-TSIG" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 274, "state": "file", "uid": 0 } MSG: OK ok: [managed_node1] => (item={u'value': u'127.0.0.1', u'key': u'dyndns_server'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "dyndns_server", "value": "127.0.0.1" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 274, "state": "file", "uid": 0 } MSG: OK TASK [Search /var/log/sssd/sssd.log for [sss_ini_call_validators]] ************* task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:63 Saturday 27 July 2024 08:21:36 -0400 (0:00:01.082) 0:00:08.428 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "-i", "sss_ini_call_validators", "/var/log/sssd/sssd.log" ], "delta": "0:00:00.003251", "end": "2024-07-27 08:21:36.789053", "failed_when_result": false, "rc": 2, "start": "2024-07-27 08:21:36.785802" } 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:69 Saturday 27 July 2024 08:21:36 -0400 (0:00:00.393) 0:00:08.821 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test - Re-run the system role to remove vars] **************************** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:74 Saturday 27 July 2024 08:21:36 -0400 (0:00:00.018) 0:00:08.840 ********* TASK [fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Saturday 27 July 2024 08:21:36 -0400 (0:00:00.070) 0:00:08.910 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Saturday 27 July 2024 08:21:36 -0400 (0:00:00.021) 0:00:08.932 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Saturday 27 July 2024 08:21:36 -0400 (0:00:00.018) 0:00:08.950 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Saturday 27 July 2024 08:21:36 -0400 (0:00:00.018) 0:00:08.968 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Saturday 27 July 2024 08:21:36 -0400 (0:00:00.017) 0:00:08.985 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Saturday 27 July 2024 08:21:37 -0400 (0:00:00.018) 0:00:09.004 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Saturday 27 July 2024 08:21:37 -0400 (0:00:00.017) 0:00:09.022 ********* included: /tmp/tmp.jI7FaNRkF4/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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Saturday 27 July 2024 08:21:37 -0400 (0:00:00.033) 0:00:09.055 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Saturday 27 July 2024 08:21:37 -0400 (0:00:00.020) 0:00:09.075 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Saturday 27 July 2024 08:21:37 -0400 (0:00:00.017) 0:00:09.093 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Saturday 27 July 2024 08:21:37 -0400 (0:00:00.018) 0:00:09.111 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Saturday 27 July 2024 08:21:37 -0400 (0:00:00.044) 0:00:09.156 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Saturday 27 July 2024 08:21:38 -0400 (0:00:00.862) 0:00:10.018 ********* ok: [managed_node1] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2024-07-27 08:21:24 EDT", "ActiveEnterTimestampMonotonic": "285959955", "ActiveExitTimestamp": "Sat 2024-07-27 08:21:24 EDT", "ActiveExitTimestampMonotonic": "285942991", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Sat 2024-07-27 08:21:24 EDT", "AssertTimestampMonotonic": "285947868", "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-07-27 08:21:24 EDT", "ConditionTimestampMonotonic": "285947866", "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": "9639", "ExecMainStartTimestamp": "Sat 2024-07-27 08:21:24 EDT", "ExecMainStartTimestampMonotonic": "285948477", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib64/realmd/realmd ; argv[]=/usr/lib64/realmd/realmd ; ignore_errors=no ; start_time=[Sat 2024-07-27 08:21:24 EDT] ; stop_time=[n/a] ; pid=9639 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Sat 2024-07-27 08:21:24 EDT", "InactiveEnterTimestampMonotonic": "285947114", "InactiveExitTimestamp": "Sat 2024-07-27 08:21:24 EDT", "InactiveExitTimestampMonotonic": "285948519", "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": "9639", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "realmd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "WatchdogTimestamp": "Sat 2024-07-27 08:21:24 EDT", "WatchdogTimestampMonotonic": "285959924", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf] **** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Saturday 27 July 2024 08:21:38 -0400 (0:00:00.620) 0:00:10.638 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:10 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.623) 0:00:11.262 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:77 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.029) 0:00:11.292 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:91 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.019) 0:00:11.311 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.017) 0:00:11.329 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.018) 0:00:11.348 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.017) 0:00:11.365 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:129 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.018) 0:00:11.384 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.017) 0:00:11.401 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.018) 0:00:11.420 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:165 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.024) 0:00:11.445 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:177 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.023) 0:00:11.469 ********* 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/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.019) 0:00:11.488 ********* TASK [fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates] *** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Saturday 27 July 2024 08:21:39 -0400 (0:00:00.016) 0:00:11.505 ********* ok: [managed_node1] => (item={u'value': u'True', u'key': u'dyndns_update'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "dyndns_update", "value": "True" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 274, "state": "file", "uid": 0, "warnings": [ "The value True (type bool) in a string field was converted to u'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: OK ok: [managed_node1] => (item={u'value': u'3600', u'key': u'dyndns_ttl'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "dyndns_ttl", "value": "3600" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 274, "state": "file", "uid": 0 } MSG: OK 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" } ok: [managed_node1] => (item={u'value': u'86400', u'key': u'dyndns_refresh_interval'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "dyndns_refresh_interval", "value": "86400" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 274, "state": "file", "uid": 0 } MSG: OK ok: [managed_node1] => (item={u'value': u'True', u'key': u'dyndns_update_ptr'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "dyndns_update_ptr", "value": "True" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 274, "state": "file", "uid": 0, "warnings": [ "The value True (type bool) in a string field was converted to u'True' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: OK ok: [managed_node1] => (item={u'value': u'False', u'key': u'dyndns_force_tcp'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "dyndns_force_tcp", "value": "False" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 274, "state": "file", "uid": 0, "warnings": [ "The value False (type bool) in a string field was converted to u'False' (type string). If this does not look like what you expect, quote the entire value to ensure it does not change." ] } MSG: OK 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" } ok: [managed_node1] => (item={u'key': u'ad_hostname', u'value': u'ip-10-31-44-125.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "ad_hostname", "value": "ip-10-31-44-125.sample-realm.com" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 274, "state": "file", "uid": 0 } MSG: OK TASK [fedora.linux_system_roles.ad_integration : Configure custom SSSD settings] *** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 Saturday 27 July 2024 08:21:41 -0400 (0:00:01.791) 0:00:13.297 ********* TASK [fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 Saturday 27 July 2024 08:21:41 -0400 (0:00:00.017) 0:00:13.314 ********* changed: [managed_node1] => (item={u'value': u'', u'key': u'dyndns_iface'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_iface", "value": "" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 251, "state": "file", "uid": 0 } MSG: option changed changed: [managed_node1] => (item={u'value': u'', u'key': u'dyndns_server'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "dyndns_server", "value": "" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 225, "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 [Restart sssd] ************************************************************ task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:82 Saturday 27 July 2024 08:21:41 -0400 (0:00:00.645) 0:00:13.960 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check custom dyndns settings are removed] ******************************** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:88 Saturday 27 July 2024 08:21:41 -0400 (0:00:00.019) 0:00:13.980 ********* ok: [managed_node1] => (item={u'value': None, u'key': u'dyndns_iface'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "dyndns_iface", "value": null }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 225, "state": "file", "uid": 0 } MSG: OK ok: [managed_node1] => (item={u'value': None, u'key': u'dyndns_server'}) => { "ansible_loop_var": "item", "changed": false, "failed_when_result": false, "gid": 0, "group": "root", "item": { "key": "dyndns_server", "value": null }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 225, "state": "file", "uid": 0 } MSG: OK TASK [Gather facts] ************************************************************ task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:109 Saturday 27 July 2024 08:21:42 -0400 (0:00:00.556) 0:00:14.536 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get IP for host's FQDN] ************************************************** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:115 Saturday 27 July 2024 08:21:42 -0400 (0:00:00.020) 0:00:14.556 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get hostname for host's IP address] ************************************** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:121 Saturday 27 July 2024 08:21:42 -0400 (0:00:00.021) 0:00:14.577 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert IPv4 DNS records were created] ************************************ task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:127 Saturday 27 July 2024 08:21:42 -0400 (0:00:00.020) 0:00:14.598 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd] *** task path: /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:10 Saturday 27 July 2024 08:21:42 -0400 (0:00:00.016) 0:00:14.614 ********* 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=3 unreachable=0 failed=0 skipped=47 rescued=0 ignored=0 Saturday 27 July 2024 08:21:42 -0400 (0:00:00.026) 0:00:14.641 ********* =============================================================================== fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates --- 2.87s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates --- 1.79s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Check custom dyndns settings -------------------------------------------- 1.08s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:40 fedora.linux_system_roles.ad_integration : Ensure required packages are installed --- 0.96s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started --- 0.91s /tmp/tmp.jI7FaNRkF4/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.86s /tmp/tmp.jI7FaNRkF4/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.72s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf ---- 0.68s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options --- 0.65s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf ---- 0.62s /tmp/tmp.jI7FaNRkF4/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.62s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Check custom dyndns settings are removed -------------------------------- 0.56s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:88 fedora.linux_system_roles.ad_integration : Check if system is ostree ---- 0.41s /tmp/tmp.jI7FaNRkF4/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.39s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:63 fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree --- 0.09s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Test - Re-run the system role to remove vars ---------------------------- 0.07s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:74 fedora.linux_system_roles.ad_integration : Set platform/version specific variables --- 0.07s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Test - Run the system role with bogus vars ------------------------------ 0.06s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/tests/ad_integration/tests_dyndns.yml:31 fedora.linux_system_roles.ad_integration : Set platform/version specific variables --- 0.04s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available --- 0.04s /tmp/tmp.jI7FaNRkF4/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3