# STDOUT: ---v---v---v---v---v--- ansible-playbook [core 2.16.0] config file = /etc/ansible/ansible.cfg configured module search path = ['/home/jenkins/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /opt/ansible-2.16/lib/python3.11/site-packages/ansible ansible collection location = /WORKDIR/git-authselectb5hko53q/.collection executable location = /opt/ansible-2.16/bin/ansible-playbook python version = 3.11.5 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] (/opt/ansible-2.16/bin/python) jinja version = 3.1.2 libyaml = True Using /etc/ansible/ansible.cfg as config file Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_dyndns.yml ***************************************************** 1 plays in /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml PLAY [Ensure that the role configures dynamic dns] ***************************** TASK [Gathering Facts] ********************************************************* task path: /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:20 Friday 19 January 2024 15:57:54 +0000 (0:00:00.011) 0:00:00.011 ******** ok: [sut] TASK [Test - Run the system role with bogus vars] ****************************** task path: /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:30 Friday 19 January 2024 15:57:55 +0000 (0:00:00.670) 0:00:00.681 ******** TASK [fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Friday 19 January 2024 15:57:55 +0000 (0:00:00.025) 0:00:00.707 ******** skipping: [sut] => { "changed": false, "false_condition": "not ad_integration_realm", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Friday 19 January 2024 15:57:55 +0000 (0:00:00.009) 0:00:00.716 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_timesync_source is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Friday 19 January 2024 15:57:55 +0000 (0:00:00.010) 0:00:00.727 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_timesync | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Friday 19 January 2024 15:57:55 +0000 (0:00:00.015) 0:00:00.743 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Friday 19 January 2024 15:57:55 +0000 (0:00:00.015) 0:00:00.759 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure all required dns variables are provided] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Friday 19 January 2024 15:57:55 +0000 (0:00:00.014) 0:00:00.773 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_dns | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Friday 19 January 2024 15:57:55 +0000 (0:00:00.015) 0:00:00.788 ******** included: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.ad_integration : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Friday 19 January 2024 15:57:55 +0000 (0:00:00.014) 0:00:00.803 ******** skipping: [sut] => { "changed": false, "false_condition": "__ad_integration_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if system is ostree] **** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Friday 19 January 2024 15:57:55 +0000 (0:00:00.017) 0:00:00.820 ******** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Friday 19 January 2024 15:57:55 +0000 (0:00:00.203) 0:00:01.024 ******** ok: [sut] => { "ansible_facts": { "__ad_integration_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Friday 19 January 2024 15:57:55 +0000 (0:00:00.016) 0:00:01.040 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_7.yml) => { "ansible_facts": { "__template_packages": [], "__template_services": [] }, "ansible_included_var_files": [ "/WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure required packages are installed] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Friday 19 January 2024 15:57:55 +0000 (0:00:00.024) 0:00:01.064 ******** changed: [sut] => { "changed": true, "changes": { "installed": [ "realmd", "PackageKit" ] }, "rc": 0, "results": [ "Loaded plugins: search-disabled-repos\nResolving Dependencies\n--> Running transaction check\n---> Package PackageKit.x86_64 0:1.1.10-2.el7 will be installed\n--> Processing Dependency: PackageKit-glib(x86-64) = 1.1.10-2.el7 for package: PackageKit-1.1.10-2.el7.x86_64\n--> Processing Dependency: PackageKit-backend for package: PackageKit-1.1.10-2.el7.x86_64\n--> Processing Dependency: libpackagekit-glib2.so.18()(64bit) for package: PackageKit-1.1.10-2.el7.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 will be installed\n---> Package PackageKit-yum.x86_64 0:1.1.10-2.el7 will be installed\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--> Running transaction check\n---> Package oddjob.x86_64 0:0.31.5-4.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 rhel-Server 586 k\n realmd x86_64 0.16.1-12.el7_9.1 rhel-Server 210 k\nInstalling for dependencies:\n PackageKit-glib x86_64 1.1.10-2.el7 rhel-Server 128 k\n PackageKit-yum x86_64 1.1.10-2.el7 rhel-Server 75 k\n oddjob x86_64 0.31.5-4.el7 rhel-Server 69 k\n oddjob-mkhomedir x86_64 0.31.5-4.el7 rhel-Server 38 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+4 Dependent packages)\n\nTotal download size: 1.1 M\nInstalled size: 4.3 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 1.0 MB/s | 1.1 MB 00:01 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : PackageKit-glib-1.1.10-2.el7.x86_64 1/6 \n Installing : PackageKit-1.1.10-2.el7.x86_64 2/6 \n Installing : PackageKit-yum-1.1.10-2.el7.x86_64 3/6 \n Installing : oddjob-0.31.5-4.el7.x86_64 4/6 \n Installing : oddjob-mkhomedir-0.31.5-4.el7.x86_64 5/6 \n Installing : realmd-0.16.1-12.el7_9.1.x86_64 6/6 \n Verifying : oddjob-0.31.5-4.el7.x86_64 1/6 \n Verifying : realmd-0.16.1-12.el7_9.1.x86_64 2/6 \n Verifying : PackageKit-yum-1.1.10-2.el7.x86_64 3/6 \n Verifying : oddjob-mkhomedir-0.31.5-4.el7.x86_64 4/6 \n Verifying : PackageKit-glib-1.1.10-2.el7.x86_64 5/6 \n Verifying : PackageKit-1.1.10-2.el7.x86_64 6/6 \n\nInstalled:\n PackageKit.x86_64 0:1.1.10-2.el7 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 PackageKit-yum.x86_64 0:1.1.10-2.el7 \n oddjob.x86_64 0:0.31.5-4.el7 oddjob-mkhomedir.x86_64 0:0.31.5-4.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Friday 19 January 2024 15:57:59 +0000 (0:00:04.129) 0:00:05.194 ******** changed: [sut] => (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": "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": "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: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Friday 19 January 2024 15:58:00 +0000 (0:00:00.418) 0:00:05.613 ******** Notification for handler Handler for ad_integration to restart services has been saved. changed: [sut] => { "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-1705679880.3503869-2404-61367261821660/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.ad_integration : Flush handlers] *************** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:73 Friday 19 January 2024 15:58:00 +0000 (0:00:00.458) 0:00:06.071 ******** NOTIFIED HANDLER fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:3 Friday 19 January 2024 15:58:00 +0000 (0:00:00.003) 0:00:06.074 ******** skipping: [sut] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not __ad_integration_test_sssd_config_only | default(false)", "item": "realmd", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Add AD server to existing network connection for DNS] ******************** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:77 Friday 19 January 2024 15:58:00 +0000 (0:00:00.018) 0:00:06.093 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_dns | bool", "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:91 Friday 19 January 2024 15:58:00 +0000 (0:00:00.015) 0:00:06.108 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_timesync | bool", "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Friday 19 January 2024 15:58:00 +0000 (0:00:00.015) 0:00:06.123 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_crypto_policies | bool", "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 Friday 19 January 2024 15:58:00 +0000 (0:00:00.015) 0:00:06.138 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if we are already joined to a domain] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 Friday 19 January 2024 15:58:00 +0000 (0:00:00.015) 0:00:06.153 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_force_rejoin | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Leave existing joined domain] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:129 Friday 19 January 2024 15:58:00 +0000 (0:00:00.015) 0:00:06.169 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_force_rejoin | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Build Command - Join to a specific Domain Controller] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Friday 19 January 2024 15:58:00 +0000 (0:00:00.015) 0:00:06.184 ******** skipping: [sut] => { "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: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Friday 19 January 2024 15:58:00 +0000 (0:00:00.010) 0:00:06.195 ******** ok: [sut] => { "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: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:165 Friday 19 January 2024 15:58:00 +0000 (0:00:00.021) 0:00:06.217 ******** ok: [sut] => {} MSG: ['Would run the following command. Note that ad_integration_join_parameters have been removed for security purposes, the role will pass them to the actual realm join command when running without check mode.', 'realm join -U Administrator --membership-software adcli sample-realm.com'] TASK [fedora.linux_system_roles.ad_integration : Run realm join command] ******* task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:177 Friday 19 January 2024 15:58:00 +0000 (0:00:00.011) 0:00:06.229 ******** skipping: [sut] => { "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: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Friday 19 January 2024 15:58:00 +0000 (0:00:00.007) 0:00:06.236 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Friday 19 January 2024 15:58:00 +0000 (0:00:00.006) 0:00:06.243 ******** changed: [sut] => (item={'key': 'dyndns_update', 'value': 'True'}) => { "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": 48, "state": "file", "uid": 0 } MSG: section and option added changed: [sut] => (item={'key': 'dyndns_ttl', 'value': '3600'}) => { "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": 66, "state": "file", "uid": 0 } MSG: option added changed: [sut] => (item={'key': 'dyndns_iface', 'value': 'TESTING'}) => { "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": 89, "state": "file", "uid": 0 } MSG: option added changed: [sut] => (item={'key': 'dyndns_refresh_interval', 'value': '86400'}) => { "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": 121, "state": "file", "uid": 0 } MSG: option added changed: [sut] => (item={'key': 'dyndns_update_ptr', 'value': 'True'}) => { "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": 146, "state": "file", "uid": 0 } MSG: option added changed: [sut] => (item={'key': 'dyndns_force_tcp', 'value': 'False'}) => { "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": 171, "state": "file", "uid": 0 } MSG: option added changed: [sut] => (item={'key': 'dyndns_auth', 'value': 'GSS-TSIG'}) => { "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": 194, "state": "file", "uid": 0 } MSG: option added changed: [sut] => (item={'key': 'dyndns_server', 'value': '127.0.0.1'}) => { "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": 220, "state": "file", "uid": 0 } MSG: option added changed: [sut] => (item={'key': 'ad_hostname', 'value': '5604b85a-9c94-4c86-9e25-434307223e5e.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "ad_hostname", "value": "5604b85a-9c94-4c86-9e25-434307223e5e.sample-realm.com" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0 } MSG: option added Notification for handler Handler for ad_integration to restart services - sssd has been saved. Notification for handler Handler for ad_integration to restart services - sssd has been saved. Notification for handler Handler for ad_integration to restart services - sssd has been saved. Notification for handler Handler for ad_integration to restart services - sssd has been saved. Notification for handler Handler for ad_integration to restart services - sssd has been saved. Notification for handler Handler for ad_integration to restart services - sssd has been saved. Notification for handler Handler for ad_integration to restart services - sssd has been saved. Notification for handler Handler for ad_integration to restart services - sssd has been saved. Notification for handler Handler for ad_integration to restart services - sssd has been saved. TASK [fedora.linux_system_roles.ad_integration : Configure custom SSSD settings] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 Friday 19 January 2024 15:58:02 +0000 (0:00:01.261) 0:00:07.504 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 Friday 19 January 2024 15:58:02 +0000 (0:00:00.007) 0:00:07.511 ******** skipping: [sut] => (item={'key': 'dyndns_iface', 'value': 'TESTING'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.value is none or item.value == ''", "item": { "key": "dyndns_iface", "value": "TESTING" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_server', 'value': '127.0.0.1'}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.value is none or item.value == ''", "item": { "key": "dyndns_server", "value": "127.0.0.1" }, "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Check custom dyndns settings] ******************************************** task path: /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:39 Friday 19 January 2024 15:58:02 +0000 (0:00:00.024) 0:00:07.536 ******** ok: [sut] => (item={'key': 'dyndns_update', 'value': 'True'}) => { "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": 288, "state": "file", "uid": 0 } MSG: OK ok: [sut] => (item={'key': 'dyndns_iface', 'value': 'TESTING'}) => { "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": 288, "state": "file", "uid": 0 } MSG: OK ok: [sut] => (item={'key': 'dyndns_auth', 'value': 'GSS-TSIG'}) => { "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": 288, "state": "file", "uid": 0 } MSG: OK ok: [sut] => (item={'key': 'dyndns_server', 'value': '127.0.0.1'}) => { "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": 288, "state": "file", "uid": 0 } MSG: OK TASK [Search /var/log/sssd/sssd.log for [sss_ini_call_validators]] ************* task path: /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:62 Friday 19 January 2024 15:58:02 +0000 (0:00:00.523) 0:00:08.060 ******** ok: [sut] => { "changed": false, "cmd": [ "grep", "-i", "sss_ini_call_validators", "/var/log/sssd/sssd.log" ], "delta": "0:00:00.004083", "end": "2024-01-19 15:58:02.960797", "failed_when_result": false, "rc": 2, "start": "2024-01-19 15:58:02.956714" } STDERR: grep: /var/log/sssd/sssd.log: No such file or directory MSG: non-zero return code TASK [Fail if signature found] ************************************************* task path: /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:68 Friday 19 January 2024 15:58:02 +0000 (0:00:00.204) 0:00:08.264 ******** skipping: [sut] => { "changed": false, "false_condition": "sssd_log.stdout | length > 0", "skip_reason": "Conditional result was False" } TASK [Test - Re-run the system role to remove vars] **************************** task path: /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:73 Friday 19 January 2024 15:58:02 +0000 (0:00:00.016) 0:00:08.280 ******** TASK [fedora.linux_system_roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:3 Friday 19 January 2024 15:58:03 +0000 (0:00:00.029) 0:00:08.310 ******** skipping: [sut] => { "changed": false, "false_condition": "not ad_integration_realm", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:8 Friday 19 January 2024 15:58:03 +0000 (0:00:00.007) 0:00:08.318 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_timesync_source is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:15 Friday 19 January 2024 15:58:03 +0000 (0:00:00.010) 0:00:08.329 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_timesync | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:25 Friday 19 January 2024 15:58:03 +0000 (0:00:00.016) 0:00:08.345 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:30 Friday 19 January 2024 15:58:03 +0000 (0:00:00.015) 0:00:08.360 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure all required dns variables are provided] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:40 Friday 19 January 2024 15:58:03 +0000 (0:00:00.015) 0:00:08.376 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_dns | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:49 Friday 19 January 2024 15:58:03 +0000 (0:00:00.014) 0:00:08.390 ******** included: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml for sut TASK [fedora.linux_system_roles.ad_integration : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:2 Friday 19 January 2024 15:58:03 +0000 (0:00:00.014) 0:00:08.405 ******** skipping: [sut] => { "changed": false, "false_condition": "__ad_integration_required_facts | difference(ansible_facts.keys() | list) | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if system is ostree] **** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 Friday 19 January 2024 15:58:03 +0000 (0:00:00.017) 0:00:08.422 ******** skipping: [sut] => { "changed": false, "false_condition": "not __ad_integration_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:15 Friday 19 January 2024 15:58:03 +0000 (0:00:00.010) 0:00:08.433 ******** skipping: [sut] => { "changed": false, "false_condition": "not __ad_integration_is_ostree is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:19 Friday 19 January 2024 15:58:03 +0000 (0:00:00.011) 0:00:08.444 ******** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=RedHat_7.yml) => { "ansible_facts": { "__template_packages": [], "__template_services": [] }, "ansible_included_var_files": [ "/WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/vars/RedHat_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat_7.yml" } skipping: [sut] => (item=RedHat_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Ensure required packages are installed] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Friday 19 January 2024 15:58:03 +0000 (0:00:00.022) 0:00:08.466 ******** ok: [sut] => { "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.x86_64 providing PackageKit is already installed" ] } TASK [fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Friday 19 January 2024 15:58:03 +0000 (0:00:00.324) 0:00:08.791 ******** ok: [sut] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-01-19 15:58:00 UTC", "ActiveEnterTimestampMonotonic": "424145530", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-01-19 15:58:00 UTC", "AssertTimestampMonotonic": "424103267", "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": "Fri 2024-01-19 15:58:00 UTC", "ConditionTimestampMonotonic": "424103265", "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": "4864", "ExecMainStartTimestamp": "Fri 2024-01-19 15:58:00 UTC", "ExecMainStartTimestampMonotonic": "424111700", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib64/realmd/realmd ; argv[]=/usr/lib64/realmd/realmd ; ignore_errors=no ; start_time=[Fri 2024-01-19 15:58:00 UTC] ; stop_time=[n/a] ; pid=4864 ; 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": "Fri 2024-01-19 15:58:00 UTC", "InactiveExitTimestampMonotonic": "424111751", "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": "4864", "MemoryAccounting": "no", "MemoryCurrent": "1327104", "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": "4", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "WatchdogTimestamp": "Fri 2024-01-19 15:58:00 UTC", "WatchdogTimestampMonotonic": "424145483", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf] **** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 Friday 19 January 2024 15:58:03 +0000 (0:00:00.209) 0:00:09.000 ******** ok: [sut] => { "changed": false, "checksum": "0fe3f55e582b3bf7fd00d6665b2e8dcfd0f0d645", "dest": "/etc/realmd.conf", "gid": 0, "group": "root", "mode": "0400", "owner": "root", "path": "/etc/realmd.conf", "secontext": "system_u:object_r:etc_t:s0", "size": 174, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.ad_integration : Flush handlers] *************** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:73 Friday 19 January 2024 15:58:04 +0000 (0:00:00.426) 0:00:09.427 ******** NOTIFIED HANDLER fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd for sut META: triggered running handlers for sut RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:10 Friday 19 January 2024 15:58:04 +0000 (0:00:00.003) 0:00:09.430 ******** skipping: [sut] => (item=sssd) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not __ad_integration_test_sssd_config_only | default(false)", "item": "sssd", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped TASK [Add AD server to existing network connection for DNS] ******************** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:77 Friday 19 January 2024 15:58:04 +0000 (0:00:00.019) 0:00:09.450 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_dns | bool", "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:91 Friday 19 January 2024 15:58:04 +0000 (0:00:00.017) 0:00:09.468 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_timesync | bool", "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:100 Friday 19 January 2024 15:58:04 +0000 (0:00:00.015) 0:00:09.483 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_manage_crypto_policies | bool", "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:112 Friday 19 January 2024 15:58:04 +0000 (0:00:00.015) 0:00:09.499 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_allow_rc4_crypto | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Check if we are already joined to a domain] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:123 Friday 19 January 2024 15:58:04 +0000 (0:00:00.017) 0:00:09.517 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_force_rejoin | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Leave existing joined domain] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:129 Friday 19 January 2024 15:58:04 +0000 (0:00:00.017) 0:00:09.534 ******** skipping: [sut] => { "changed": false, "false_condition": "ad_integration_force_rejoin | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.ad_integration : Build Command - Join to a specific Domain Controller] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:137 Friday 19 January 2024 15:58:04 +0000 (0:00:00.016) 0:00:09.551 ******** skipping: [sut] => { "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: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Friday 19 January 2024 15:58:04 +0000 (0:00:00.011) 0:00:09.562 ******** ok: [sut] => { "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: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:165 Friday 19 January 2024 15:58:04 +0000 (0:00:00.029) 0:00:09.592 ******** ok: [sut] => {} MSG: ['Would run the following command. Note that ad_integration_join_parameters have been removed for security purposes, the role will pass them to the actual realm join command when running without check mode.', 'realm join -U Administrator --membership-software adcli sample-realm.com'] TASK [fedora.linux_system_roles.ad_integration : Run realm join command] ******* task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:177 Friday 19 January 2024 15:58:04 +0000 (0:00:00.022) 0:00:09.614 ******** skipping: [sut] => { "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: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:192 Friday 19 January 2024 15:58:04 +0000 (0:00:00.010) 0:00:09.625 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Friday 19 January 2024 15:58:04 +0000 (0:00:00.007) 0:00:09.632 ******** ok: [sut] => (item={'key': 'dyndns_update', 'value': 'True'}) => { "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": 288, "state": "file", "uid": 0 } MSG: OK ok: [sut] => (item={'key': 'dyndns_ttl', 'value': '3600'}) => { "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": 288, "state": "file", "uid": 0 } MSG: OK skipping: [sut] => (item={'key': 'dyndns_iface', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.value != ''", "item": { "key": "dyndns_iface", "value": "" }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 'dyndns_refresh_interval', 'value': '86400'}) => { "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": 288, "state": "file", "uid": 0 } MSG: OK ok: [sut] => (item={'key': 'dyndns_update_ptr', 'value': 'True'}) => { "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": 288, "state": "file", "uid": 0 } MSG: OK ok: [sut] => (item={'key': 'dyndns_force_tcp', 'value': 'False'}) => { "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": 288, "state": "file", "uid": 0 } MSG: OK skipping: [sut] => (item={'key': 'dyndns_auth', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.value != ''", "item": { "key": "dyndns_auth", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item.value != ''", "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 'ad_hostname', 'value': '5604b85a-9c94-4c86-9e25-434307223e5e.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "ad_hostname", "value": "5604b85a-9c94-4c86-9e25-434307223e5e.sample-realm.com" }, "mode": "0600", "owner": "root", "path": "/etc/sssd/sssd.conf", "secontext": "system_u:object_r:sssd_conf_t:s0", "size": 288, "state": "file", "uid": 0 } MSG: OK TASK [fedora.linux_system_roles.ad_integration : Configure custom SSSD settings] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:245 Friday 19 January 2024 15:58:05 +0000 (0:00:00.803) 0:00:10.436 ******** skipping: [sut] => { "changed": false, "skipped_reason": "No items in the list" } TASK [fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 Friday 19 January 2024 15:58:05 +0000 (0:00:00.008) 0:00:10.444 ******** changed: [sut] => (item={'key': 'dyndns_iface', 'value': ''}) => { "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": 265, "state": "file", "uid": 0 } MSG: option changed changed: [sut] => (item={'key': 'dyndns_server', 'value': ''}) => { "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": 239, "state": "file", "uid": 0 } MSG: option changed Notification for handler Handler for ad_integration to restart services - sssd has been saved. Notification for handler Handler for ad_integration to restart services - sssd has been saved. TASK [Restart sssd] ************************************************************ task path: /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:81 Friday 19 January 2024 15:58:05 +0000 (0:00:00.286) 0:00:10.731 ******** skipping: [sut] => { "changed": false, "false_condition": "not __ad_integration_test_sssd_config_only | d(false)", "skip_reason": "Conditional result was False" } TASK [Check custom dyndns settings are removed] ******************************** task path: /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:87 Friday 19 January 2024 15:58:05 +0000 (0:00:00.019) 0:00:10.750 ******** ok: [sut] => (item={'key': 'dyndns_iface', 'value': None}) => { "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": 239, "state": "file", "uid": 0 } MSG: OK ok: [sut] => (item={'key': 'dyndns_server', 'value': None}) => { "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": 239, "state": "file", "uid": 0 } MSG: OK TASK [Gather facts] ************************************************************ task path: /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:108 Friday 19 January 2024 15:58:05 +0000 (0:00:00.296) 0:00:11.047 ******** skipping: [sut] => { "changed": false, "false_condition": "not __ad_integration_test_sssd_config_only | d(false)", "skip_reason": "Conditional result was False" } TASK [Get IP for host's FQDN] ************************************************** task path: /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:114 Friday 19 January 2024 15:58:05 +0000 (0:00:00.045) 0:00:11.092 ******** skipping: [sut] => { "changed": false, "false_condition": "not __ad_integration_test_sssd_config_only | d(false)", "skip_reason": "Conditional result was False" } TASK [Get hostname for host's IP address] ************************************** task path: /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:120 Friday 19 January 2024 15:58:05 +0000 (0:00:00.027) 0:00:11.120 ******** skipping: [sut] => { "changed": false, "false_condition": "not __ad_integration_test_sssd_config_only | d(false)", "skip_reason": "Conditional result was False" } TASK [Assert IPv4 DNS records were created] ************************************ task path: /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:126 Friday 19 January 2024 15:58:05 +0000 (0:00:00.019) 0:00:11.139 ******** skipping: [sut] => { "changed": false, "false_condition": "not __ad_integration_test_sssd_config_only | d(false)", "skip_reason": "Conditional result was False" } NOTIFIED HANDLER fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd for sut RUNNING HANDLER [fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd] *** task path: /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:10 Friday 19 January 2024 15:58:05 +0000 (0:00:00.030) 0:00:11.169 ******** skipping: [sut] => (item=sssd) => { "ansible_loop_var": "item", "changed": false, "false_condition": "not __ad_integration_test_sssd_config_only | default(false)", "item": "sssd", "skip_reason": "Conditional result was False" } skipping: [sut] => { "changed": false } MSG: All items skipped PLAY RECAP ********************************************************************* sut : ok=23 changed=5 unreachable=0 failed=0 skipped=46 rescued=0 ignored=0 Friday 19 January 2024 15:58:05 +0000 (0:00:00.030) 0:00:11.200 ******** =============================================================================== fedora.linux_system_roles.ad_integration : Ensure required packages are installed --- 4.13s /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates --- 1.26s /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 fedora.linux_system_roles.ad_integration : Configure dynamic DNS updates --- 0.80s /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:206 Gathering Facts --------------------------------------------------------- 0.67s /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:20 --------------------- Check custom dyndns settings -------------------------------------------- 0.52s /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:39 --------------------- fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf ---- 0.46s /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:65 fedora.linux_system_roles.ad_integration : Generate /etc/realmd.conf ---- 0.43s /WORKDIR/git-authselectb5hko53q/.collection/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.42s /WORKDIR/git-authselectb5hko53q/.collection/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.32s /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:52 Check custom dyndns settings are removed -------------------------------- 0.30s /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:87 --------------------- fedora.linux_system_roles.ad_integration : Cleanup dynamic DNS configuration options --- 0.29s /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:262 fedora.linux_system_roles.ad_integration : Ensure required services are enabled and started --- 0.21s /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:58 Search /var/log/sssd/sssd.log for [sss_ini_call_validators] ------------- 0.20s /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:62 --------------------- fedora.linux_system_roles.ad_integration : Check if system is ostree ---- 0.20s /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/set_vars.yml:10 fedora.linux_system_roles.ad_integration : Handler for ad_integration to restart services - sssd --- 0.05s /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/handlers/main.yml:10 Gather facts ------------------------------------------------------------ 0.05s /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:108 -------------------- Assert IPv4 DNS records were created ------------------------------------ 0.03s /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:126 -------------------- Test - Re-run the system role to remove vars ---------------------------- 0.03s /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:73 --------------------- fedora.linux_system_roles.ad_integration : Build Join Command - Perform discovery-based realm join operation --- 0.03s /WORKDIR/git-authselectb5hko53q/.collection/ansible_collections/fedora/linux_system_roles/roles/ad_integration/tasks/main.yml:151 Get IP for host's FQDN -------------------------------------------------- 0.03s /WORKDIR/git-authselectb5hko53q/tests/tests_dyndns.yml:114 -------------------- ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [DEPRECATION WARNING]: ANSIBLE_COLLECTIONS_PATHS option, does not fit var naming standard, use the singular form ANSIBLE_COLLECTIONS_PATH instead. This feature will be removed from ansible-core in version 2.19. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg. [WARNING]: Could not match supplied host pattern, ignoring: ad ---^---^---^---^---^---