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-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 06 June 2026 15:47:17 -0400 (0:00:00.029) 0:00:00.029 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 06 June 2026 15:47:18 -0400 (0:00:01.010) 0:00:01.039 ********* included: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 06 June 2026 15:47:18 -0400 (0:00:00.018) 0:00:01.058 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 06 June 2026 15:47:18 -0400 (0:00:00.035) 0:00:01.094 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 06 June 2026 15:47:18 -0400 (0:00:00.021) 0:00:01.115 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 06 June 2026 15:47:18 -0400 (0:00:00.162) 0:00:01.277 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 06 June 2026 15:47:18 -0400 (0:00:00.030) 0:00:01.308 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 06 June 2026 15:47:19 -0400 (0:00:00.676) 0:00:01.984 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 06 June 2026 15:47:20 -0400 (0:00:00.423) 0:00:02.408 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 06 June 2026 15:47:20 -0400 (0:00:00.470) 0:00:02.878 ********* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 06 June 2026 15:47:20 -0400 (0:00:00.017) 0:00:02.896 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008159", "end": "2026-06-06 15:47:20.977574", "failed_when_result": false, "rc": 0, "start": "2026-06-06 15:47:20.969415" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 06 June 2026 15:47:21 -0400 (0:00:00.455) 0:00:03.351 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 06 June 2026 15:47:21 -0400 (0:00:00.015) 0:00:03.367 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 06 June 2026 15:47:21 -0400 (0:00:00.020) 0:00:03.388 ********* 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-4uA/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-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 06 June 2026 15:47:21 -0400 (0:00:00.050) 0:00:03.438 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 06 June 2026 15:47:21 -0400 (0:00:00.340) 0:00:03.779 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 06 June 2026 15:47:21 -0400 (0:00:00.341) 0:00:04.120 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 06 June 2026 15:47:22 -0400 (0:00:00.351) 0:00:04.472 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 06 June 2026 15:47:23 -0400 (0:00:01.598) 0:00:06.070 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 06 June 2026 15:47:23 -0400 (0:00:00.038) 0:00:06.109 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 06 June 2026 15:47:23 -0400 (0:00:00.028) 0:00:06.137 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 06 June 2026 15:47:23 -0400 (0:00:00.029) 0:00:06.166 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 06 June 2026 15:47:23 -0400 (0:00:00.023) 0:00:06.190 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 06 June 2026 15:47:29 -0400 (0:00:05.891) 0:00:12.082 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.679063", "end": "2026-06-06 15:47:30.783246", "rc": 0, "start": "2026-06-06 15:47:30.104183" } 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 06 June 2026 15:47:30 -0400 (0:00:01.079) 0:00:13.161 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 06 June 2026 15:47:30 -0400 (0:00:00.021) 0:00:13.183 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 06 June 2026 15:47:30 -0400 (0:00:00.018) 0:00:13.201 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 06 June 2026 15:47:30 -0400 (0:00:00.019) 0:00:13.221 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target systemd-journald.socket basic.target system.slice sysinit.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": "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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 06 June 2026 15:47:32 -0400 (0:00:01.186) 0:00:14.407 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.018) 0:00:14.426 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.016) 0:00:14.442 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.016) 0:00:14.459 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.016) 0:00:14.476 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.018) 0:00:14.495 ********* included: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.031) 0:00:14.526 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.017) 0:00:14.544 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.017) 0:00:14.561 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.016) 0:00:14.578 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.016) 0:00:14.595 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.017) 0:00:14.613 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.017) 0:00:14.630 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.016) 0:00:14.647 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.016) 0:00:14.663 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.017) 0:00:14.681 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.016) 0:00:14.698 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 06 June 2026 15:47:32 -0400 (0:00:00.445) 0:00:15.143 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 06 June 2026 15:47:33 -0400 (0:00:00.439) 0:00:15.583 ********* 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-1780775253.2944407-12777-144430167957400/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 06 June 2026 15:47:34 -0400 (0:00:00.742) 0:00:16.326 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 06 June 2026 15:47:34 -0400 (0:00:00.017) 0:00:16.343 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 06 June 2026 15:47:34 -0400 (0:00:00.016) 0:00:16.360 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 06 June 2026 15:47:34 -0400 (0:00:00.322) 0:00:16.683 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 06 June 2026 15:47:34 -0400 (0:00:00.011) 0:00:16.695 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-06 15:47:32 EDT", "ActiveEnterTimestampMonotonic": "350039928", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target network.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-06 15:47:31 EDT", "AssertTimestampMonotonic": "349990134", "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-06-06 15:47:31 EDT", "ConditionTimestampMonotonic": "349990132", "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": "30098", "ExecMainStartTimestamp": "Sat 2026-06-06 15:47:31 EDT", "ExecMainStartTimestampMonotonic": "349999471", "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-06-06 15:47:31 EDT] ; stop_time=[n/a] ; pid=30098 ; 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-06-06 15:47:31 EDT] ; stop_time=[Sat 2026-06-06 15:47:31 EDT] ; pid=30095 ; 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-06-06 15:47:31 EDT", "InactiveExitTimestampMonotonic": "349990973", "InvocationID": "d7509d4f8671490eb53336a17eae9187", "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": "30098", "MemoryAccounting": "yes", "MemoryCurrent": "17723392", "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-06-06 15:47:32 EDT", "StateChangeTimestampMonotonic": "350039928", "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-06-06 15:47:32 EDT", "WatchdogTimestampMonotonic": "350039925", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 06 June 2026 15:47:35 -0400 (0:00:00.898) 0:00:17.593 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007621", "end": "2026-06-06 15:47:35.548202", "rc": 0, "start": "2026-06-06 15:47:35.540581" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 06 June 2026 15:47:35 -0400 (0:00:00.330) 0:00:17.924 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007989", "end": "2026-06-06 15:47:35.879743", "rc": 0, "start": "2026-06-06 15:47:35.871754" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 06 June 2026 15:47:35 -0400 (0:00:00.334) 0:00:18.259 ********* ok: [managed-node2] => { "ansible_job_id": "759938816862.31305", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011138", "end": "2026-06-06 15:47:36.535285", "finished": 1, "rc": 0, "start": "2026-06-06 15:47:36.524147" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 06 June 2026 15:47:51 -0400 (0:00:15.933) 0:00:34.192 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008831", "end": "2026-06-06 15:47:52.162351", "rc": 0, "start": "2026-06-06 15:47:52.153520" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 06 June 2026 15:47:52 -0400 (0:00:00.347) 0:00:34.540 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 06 June 2026 15:47:52 -0400 (0:00:00.030) 0:00:34.570 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008931", "end": "2026-06-06 15:47:52.546568", "rc": 0, "start": "2026-06-06 15:47:52.537637" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 06 June 2026 15:47:52 -0400 (0:00:00.352) 0:00:34.922 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 06 June 2026 15:47:52 -0400 (0:00:00.030) 0:00:34.953 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008606", "end": "2026-06-06 15:47:52.914072", "failed_when_result": false, "rc": 0, "start": "2026-06-06 15:47:52.905466" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 06 June 2026 15:47:52 -0400 (0:00:00.347) 0:00:35.301 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 06 June 2026 15:47:53 -0400 (0:00:00.031) 0:00:35.332 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 06 June 2026 15:47:57 -0400 (0:00:04.620) 0:00:39.952 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 06 June 2026 15:47:57 -0400 (0:00:00.017) 0:00:39.970 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 06 June 2026 15:47:58 -0400 (0:00:00.375) 0:00:40.346 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 06 June 2026 15:47:59 -0400 (0:00:01.314) 0:00:41.660 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006743", "end": "2026-06-06 15:47:59.618942", "rc": 0, "start": "2026-06-06 15:47:59.612199" } STDOUT: -- Logs begin at Sat 2026-06-06 15:41:42 EDT, end at Sat 2026-06-06 15:47:59 EDT. -- Jun 06 15:45:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:53 managed-node2 postmaster[10347]: 2026-06-06 15:45:53.902 EDT [10347] LOG: redirecting log output to logging collector process Jun 06 15:45:53 managed-node2 postmaster[10347]: 2026-06-06 15:45:53.902 EDT [10347] HINT: Future log output will appear in directory "log". Jun 06 15:45:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:01 managed-node2 systemd[1]: postgresql.service: Killing process 10348 (postmaster) with signal SIGKILL. Jun 06 15:46:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:01 managed-node2 postmaster[12610]: 2026-06-06 15:46:01.599 EDT [12610] LOG: redirecting log output to logging collector process Jun 06 15:46:01 managed-node2 postmaster[12610]: 2026-06-06 15:46:01.599 EDT [12610] HINT: Future log output will appear in directory "log". Jun 06 15:46:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:05 managed-node2 systemd[1]: postgresql.service: Killing process 12611 (postmaster) with signal SIGKILL. Jun 06 15:46:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:36 managed-node2 postmaster[19219]: 2026-06-06 15:46:36.965 EDT [19219] LOG: redirecting log output to logging collector process Jun 06 15:46:36 managed-node2 postmaster[19219]: 2026-06-06 15:46:36.965 EDT [19219] HINT: Future log output will appear in directory "log". Jun 06 15:46:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:42 managed-node2 systemd[1]: postgresql.service: Killing process 19221 (postmaster) with signal SIGKILL. Jun 06 15:46:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:42 managed-node2 postmaster[20761]: 2026-06-06 15:46:42.368 EDT [20761] LOG: redirecting log output to logging collector process Jun 06 15:46:42 managed-node2 postmaster[20761]: 2026-06-06 15:46:42.368 EDT [20761] HINT: Future log output will appear in directory "log". Jun 06 15:46:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:47 managed-node2 systemd[1]: postgresql.service: Killing process 20762 (postmaster) with signal SIGKILL. Jun 06 15:46:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:05 managed-node2 postmaster[25125]: 2026-06-06 15:47:05.800 EDT [25125] LOG: redirecting log output to logging collector process Jun 06 15:47:05 managed-node2 postmaster[25125]: 2026-06-06 15:47:05.800 EDT [25125] HINT: Future log output will appear in directory "log". Jun 06 15:47:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:08 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:08 managed-node2 systemd[1]: postgresql.service: Killing process 25127 (postmaster) with signal SIGKILL. Jun 06 15:47:08 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:08 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:08 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:08 managed-node2 postmaster[25866]: 2026-06-06 15:47:08.831 EDT [25866] LOG: redirecting log output to logging collector process Jun 06 15:47:08 managed-node2 postmaster[25866]: 2026-06-06 15:47:08.831 EDT [25866] HINT: Future log output will appear in directory "log". Jun 06 15:47:08 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:12 managed-node2 systemd[1]: postgresql.service: Killing process 25867 (postmaster) with signal SIGKILL. Jun 06 15:47:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:32 managed-node2 postmaster[30098]: 2026-06-06 15:47:32.003 EDT [30098] LOG: redirecting log output to logging collector process Jun 06 15:47:32 managed-node2 postmaster[30098]: 2026-06-06 15:47:32.003 EDT [30098] HINT: Future log output will appear in directory "log". Jun 06 15:47:32 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:35 managed-node2 systemd[1]: postgresql.service: Killing process 30099 (postmaster) with signal SIGKILL. Jun 06 15:47:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:35 managed-node2 postmaster[30905]: 2026-06-06 15:47:35.188 EDT [30905] LOG: redirecting log output to logging collector process Jun 06 15:47:35 managed-node2 postmaster[30905]: 2026-06-06 15:47:35.188 EDT [30905] HINT: Future log output will appear in directory "log". Jun 06 15:47:35 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:56 managed-node2 systemd[1]: postgresql.service: Killing process 30907 (postmaster) with signal SIGKILL. Jun 06 15:47:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:56 managed-node2 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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 06 June 2026 15:47:59 -0400 (0:00:00.345) 0:00:42.005 ********* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 06 June 2026 15:47:59 -0400 (0:00:00.025) 0:00:42.031 ********* skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 06 June 2026 15:47:59 -0400 (0:00:00.088) 0:00:42.120 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 06 June 2026 15:47:59 -0400 (0:00:00.052) 0:00:42.173 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 06 June 2026 15:47:59 -0400 (0:00:00.013) 0:00:42.187 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 06 June 2026 15:47:59 -0400 (0:00:00.024) 0:00:42.211 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 06 June 2026 15:47:59 -0400 (0:00:00.024) 0:00:42.236 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 06 June 2026 15:48:00 -0400 (0:00:00.640) 0:00:42.877 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 06 June 2026 15:48:00 -0400 (0:00:00.323) 0:00:43.200 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 06 June 2026 15:48:00 -0400 (0:00:00.013) 0:00:43.214 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 06 June 2026 15:48:00 -0400 (0:00:00.014) 0:00:43.228 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 06 June 2026 15:48:00 -0400 (0:00:00.014) 0:00:43.242 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 06 June 2026 15:48:00 -0400 (0:00:00.014) 0:00:43.257 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 06 June 2026 15:48:00 -0400 (0:00:00.013) 0:00:43.270 ********* [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-4uA/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-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 06 June 2026 15:48:00 -0400 (0:00:00.040) 0:00:43.311 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 06 June 2026 15:48:01 -0400 (0:00:00.327) 0:00:43.638 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 06 June 2026 15:48:01 -0400 (0:00:00.330) 0:00:43.969 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 06 June 2026 15:48:01 -0400 (0:00:00.335) 0:00:44.304 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 06 June 2026 15:48:03 -0400 (0:00:01.376) 0:00:45.681 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 06 June 2026 15:48:03 -0400 (0:00:00.034) 0:00:45.715 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 06 June 2026 15:48:03 -0400 (0:00:00.029) 0:00:45.745 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 06 June 2026 15:48:03 -0400 (0:00:00.030) 0:00:45.775 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 06 June 2026 15:48:03 -0400 (0:00:00.024) 0:00:45.800 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 06 June 2026 15:48:09 -0400 (0:00:05.874) 0:00:51.674 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.630062", "end": "2026-06-06 15:48:10.304679", "rc": 0, "start": "2026-06-06 15:48:09.674617" } 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 06 June 2026 15:48:10 -0400 (0:00:01.007) 0:00:52.681 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 06 June 2026 15:48:10 -0400 (0:00:00.022) 0:00:52.704 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 06 June 2026 15:48:10 -0400 (0:00:00.019) 0:00:52.723 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 06 June 2026 15:48:10 -0400 (0:00:00.018) 0:00:52.742 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice basic.target network.target systemd-journald.socket", "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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 06 June 2026 15:48:11 -0400 (0:00:01.004) 0:00:53.746 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.018) 0:00:53.765 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.019) 0:00:53.784 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.017) 0:00:53.802 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.018) 0:00:53.821 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.018) 0:00:53.840 ********* included: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.031) 0:00:53.871 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.017) 0:00:53.888 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.019) 0:00:53.908 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.017) 0:00:53.926 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.018) 0:00:53.944 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.017) 0:00:53.961 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.018) 0:00:53.980 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.022) 0:00:54.002 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.018) 0:00:54.021 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.018) 0:00:54.039 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 06 June 2026 15:48:11 -0400 (0:00:00.018) 0:00:54.058 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 06 June 2026 15:48:12 -0400 (0:00:00.342) 0:00:54.401 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 06 June 2026 15:48:12 -0400 (0:00:00.334) 0:00:54.735 ********* 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-1780775292.4463906-13248-11465220471216/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 06 June 2026 15:48:13 -0400 (0:00:00.679) 0:00:55.414 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 06 June 2026 15:48:13 -0400 (0:00:00.018) 0:00:55.432 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 06 June 2026 15:48:13 -0400 (0:00:00.017) 0:00:55.450 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 06 June 2026 15:48:13 -0400 (0:00:00.342) 0:00:55.793 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 06 June 2026 15:48:13 -0400 (0:00:00.012) 0:00:55.805 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-06 15:48:11 EDT", "ActiveEnterTimestampMonotonic": "389378427", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target network.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-06 15:48:11 EDT", "AssertTimestampMonotonic": "389332272", "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-06-06 15:48:11 EDT", "ConditionTimestampMonotonic": "389332270", "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": "35613", "ExecMainStartTimestamp": "Sat 2026-06-06 15:48:11 EDT", "ExecMainStartTimestampMonotonic": "389341269", "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-06-06 15:48:11 EDT] ; stop_time=[n/a] ; pid=35613 ; 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-06-06 15:48:11 EDT] ; stop_time=[Sat 2026-06-06 15:48:11 EDT] ; pid=35610 ; 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-06-06 15:48:11 EDT", "InactiveExitTimestampMonotonic": "389333170", "InvocationID": "6d681771017a41f29987585f048d3874", "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": "35613", "MemoryAccounting": "yes", "MemoryCurrent": "16805888", "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-06-06 15:48:11 EDT", "StateChangeTimestampMonotonic": "389378427", "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-06-06 15:48:11 EDT", "WatchdogTimestampMonotonic": "389378425", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 06 June 2026 15:48:14 -0400 (0:00:00.919) 0:00:56.724 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007722", "end": "2026-06-06 15:48:14.684588", "rc": 0, "start": "2026-06-06 15:48:14.676866" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 06 June 2026 15:48:14 -0400 (0:00:00.336) 0:00:57.061 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007706", "end": "2026-06-06 15:48:15.015212", "rc": 0, "start": "2026-06-06 15:48:15.007506" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 06 June 2026 15:48:15 -0400 (0:00:00.330) 0:00:57.391 ********* ok: [managed-node2] => { "ansible_job_id": "982545444253.36820", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011045", "end": "2026-06-06 15:48:15.573583", "finished": 1, "rc": 0, "start": "2026-06-06 15:48:15.562538" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 06 June 2026 15:48:30 -0400 (0:00:15.721) 0:01:13.113 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009054", "end": "2026-06-06 15:48:31.091464", "rc": 0, "start": "2026-06-06 15:48:31.082410" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 06 June 2026 15:48:31 -0400 (0:00:00.357) 0:01:13.471 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 06 June 2026 15:48:31 -0400 (0:00:00.087) 0:01:13.558 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009335", "end": "2026-06-06 15:48:31.540077", "rc": 0, "start": "2026-06-06 15:48:31.530742" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 06 June 2026 15:48:31 -0400 (0:00:00.361) 0:01:13.920 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 06 June 2026 15:48:31 -0400 (0:00:00.031) 0:01:13.951 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006676", "end": "2026-06-06 15:48:31.913778", "failed_when_result": false, "rc": 0, "start": "2026-06-06 15:48:31.907102" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 06 June 2026 15:48:31 -0400 (0:00:00.344) 0:01:14.295 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 06 June 2026 15:48:32 -0400 (0:00:00.032) 0:01:14.328 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 06 June 2026 15:48:36 -0400 (0:00:04.598) 0:01:18.927 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 06 June 2026 15:48:36 -0400 (0:00:00.018) 0:01:18.946 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 06 June 2026 15:48:36 -0400 (0:00:00.372) 0:01:19.318 ********* [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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 06 June 2026 15:48:38 -0400 (0:00:01.289) 0:01:20.608 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007260", "end": "2026-06-06 15:48:38.564537", "rc": 0, "start": "2026-06-06 15:48:38.557277" } STDOUT: -- Logs begin at Sat 2026-06-06 15:41:42 EDT, end at Sat 2026-06-06 15:48:38 EDT. -- Jun 06 15:45:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:53 managed-node2 postmaster[10347]: 2026-06-06 15:45:53.902 EDT [10347] LOG: redirecting log output to logging collector process Jun 06 15:45:53 managed-node2 postmaster[10347]: 2026-06-06 15:45:53.902 EDT [10347] HINT: Future log output will appear in directory "log". Jun 06 15:45:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:01 managed-node2 systemd[1]: postgresql.service: Killing process 10348 (postmaster) with signal SIGKILL. Jun 06 15:46:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:01 managed-node2 postmaster[12610]: 2026-06-06 15:46:01.599 EDT [12610] LOG: redirecting log output to logging collector process Jun 06 15:46:01 managed-node2 postmaster[12610]: 2026-06-06 15:46:01.599 EDT [12610] HINT: Future log output will appear in directory "log". Jun 06 15:46:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:05 managed-node2 systemd[1]: postgresql.service: Killing process 12611 (postmaster) with signal SIGKILL. Jun 06 15:46:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:36 managed-node2 postmaster[19219]: 2026-06-06 15:46:36.965 EDT [19219] LOG: redirecting log output to logging collector process Jun 06 15:46:36 managed-node2 postmaster[19219]: 2026-06-06 15:46:36.965 EDT [19219] HINT: Future log output will appear in directory "log". Jun 06 15:46:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:42 managed-node2 systemd[1]: postgresql.service: Killing process 19221 (postmaster) with signal SIGKILL. Jun 06 15:46:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:42 managed-node2 postmaster[20761]: 2026-06-06 15:46:42.368 EDT [20761] LOG: redirecting log output to logging collector process Jun 06 15:46:42 managed-node2 postmaster[20761]: 2026-06-06 15:46:42.368 EDT [20761] HINT: Future log output will appear in directory "log". Jun 06 15:46:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:47 managed-node2 systemd[1]: postgresql.service: Killing process 20762 (postmaster) with signal SIGKILL. Jun 06 15:46:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:05 managed-node2 postmaster[25125]: 2026-06-06 15:47:05.800 EDT [25125] LOG: redirecting log output to logging collector process Jun 06 15:47:05 managed-node2 postmaster[25125]: 2026-06-06 15:47:05.800 EDT [25125] HINT: Future log output will appear in directory "log". Jun 06 15:47:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:08 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:08 managed-node2 systemd[1]: postgresql.service: Killing process 25127 (postmaster) with signal SIGKILL. Jun 06 15:47:08 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:08 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:08 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:08 managed-node2 postmaster[25866]: 2026-06-06 15:47:08.831 EDT [25866] LOG: redirecting log output to logging collector process Jun 06 15:47:08 managed-node2 postmaster[25866]: 2026-06-06 15:47:08.831 EDT [25866] HINT: Future log output will appear in directory "log". Jun 06 15:47:08 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:12 managed-node2 systemd[1]: postgresql.service: Killing process 25867 (postmaster) with signal SIGKILL. Jun 06 15:47:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:32 managed-node2 postmaster[30098]: 2026-06-06 15:47:32.003 EDT [30098] LOG: redirecting log output to logging collector process Jun 06 15:47:32 managed-node2 postmaster[30098]: 2026-06-06 15:47:32.003 EDT [30098] HINT: Future log output will appear in directory "log". Jun 06 15:47:32 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:35 managed-node2 systemd[1]: postgresql.service: Killing process 30099 (postmaster) with signal SIGKILL. Jun 06 15:47:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:35 managed-node2 postmaster[30905]: 2026-06-06 15:47:35.188 EDT [30905] LOG: redirecting log output to logging collector process Jun 06 15:47:35 managed-node2 postmaster[30905]: 2026-06-06 15:47:35.188 EDT [30905] HINT: Future log output will appear in directory "log". Jun 06 15:47:35 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:56 managed-node2 systemd[1]: postgresql.service: Killing process 30907 (postmaster) with signal SIGKILL. Jun 06 15:47:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.332 EDT [35613] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.332 EDT [35613] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.334 EDT [35613] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.338 EDT [35613] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.348 EDT [35613] LOG: redirecting log output to logging collector process Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.348 EDT [35613] HINT: Future log output will appear in directory "log". Jun 06 15:48:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:14 managed-node2 systemd[1]: postgresql.service: Killing process 35614 (postmaster) with signal SIGKILL. Jun 06 15:48:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.292 EDT [36421] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.292 EDT [36421] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.293 EDT [36421] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.297 EDT [36421] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.326 EDT [36421] LOG: redirecting log output to logging collector process Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.326 EDT [36421] HINT: Future log output will appear in directory "log". Jun 06 15:48:14 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:35 managed-node2 systemd[1]: postgresql.service: Killing process 36422 (postmaster) with signal SIGKILL. Jun 06 15:48:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 06 June 2026 15:48:38 -0400 (0:00:00.335) 0:01:20.943 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 06 June 2026 15:48:38 -0400 (0:00:00.055) 0:01:20.998 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 06 June 2026 15:48:38 -0400 (0:00:00.013) 0:01:21.012 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 06 June 2026 15:48:38 -0400 (0:00:00.025) 0:01:21.037 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 06 June 2026 15:48:38 -0400 (0:00:00.024) 0:01:21.061 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 06 June 2026 15:48:39 -0400 (0:00:00.642) 0:01:21.704 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 06 June 2026 15:48:39 -0400 (0:00:00.317) 0:01:22.022 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 06 June 2026 15:48:39 -0400 (0:00:00.013) 0:01:22.036 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 06 June 2026 15:48:39 -0400 (0:00:00.013) 0:01:22.050 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 06 June 2026 15:48:39 -0400 (0:00:00.012) 0:01:22.062 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 06 June 2026 15:48:39 -0400 (0:00:00.013) 0:01:22.076 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 06 June 2026 15:48:39 -0400 (0:00:00.012) 0:01:22.088 ********* [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-4uA/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-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 06 June 2026 15:48:39 -0400 (0:00:00.038) 0:01:22.127 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 06 June 2026 15:48:40 -0400 (0:00:00.326) 0:01:22.454 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 06 June 2026 15:48:40 -0400 (0:00:00.324) 0:01:22.778 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 06 June 2026 15:48:40 -0400 (0:00:00.323) 0:01:23.101 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 06 June 2026 15:48:42 -0400 (0:00:01.382) 0:01:24.484 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 06 June 2026 15:48:42 -0400 (0:00:00.032) 0:01:24.517 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 06 June 2026 15:48:42 -0400 (0:00:00.029) 0:01:24.546 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 06 June 2026 15:48:42 -0400 (0:00:00.029) 0:01:24.575 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 06 June 2026 15:48:42 -0400 (0:00:00.023) 0:01:24.598 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 06 June 2026 15:48:48 -0400 (0:00:05.914) 0:01:30.512 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.669045", "end": "2026-06-06 15:48:49.178048", "rc": 0, "start": "2026-06-06 15:48:48.509003" } 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 06 June 2026 15:48:49 -0400 (0:00:01.045) 0:01:31.557 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 06 June 2026 15:48:49 -0400 (0:00:00.021) 0:01:31.578 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 06 June 2026 15:48:49 -0400 (0:00:00.020) 0:01:31.599 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 06 June 2026 15:48:49 -0400 (0:00:00.019) 0:01:31.618 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target sysinit.target system.slice 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": "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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 06 June 2026 15:48:50 -0400 (0:00:01.010) 0:01:32.628 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.019) 0:01:32.648 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.016) 0:01:32.665 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.017) 0:01:32.682 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.017) 0:01:32.700 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.019) 0:01:32.719 ********* included: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.029) 0:01:32.749 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.018) 0:01:32.768 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.019) 0:01:32.787 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.018) 0:01:32.806 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.017) 0:01:32.823 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.018) 0:01:32.842 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.018) 0:01:32.860 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.018) 0:01:32.879 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.018) 0:01:32.897 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.018) 0:01:32.915 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.041) 0:01:32.956 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.346) 0:01:33.303 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 06 June 2026 15:48:51 -0400 (0:00:00.338) 0:01:33.641 ********* 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-1780775331.3534336-13716-31279556961378/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 06 June 2026 15:48:51 -0400 (0:00:00.681) 0:01:34.323 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 06 June 2026 15:48:52 -0400 (0:00:00.018) 0:01:34.341 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 06 June 2026 15:48:52 -0400 (0:00:00.017) 0:01:34.359 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 06 June 2026 15:48:52 -0400 (0:00:00.331) 0:01:34.690 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 06 June 2026 15:48:52 -0400 (0:00:00.012) 0:01:34.703 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-06 15:48:50 EDT", "ActiveEnterTimestampMonotonic": "428259941", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice systemd-journald.socket basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-06 15:48:50 EDT", "AssertTimestampMonotonic": "428208554", "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-06-06 15:48:50 EDT", "ConditionTimestampMonotonic": "428208553", "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": "41156", "ExecMainStartTimestamp": "Sat 2026-06-06 15:48:50 EDT", "ExecMainStartTimestampMonotonic": "428217923", "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-06-06 15:48:50 EDT] ; stop_time=[n/a] ; pid=41156 ; 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-06-06 15:48:50 EDT] ; stop_time=[Sat 2026-06-06 15:48:50 EDT] ; pid=41153 ; 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-06-06 15:48:50 EDT", "InactiveExitTimestampMonotonic": "428209484", "InvocationID": "0de5ddaa84a845229538030df487ac04", "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": "41156", "MemoryAccounting": "yes", "MemoryCurrent": "17825792", "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-06-06 15:48:50 EDT", "StateChangeTimestampMonotonic": "428259941", "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-06-06 15:48:50 EDT", "WatchdogTimestampMonotonic": "428259938", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 06 June 2026 15:48:53 -0400 (0:00:00.909) 0:01:35.612 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008518", "end": "2026-06-06 15:48:53.576605", "rc": 0, "start": "2026-06-06 15:48:53.568087" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 06 June 2026 15:48:53 -0400 (0:00:00.340) 0:01:35.952 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007743", "end": "2026-06-06 15:48:53.906724", "rc": 0, "start": "2026-06-06 15:48:53.898981" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 06 June 2026 15:48:53 -0400 (0:00:00.330) 0:01:36.283 ********* ok: [managed-node2] => { "ansible_job_id": "616217788117.42363", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011234", "end": "2026-06-06 15:48:54.476564", "finished": 1, "rc": 0, "start": "2026-06-06 15:48:54.465330" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 06 June 2026 15:49:09 -0400 (0:00:15.748) 0:01:52.032 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008723", "end": "2026-06-06 15:49:10.010042", "rc": 0, "start": "2026-06-06 15:49:10.001319" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 06 June 2026 15:49:10 -0400 (0:00:00.357) 0:01:52.389 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 06 June 2026 15:49:10 -0400 (0:00:00.036) 0:01:52.425 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009432", "end": "2026-06-06 15:49:10.404108", "rc": 0, "start": "2026-06-06 15:49:10.394676" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 06 June 2026 15:49:10 -0400 (0:00:00.356) 0:01:52.782 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 06 June 2026 15:49:10 -0400 (0:00:00.031) 0:01:52.814 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008813", "end": "2026-06-06 15:49:10.779715", "failed_when_result": false, "rc": 0, "start": "2026-06-06 15:49:10.770902" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 06 June 2026 15:49:10 -0400 (0:00:00.346) 0:01:53.160 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 06 June 2026 15:49:10 -0400 (0:00:00.033) 0:01:53.193 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 06 June 2026 15:49:15 -0400 (0:00:04.607) 0:01:57.801 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 06 June 2026 15:49:15 -0400 (0:00:00.019) 0:01:57.820 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 06 June 2026 15:49:15 -0400 (0:00:00.371) 0:01:58.192 ********* [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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 06 June 2026 15:49:17 -0400 (0:00:01.309) 0:01:59.502 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007249", "end": "2026-06-06 15:49:17.459098", "rc": 0, "start": "2026-06-06 15:49:17.451849" } STDOUT: -- Logs begin at Sat 2026-06-06 15:41:42 EDT, end at Sat 2026-06-06 15:49:17 EDT. -- Jun 06 15:45:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:53 managed-node2 postmaster[10347]: 2026-06-06 15:45:53.902 EDT [10347] LOG: redirecting log output to logging collector process Jun 06 15:45:53 managed-node2 postmaster[10347]: 2026-06-06 15:45:53.902 EDT [10347] HINT: Future log output will appear in directory "log". Jun 06 15:45:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:01 managed-node2 systemd[1]: postgresql.service: Killing process 10348 (postmaster) with signal SIGKILL. Jun 06 15:46:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:01 managed-node2 postmaster[12610]: 2026-06-06 15:46:01.599 EDT [12610] LOG: redirecting log output to logging collector process Jun 06 15:46:01 managed-node2 postmaster[12610]: 2026-06-06 15:46:01.599 EDT [12610] HINT: Future log output will appear in directory "log". Jun 06 15:46:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:05 managed-node2 systemd[1]: postgresql.service: Killing process 12611 (postmaster) with signal SIGKILL. Jun 06 15:46:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:36 managed-node2 postmaster[19219]: 2026-06-06 15:46:36.965 EDT [19219] LOG: redirecting log output to logging collector process Jun 06 15:46:36 managed-node2 postmaster[19219]: 2026-06-06 15:46:36.965 EDT [19219] HINT: Future log output will appear in directory "log". Jun 06 15:46:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:42 managed-node2 systemd[1]: postgresql.service: Killing process 19221 (postmaster) with signal SIGKILL. Jun 06 15:46:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:42 managed-node2 postmaster[20761]: 2026-06-06 15:46:42.368 EDT [20761] LOG: redirecting log output to logging collector process Jun 06 15:46:42 managed-node2 postmaster[20761]: 2026-06-06 15:46:42.368 EDT [20761] HINT: Future log output will appear in directory "log". Jun 06 15:46:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:47 managed-node2 systemd[1]: postgresql.service: Killing process 20762 (postmaster) with signal SIGKILL. Jun 06 15:46:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:05 managed-node2 postmaster[25125]: 2026-06-06 15:47:05.800 EDT [25125] LOG: redirecting log output to logging collector process Jun 06 15:47:05 managed-node2 postmaster[25125]: 2026-06-06 15:47:05.800 EDT [25125] HINT: Future log output will appear in directory "log". Jun 06 15:47:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:08 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:08 managed-node2 systemd[1]: postgresql.service: Killing process 25127 (postmaster) with signal SIGKILL. Jun 06 15:47:08 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:08 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:08 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:08 managed-node2 postmaster[25866]: 2026-06-06 15:47:08.831 EDT [25866] LOG: redirecting log output to logging collector process Jun 06 15:47:08 managed-node2 postmaster[25866]: 2026-06-06 15:47:08.831 EDT [25866] HINT: Future log output will appear in directory "log". Jun 06 15:47:08 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:12 managed-node2 systemd[1]: postgresql.service: Killing process 25867 (postmaster) with signal SIGKILL. Jun 06 15:47:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:32 managed-node2 postmaster[30098]: 2026-06-06 15:47:32.003 EDT [30098] LOG: redirecting log output to logging collector process Jun 06 15:47:32 managed-node2 postmaster[30098]: 2026-06-06 15:47:32.003 EDT [30098] HINT: Future log output will appear in directory "log". Jun 06 15:47:32 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:35 managed-node2 systemd[1]: postgresql.service: Killing process 30099 (postmaster) with signal SIGKILL. Jun 06 15:47:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:35 managed-node2 postmaster[30905]: 2026-06-06 15:47:35.188 EDT [30905] LOG: redirecting log output to logging collector process Jun 06 15:47:35 managed-node2 postmaster[30905]: 2026-06-06 15:47:35.188 EDT [30905] HINT: Future log output will appear in directory "log". Jun 06 15:47:35 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:56 managed-node2 systemd[1]: postgresql.service: Killing process 30907 (postmaster) with signal SIGKILL. Jun 06 15:47:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.332 EDT [35613] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.332 EDT [35613] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.334 EDT [35613] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.338 EDT [35613] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.348 EDT [35613] LOG: redirecting log output to logging collector process Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.348 EDT [35613] HINT: Future log output will appear in directory "log". Jun 06 15:48:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:14 managed-node2 systemd[1]: postgresql.service: Killing process 35614 (postmaster) with signal SIGKILL. Jun 06 15:48:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.292 EDT [36421] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.292 EDT [36421] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.293 EDT [36421] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.297 EDT [36421] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.326 EDT [36421] LOG: redirecting log output to logging collector process Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.326 EDT [36421] HINT: Future log output will appear in directory "log". Jun 06 15:48:14 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:35 managed-node2 systemd[1]: postgresql.service: Killing process 36422 (postmaster) with signal SIGKILL. Jun 06 15:48:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.211 EDT [41156] 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 Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.212 EDT [41156] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.212 EDT [41156] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.214 EDT [41156] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.218 EDT [41156] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.229 EDT [41156] LOG: redirecting log output to logging collector process Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.229 EDT [41156] HINT: Future log output will appear in directory "log". Jun 06 15:48:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:53 managed-node2 systemd[1]: postgresql.service: Killing process 41157 (postmaster) with signal SIGKILL. Jun 06 15:48:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.177 EDT [41963] 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 Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.177 EDT [41963] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.177 EDT [41963] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.179 EDT [41963] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.183 EDT [41963] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.212 EDT [41963] LOG: redirecting log output to logging collector process Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.212 EDT [41963] HINT: Future log output will appear in directory "log". Jun 06 15:48:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:49:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:49:14 managed-node2 systemd[1]: postgresql.service: Killing process 41965 (postmaster) with signal SIGKILL. Jun 06 15:49:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:49:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 06 June 2026 15:49:17 -0400 (0:00:00.334) 0:01:59.837 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 06 June 2026 15:49:17 -0400 (0:00:00.056) 0:01:59.894 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 06 June 2026 15:49:17 -0400 (0:00:00.013) 0:01:59.907 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 06 June 2026 15:49:17 -0400 (0:00:00.024) 0:01:59.932 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 06 June 2026 15:49:17 -0400 (0:00:00.024) 0:01:59.956 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 06 June 2026 15:49:18 -0400 (0:00:00.648) 0:02:00.605 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 06 June 2026 15:49:18 -0400 (0:00:00.321) 0:02:00.926 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 06 June 2026 15:49:18 -0400 (0:00:00.013) 0:02:00.940 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 06 June 2026 15:49:18 -0400 (0:00:00.013) 0:02:00.953 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 06 June 2026 15:49:18 -0400 (0:00:00.013) 0:02:00.967 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 06 June 2026 15:49:18 -0400 (0:00:00.013) 0:02:00.980 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 06 June 2026 15:49:18 -0400 (0:00:00.012) 0:02:00.993 ********* [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-4uA/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-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 06 June 2026 15:49:18 -0400 (0:00:00.038) 0:02:01.032 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 06 June 2026 15:49:19 -0400 (0:00:00.321) 0:02:01.354 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 06 June 2026 15:49:19 -0400 (0:00:00.321) 0:02:01.675 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 06 June 2026 15:49:19 -0400 (0:00:00.327) 0:02:02.003 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 06 June 2026 15:49:21 -0400 (0:00:01.376) 0:02:03.379 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 06 June 2026 15:49:21 -0400 (0:00:00.033) 0:02:03.412 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 06 June 2026 15:49:21 -0400 (0:00:00.028) 0:02:03.441 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 06 June 2026 15:49:21 -0400 (0:00:00.029) 0:02:03.471 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 06 June 2026 15:49:21 -0400 (0:00:00.029) 0:02:03.500 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 06 June 2026 15:49:27 -0400 (0:00:06.089) 0:02:09.589 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.669725", "end": "2026-06-06 15:49:28.267018", "rc": 0, "start": "2026-06-06 15:49:27.597293" } 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 06 June 2026 15:49:28 -0400 (0:00:01.056) 0:02:10.646 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 06 June 2026 15:49:28 -0400 (0:00:00.020) 0:02:10.667 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 06 June 2026 15:49:28 -0400 (0:00:00.020) 0:02:10.688 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 06 June 2026 15:49:28 -0400 (0:00:00.019) 0:02:10.707 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target system.slice network.target 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 06 June 2026 15:49:29 -0400 (0:00:01.026) 0:02:11.733 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.019) 0:02:11.753 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.017) 0:02:11.770 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.017) 0:02:11.788 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.017) 0:02:11.806 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.016) 0:02:11.823 ********* included: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.031) 0:02:11.855 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.018) 0:02:11.873 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.018) 0:02:11.891 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.017) 0:02:11.909 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.018) 0:02:11.927 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.018) 0:02:11.946 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.017) 0:02:11.964 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.019) 0:02:11.983 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.018) 0:02:12.002 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.017) 0:02:12.019 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.016) 0:02:12.036 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 06 June 2026 15:49:30 -0400 (0:00:00.344) 0:02:12.381 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 06 June 2026 15:49:30 -0400 (0:00:00.335) 0:02:12.716 ********* 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-1780775370.427721-14183-59456285665526/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 06 June 2026 15:49:31 -0400 (0:00:00.677) 0:02:13.394 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 06 June 2026 15:49:31 -0400 (0:00:00.019) 0:02:13.413 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 06 June 2026 15:49:31 -0400 (0:00:00.018) 0:02:13.431 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 06 June 2026 15:49:31 -0400 (0:00:00.334) 0:02:13.766 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 06 June 2026 15:49:31 -0400 (0:00:00.012) 0:02:13.778 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-06 15:49:29 EDT", "ActiveEnterTimestampMonotonic": "467365394", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target system.slice systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-06 15:49:29 EDT", "AssertTimestampMonotonic": "467314355", "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-06-06 15:49:29 EDT", "ConditionTimestampMonotonic": "467314354", "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": "46709", "ExecMainStartTimestamp": "Sat 2026-06-06 15:49:29 EDT", "ExecMainStartTimestampMonotonic": "467323439", "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-06-06 15:49:29 EDT] ; stop_time=[n/a] ; pid=46709 ; 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-06-06 15:49:29 EDT] ; stop_time=[Sat 2026-06-06 15:49:29 EDT] ; pid=46706 ; 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-06-06 15:49:29 EDT", "InactiveExitTimestampMonotonic": "467315256", "InvocationID": "c14b4a83523144778da129eac4a72328", "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": "46709", "MemoryAccounting": "yes", "MemoryCurrent": "18423808", "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-06-06 15:49:29 EDT", "StateChangeTimestampMonotonic": "467365394", "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-06-06 15:49:29 EDT", "WatchdogTimestampMonotonic": "467365392", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 06 June 2026 15:49:32 -0400 (0:00:00.920) 0:02:14.699 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007432", "end": "2026-06-06 15:49:32.660624", "rc": 0, "start": "2026-06-06 15:49:32.653192" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 06 June 2026 15:49:32 -0400 (0:00:00.338) 0:02:15.037 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007680", "end": "2026-06-06 15:49:32.995787", "rc": 0, "start": "2026-06-06 15:49:32.988107" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 06 June 2026 15:49:33 -0400 (0:00:00.336) 0:02:15.373 ********* ok: [managed-node2] => { "ansible_job_id": "238519573802.47914", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011018", "end": "2026-06-06 15:49:33.559423", "finished": 1, "rc": 0, "start": "2026-06-06 15:49:33.548405" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 06 June 2026 15:49:48 -0400 (0:00:15.740) 0:02:31.114 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009392", "end": "2026-06-06 15:49:49.095067", "rc": 0, "start": "2026-06-06 15:49:49.085675" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 06 June 2026 15:49:49 -0400 (0:00:00.361) 0:02:31.476 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 06 June 2026 15:49:49 -0400 (0:00:00.031) 0:02:31.507 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008824", "end": "2026-06-06 15:49:49.484398", "rc": 0, "start": "2026-06-06 15:49:49.475574" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 06 June 2026 15:49:49 -0400 (0:00:00.354) 0:02:31.862 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 06 June 2026 15:49:49 -0400 (0:00:00.031) 0:02:31.893 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008696", "end": "2026-06-06 15:49:49.853722", "failed_when_result": false, "rc": 0, "start": "2026-06-06 15:49:49.845026" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 06 June 2026 15:49:49 -0400 (0:00:00.340) 0:02:32.234 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 06 June 2026 15:49:49 -0400 (0:00:00.033) 0:02:32.267 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 06 June 2026 15:49:54 -0400 (0:00:04.609) 0:02:36.876 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 06 June 2026 15:49:54 -0400 (0:00:00.019) 0:02:36.895 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 06 June 2026 15:49:54 -0400 (0:00:00.371) 0:02:37.266 ********* [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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 06 June 2026 15:49:56 -0400 (0:00:01.309) 0:02:38.576 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007379", "end": "2026-06-06 15:49:56.534427", "rc": 0, "start": "2026-06-06 15:49:56.527048" } STDOUT: -- Logs begin at Sat 2026-06-06 15:41:42 EDT, end at Sat 2026-06-06 15:49:56 EDT. -- Jun 06 15:45:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:53 managed-node2 postmaster[10347]: 2026-06-06 15:45:53.902 EDT [10347] LOG: redirecting log output to logging collector process Jun 06 15:45:53 managed-node2 postmaster[10347]: 2026-06-06 15:45:53.902 EDT [10347] HINT: Future log output will appear in directory "log". Jun 06 15:45:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:01 managed-node2 systemd[1]: postgresql.service: Killing process 10348 (postmaster) with signal SIGKILL. Jun 06 15:46:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:01 managed-node2 postmaster[12610]: 2026-06-06 15:46:01.599 EDT [12610] LOG: redirecting log output to logging collector process Jun 06 15:46:01 managed-node2 postmaster[12610]: 2026-06-06 15:46:01.599 EDT [12610] HINT: Future log output will appear in directory "log". Jun 06 15:46:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:05 managed-node2 systemd[1]: postgresql.service: Killing process 12611 (postmaster) with signal SIGKILL. Jun 06 15:46:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:36 managed-node2 postmaster[19219]: 2026-06-06 15:46:36.965 EDT [19219] LOG: redirecting log output to logging collector process Jun 06 15:46:36 managed-node2 postmaster[19219]: 2026-06-06 15:46:36.965 EDT [19219] HINT: Future log output will appear in directory "log". Jun 06 15:46:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:42 managed-node2 systemd[1]: postgresql.service: Killing process 19221 (postmaster) with signal SIGKILL. Jun 06 15:46:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:42 managed-node2 postmaster[20761]: 2026-06-06 15:46:42.368 EDT [20761] LOG: redirecting log output to logging collector process Jun 06 15:46:42 managed-node2 postmaster[20761]: 2026-06-06 15:46:42.368 EDT [20761] HINT: Future log output will appear in directory "log". Jun 06 15:46:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:47 managed-node2 systemd[1]: postgresql.service: Killing process 20762 (postmaster) with signal SIGKILL. Jun 06 15:46:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:05 managed-node2 postmaster[25125]: 2026-06-06 15:47:05.800 EDT [25125] LOG: redirecting log output to logging collector process Jun 06 15:47:05 managed-node2 postmaster[25125]: 2026-06-06 15:47:05.800 EDT [25125] HINT: Future log output will appear in directory "log". Jun 06 15:47:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:08 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:08 managed-node2 systemd[1]: postgresql.service: Killing process 25127 (postmaster) with signal SIGKILL. Jun 06 15:47:08 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:08 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:08 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:08 managed-node2 postmaster[25866]: 2026-06-06 15:47:08.831 EDT [25866] LOG: redirecting log output to logging collector process Jun 06 15:47:08 managed-node2 postmaster[25866]: 2026-06-06 15:47:08.831 EDT [25866] HINT: Future log output will appear in directory "log". Jun 06 15:47:08 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:12 managed-node2 systemd[1]: postgresql.service: Killing process 25867 (postmaster) with signal SIGKILL. Jun 06 15:47:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:32 managed-node2 postmaster[30098]: 2026-06-06 15:47:32.003 EDT [30098] LOG: redirecting log output to logging collector process Jun 06 15:47:32 managed-node2 postmaster[30098]: 2026-06-06 15:47:32.003 EDT [30098] HINT: Future log output will appear in directory "log". Jun 06 15:47:32 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:35 managed-node2 systemd[1]: postgresql.service: Killing process 30099 (postmaster) with signal SIGKILL. Jun 06 15:47:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:35 managed-node2 postmaster[30905]: 2026-06-06 15:47:35.188 EDT [30905] LOG: redirecting log output to logging collector process Jun 06 15:47:35 managed-node2 postmaster[30905]: 2026-06-06 15:47:35.188 EDT [30905] HINT: Future log output will appear in directory "log". Jun 06 15:47:35 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:56 managed-node2 systemd[1]: postgresql.service: Killing process 30907 (postmaster) with signal SIGKILL. Jun 06 15:47:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.332 EDT [35613] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.332 EDT [35613] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.334 EDT [35613] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.338 EDT [35613] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.348 EDT [35613] LOG: redirecting log output to logging collector process Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.348 EDT [35613] HINT: Future log output will appear in directory "log". Jun 06 15:48:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:14 managed-node2 systemd[1]: postgresql.service: Killing process 35614 (postmaster) with signal SIGKILL. Jun 06 15:48:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.292 EDT [36421] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.292 EDT [36421] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.293 EDT [36421] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.297 EDT [36421] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.326 EDT [36421] LOG: redirecting log output to logging collector process Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.326 EDT [36421] HINT: Future log output will appear in directory "log". Jun 06 15:48:14 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:35 managed-node2 systemd[1]: postgresql.service: Killing process 36422 (postmaster) with signal SIGKILL. Jun 06 15:48:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.211 EDT [41156] 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 Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.212 EDT [41156] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.212 EDT [41156] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.214 EDT [41156] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.218 EDT [41156] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.229 EDT [41156] LOG: redirecting log output to logging collector process Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.229 EDT [41156] HINT: Future log output will appear in directory "log". Jun 06 15:48:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:53 managed-node2 systemd[1]: postgresql.service: Killing process 41157 (postmaster) with signal SIGKILL. Jun 06 15:48:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.177 EDT [41963] 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 Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.177 EDT [41963] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.177 EDT [41963] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.179 EDT [41963] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.183 EDT [41963] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.212 EDT [41963] LOG: redirecting log output to logging collector process Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.212 EDT [41963] HINT: Future log output will appear in directory "log". Jun 06 15:48:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:49:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:49:14 managed-node2 systemd[1]: postgresql.service: Killing process 41965 (postmaster) with signal SIGKILL. Jun 06 15:49:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:49:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:49:29 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:49:29 managed-node2 postmaster[46709]: 2026-06-06 15:49:29.328 EDT [46709] LOG: redirecting log output to logging collector process Jun 06 15:49:29 managed-node2 postmaster[46709]: 2026-06-06 15:49:29.328 EDT [46709] HINT: Future log output will appear in directory "log". Jun 06 15:49:29 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:49:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:49:32 managed-node2 systemd[1]: postgresql.service: Killing process 46710 (postmaster) with signal SIGKILL. Jun 06 15:49:32 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:49:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:49:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:49:32 managed-node2 postmaster[47515]: 2026-06-06 15:49:32.293 EDT [47515] LOG: redirecting log output to logging collector process Jun 06 15:49:32 managed-node2 postmaster[47515]: 2026-06-06 15:49:32.293 EDT [47515] HINT: Future log output will appear in directory "log". Jun 06 15:49:32 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:49:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:49:53 managed-node2 systemd[1]: postgresql.service: Killing process 47517 (postmaster) with signal SIGKILL. Jun 06 15:49:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:49:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 06 June 2026 15:49:56 -0400 (0:00:00.348) 0:02:38.924 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 06 June 2026 15:49:56 -0400 (0:00:00.032) 0:02:38.957 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 06 June 2026 15:49:56 -0400 (0:00:00.013) 0:02:38.970 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 06 June 2026 15:49:56 -0400 (0:00:00.025) 0:02:38.995 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 06 June 2026 15:49:56 -0400 (0:00:00.024) 0:02:39.020 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 06 June 2026 15:49:57 -0400 (0:00:00.646) 0:02:39.666 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 06 June 2026 15:49:57 -0400 (0:00:00.320) 0:02:39.987 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 06 June 2026 15:49:57 -0400 (0:00:00.013) 0:02:40.000 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 06 June 2026 15:49:57 -0400 (0:00:00.013) 0:02:40.014 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 06 June 2026 15:49:57 -0400 (0:00:00.012) 0:02:40.027 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 06 June 2026 15:49:57 -0400 (0:00:00.013) 0:02:40.040 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 06 June 2026 15:49:57 -0400 (0:00:00.012) 0:02:40.052 ********* [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-4uA/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-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 06 June 2026 15:49:57 -0400 (0:00:00.038) 0:02:40.090 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 06 June 2026 15:49:58 -0400 (0:00:00.328) 0:02:40.418 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 06 June 2026 15:49:58 -0400 (0:00:00.334) 0:02:40.753 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 06 June 2026 15:49:58 -0400 (0:00:00.338) 0:02:41.091 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 06 June 2026 15:50:00 -0400 (0:00:01.384) 0:02:42.476 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 06 June 2026 15:50:00 -0400 (0:00:00.032) 0:02:42.509 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 06 June 2026 15:50:00 -0400 (0:00:00.030) 0:02:42.540 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 06 June 2026 15:50:00 -0400 (0:00:00.029) 0:02:42.569 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 06 June 2026 15:50:00 -0400 (0:00:00.022) 0:02:42.592 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 06 June 2026 15:50:06 -0400 (0:00:06.341) 0:02:48.933 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.655834", "end": "2026-06-06 15:50:07.585244", "rc": 0, "start": "2026-06-06 15:50:06.929410" } 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 06 June 2026 15:50:07 -0400 (0:00:01.029) 0:02:49.962 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 06 June 2026 15:50:07 -0400 (0:00:00.022) 0:02:49.985 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 06 June 2026 15:50:07 -0400 (0:00:00.019) 0:02:50.004 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 06 June 2026 15:50:07 -0400 (0:00:00.019) 0:02:50.024 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target basic.target network-online.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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 06 June 2026 15:50:08 -0400 (0:00:01.005) 0:02:51.030 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.018) 0:02:51.048 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.019) 0:02:51.068 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.018) 0:02:51.087 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.017) 0:02:51.105 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.017) 0:02:51.122 ********* included: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.031) 0:02:51.153 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.019) 0:02:51.172 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.019) 0:02:51.192 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.017) 0:02:51.210 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.018) 0:02:51.228 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.018) 0:02:51.247 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.019) 0:02:51.266 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.019) 0:02:51.285 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.017) 0:02:51.303 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 06 June 2026 15:50:08 -0400 (0:00:00.018) 0:02:51.321 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 06 June 2026 15:50:09 -0400 (0:00:00.018) 0:02:51.340 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 06 June 2026 15:50:09 -0400 (0:00:00.346) 0:02:51.687 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 06 June 2026 15:50:09 -0400 (0:00:00.339) 0:02:52.027 ********* 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-1780775409.7390692-14650-276477808830080/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 06 June 2026 15:50:10 -0400 (0:00:00.675) 0:02:52.702 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 06 June 2026 15:50:10 -0400 (0:00:00.019) 0:02:52.721 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 06 June 2026 15:50:10 -0400 (0:00:00.018) 0:02:52.740 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 06 June 2026 15:50:10 -0400 (0:00:00.333) 0:02:53.074 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 06 June 2026 15:50:10 -0400 (0:00:00.012) 0:02:53.086 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-06 15:50:08 EDT", "ActiveEnterTimestampMonotonic": "506662776", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice basic.target network-online.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-06 15:50:08 EDT", "AssertTimestampMonotonic": "506612290", "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-06-06 15:50:08 EDT", "ConditionTimestampMonotonic": "506612289", "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": "52256", "ExecMainStartTimestamp": "Sat 2026-06-06 15:50:08 EDT", "ExecMainStartTimestampMonotonic": "506620924", "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-06-06 15:50:08 EDT] ; stop_time=[n/a] ; pid=52256 ; 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-06-06 15:50:08 EDT] ; stop_time=[Sat 2026-06-06 15:50:08 EDT] ; pid=52253 ; 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-06-06 15:50:08 EDT", "InactiveExitTimestampMonotonic": "506613110", "InvocationID": "f23db8754f71464ca06c738bdda742eb", "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": "52256", "MemoryAccounting": "yes", "MemoryCurrent": "18726912", "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-06-06 15:50:08 EDT", "StateChangeTimestampMonotonic": "506662776", "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-06-06 15:50:08 EDT", "WatchdogTimestampMonotonic": "506662774", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 06 June 2026 15:50:11 -0400 (0:00:00.909) 0:02:53.995 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007337", "end": "2026-06-06 15:50:11.956904", "rc": 0, "start": "2026-06-06 15:50:11.949567" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 06 June 2026 15:50:12 -0400 (0:00:00.338) 0:02:54.334 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008253", "end": "2026-06-06 15:50:12.295528", "rc": 0, "start": "2026-06-06 15:50:12.287275" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 06 June 2026 15:50:12 -0400 (0:00:00.339) 0:02:54.673 ********* ok: [managed-node2] => { "ansible_job_id": "678896679513.53461", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012008", "end": "2026-06-06 15:50:12.869398", "finished": 1, "rc": 0, "start": "2026-06-06 15:50:12.857390" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 06 June 2026 15:50:28 -0400 (0:00:15.755) 0:03:10.428 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009422", "end": "2026-06-06 15:50:28.415065", "rc": 0, "start": "2026-06-06 15:50:28.405643" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 06 June 2026 15:50:28 -0400 (0:00:00.367) 0:03:10.796 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 06 June 2026 15:50:28 -0400 (0:00:00.073) 0:03:10.870 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008905", "end": "2026-06-06 15:50:28.850558", "rc": 0, "start": "2026-06-06 15:50:28.841653" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 06 June 2026 15:50:28 -0400 (0:00:00.361) 0:03:11.231 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 06 June 2026 15:50:28 -0400 (0:00:00.031) 0:03:11.262 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009276", "end": "2026-06-06 15:50:29.229077", "failed_when_result": false, "rc": 0, "start": "2026-06-06 15:50:29.219801" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 06 June 2026 15:50:29 -0400 (0:00:00.348) 0:03:11.611 ********* included: /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 06 June 2026 15:50:29 -0400 (0:00:00.032) 0:03:11.644 ********* 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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 06 June 2026 15:50:33 -0400 (0:00:04.627) 0:03:16.271 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 06 June 2026 15:50:33 -0400 (0:00:00.019) 0:03:16.290 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 06 June 2026 15:50:34 -0400 (0:00:00.370) 0:03:16.660 ********* [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-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 06 June 2026 15:50:35 -0400 (0:00:01.294) 0:03:17.955 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007226", "end": "2026-06-06 15:50:35.912445", "rc": 0, "start": "2026-06-06 15:50:35.905219" } STDOUT: -- Logs begin at Sat 2026-06-06 15:41:42 EDT, end at Sat 2026-06-06 15:50:35 EDT. -- Jun 06 15:45:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:53 managed-node2 postmaster[10347]: 2026-06-06 15:45:53.902 EDT [10347] LOG: redirecting log output to logging collector process Jun 06 15:45:53 managed-node2 postmaster[10347]: 2026-06-06 15:45:53.902 EDT [10347] HINT: Future log output will appear in directory "log". Jun 06 15:45:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:01 managed-node2 systemd[1]: postgresql.service: Killing process 10348 (postmaster) with signal SIGKILL. Jun 06 15:46:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:01 managed-node2 postmaster[12610]: 2026-06-06 15:46:01.599 EDT [12610] LOG: redirecting log output to logging collector process Jun 06 15:46:01 managed-node2 postmaster[12610]: 2026-06-06 15:46:01.599 EDT [12610] HINT: Future log output will appear in directory "log". Jun 06 15:46:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:05 managed-node2 systemd[1]: postgresql.service: Killing process 12611 (postmaster) with signal SIGKILL. Jun 06 15:46:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:36 managed-node2 postmaster[19219]: 2026-06-06 15:46:36.965 EDT [19219] LOG: redirecting log output to logging collector process Jun 06 15:46:36 managed-node2 postmaster[19219]: 2026-06-06 15:46:36.965 EDT [19219] HINT: Future log output will appear in directory "log". Jun 06 15:46:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:42 managed-node2 systemd[1]: postgresql.service: Killing process 19221 (postmaster) with signal SIGKILL. Jun 06 15:46:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:42 managed-node2 postmaster[20761]: 2026-06-06 15:46:42.368 EDT [20761] LOG: redirecting log output to logging collector process Jun 06 15:46:42 managed-node2 postmaster[20761]: 2026-06-06 15:46:42.368 EDT [20761] HINT: Future log output will appear in directory "log". Jun 06 15:46:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:47 managed-node2 systemd[1]: postgresql.service: Killing process 20762 (postmaster) with signal SIGKILL. Jun 06 15:46:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:05 managed-node2 postmaster[25125]: 2026-06-06 15:47:05.800 EDT [25125] LOG: redirecting log output to logging collector process Jun 06 15:47:05 managed-node2 postmaster[25125]: 2026-06-06 15:47:05.800 EDT [25125] HINT: Future log output will appear in directory "log". Jun 06 15:47:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:08 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:08 managed-node2 systemd[1]: postgresql.service: Killing process 25127 (postmaster) with signal SIGKILL. Jun 06 15:47:08 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:08 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:08 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:08 managed-node2 postmaster[25866]: 2026-06-06 15:47:08.831 EDT [25866] LOG: redirecting log output to logging collector process Jun 06 15:47:08 managed-node2 postmaster[25866]: 2026-06-06 15:47:08.831 EDT [25866] HINT: Future log output will appear in directory "log". Jun 06 15:47:08 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:12 managed-node2 systemd[1]: postgresql.service: Killing process 25867 (postmaster) with signal SIGKILL. Jun 06 15:47:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:32 managed-node2 postmaster[30098]: 2026-06-06 15:47:32.003 EDT [30098] LOG: redirecting log output to logging collector process Jun 06 15:47:32 managed-node2 postmaster[30098]: 2026-06-06 15:47:32.003 EDT [30098] HINT: Future log output will appear in directory "log". Jun 06 15:47:32 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:35 managed-node2 systemd[1]: postgresql.service: Killing process 30099 (postmaster) with signal SIGKILL. Jun 06 15:47:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:35 managed-node2 postmaster[30905]: 2026-06-06 15:47:35.188 EDT [30905] LOG: redirecting log output to logging collector process Jun 06 15:47:35 managed-node2 postmaster[30905]: 2026-06-06 15:47:35.188 EDT [30905] HINT: Future log output will appear in directory "log". Jun 06 15:47:35 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:56 managed-node2 systemd[1]: postgresql.service: Killing process 30907 (postmaster) with signal SIGKILL. Jun 06 15:47:56 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.332 EDT [35613] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.332 EDT [35613] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.334 EDT [35613] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.338 EDT [35613] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.348 EDT [35613] LOG: redirecting log output to logging collector process Jun 06 15:48:11 managed-node2 postmaster[35613]: 2026-06-06 15:48:11.348 EDT [35613] HINT: Future log output will appear in directory "log". Jun 06 15:48:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:14 managed-node2 systemd[1]: postgresql.service: Killing process 35614 (postmaster) with signal SIGKILL. Jun 06 15:48:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.292 EDT [36421] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.292 EDT [36421] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.293 EDT [36421] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.297 EDT [36421] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.326 EDT [36421] LOG: redirecting log output to logging collector process Jun 06 15:48:14 managed-node2 postmaster[36421]: 2026-06-06 15:48:14.326 EDT [36421] HINT: Future log output will appear in directory "log". Jun 06 15:48:14 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:35 managed-node2 systemd[1]: postgresql.service: Killing process 36422 (postmaster) with signal SIGKILL. Jun 06 15:48:35 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.211 EDT [41156] 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 Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.212 EDT [41156] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.212 EDT [41156] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.214 EDT [41156] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.218 EDT [41156] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.229 EDT [41156] LOG: redirecting log output to logging collector process Jun 06 15:48:50 managed-node2 postmaster[41156]: 2026-06-06 15:48:50.229 EDT [41156] HINT: Future log output will appear in directory "log". Jun 06 15:48:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:53 managed-node2 systemd[1]: postgresql.service: Killing process 41157 (postmaster) with signal SIGKILL. Jun 06 15:48:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.177 EDT [41963] 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 Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.177 EDT [41963] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.177 EDT [41963] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.179 EDT [41963] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.183 EDT [41963] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.212 EDT [41963] LOG: redirecting log output to logging collector process Jun 06 15:48:53 managed-node2 postmaster[41963]: 2026-06-06 15:48:53.212 EDT [41963] HINT: Future log output will appear in directory "log". Jun 06 15:48:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:49:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:49:14 managed-node2 systemd[1]: postgresql.service: Killing process 41965 (postmaster) with signal SIGKILL. Jun 06 15:49:14 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:49:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:49:29 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:49:29 managed-node2 postmaster[46709]: 2026-06-06 15:49:29.328 EDT [46709] LOG: redirecting log output to logging collector process Jun 06 15:49:29 managed-node2 postmaster[46709]: 2026-06-06 15:49:29.328 EDT [46709] HINT: Future log output will appear in directory "log". Jun 06 15:49:29 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:49:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:49:32 managed-node2 systemd[1]: postgresql.service: Killing process 46710 (postmaster) with signal SIGKILL. Jun 06 15:49:32 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:49:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:49:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:49:32 managed-node2 postmaster[47515]: 2026-06-06 15:49:32.293 EDT [47515] LOG: redirecting log output to logging collector process Jun 06 15:49:32 managed-node2 postmaster[47515]: 2026-06-06 15:49:32.293 EDT [47515] HINT: Future log output will appear in directory "log". Jun 06 15:49:32 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:49:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:49:53 managed-node2 systemd[1]: postgresql.service: Killing process 47517 (postmaster) with signal SIGKILL. Jun 06 15:49:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:49:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:50:08 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:50:08 managed-node2 postgres[52256]: 2026-06-06 15:50:08.624 EDT [52256] LOG: redirecting log output to logging collector process Jun 06 15:50:08 managed-node2 postgres[52256]: 2026-06-06 15:50:08.624 EDT [52256] HINT: Future log output will appear in directory "log". Jun 06 15:50:08 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:50:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:50:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:50:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:50:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:50:11 managed-node2 postgres[53063]: 2026-06-06 15:50:11.589 EDT [53063] LOG: redirecting log output to logging collector process Jun 06 15:50:11 managed-node2 postgres[53063]: 2026-06-06 15:50:11.589 EDT [53063] HINT: Future log output will appear in directory "log". Jun 06 15:50:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:50:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:50:33 managed-node2 systemd[1]: postgresql.service: Killing process 53064 (postgres) with signal SIGKILL. Jun 06 15:50:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:50:33 managed-node2 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 06 June 2026 15:50:35 -0400 (0:00:00.329) 0:03:18.285 ********* =============================================================================== fedora.linux_system_roles.postgresql : Ensure required packages are installed -- 30.11s /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Test - database is accessible for super user using Unix socket --------- 15.93s /tmp/collections-4uA/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.76s /tmp/collections-4uA/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.75s /tmp/collections-4uA/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-4uA/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.72s /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Gather the package facts --------- 7.12s /tmp/collections-4uA/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.23s /tmp/collections-4uA/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.22s /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Uninstall postgresql ---------------------------------------------------- 4.63s /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.62s /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.61s /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.61s /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.60s /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Restart postgresql --------------- 4.56s /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf --- 3.46s /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 fedora.linux_system_roles.postgresql : Create postgresql directory in /etc --- 1.83s /tmp/collections-4uA/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-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 fedora.linux_system_roles.postgresql : Record role success fingerprint --- 1.66s /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Remove config files ----------------------------------------------------- 1.31s /tmp/collections-4uA/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32