# STDOUT: ---v---v---v---v---v--- ansible-playbook 2.9.27 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.9/lib/python3.9/site-packages/ansible executable location = /opt/ansible-2.9/bin/ansible-playbook python version = 3.9.18 (main, Sep 7 2023, 00:00:00) [GCC 11.4.1 20230605 (Red Hat 11.4.1-2)] Using /etc/ansible/ansible.cfg as config file 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 /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml PLAY [Ensure that the role configures dynamic dns] ***************************** META: ran handlers TASK [Test - Run the system role with bogus vars] ****************************** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:32 Monday 25 March 2024 21:00:43 +0000 (0:00:00.012) 0:00:00.012 ********** TASK [linux-system-roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:3 Monday 25 March 2024 21:00:43 +0000 (0:00:00.021) 0:00:00.034 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:8 Monday 25 March 2024 21:00:43 +0000 (0:00:00.016) 0:00:00.050 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:15 Monday 25 March 2024 21:00:43 +0000 (0:00:00.014) 0:00:00.064 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:25 Monday 25 March 2024 21:00:43 +0000 (0:00:00.014) 0:00:00.079 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:30 Monday 25 March 2024 21:00:43 +0000 (0:00:00.014) 0:00:00.094 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure all required dns variables are provided] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:40 Monday 25 March 2024 21:00:43 +0000 (0:00:00.014) 0:00:00.109 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:51 Monday 25 March 2024 21:00:43 +0000 (0:00:00.014) 0:00:00.123 ********** included: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml for sut TASK [linux-system-roles.ad_integration : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:2 Monday 25 March 2024 21:00:43 +0000 (0:00:00.012) 0:00:00.135 ********** ok: [sut] TASK [linux-system-roles.ad_integration : Check if system is ostree] *********** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:11 Monday 25 March 2024 21:00:44 +0000 (0:00:00.599) 0:00:00.735 ********** ok: [sut] => { "changed": false, "stat": { "exists": false } } TASK [linux-system-roles.ad_integration : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:16 Monday 25 March 2024 21:00:44 +0000 (0:00:00.194) 0:00:00.930 ********** ok: [sut] => { "ansible_facts": { "__ad_integration_is_ostree": false }, "changed": false } TASK [linux-system-roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:20 Monday 25 March 2024 21:00:44 +0000 (0:00:00.019) 0:00:00.949 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__template_packages": [], "__template_services": [] }, "ansible_included_var_files": [ "/WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure required packages are installed] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:54 Monday 25 March 2024 21:00:44 +0000 (0:00:00.029) 0:00:00.978 ********** changed: [sut] => { "changed": true, "changes": { "installed": [ "realmd", "PackageKit" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * base: download.cf.centos.org\n * extras: download.cf.centos.org\n * updates: download.cf.centos.org\nResolving Dependencies\n--> Running transaction check\n---> Package PackageKit.x86_64 0:1.1.10-2.el7.centos will be installed\n--> Processing Dependency: PackageKit-glib(x86-64) = 1.1.10-2.el7.centos for package: PackageKit-1.1.10-2.el7.centos.x86_64\n--> Processing Dependency: PackageKit-backend for package: PackageKit-1.1.10-2.el7.centos.x86_64\n--> Processing Dependency: libpackagekit-glib2.so.18()(64bit) for package: PackageKit-1.1.10-2.el7.centos.x86_64\n---> Package realmd.x86_64 0:0.16.1-12.el7_9.1 will be installed\n--> Processing Dependency: oddjob-mkhomedir for package: realmd-0.16.1-12.el7_9.1.x86_64\n--> Running transaction check\n---> Package PackageKit-glib.x86_64 0:1.1.10-2.el7.centos will be installed\n---> Package PackageKit-yum.x86_64 0:1.1.10-2.el7.centos will be installed\n--> Processing Dependency: pygobject2 for package: PackageKit-yum-1.1.10-2.el7.centos.x86_64\n---> Package oddjob-mkhomedir.x86_64 0:0.31.5-4.el7 will be installed\n--> Processing Dependency: oddjob = 0.31.5-4.el7 for package: oddjob-mkhomedir-0.31.5-4.el7.x86_64\n--> Running transaction check\n---> Package oddjob.x86_64 0:0.31.5-4.el7 will be installed\n---> Package pygobject2.x86_64 0:2.28.6-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n PackageKit x86_64 1.1.10-2.el7.centos base 587 k\n realmd x86_64 0.16.1-12.el7_9.1 updates 210 k\nInstalling for dependencies:\n PackageKit-glib x86_64 1.1.10-2.el7.centos base 128 k\n PackageKit-yum x86_64 1.1.10-2.el7.centos base 75 k\n oddjob x86_64 0.31.5-4.el7 base 69 k\n oddjob-mkhomedir x86_64 0.31.5-4.el7 base 38 k\n pygobject2 x86_64 2.28.6-11.el7 base 226 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.3 M\nInstalled size: 5.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.6 MB/s | 1.3 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : oddjob-0.31.5-4.el7.x86_64 1/7 \n Installing : oddjob-mkhomedir-0.31.5-4.el7.x86_64 2/7 \n Installing : pygobject2-2.28.6-11.el7.x86_64 3/7 \n Installing : PackageKit-glib-1.1.10-2.el7.centos.x86_64 4/7 \n Installing : PackageKit-yum-1.1.10-2.el7.centos.x86_64 5/7 \n Installing : PackageKit-1.1.10-2.el7.centos.x86_64 6/7 \n Installing : realmd-0.16.1-12.el7_9.1.x86_64 7/7 \n Verifying : realmd-0.16.1-12.el7_9.1.x86_64 1/7 \n Verifying : PackageKit-glib-1.1.10-2.el7.centos.x86_64 2/7 \n Verifying : PackageKit-1.1.10-2.el7.centos.x86_64 3/7 \n Verifying : oddjob-mkhomedir-0.31.5-4.el7.x86_64 4/7 \n Verifying : PackageKit-yum-1.1.10-2.el7.centos.x86_64 5/7 \n Verifying : pygobject2-2.28.6-11.el7.x86_64 6/7 \n Verifying : oddjob-0.31.5-4.el7.x86_64 7/7 \n\nInstalled:\n PackageKit.x86_64 0:1.1.10-2.el7.centos realmd.x86_64 0:0.16.1-12.el7_9.1 \n\nDependency Installed:\n PackageKit-glib.x86_64 0:1.1.10-2.el7.centos \n PackageKit-yum.x86_64 0:1.1.10-2.el7.centos \n oddjob.x86_64 0:0.31.5-4.el7 \n oddjob-mkhomedir.x86_64 0:0.31.5-4.el7 \n pygobject2.x86_64 0:2.28.6-11.el7 \n\nComplete!\n" ] } TASK [linux-system-roles.ad_integration : Ensure required services are enabled and started] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:61 Monday 25 March 2024 21:00:51 +0000 (0:00:06.329) 0:00:07.308 ********** 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": "basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.freedesktop.realmd", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Realm and Domain Configuration", "DevicePolicy": "auto", "Documentation": "man:realm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib64/realmd/realmd ; argv[]=/usr/lib64/realmd/realmd ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/realmd.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "realmd.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "realmd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [linux-system-roles.ad_integration : Generate /etc/realmd.conf] *********** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:68 Monday 25 March 2024 21:00:51 +0000 (0:00:00.683) 0:00:07.992 ********** NOTIFIED HANDLER linux-system-roles.ad_integration : Handler for ad_integration to restart services for sut 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-1711400451.7888536-3004-28967467183317/source", "state": "file", "uid": 0 } RUNNING HANDLER [linux-system-roles.ad_integration : Handler for ad_integration to restart services] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/handlers/main.yml:3 Monday 25 March 2024 21:00:52 +0000 (0:00:00.453) 0:00:08.446 ********** skipping: [sut] => (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: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:80 Monday 25 March 2024 21:00:52 +0000 (0:00:00.013) 0:00:08.459 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:94 Monday 25 March 2024 21:00:52 +0000 (0:00:00.007) 0:00:08.466 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:103 Monday 25 March 2024 21:00:52 +0000 (0:00:00.007) 0:00:08.474 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:117 Monday 25 March 2024 21:00:52 +0000 (0:00:00.007) 0:00:08.481 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Check if we are already joined to a domain] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:128 Monday 25 March 2024 21:00:52 +0000 (0:00:00.007) 0:00:08.489 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Leave existing joined domain] ******** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:134 Monday 25 March 2024 21:00:52 +0000 (0:00:00.007) 0:00:08.497 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Build Command - Join to a specific Domain Controller] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:142 Monday 25 March 2024 21:00:52 +0000 (0:00:00.007) 0:00:08.504 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.ad_integration : Build Join Command - Perform discovery-based realm join operation] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:156 Monday 25 March 2024 21:00:52 +0000 (0:00:00.007) 0:00:08.511 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.ad_integration : Show the join command for debug] ***** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:170 Monday 25 March 2024 21:00:52 +0000 (0:00:00.010) 0:00:08.521 ********** 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 [linux-system-roles.ad_integration : Run realm join command] ************** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:184 Monday 25 March 2024 21:00:52 +0000 (0:00:00.009) 0:00:08.531 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.ad_integration : Configure SSSD settings] ************* task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:200 Monday 25 March 2024 21:00:52 +0000 (0:00:00.008) 0:00:08.540 ********** TASK [linux-system-roles.ad_integration : Configure dynamic DNS updates] ******* task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:214 Monday 25 March 2024 21:00:52 +0000 (0:00:00.006) 0:00:08.546 ********** 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, "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: [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, "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: [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, "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: [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': 'e760f6a4-7deb-448c-b106-3d241cc378ee.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": true, "gid": 0, "group": "root", "item": { "key": "ad_hostname", "value": "e760f6a4-7deb-448c-b106-3d241cc378ee.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 NOTIFIED HANDLER linux-system-roles.ad_integration : Handler for ad_integration to restart services - sssd for sut TASK [linux-system-roles.ad_integration : Configure custom SSSD settings] ****** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:256 Monday 25 March 2024 21:00:53 +0000 (0:00:01.307) 0:00:09.854 ********** TASK [linux-system-roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:273 Monday 25 March 2024 21:00:53 +0000 (0:00:00.006) 0:00:09.861 ********** skipping: [sut] => (item={'key': 'dyndns_iface', 'value': 'TESTING'}) => { "ansible_loop_var": "item", "changed": false, "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, "item": { "key": "dyndns_server", "value": "127.0.0.1" }, "skip_reason": "Conditional result was False" } TASK [Check custom dyndns settings] ******************************************** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:41 Monday 25 March 2024 21:00:53 +0000 (0:00:00.016) 0:00:09.877 ********** 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, "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: [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-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:64 Monday 25 March 2024 21:00:54 +0000 (0:00:00.543) 0:00:10.420 ********** ok: [sut] => { "changed": false, "cmd": [ "grep", "-i", "sss_ini_call_validators", "/var/log/sssd/sssd.log" ], "delta": "0:00:00.004137", "end": "2024-03-25 21:00:54.369086", "failed_when_result": false, "rc": 2, "start": "2024-03-25 21:00:54.364949" } 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-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:70 Monday 25 March 2024 21:00:54 +0000 (0:00:00.192) 0:00:10.613 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test - Re-run the system role to remove vars] **************************** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:75 Monday 25 March 2024 21:00:54 +0000 (0:00:00.008) 0:00:10.622 ********** TASK [linux-system-roles.ad_integration : Ensure that mandatory variable ad_integration_realm is available] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:3 Monday 25 March 2024 21:00:54 +0000 (0:00:00.024) 0:00:10.647 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Assume managing timesync if timesource is set] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:8 Monday 25 March 2024 21:00:54 +0000 (0:00:00.007) 0:00:10.655 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure time source is provided if managing timesync] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:15 Monday 25 March 2024 21:00:54 +0000 (0:00:00.007) 0:00:10.662 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Assume managing crypto policies if allow_rc4_crypto is set] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:25 Monday 25 March 2024 21:00:54 +0000 (0:00:00.007) 0:00:10.669 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure manage_crypt_policies is set with crypto_allow_rc4] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:30 Monday 25 March 2024 21:00:54 +0000 (0:00:00.007) 0:00:10.677 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure all required dns variables are provided] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:40 Monday 25 March 2024 21:00:54 +0000 (0:00:00.007) 0:00:10.684 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:51 Monday 25 March 2024 21:00:54 +0000 (0:00:00.007) 0:00:10.692 ********** included: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml for sut TASK [linux-system-roles.ad_integration : Ensure ansible_facts used by role] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:2 Monday 25 March 2024 21:00:54 +0000 (0:00:00.012) 0:00:10.704 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Check if system is ostree] *********** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:11 Monday 25 March 2024 21:00:54 +0000 (0:00:00.008) 0:00:10.712 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Set flag to indicate system is ostree] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:16 Monday 25 March 2024 21:00:54 +0000 (0:00:00.007) 0:00:10.720 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Set platform/version specific variables] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:20 Monday 25 March 2024 21:00:54 +0000 (0:00:00.009) 0:00:10.729 ********** skipping: [sut] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [sut] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [sut] => (item=CentOS_7.yml) => { "ansible_facts": { "__template_packages": [], "__template_services": [] }, "ansible_included_var_files": [ "/WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [sut] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Ensure required packages are installed] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:54 Monday 25 March 2024 21:00:54 +0000 (0:00:00.021) 0:00:10.751 ********** 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.centos.x86_64 providing PackageKit is already installed" ] } TASK [linux-system-roles.ad_integration : Ensure required services are enabled and started] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:61 Monday 25 March 2024 21:00:55 +0000 (0:00:00.622) 0:00:11.373 ********** ok: [sut] => (item=realmd) => { "ansible_loop_var": "item", "changed": false, "enabled": true, "item": "realmd", "name": "realmd", "state": "started", "status": { "ActiveEnterTimestamp": "Mon 2024-03-25 21:00:51 UTC", "ActiveEnterTimestampMonotonic": "1396794834", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Mon 2024-03-25 21:00:51 UTC", "AssertTimestampMonotonic": "1396766639", "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": "Mon 2024-03-25 21:00:51 UTC", "ConditionTimestampMonotonic": "1396766638", "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": "12184", "ExecMainStartTimestamp": "Mon 2024-03-25 21:00:51 UTC", "ExecMainStartTimestampMonotonic": "1396767405", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/lib64/realmd/realmd ; argv[]=/usr/lib64/realmd/realmd ; ignore_errors=no ; start_time=[Mon 2024-03-25 21:00:51 UTC] ; stop_time=[n/a] ; pid=12184 ; 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": "Mon 2024-03-25 21:00:51 UTC", "InactiveExitTimestampMonotonic": "1396767440", "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": "12184", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "realmd.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "static", "WatchdogTimestamp": "Mon 2024-03-25 21:00:51 UTC", "WatchdogTimestampMonotonic": "1396794586", "WatchdogUSec": "0" } } TASK [linux-system-roles.ad_integration : Generate /etc/realmd.conf] *********** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:68 Monday 25 March 2024 21:00:55 +0000 (0:00:00.446) 0:00:11.819 ********** 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 } RUNNING HANDLER [linux-system-roles.ad_integration : Handler for ad_integration to restart services - sssd] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/handlers/main.yml:10 Monday 25 March 2024 21:00:56 +0000 (0:00:00.414) 0:00:12.234 ********** skipping: [sut] => (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: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:80 Monday 25 March 2024 21:00:56 +0000 (0:00:00.014) 0:00:12.248 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage timesync] ********************************************************* task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:94 Monday 25 March 2024 21:00:56 +0000 (0:00:00.008) 0:00:12.257 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Manage crypto policies] ************************************************** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:103 Monday 25 March 2024 21:00:56 +0000 (0:00:00.007) 0:00:12.265 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Enable crypto policy allowing RC4 encryption] **************************** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:117 Monday 25 March 2024 21:00:56 +0000 (0:00:00.007) 0:00:12.272 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Check if we are already joined to a domain] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:128 Monday 25 March 2024 21:00:56 +0000 (0:00:00.007) 0:00:12.280 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Leave existing joined domain] ******** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:134 Monday 25 March 2024 21:00:56 +0000 (0:00:00.007) 0:00:12.287 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [linux-system-roles.ad_integration : Build Command - Join to a specific Domain Controller] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:142 Monday 25 March 2024 21:00:56 +0000 (0:00:00.007) 0:00:12.295 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.ad_integration : Build Join Command - Perform discovery-based realm join operation] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:156 Monday 25 March 2024 21:00:56 +0000 (0:00:00.007) 0:00:12.302 ********** ok: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.ad_integration : Show the join command for debug] ***** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:170 Monday 25 March 2024 21:00:56 +0000 (0:00:00.009) 0:00:12.312 ********** 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 [linux-system-roles.ad_integration : Run realm join command] ************** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:184 Monday 25 March 2024 21:00:56 +0000 (0:00:00.009) 0:00:12.322 ********** skipping: [sut] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [linux-system-roles.ad_integration : Configure SSSD settings] ************* task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:200 Monday 25 March 2024 21:00:56 +0000 (0:00:00.008) 0:00:12.330 ********** TASK [linux-system-roles.ad_integration : Configure dynamic DNS updates] ******* task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:214 Monday 25 March 2024 21:00:56 +0000 (0:00:00.006) 0:00:12.337 ********** 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, "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: [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, "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, "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: [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, "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: [sut] => (item={'key': 'dyndns_auth', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_auth", "value": "" }, "skip_reason": "Conditional result was False" } skipping: [sut] => (item={'key': 'dyndns_server', 'value': ''}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "dyndns_server", "value": "" }, "skip_reason": "Conditional result was False" } ok: [sut] => (item={'key': 'ad_hostname', 'value': 'e760f6a4-7deb-448c-b106-3d241cc378ee.sample-realm.com'}) => { "ansible_loop_var": "item", "changed": false, "gid": 0, "group": "root", "item": { "key": "ad_hostname", "value": "e760f6a4-7deb-448c-b106-3d241cc378ee.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 [linux-system-roles.ad_integration : Configure custom SSSD settings] ****** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:256 Monday 25 March 2024 21:00:56 +0000 (0:00:00.830) 0:00:13.168 ********** TASK [linux-system-roles.ad_integration : Cleanup dynamic DNS configuration options] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:273 Monday 25 March 2024 21:00:56 +0000 (0:00:00.006) 0:00:13.174 ********** 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 NOTIFIED HANDLER linux-system-roles.ad_integration : Handler for ad_integration to restart services - sssd for sut TASK [Restart sssd] ************************************************************ task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:83 Monday 25 March 2024 21:00:57 +0000 (0:00:00.272) 0:00:13.447 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check custom dyndns settings are removed] ******************************** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:89 Monday 25 March 2024 21:00:57 +0000 (0:00:00.009) 0:00:13.456 ********** 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-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:110 Monday 25 March 2024 21:00:57 +0000 (0:00:00.265) 0:00:13.721 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get IP for host's FQDN] ************************************************** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:116 Monday 25 March 2024 21:00:57 +0000 (0:00:00.008) 0:00:13.730 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get hostname for host's IP address] ************************************** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:122 Monday 25 March 2024 21:00:57 +0000 (0:00:00.008) 0:00:13.739 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert IPv4 DNS records were created] ************************************ task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:128 Monday 25 March 2024 21:00:57 +0000 (0:00:00.008) 0:00:13.747 ********** skipping: [sut] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [linux-system-roles.ad_integration : Handler for ad_integration to restart services - sssd] *** task path: /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/handlers/main.yml:10 Monday 25 March 2024 21:00:57 +0000 (0:00:00.007) 0:00:13.755 ********** skipping: [sut] => (item=sssd) => { "ansible_loop_var": "item", "changed": false, "item": "sssd", "skip_reason": "Conditional result was False" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* sut : ok=23 changed=5 unreachable=0 failed=0 skipped=45 rescued=0 ignored=0 Monday 25 March 2024 21:00:57 +0000 (0:00:00.011) 0:00:13.766 ********** =============================================================================== linux-system-roles.ad_integration : Ensure required packages are installed --- 6.33s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:54 linux-system-roles.ad_integration : Configure dynamic DNS updates ------- 1.31s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:214 linux-system-roles.ad_integration : Configure dynamic DNS updates ------- 0.83s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:214 linux-system-roles.ad_integration : Ensure required services are enabled and started --- 0.68s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:61 linux-system-roles.ad_integration : Ensure required packages are installed --- 0.62s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:54 linux-system-roles.ad_integration : Ensure ansible_facts used by role --- 0.60s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:2 Check custom dyndns settings -------------------------------------------- 0.54s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:41 ---------- linux-system-roles.ad_integration : Generate /etc/realmd.conf ----------- 0.45s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:68 linux-system-roles.ad_integration : Ensure required services are enabled and started --- 0.45s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:61 linux-system-roles.ad_integration : Generate /etc/realmd.conf ----------- 0.41s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:68 linux-system-roles.ad_integration : Cleanup dynamic DNS configuration options --- 0.27s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:273 Check custom dyndns settings are removed -------------------------------- 0.27s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:89 ---------- linux-system-roles.ad_integration : Check if system is ostree ----------- 0.19s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:11 Search /var/log/sssd/sssd.log for [sss_ini_call_validators] ------------- 0.19s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:64 ---------- linux-system-roles.ad_integration : Set platform/version specific variables --- 0.03s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:20 Test - Re-run the system role to remove vars ---------------------------- 0.02s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:75 ---------- Test - Run the system role with bogus vars ------------------------------ 0.02s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/tests_dyndns.yml:32 ---------- linux-system-roles.ad_integration : Set platform/version specific variables --- 0.02s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:20 linux-system-roles.ad_integration : Set flag to indicate system is ostree --- 0.02s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/set_vars.yml:16 linux-system-roles.ad_integration : Cleanup dynamic DNS configuration options --- 0.02s /WORKDIR/git-use-fresh-win-moduleso5x91duk/tests/roles/linux-system-roles.ad_integration/tasks/main.yml:273 ---^---^---^---^---^--- # STDERR: ---v---v---v---v---v--- [WARNING]: Could not match supplied host pattern, ignoring: ad [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. ---^---^---^---^---^---