ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', 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_versions.yml *************************************************** 1 plays in /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml PLAY [Test installing and uninstalling all supported versions] ***************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 16 May 2026 15:22:17 -0400 (0:00:00.017) 0:00:00.017 ********** ok: [managed-node2] META: ran handlers META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Install and cleanup default version] ************************************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 16 May 2026 15:22:18 -0400 (0:00:00.909) 0:00:00.926 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:22:18 -0400 (0:00:00.023) 0:00:00.950 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:22:18 -0400 (0:00:00.038) 0:00:00.988 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:22:18 -0400 (0:00:00.020) 0:00:01.008 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:22:18 -0400 (0:00:00.152) 0:00:01.161 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:22:18 -0400 (0:00:00.035) 0:00:01.196 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:22:19 -0400 (0:00:00.651) 0:00:01.847 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:22:19 -0400 (0:00:00.388) 0:00:02.236 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:22:20 -0400 (0:00:00.453) 0:00:02.690 ********** ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:22:20 -0400 (0:00:00.020) 0:00:02.710 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007526", "end": "2026-05-16 15:22:20.629072", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:22:20.621546" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:22:20 -0400 (0:00:00.416) 0:00:03.127 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:22:20 -0400 (0:00:00.016) 0:00:03.143 ********** ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_booted": true }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:22:20 -0400 (0:00:00.017) 0:00:03.161 ********** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:22:20 -0400 (0:00:00.039) 0:00:03.200 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:22:21 -0400 (0:00:00.328) 0:00:03.528 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:22:21 -0400 (0:00:00.325) 0:00:03.854 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:22:21 -0400 (0:00:00.319) 0:00:04.173 ********** ok: [managed-node2] => { "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.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:22:23 -0400 (0:00:01.595) 0:00:05.768 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.039) 0:00:05.807 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.028) 0:00:05.836 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.028) 0:00:05.865 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.025) 0:00:05.890 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server installed.", "Installed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Installed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } lsrpackages: @postgresql:13/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:22:29 -0400 (0:00:05.912) 0:00:11.802 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.647461", "end": "2026-05-16 15:22:30.321886", "rc": 0, "start": "2026-05-16 15:22:29.674425" } STDERR: * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (without postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:22:30 -0400 (0:00:01.030) 0:00:12.833 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:22:30 -0400 (0:00:00.023) 0:00:12.856 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:22:30 -0400 (0:00:00.028) 0:00:12.885 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:22:30 -0400 (0:00:00.021) 0:00:12.906 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target systemd-journald.socket sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; 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/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:22:31 -0400 (0:00:01.192) 0:00:14.098 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.019) 0:00:14.118 ********** skipping: [managed-node2] => { "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.postgresql : Enable logging in by password] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.024) 0:00:14.143 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.020) 0:00:14.163 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.024) 0:00:14.187 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.020) 0:00:14.208 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.037) 0:00:14.245 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.021) 0:00:14.267 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.024) 0:00:14.291 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.020) 0:00:14.312 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.021) 0:00:14.334 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.018) 0:00:14.352 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.018) 0:00:14.370 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.018) 0:00:14.389 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.018) 0:00:14.407 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.017) 0:00:14.425 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:22:31 -0400 (0:00:00.019) 0:00:14.444 ********** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:22:32 -0400 (0:00:00.475) 0:00:14.920 ********** NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:22:32 -0400 (0:00:00.453) 0:00:15.373 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1778959352.9581757-12724-17189408000746/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:22:33 -0400 (0:00:00.748) 0:00:16.121 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:22:33 -0400 (0:00:00.019) 0:00:16.141 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:22:33 -0400 (0:00:00.018) 0:00:16.159 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:22:34 -0400 (0:00:00.324) 0:00:16.483 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:22:34 -0400 (0:00:00.012) 0:00:16.496 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-16 15:22:31 EDT", "ActiveEnterTimestampMonotonic": "357599532", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket network.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:22:31 EDT", "AssertTimestampMonotonic": "357549401", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-05-16 15:22:31 EDT", "ConditionTimestampMonotonic": "357549400", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "30096", "ExecMainStartTimestamp": "Sat 2026-05-16 15:22:31 EDT", "ExecMainStartTimestampMonotonic": "357558559", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:22:31 EDT] ; stop_time=[n/a] ; pid=30096 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:22:31 EDT] ; stop_time=[Sat 2026-05-16 15:22:31 EDT] ; pid=30093 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-05-16 15:22:31 EDT", "InactiveExitTimestampMonotonic": "357550409", "InvocationID": "748c4b3ef01247c78e39a08577b753b2", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30096", "MemoryAccounting": "yes", "MemoryCurrent": "17870848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-05-16 15:22:31 EDT", "StateChangeTimestampMonotonic": "357599532", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-05-16 15:22:31 EDT", "WatchdogTimestampMonotonic": "357599529", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:22:34 -0400 (0:00:00.901) 0:00:17.397 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007446", "end": "2026-05-16 15:22:35.227766", "rc": 0, "start": "2026-05-16 15:22:35.220320" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:22:35 -0400 (0:00:00.333) 0:00:17.730 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007500", "end": "2026-05-16 15:22:35.554704", "rc": 0, "start": "2026-05-16 15:22:35.547204" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:22:35 -0400 (0:00:00.326) 0:00:18.056 ********** ok: [managed-node2] => { "ansible_job_id": "659512102837.31303", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011258", "end": "2026-05-16 15:22:36.205733", "finished": 1, "rc": 0, "start": "2026-05-16 15:22:36.194475" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:22:51 -0400 (0:00:15.919) 0:00:33.976 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009182", "end": "2026-05-16 15:22:51.825124", "rc": 0, "start": "2026-05-16 15:22:51.815942" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:22:51 -0400 (0:00:00.379) 0:00:34.355 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:22:51 -0400 (0:00:00.031) 0:00:34.387 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008921", "end": "2026-05-16 15:22:52.235388", "rc": 0, "start": "2026-05-16 15:22:52.226467" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:22:52 -0400 (0:00:00.353) 0:00:34.740 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:22:52 -0400 (0:00:00.031) 0:00:34.772 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008824", "end": "2026-05-16 15:22:52.608757", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:22:52.599933" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:22:52 -0400 (0:00:00.350) 0:00:35.123 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:22:52 -0400 (0:00:00.032) 0:00:35.155 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server removed.", "Removed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Removed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:22:57 -0400 (0:00:04.638) 0:00:39.794 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:22:57 -0400 (0:00:00.018) 0:00:39.813 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:22:57 -0400 (0:00:00.370) 0:00:40.184 ********** ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:22:59 -0400 (0:00:01.278) 0:00:41.462 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006960", "end": "2026-05-16 15:22:59.288440", "rc": 0, "start": "2026-05-16 15:22:59.281480" } STDOUT: -- Logs begin at Sat 2026-05-16 15:16:34 EDT, end at Sat 2026-05-16 15:22:59 EDT. -- May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:53.926 EDT [10345] LOG: redirecting log output to logging collector process May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:53.926 EDT [10345] HINT: Future log output will appear in directory "log". May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 10346 (postmaster) with signal SIGKILL. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:21:01.516 EDT [12608] LOG: redirecting log output to logging collector process May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:21:01.516 EDT [12608] HINT: Future log output will appear in directory "log". May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 12609 (postmaster) with signal SIGKILL. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[19217]: 2026-05-16 15:21:36.914 EDT [19217] LOG: redirecting log output to logging collector process May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[19217]: 2026-05-16 15:21:36.914 EDT [19217] HINT: Future log output will appear in directory "log". May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 19219 (postmaster) with signal SIGKILL. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[20759]: 2026-05-16 15:21:42.385 EDT [20759] LOG: redirecting log output to logging collector process May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[20759]: 2026-05-16 15:21:42.385 EDT [20759] HINT: Future log output will appear in directory "log". May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 20760 (postmaster) with signal SIGKILL. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25124]: 2026-05-16 15:22:05.568 EDT [25124] LOG: redirecting log output to logging collector process May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25124]: 2026-05-16 15:22:05.568 EDT [25124] HINT: Future log output will appear in directory "log". May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25125 (postmaster) with signal SIGKILL. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25864]: 2026-05-16 15:22:08.665 EDT [25864] LOG: redirecting log output to logging collector process May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25864]: 2026-05-16 15:22:08.665 EDT [25864] HINT: Future log output will appear in directory "log". May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25865 (postmaster) with signal SIGKILL. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30096]: 2026-05-16 15:22:31.566 EDT [30096] LOG: redirecting log output to logging collector process May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30096]: 2026-05-16 15:22:31.566 EDT [30096] HINT: Future log output will appear in directory "log". May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30097 (postmaster) with signal SIGKILL. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30904]: 2026-05-16 15:22:34.866 EDT [30904] LOG: redirecting log output to logging collector process May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30904]: 2026-05-16 15:22:34.866 EDT [30904] HINT: Future log output will appear in directory "log". May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30905 (postmaster) with signal SIGKILL. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 16 May 2026 15:22:59 -0400 (0:00:00.338) 0:00:41.801 ********** ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 16 May 2026 15:22:59 -0400 (0:00:00.026) 0:00:41.827 ********** skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:22:59 -0400 (0:00:00.114) 0:00:41.941 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:22:59 -0400 (0:00:00.032) 0:00:41.974 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:22:59 -0400 (0:00:00.013) 0:00:41.987 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:22:59 -0400 (0:00:00.025) 0:00:42.013 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:22:59 -0400 (0:00:00.023) 0:00:42.036 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:23:00 -0400 (0:00:00.645) 0:00:42.682 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:23:00 -0400 (0:00:00.315) 0:00:42.997 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:23:00 -0400 (0:00:00.013) 0:00:43.011 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:23:00 -0400 (0:00:00.013) 0:00:43.025 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:23:00 -0400 (0:00:00.013) 0:00:43.038 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:23:00 -0400 (0:00:00.013) 0:00:43.052 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:23:00 -0400 (0:00:00.013) 0:00:43.065 ********** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:23:00 -0400 (0:00:00.038) 0:00:43.104 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:23:00 -0400 (0:00:00.316) 0:00:43.420 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:23:01 -0400 (0:00:00.314) 0:00:43.735 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:23:01 -0400 (0:00:00.319) 0:00:44.055 ********** ok: [managed-node2] => { "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.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:23:02 -0400 (0:00:01.389) 0:00:45.444 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.032) 0:00:45.477 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.031) 0:00:45.509 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.029) 0:00:45.538 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.024) 0:00:45.563 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:10/server installed.", "Installed: postgresql-10.23-2.module_el8+572+929c87ac.x86_64", "Installed: postgresql-server-10.23-2.module_el8+572+929c87ac.x86_64" ] } lsrpackages: @postgresql:10/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:23:09 -0400 (0:00:05.948) 0:00:51.511 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.632208", "end": "2026-05-16 15:23:09.987746", "rc": 0, "start": "2026-05-16 15:23:09.355538" } STDERR: * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (without postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:23:10 -0400 (0:00:00.980) 0:00:52.492 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:23:10 -0400 (0:00:00.021) 0:00:52.513 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:23:10 -0400 (0:00:00.020) 0:00:52.534 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:23:10 -0400 (0:00:00.018) 0:00:52.552 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket network.target sysinit.target system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; 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/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.989) 0:00:53.542 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.018) 0:00:53.560 ********** skipping: [managed-node2] => { "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.postgresql : Enable logging in by password] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.017) 0:00:53.577 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.018) 0:00:53.596 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.017) 0:00:53.614 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.017) 0:00:53.631 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.031) 0:00:53.662 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.018) 0:00:53.680 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.017) 0:00:53.698 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.018) 0:00:53.717 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.018) 0:00:53.735 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.018) 0:00:53.753 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.018) 0:00:53.772 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.017) 0:00:53.789 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.041) 0:00:53.831 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.019) 0:00:53.850 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.018) 0:00:53.868 ********** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.338) 0:00:54.207 ********** NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:23:12 -0400 (0:00:00.334) 0:00:54.542 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1778959392.1272018-13272-136598181207070/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:23:12 -0400 (0:00:00.662) 0:00:55.204 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:23:12 -0400 (0:00:00.018) 0:00:55.222 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:23:12 -0400 (0:00:00.018) 0:00:55.241 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:23:13 -0400 (0:00:00.329) 0:00:55.570 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:23:13 -0400 (0:00:00.012) 0:00:55.582 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-16 15:23:11 EDT", "ActiveEnterTimestampMonotonic": "397042732", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target network.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:23:10 EDT", "AssertTimestampMonotonic": "396996454", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-05-16 15:23:10 EDT", "ConditionTimestampMonotonic": "396996453", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "35610", "ExecMainStartTimestamp": "Sat 2026-05-16 15:23:10 EDT", "ExecMainStartTimestampMonotonic": "397005273", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:23:10 EDT] ; stop_time=[n/a] ; pid=35610 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:23:10 EDT] ; stop_time=[Sat 2026-05-16 15:23:10 EDT] ; pid=35607 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-05-16 15:23:10 EDT", "InactiveExitTimestampMonotonic": "396997267", "InvocationID": "eb97e30ddf4c4b7989f354291dbfb66c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35610", "MemoryAccounting": "yes", "MemoryCurrent": "16748544", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-05-16 15:23:11 EDT", "StateChangeTimestampMonotonic": "397042732", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-05-16 15:23:11 EDT", "WatchdogTimestampMonotonic": "397042730", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:23:14 -0400 (0:00:00.904) 0:00:56.487 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.006949", "end": "2026-05-16 15:23:14.317785", "rc": 0, "start": "2026-05-16 15:23:14.310836" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:23:14 -0400 (0:00:00.332) 0:00:56.819 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007970", "end": "2026-05-16 15:23:14.644420", "rc": 0, "start": "2026-05-16 15:23:14.636450" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:23:14 -0400 (0:00:00.328) 0:00:57.148 ********** ok: [managed-node2] => { "ansible_job_id": "273354318179.36817", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010707", "end": "2026-05-16 15:23:15.195220", "finished": 1, "rc": 0, "start": "2026-05-16 15:23:15.184513" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:23:30 -0400 (0:00:15.725) 0:01:12.873 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008074", "end": "2026-05-16 15:23:30.716057", "rc": 0, "start": "2026-05-16 15:23:30.707983" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:23:30 -0400 (0:00:00.347) 0:01:13.220 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:23:30 -0400 (0:00:00.031) 0:01:13.252 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009080", "end": "2026-05-16 15:23:31.094172", "rc": 0, "start": "2026-05-16 15:23:31.085092" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.346) 0:01:13.598 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.032) 0:01:13.631 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006399", "end": "2026-05-16 15:23:31.461787", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:23:31.455388" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.338) 0:01:13.969 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.032) 0:01:14.002 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:10/server removed.", "Removed: postgresql-10.23-2.module_el8+572+929c87ac.x86_64", "Removed: postgresql-server-10.23-2.module_el8+572+929c87ac.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:23:36 -0400 (0:00:04.577) 0:01:18.579 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:23:36 -0400 (0:00:00.017) 0:01:18.597 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:23:36 -0400 (0:00:00.370) 0:01:18.967 ********** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:23:37 -0400 (0:00:01.299) 0:01:20.267 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007139", "end": "2026-05-16 15:23:38.095910", "rc": 0, "start": "2026-05-16 15:23:38.088771" } STDOUT: -- Logs begin at Sat 2026-05-16 15:16:34 EDT, end at Sat 2026-05-16 15:23:38 EDT. -- May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:53.926 EDT [10345] LOG: redirecting log output to logging collector process May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:53.926 EDT [10345] HINT: Future log output will appear in directory "log". May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 10346 (postmaster) with signal SIGKILL. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:21:01.516 EDT [12608] LOG: redirecting log output to logging collector process May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:21:01.516 EDT [12608] HINT: Future log output will appear in directory "log". May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 12609 (postmaster) with signal SIGKILL. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[19217]: 2026-05-16 15:21:36.914 EDT [19217] LOG: redirecting log output to logging collector process May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[19217]: 2026-05-16 15:21:36.914 EDT [19217] HINT: Future log output will appear in directory "log". May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 19219 (postmaster) with signal SIGKILL. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[20759]: 2026-05-16 15:21:42.385 EDT [20759] LOG: redirecting log output to logging collector process May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[20759]: 2026-05-16 15:21:42.385 EDT [20759] HINT: Future log output will appear in directory "log". May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 20760 (postmaster) with signal SIGKILL. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25124]: 2026-05-16 15:22:05.568 EDT [25124] LOG: redirecting log output to logging collector process May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25124]: 2026-05-16 15:22:05.568 EDT [25124] HINT: Future log output will appear in directory "log". May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25125 (postmaster) with signal SIGKILL. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25864]: 2026-05-16 15:22:08.665 EDT [25864] LOG: redirecting log output to logging collector process May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25864]: 2026-05-16 15:22:08.665 EDT [25864] HINT: Future log output will appear in directory "log". May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25865 (postmaster) with signal SIGKILL. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30096]: 2026-05-16 15:22:31.566 EDT [30096] LOG: redirecting log output to logging collector process May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30096]: 2026-05-16 15:22:31.566 EDT [30096] HINT: Future log output will appear in directory "log". May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30097 (postmaster) with signal SIGKILL. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30904]: 2026-05-16 15:22:34.866 EDT [30904] LOG: redirecting log output to logging collector process May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30904]: 2026-05-16 15:22:34.866 EDT [30904] HINT: Future log output will appear in directory "log". May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30905 (postmaster) with signal SIGKILL. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:10 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.000 EDT [35610] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.000 EDT [35610] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.002 EDT [35610] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.006 EDT [35610] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.016 EDT [35610] LOG: redirecting log output to logging collector process May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.016 EDT [35610] HINT: Future log output will appear in directory "log". May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 35611 (postmaster) with signal SIGKILL. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.928 EDT [36418] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.928 EDT [36418] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.930 EDT [36418] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.934 EDT [36418] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.962 EDT [36418] LOG: redirecting log output to logging collector process May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.962 EDT [36418] HINT: Future log output will appear in directory "log". May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 36419 (postmaster) with signal SIGKILL. May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:23:38 -0400 (0:00:00.334) 0:01:20.602 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:23:38 -0400 (0:00:00.032) 0:01:20.634 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:23:38 -0400 (0:00:00.013) 0:01:20.648 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:23:38 -0400 (0:00:00.024) 0:01:20.673 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:23:38 -0400 (0:00:00.024) 0:01:20.697 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:23:38 -0400 (0:00:00.701) 0:01:21.398 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:23:39 -0400 (0:00:00.322) 0:01:21.721 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:23:39 -0400 (0:00:00.014) 0:01:21.736 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:23:39 -0400 (0:00:00.014) 0:01:21.750 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:23:39 -0400 (0:00:00.013) 0:01:21.763 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:23:39 -0400 (0:00:00.013) 0:01:21.777 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:23:39 -0400 (0:00:00.013) 0:01:21.791 ********** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:23:39 -0400 (0:00:00.038) 0:01:21.829 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:23:39 -0400 (0:00:00.319) 0:01:22.148 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:23:40 -0400 (0:00:00.317) 0:01:22.466 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:23:40 -0400 (0:00:00.321) 0:01:22.787 ********** ok: [managed-node2] => { "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.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:23:41 -0400 (0:00:01.365) 0:01:24.153 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:23:41 -0400 (0:00:00.033) 0:01:24.187 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:23:41 -0400 (0:00:00.029) 0:01:24.216 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:23:41 -0400 (0:00:00.031) 0:01:24.247 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:23:41 -0400 (0:00:00.023) 0:01:24.271 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:12/server installed.", "Installed: postgresql-12.15-3.module_el8+514+f9db76aa.x86_64", "Installed: postgresql-server-12.15-3.module_el8+514+f9db76aa.x86_64" ] } lsrpackages: @postgresql:12/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:23:47 -0400 (0:00:05.887) 0:01:30.159 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.675602", "end": "2026-05-16 15:23:48.704494", "rc": 0, "start": "2026-05-16 15:23:48.028892" } STDERR: * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (without postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:23:48 -0400 (0:00:01.055) 0:01:31.214 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:23:48 -0400 (0:00:00.021) 0:01:31.236 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:23:48 -0400 (0:00:00.020) 0:01:31.256 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:23:48 -0400 (0:00:00.021) 0:01:31.278 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target systemd-journald.socket sysinit.target system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; 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/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:23:49 -0400 (0:00:01.001) 0:01:32.279 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:23:49 -0400 (0:00:00.019) 0:01:32.298 ********** skipping: [managed-node2] => { "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.postgresql : Enable logging in by password] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:23:49 -0400 (0:00:00.018) 0:01:32.317 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:23:49 -0400 (0:00:00.018) 0:01:32.335 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:23:49 -0400 (0:00:00.020) 0:01:32.356 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:23:49 -0400 (0:00:00.018) 0:01:32.374 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:23:49 -0400 (0:00:00.031) 0:01:32.406 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:23:49 -0400 (0:00:00.018) 0:01:32.425 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:23:49 -0400 (0:00:00.018) 0:01:32.444 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:23:50 -0400 (0:00:00.019) 0:01:32.463 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:23:50 -0400 (0:00:00.019) 0:01:32.482 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:23:50 -0400 (0:00:00.018) 0:01:32.501 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:23:50 -0400 (0:00:00.018) 0:01:32.519 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:23:50 -0400 (0:00:00.017) 0:01:32.537 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:23:50 -0400 (0:00:00.019) 0:01:32.556 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:23:50 -0400 (0:00:00.042) 0:01:32.598 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:23:50 -0400 (0:00:00.019) 0:01:32.618 ********** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:23:50 -0400 (0:00:00.335) 0:01:32.954 ********** NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:23:50 -0400 (0:00:00.332) 0:01:33.287 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1778959430.871024-13739-111823525583612/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:23:51 -0400 (0:00:00.669) 0:01:33.956 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:23:51 -0400 (0:00:00.018) 0:01:33.975 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:23:51 -0400 (0:00:00.018) 0:01:33.994 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:23:51 -0400 (0:00:00.331) 0:01:34.325 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:23:51 -0400 (0:00:00.012) 0:01:34.337 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-16 15:23:49 EDT", "ActiveEnterTimestampMonotonic": "435778639", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target system.slice basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:23:49 EDT", "AssertTimestampMonotonic": "435728504", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-05-16 15:23:49 EDT", "ConditionTimestampMonotonic": "435728503", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "41152", "ExecMainStartTimestamp": "Sat 2026-05-16 15:23:49 EDT", "ExecMainStartTimestampMonotonic": "435737891", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:23:49 EDT] ; stop_time=[n/a] ; pid=41152 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:23:49 EDT] ; stop_time=[Sat 2026-05-16 15:23:49 EDT] ; pid=41149 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-05-16 15:23:49 EDT", "InactiveExitTimestampMonotonic": "435729845", "InvocationID": "33a62ce6dc38441ebf9190544153d1db", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41152", "MemoryAccounting": "yes", "MemoryCurrent": "17862656", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-05-16 15:23:49 EDT", "StateChangeTimestampMonotonic": "435778639", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-05-16 15:23:49 EDT", "WatchdogTimestampMonotonic": "435778637", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:23:52 -0400 (0:00:00.922) 0:01:35.260 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007768", "end": "2026-05-16 15:23:53.093257", "rc": 0, "start": "2026-05-16 15:23:53.085489" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:23:53 -0400 (0:00:00.337) 0:01:35.598 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008302", "end": "2026-05-16 15:23:53.428463", "rc": 0, "start": "2026-05-16 15:23:53.420161" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:23:53 -0400 (0:00:00.335) 0:01:35.933 ********** ok: [managed-node2] => { "ansible_job_id": "673130092720.42359", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010980", "end": "2026-05-16 15:23:53.983240", "finished": 1, "rc": 0, "start": "2026-05-16 15:23:53.972260" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:24:09 -0400 (0:00:15.739) 0:01:51.672 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008275", "end": "2026-05-16 15:24:09.520299", "rc": 0, "start": "2026-05-16 15:24:09.512024" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:24:09 -0400 (0:00:00.376) 0:01:52.049 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:24:09 -0400 (0:00:00.031) 0:01:52.081 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008251", "end": "2026-05-16 15:24:09.925996", "rc": 0, "start": "2026-05-16 15:24:09.917745" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:24:09 -0400 (0:00:00.349) 0:01:52.430 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:24:10 -0400 (0:00:00.032) 0:01:52.463 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008809", "end": "2026-05-16 15:24:10.293803", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:24:10.284994" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:24:10 -0400 (0:00:00.338) 0:01:52.802 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:24:10 -0400 (0:00:00.032) 0:01:52.834 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:12/server removed.", "Removed: postgresql-12.15-3.module_el8+514+f9db76aa.x86_64", "Removed: postgresql-server-12.15-3.module_el8+514+f9db76aa.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:24:14 -0400 (0:00:04.595) 0:01:57.430 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:24:14 -0400 (0:00:00.018) 0:01:57.448 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:24:15 -0400 (0:00:00.370) 0:01:57.818 ********** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:24:16 -0400 (0:00:01.277) 0:01:59.095 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007214", "end": "2026-05-16 15:24:16.924139", "rc": 0, "start": "2026-05-16 15:24:16.916925" } STDOUT: -- Logs begin at Sat 2026-05-16 15:16:34 EDT, end at Sat 2026-05-16 15:24:16 EDT. -- May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:53.926 EDT [10345] LOG: redirecting log output to logging collector process May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:53.926 EDT [10345] HINT: Future log output will appear in directory "log". May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 10346 (postmaster) with signal SIGKILL. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:21:01.516 EDT [12608] LOG: redirecting log output to logging collector process May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:21:01.516 EDT [12608] HINT: Future log output will appear in directory "log". May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 12609 (postmaster) with signal SIGKILL. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[19217]: 2026-05-16 15:21:36.914 EDT [19217] LOG: redirecting log output to logging collector process May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[19217]: 2026-05-16 15:21:36.914 EDT [19217] HINT: Future log output will appear in directory "log". May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 19219 (postmaster) with signal SIGKILL. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[20759]: 2026-05-16 15:21:42.385 EDT [20759] LOG: redirecting log output to logging collector process May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[20759]: 2026-05-16 15:21:42.385 EDT [20759] HINT: Future log output will appear in directory "log". May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 20760 (postmaster) with signal SIGKILL. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25124]: 2026-05-16 15:22:05.568 EDT [25124] LOG: redirecting log output to logging collector process May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25124]: 2026-05-16 15:22:05.568 EDT [25124] HINT: Future log output will appear in directory "log". May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25125 (postmaster) with signal SIGKILL. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25864]: 2026-05-16 15:22:08.665 EDT [25864] LOG: redirecting log output to logging collector process May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25864]: 2026-05-16 15:22:08.665 EDT [25864] HINT: Future log output will appear in directory "log". May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25865 (postmaster) with signal SIGKILL. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30096]: 2026-05-16 15:22:31.566 EDT [30096] LOG: redirecting log output to logging collector process May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30096]: 2026-05-16 15:22:31.566 EDT [30096] HINT: Future log output will appear in directory "log". May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30097 (postmaster) with signal SIGKILL. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30904]: 2026-05-16 15:22:34.866 EDT [30904] LOG: redirecting log output to logging collector process May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30904]: 2026-05-16 15:22:34.866 EDT [30904] HINT: Future log output will appear in directory "log". May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30905 (postmaster) with signal SIGKILL. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:10 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.000 EDT [35610] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.000 EDT [35610] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.002 EDT [35610] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.006 EDT [35610] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.016 EDT [35610] LOG: redirecting log output to logging collector process May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.016 EDT [35610] HINT: Future log output will appear in directory "log". May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 35611 (postmaster) with signal SIGKILL. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.928 EDT [36418] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.928 EDT [36418] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.930 EDT [36418] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.934 EDT [36418] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.962 EDT [36418] LOG: redirecting log output to logging collector process May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.962 EDT [36418] HINT: Future log output will appear in directory "log". May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 36419 (postmaster) with signal SIGKILL. May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.735 EDT [41152] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.735 EDT [41152] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.735 EDT [41152] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.737 EDT [41152] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.742 EDT [41152] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.752 EDT [41152] LOG: redirecting log output to logging collector process May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.752 EDT [41152] HINT: Future log output will appear in directory "log". May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 41153 (postmaster) with signal SIGKILL. May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.700 EDT [41960] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.700 EDT [41960] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.700 EDT [41960] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.702 EDT [41960] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.706 EDT [41960] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.734 EDT [41960] LOG: redirecting log output to logging collector process May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.734 EDT [41960] HINT: Future log output will appear in directory "log". May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:24:14 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:24:14 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 41961 (postmaster) with signal SIGKILL. May 16 15:24:14 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:24:14 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:24:16 -0400 (0:00:00.336) 0:01:59.432 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:24:17 -0400 (0:00:00.032) 0:01:59.464 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:24:17 -0400 (0:00:00.013) 0:01:59.478 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:24:17 -0400 (0:00:00.024) 0:01:59.503 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:24:17 -0400 (0:00:00.025) 0:01:59.528 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:24:17 -0400 (0:00:00.649) 0:02:00.178 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:24:18 -0400 (0:00:00.315) 0:02:00.493 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:24:18 -0400 (0:00:00.014) 0:02:00.508 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:24:18 -0400 (0:00:00.013) 0:02:00.522 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:24:18 -0400 (0:00:00.014) 0:02:00.537 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:24:18 -0400 (0:00:00.013) 0:02:00.550 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:24:18 -0400 (0:00:00.013) 0:02:00.564 ********** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:24:18 -0400 (0:00:00.038) 0:02:00.602 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:24:18 -0400 (0:00:00.321) 0:02:00.924 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:24:18 -0400 (0:00:00.315) 0:02:01.240 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:24:19 -0400 (0:00:00.315) 0:02:01.555 ********** ok: [managed-node2] => { "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.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:24:20 -0400 (0:00:01.363) 0:02:02.918 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:24:20 -0400 (0:00:00.032) 0:02:02.951 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:24:20 -0400 (0:00:00.028) 0:02:02.980 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:24:20 -0400 (0:00:00.029) 0:02:03.009 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:24:20 -0400 (0:00:00.023) 0:02:03.033 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server installed.", "Installed: postgresql-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Installed: postgresql-server-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Installed: postgresql-private-libs-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64" ] } lsrpackages: @postgresql:15/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:24:26 -0400 (0:00:06.051) 0:02:09.085 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.665020", "end": "2026-05-16 15:24:27.599243", "rc": 0, "start": "2026-05-16 15:24:26.934223" } STDERR: * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (without postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:24:27 -0400 (0:00:01.019) 0:02:10.104 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:24:27 -0400 (0:00:00.022) 0:02:10.126 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:24:27 -0400 (0:00:00.019) 0:02:10.146 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:24:27 -0400 (0:00:00.021) 0:02:10.167 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target network.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; 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/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.997) 0:02:11.165 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.018) 0:02:11.183 ********** skipping: [managed-node2] => { "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.postgresql : Enable logging in by password] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.017) 0:02:11.201 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.017) 0:02:11.219 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.020) 0:02:11.239 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.018) 0:02:11.258 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.031) 0:02:11.289 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.018) 0:02:11.308 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.018) 0:02:11.327 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.017) 0:02:11.344 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.019) 0:02:11.363 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.019) 0:02:11.382 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.018) 0:02:11.401 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.018) 0:02:11.420 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:24:28 -0400 (0:00:00.019) 0:02:11.439 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:24:29 -0400 (0:00:00.017) 0:02:11.456 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:24:29 -0400 (0:00:00.017) 0:02:11.474 ********** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:24:29 -0400 (0:00:00.334) 0:02:11.808 ********** NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:24:29 -0400 (0:00:00.334) 0:02:12.142 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1778959469.7273633-14203-73683864163457/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:24:30 -0400 (0:00:00.675) 0:02:12.818 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:24:30 -0400 (0:00:00.018) 0:02:12.837 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:24:30 -0400 (0:00:00.019) 0:02:12.856 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:24:30 -0400 (0:00:00.329) 0:02:13.186 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:24:30 -0400 (0:00:00.012) 0:02:13.198 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-16 15:24:28 EDT", "ActiveEnterTimestampMonotonic": "474665367", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target sysinit.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:24:28 EDT", "AssertTimestampMonotonic": "474615101", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-05-16 15:24:28 EDT", "ConditionTimestampMonotonic": "474615100", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "46704", "ExecMainStartTimestamp": "Sat 2026-05-16 15:24:28 EDT", "ExecMainStartTimestampMonotonic": "474624403", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:24:28 EDT] ; stop_time=[n/a] ; pid=46704 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:24:28 EDT] ; stop_time=[Sat 2026-05-16 15:24:28 EDT] ; pid=46701 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-05-16 15:24:28 EDT", "InactiveExitTimestampMonotonic": "474615920", "InvocationID": "17cb5171983340c4b2adf0be5cdc0f38", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "46704", "MemoryAccounting": "yes", "MemoryCurrent": "18444288", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-05-16 15:24:28 EDT", "StateChangeTimestampMonotonic": "474665367", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-05-16 15:24:28 EDT", "WatchdogTimestampMonotonic": "474665365", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:24:31 -0400 (0:00:00.916) 0:02:14.115 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008190", "end": "2026-05-16 15:24:31.950766", "rc": 0, "start": "2026-05-16 15:24:31.942576" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:24:32 -0400 (0:00:00.340) 0:02:14.455 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007843", "end": "2026-05-16 15:24:32.287333", "rc": 0, "start": "2026-05-16 15:24:32.279490" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:24:32 -0400 (0:00:00.336) 0:02:14.792 ********** ok: [managed-node2] => { "ansible_job_id": "602031095067.47909", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012077", "end": "2026-05-16 15:24:32.850035", "finished": 1, "rc": 0, "start": "2026-05-16 15:24:32.837958" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:24:48 -0400 (0:00:15.726) 0:02:30.518 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008636", "end": "2026-05-16 15:24:48.365870", "rc": 0, "start": "2026-05-16 15:24:48.357234" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:24:48 -0400 (0:00:00.352) 0:02:30.871 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:24:48 -0400 (0:00:00.031) 0:02:30.902 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008693", "end": "2026-05-16 15:24:48.747219", "rc": 0, "start": "2026-05-16 15:24:48.738526" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:24:48 -0400 (0:00:00.347) 0:02:31.250 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:24:48 -0400 (0:00:00.032) 0:02:31.283 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008567", "end": "2026-05-16 15:24:49.111002", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:24:49.102435" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:24:49 -0400 (0:00:00.335) 0:02:31.618 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:24:49 -0400 (0:00:00.036) 0:02:31.655 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server removed.", "Removed: postgresql-server-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Removed: postgresql-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Removed: postgresql-private-libs-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:24:53 -0400 (0:00:04.621) 0:02:36.276 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:24:53 -0400 (0:00:00.018) 0:02:36.294 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:24:54 -0400 (0:00:00.372) 0:02:36.667 ********** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:24:55 -0400 (0:00:01.280) 0:02:37.947 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007535", "end": "2026-05-16 15:24:55.770929", "rc": 0, "start": "2026-05-16 15:24:55.763394" } STDOUT: -- Logs begin at Sat 2026-05-16 15:16:34 EDT, end at Sat 2026-05-16 15:24:55 EDT. -- May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:53.926 EDT [10345] LOG: redirecting log output to logging collector process May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:53.926 EDT [10345] HINT: Future log output will appear in directory "log". May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 10346 (postmaster) with signal SIGKILL. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:21:01.516 EDT [12608] LOG: redirecting log output to logging collector process May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:21:01.516 EDT [12608] HINT: Future log output will appear in directory "log". May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 12609 (postmaster) with signal SIGKILL. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[19217]: 2026-05-16 15:21:36.914 EDT [19217] LOG: redirecting log output to logging collector process May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[19217]: 2026-05-16 15:21:36.914 EDT [19217] HINT: Future log output will appear in directory "log". May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 19219 (postmaster) with signal SIGKILL. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[20759]: 2026-05-16 15:21:42.385 EDT [20759] LOG: redirecting log output to logging collector process May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[20759]: 2026-05-16 15:21:42.385 EDT [20759] HINT: Future log output will appear in directory "log". May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 20760 (postmaster) with signal SIGKILL. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25124]: 2026-05-16 15:22:05.568 EDT [25124] LOG: redirecting log output to logging collector process May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25124]: 2026-05-16 15:22:05.568 EDT [25124] HINT: Future log output will appear in directory "log". May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25125 (postmaster) with signal SIGKILL. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25864]: 2026-05-16 15:22:08.665 EDT [25864] LOG: redirecting log output to logging collector process May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25864]: 2026-05-16 15:22:08.665 EDT [25864] HINT: Future log output will appear in directory "log". May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25865 (postmaster) with signal SIGKILL. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30096]: 2026-05-16 15:22:31.566 EDT [30096] LOG: redirecting log output to logging collector process May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30096]: 2026-05-16 15:22:31.566 EDT [30096] HINT: Future log output will appear in directory "log". May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30097 (postmaster) with signal SIGKILL. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30904]: 2026-05-16 15:22:34.866 EDT [30904] LOG: redirecting log output to logging collector process May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30904]: 2026-05-16 15:22:34.866 EDT [30904] HINT: Future log output will appear in directory "log". May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30905 (postmaster) with signal SIGKILL. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:10 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.000 EDT [35610] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.000 EDT [35610] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.002 EDT [35610] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.006 EDT [35610] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.016 EDT [35610] LOG: redirecting log output to logging collector process May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.016 EDT [35610] HINT: Future log output will appear in directory "log". May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 35611 (postmaster) with signal SIGKILL. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.928 EDT [36418] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.928 EDT [36418] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.930 EDT [36418] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.934 EDT [36418] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.962 EDT [36418] LOG: redirecting log output to logging collector process May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.962 EDT [36418] HINT: Future log output will appear in directory "log". May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 36419 (postmaster) with signal SIGKILL. May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.735 EDT [41152] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.735 EDT [41152] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.735 EDT [41152] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.737 EDT [41152] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.742 EDT [41152] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.752 EDT [41152] LOG: redirecting log output to logging collector process May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.752 EDT [41152] HINT: Future log output will appear in directory "log". May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 41153 (postmaster) with signal SIGKILL. May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.700 EDT [41960] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.700 EDT [41960] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.700 EDT [41960] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.702 EDT [41960] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.706 EDT [41960] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.734 EDT [41960] LOG: redirecting log output to logging collector process May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.734 EDT [41960] HINT: Future log output will appear in directory "log". May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:24:14 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:24:14 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 41961 (postmaster) with signal SIGKILL. May 16 15:24:14 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:24:14 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:24:28 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:24:28 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[46704]: 2026-05-16 15:24:28.632 EDT [46704] LOG: redirecting log output to logging collector process May 16 15:24:28 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[46704]: 2026-05-16 15:24:28.632 EDT [46704] HINT: Future log output will appear in directory "log". May 16 15:24:28 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 46705 (postmaster) with signal SIGKILL. May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[47510]: 2026-05-16 15:24:31.581 EDT [47510] LOG: redirecting log output to logging collector process May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[47510]: 2026-05-16 15:24:31.581 EDT [47510] HINT: Future log output will appear in directory "log". May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:24:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:24:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 47512 (postmaster) with signal SIGKILL. May 16 15:24:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:24:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:24:55 -0400 (0:00:00.327) 0:02:38.275 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:24:55 -0400 (0:00:00.033) 0:02:38.308 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:24:55 -0400 (0:00:00.013) 0:02:38.321 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:24:55 -0400 (0:00:00.025) 0:02:38.347 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:24:55 -0400 (0:00:00.024) 0:02:38.371 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:24:56 -0400 (0:00:00.650) 0:02:39.022 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:24:56 -0400 (0:00:00.316) 0:02:39.338 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:24:56 -0400 (0:00:00.014) 0:02:39.353 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:24:56 -0400 (0:00:00.013) 0:02:39.366 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:24:56 -0400 (0:00:00.014) 0:02:39.380 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:24:56 -0400 (0:00:00.012) 0:02:39.393 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:24:56 -0400 (0:00:00.013) 0:02:39.406 ********** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:24:56 -0400 (0:00:00.038) 0:02:39.444 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:24:57 -0400 (0:00:00.318) 0:02:39.763 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:24:57 -0400 (0:00:00.317) 0:02:40.081 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:24:57 -0400 (0:00:00.316) 0:02:40.397 ********** ok: [managed-node2] => { "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.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:24:59 -0400 (0:00:01.369) 0:02:41.766 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:24:59 -0400 (0:00:00.032) 0:02:41.799 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:24:59 -0400 (0:00:00.028) 0:02:41.827 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:24:59 -0400 (0:00:00.028) 0:02:41.856 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:24:59 -0400 (0:00:00.024) 0:02:41.881 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server installed.", "Installed: postgresql-private-libs-16.1-1.module_el8+806+566c6023.x86_64", "Installed: postgresql-16.1-1.module_el8+806+566c6023.x86_64", "Installed: postgresql-server-16.1-1.module_el8+806+566c6023.x86_64" ] } lsrpackages: @postgresql:16/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:25:05 -0400 (0:00:06.250) 0:02:48.131 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.656620", "end": "2026-05-16 15:25:06.642613", "rc": 0, "start": "2026-05-16 15:25:05.985993" } STDERR: * Initializing database in '/var/lib/pgsql/data' * Initialized, logs are in /var/lib/pgsql/initdb_postgresql.log TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (without postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:25:06 -0400 (0:00:01.017) 0:02:49.149 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:25:06 -0400 (0:00:00.021) 0:02:49.171 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:25:06 -0400 (0:00:00.019) 0:02:49.190 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:25:06 -0400 (0:00:00.019) 0:02:49.210 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target basic.target systemd-journald.socket sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; 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/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:25:07 -0400 (0:00:01.022) 0:02:50.233 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:25:07 -0400 (0:00:00.019) 0:02:50.252 ********** skipping: [managed-node2] => { "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.postgresql : Enable logging in by password] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:25:07 -0400 (0:00:00.017) 0:02:50.270 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:25:07 -0400 (0:00:00.017) 0:02:50.288 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:25:07 -0400 (0:00:00.018) 0:02:50.306 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:25:07 -0400 (0:00:00.018) 0:02:50.324 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:25:07 -0400 (0:00:00.030) 0:02:50.355 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:25:07 -0400 (0:00:00.019) 0:02:50.374 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:25:07 -0400 (0:00:00.018) 0:02:50.392 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:25:07 -0400 (0:00:00.018) 0:02:50.411 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:25:07 -0400 (0:00:00.018) 0:02:50.430 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:25:07 -0400 (0:00:00.019) 0:02:50.449 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:25:08 -0400 (0:00:00.018) 0:02:50.467 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:25:08 -0400 (0:00:00.019) 0:02:50.486 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:25:08 -0400 (0:00:00.017) 0:02:50.504 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:25:08 -0400 (0:00:00.018) 0:02:50.523 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:25:08 -0400 (0:00:00.039) 0:02:50.562 ********** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:25:08 -0400 (0:00:00.337) 0:02:50.900 ********** NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:25:08 -0400 (0:00:00.334) 0:02:51.235 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1778959508.8205242-14670-242745521746000/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:25:09 -0400 (0:00:00.676) 0:02:51.911 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:25:09 -0400 (0:00:00.018) 0:02:51.930 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:25:09 -0400 (0:00:00.018) 0:02:51.949 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:25:09 -0400 (0:00:00.324) 0:02:52.273 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:25:09 -0400 (0:00:00.011) 0:02:52.285 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-16 15:25:07 EDT", "ActiveEnterTimestampMonotonic": "513730374", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice systemd-journald.socket basic.target network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:25:07 EDT", "AssertTimestampMonotonic": "513680042", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-05-16 15:25:07 EDT", "ConditionTimestampMonotonic": "513680041", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "52251", "ExecMainStartTimestamp": "Sat 2026-05-16 15:25:07 EDT", "ExecMainStartTimestampMonotonic": "513689656", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:25:07 EDT] ; stop_time=[n/a] ; pid=52251 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:25:07 EDT] ; stop_time=[Sat 2026-05-16 15:25:07 EDT] ; pid=52248 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-05-16 15:25:07 EDT", "InactiveExitTimestampMonotonic": "513681469", "InvocationID": "557cd5de65524b7c84e1c75daa09e71c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52251", "MemoryAccounting": "yes", "MemoryCurrent": "18669568", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-05-16 15:25:07 EDT", "StateChangeTimestampMonotonic": "513730374", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-05-16 15:25:07 EDT", "WatchdogTimestampMonotonic": "513730371", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:25:10 -0400 (0:00:00.902) 0:02:53.187 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008118", "end": "2026-05-16 15:25:11.018097", "rc": 0, "start": "2026-05-16 15:25:11.009979" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:25:11 -0400 (0:00:00.334) 0:02:53.522 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007877", "end": "2026-05-16 15:25:11.349127", "rc": 0, "start": "2026-05-16 15:25:11.341250" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:25:11 -0400 (0:00:00.331) 0:02:53.853 ********** ok: [managed-node2] => { "ansible_job_id": "322864058433.53456", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012734", "end": "2026-05-16 15:25:11.906831", "finished": 1, "rc": 0, "start": "2026-05-16 15:25:11.894097" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:25:27 -0400 (0:00:15.728) 0:03:09.582 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008436", "end": "2026-05-16 15:25:27.429861", "rc": 0, "start": "2026-05-16 15:25:27.421425" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:25:27 -0400 (0:00:00.353) 0:03:09.936 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:25:27 -0400 (0:00:00.033) 0:03:09.969 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008777", "end": "2026-05-16 15:25:27.812589", "rc": 0, "start": "2026-05-16 15:25:27.803812" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:25:27 -0400 (0:00:00.348) 0:03:10.317 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:25:27 -0400 (0:00:00.032) 0:03:10.349 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008201", "end": "2026-05-16 15:25:28.176784", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:25:28.168583" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:25:28 -0400 (0:00:00.334) 0:03:10.684 ********** included: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:25:28 -0400 (0:00:00.034) 0:03:10.718 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server removed.", "Removed: postgresql-server-16.1-1.module_el8+806+566c6023.x86_64", "Removed: postgresql-16.1-1.module_el8+806+566c6023.x86_64", "Removed: postgresql-private-libs-16.1-1.module_el8+806+566c6023.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:25:32 -0400 (0:00:04.591) 0:03:15.310 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:25:32 -0400 (0:00:00.019) 0:03:15.329 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:25:33 -0400 (0:00:00.367) 0:03:15.696 ********** [WARNING]: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:25:34 -0400 (0:00:01.284) 0:03:16.980 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007843", "end": "2026-05-16 15:25:34.807655", "rc": 0, "start": "2026-05-16 15:25:34.799812" } STDOUT: -- Logs begin at Sat 2026-05-16 15:16:34 EDT, end at Sat 2026-05-16 15:25:34 EDT. -- May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:53.926 EDT [10345] LOG: redirecting log output to logging collector process May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:53.926 EDT [10345] HINT: Future log output will appear in directory "log". May 16 15:20:53 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 10346 (postmaster) with signal SIGKILL. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:21:01.516 EDT [12608] LOG: redirecting log output to logging collector process May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:21:01.516 EDT [12608] HINT: Future log output will appear in directory "log". May 16 15:21:01 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 12609 (postmaster) with signal SIGKILL. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[19217]: 2026-05-16 15:21:36.914 EDT [19217] LOG: redirecting log output to logging collector process May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[19217]: 2026-05-16 15:21:36.914 EDT [19217] HINT: Future log output will appear in directory "log". May 16 15:21:36 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 19219 (postmaster) with signal SIGKILL. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[20759]: 2026-05-16 15:21:42.385 EDT [20759] LOG: redirecting log output to logging collector process May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[20759]: 2026-05-16 15:21:42.385 EDT [20759] HINT: Future log output will appear in directory "log". May 16 15:21:42 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 20760 (postmaster) with signal SIGKILL. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:47 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25124]: 2026-05-16 15:22:05.568 EDT [25124] LOG: redirecting log output to logging collector process May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25124]: 2026-05-16 15:22:05.568 EDT [25124] HINT: Future log output will appear in directory "log". May 16 15:22:05 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25125 (postmaster) with signal SIGKILL. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25864]: 2026-05-16 15:22:08.665 EDT [25864] LOG: redirecting log output to logging collector process May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[25864]: 2026-05-16 15:22:08.665 EDT [25864] HINT: Future log output will appear in directory "log". May 16 15:22:08 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25865 (postmaster) with signal SIGKILL. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:12 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30096]: 2026-05-16 15:22:31.566 EDT [30096] LOG: redirecting log output to logging collector process May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30096]: 2026-05-16 15:22:31.566 EDT [30096] HINT: Future log output will appear in directory "log". May 16 15:22:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30097 (postmaster) with signal SIGKILL. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30904]: 2026-05-16 15:22:34.866 EDT [30904] LOG: redirecting log output to logging collector process May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[30904]: 2026-05-16 15:22:34.866 EDT [30904] HINT: Future log output will appear in directory "log". May 16 15:22:34 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30905 (postmaster) with signal SIGKILL. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:56 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:10 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.000 EDT [35610] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.000 EDT [35610] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.002 EDT [35610] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.006 EDT [35610] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.016 EDT [35610] LOG: redirecting log output to logging collector process May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[35610]: 2026-05-16 15:23:11.016 EDT [35610] HINT: Future log output will appear in directory "log". May 16 15:23:11 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 35611 (postmaster) with signal SIGKILL. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.928 EDT [36418] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.928 EDT [36418] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.930 EDT [36418] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.934 EDT [36418] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.962 EDT [36418] LOG: redirecting log output to logging collector process May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[36418]: 2026-05-16 15:23:13.962 EDT [36418] HINT: Future log output will appear in directory "log". May 16 15:23:13 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 36419 (postmaster) with signal SIGKILL. May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:35 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.735 EDT [41152] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.735 EDT [41152] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.735 EDT [41152] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.737 EDT [41152] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.742 EDT [41152] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.752 EDT [41152] LOG: redirecting log output to logging collector process May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41152]: 2026-05-16 15:23:49.752 EDT [41152] HINT: Future log output will appear in directory "log". May 16 15:23:49 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 41153 (postmaster) with signal SIGKILL. May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.700 EDT [41960] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.700 EDT [41960] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.700 EDT [41960] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.702 EDT [41960] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.706 EDT [41960] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.734 EDT [41960] LOG: redirecting log output to logging collector process May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[41960]: 2026-05-16 15:23:52.734 EDT [41960] HINT: Future log output will appear in directory "log". May 16 15:23:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:24:14 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:24:14 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 41961 (postmaster) with signal SIGKILL. May 16 15:24:14 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:24:14 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:24:28 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:24:28 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[46704]: 2026-05-16 15:24:28.632 EDT [46704] LOG: redirecting log output to logging collector process May 16 15:24:28 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[46704]: 2026-05-16 15:24:28.632 EDT [46704] HINT: Future log output will appear in directory "log". May 16 15:24:28 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 46705 (postmaster) with signal SIGKILL. May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[47510]: 2026-05-16 15:24:31.581 EDT [47510] LOG: redirecting log output to logging collector process May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postmaster[47510]: 2026-05-16 15:24:31.581 EDT [47510] HINT: Future log output will appear in directory "log". May 16 15:24:31 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:24:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:24:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 47512 (postmaster) with signal SIGKILL. May 16 15:24:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:24:52 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:25:07 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:25:07 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postgres[52251]: 2026-05-16 15:25:07.697 EDT [52251] LOG: redirecting log output to logging collector process May 16 15:25:07 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postgres[52251]: 2026-05-16 15:25:07.697 EDT [52251] HINT: Future log output will appear in directory "log". May 16 15:25:07 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:25:10 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:25:10 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 52252 (postgres) with signal SIGKILL. May 16 15:25:10 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:25:10 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:25:10 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:25:10 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postgres[53058]: 2026-05-16 15:25:10.654 EDT [53058] LOG: redirecting log output to logging collector process May 16 15:25:10 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com postgres[53058]: 2026-05-16 15:25:10.654 EDT [53058] HINT: Future log output will appear in directory "log". May 16 15:25:10 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:25:32 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:25:32 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 53059 (postgres) with signal SIGKILL. May 16 15:25:32 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:25:32 ip-10-31-8-20.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=166 changed=45 unreachable=0 failed=0 skipped=156 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 16 May 2026 15:25:34 -0400 (0:00:00.328) 0:03:17.309 ********** =============================================================================== fedora.linux_system_roles.postgresql : Ensure required packages are installed -- 30.05s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Test - database is accessible for super user using Unix socket --------- 15.92s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 15.74s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 15.73s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 15.73s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 15.73s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Gather the package facts --------- 7.08s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server --- 5.20s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 5.10s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Uninstall postgresql ---------------------------------------------------- 4.64s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.62s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.60s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.59s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.58s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Restart postgresql --------------- 4.55s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf --- 3.43s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 fedora.linux_system_roles.postgresql : Create postgresql directory in /etc --- 1.82s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 fedora.linux_system_roles.postgresql : Link generated conf file with server one --- 1.79s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 fedora.linux_system_roles.postgresql : Record role success fingerprint --- 1.64s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Remove config files ----------------------------------------------------- 1.30s /tmp/collections-Y6l/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32