ansible-playbook [core 2.16.18] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-flB executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', 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 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-flB/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-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 13 June 2026 15:51:10 -0400 (0:00:00.017) 0:00:00.017 ********* ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 13 June 2026 15:51:11 -0400 (0:00:00.987) 0:00:01.005 ********* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Install and cleanup default version] ************************************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 13 June 2026 15:51:11 -0400 (0:00:00.005) 0:00:01.010 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 13 June 2026 15:51:11 -0400 (0:00:00.033) 0:00:01.044 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 13 June 2026 15:51:11 -0400 (0:00:00.036) 0:00:01.080 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 13 June 2026 15:51:11 -0400 (0:00:00.000) 0:00:01.081 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 13 June 2026 15:51:11 -0400 (0:00:00.014) 0:00:01.096 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 13 June 2026 15:51:11 -0400 (0:00:00.073) 0:00:01.170 ********* included: /tmp/collections-flB/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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 13 June 2026 15:51:11 -0400 (0:00:00.023) 0:00:01.193 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 13 June 2026 15:51:12 -0400 (0:00:00.720) 0:00:01.914 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 13 June 2026 15:51:12 -0400 (0:00:00.390) 0:00:02.305 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 13 June 2026 15:51:12 -0400 (0:00:00.464) 0:00:02.770 ********* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 13 June 2026 15:51:12 -0400 (0:00:00.019) 0:00:02.789 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007436", "end": "2026-06-13 15:51:13.319387", "failed_when_result": false, "rc": 0, "start": "2026-06-13 15:51:13.311951" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 13 June 2026 15:51:13 -0400 (0:00:00.408) 0:00:03.197 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 13 June 2026 15:51:13 -0400 (0:00:00.027) 0:00:03.224 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 13 June 2026 15:51:13 -0400 (0:00:00.027) 0:00:03.252 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "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-flB/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-flB/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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 13 June 2026 15:51:13 -0400 (0:00:00.058) 0:00:03.310 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 13 June 2026 15:51:13 -0400 (0:00:00.316) 0:00:03.627 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 13 June 2026 15:51:14 -0400 (0:00:00.311) 0:00:03.938 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 13 June 2026 15:51:14 -0400 (0:00:00.294) 0:00:04.233 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 13 June 2026 15:51:15 -0400 (0:00:01.526) 0:00:05.760 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 13 June 2026 15:51:15 -0400 (0:00:00.035) 0:00:05.795 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 13 June 2026 15:51:16 -0400 (0:00:00.037) 0:00:05.832 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 13 June 2026 15:51:16 -0400 (0:00:00.027) 0:00:05.860 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 13 June 2026 15:51:16 -0400 (0:00:00.023) 0:00:05.884 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 13 June 2026 15:51:21 -0400 (0:00:05.851) 0:00:11.735 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.682988", "end": "2026-06-13 15:51:22.873419", "rc": 0, "start": "2026-06-13 15:51:22.190431" } 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 13 June 2026 15:51:22 -0400 (0:00:01.012) 0:00:12.748 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 13 June 2026 15:51:22 -0400 (0:00:00.018) 0:00:12.766 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 13 June 2026 15:51:22 -0400 (0:00:00.016) 0:00:12.783 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 13 June 2026 15:51:22 -0400 (0:00:00.016) 0:00:12.800 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice network.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 13 June 2026 15:51:24 -0400 (0:00:01.169) 0:00:13.969 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.021) 0:00:13.990 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.021) 0:00:14.012 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.023) 0:00:14.036 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.018) 0:00:14.054 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.021) 0:00:14.075 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.034) 0:00:14.110 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.024) 0:00:14.134 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.019) 0:00:14.153 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.018) 0:00:14.172 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.017) 0:00:14.190 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.018) 0:00:14.208 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.017) 0:00:14.226 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.017) 0:00:14.243 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.015) 0:00:14.259 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.016) 0:00:14.276 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.019) 0:00:14.296 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 13 June 2026 15:51:24 -0400 (0:00:00.444) 0:00:14.740 ********* Notification for handler Restart postgresql has been saved. 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 13 June 2026 15:51:25 -0400 (0:00:00.437) 0:00:15.179 ********* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1781380285.3866315-12279-143380247178359/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 13 June 2026 15:51:26 -0400 (0:00:00.802) 0:00:15.981 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 13 June 2026 15:51:26 -0400 (0:00:00.021) 0:00:16.002 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 13 June 2026 15:51:26 -0400 (0:00:00.020) 0:00:16.023 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 13 June 2026 15:51:26 -0400 (0:00:00.315) 0:00:16.339 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 13 June 2026 15:51:26 -0400 (0:00:00.017) 0:00:16.357 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 13 June 2026 15:51:26 -0400 (0:00:00.004) 0:00:16.361 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-13 15:51:24 EDT", "ActiveEnterTimestampMonotonic": "301014703", "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-13 15:51:24 EDT", "AssertTimestampMonotonic": "300968267", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-13 15:51:24 EDT", "ConditionTimestampMonotonic": "300968266", "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": "30217", "ExecMainStartTimestamp": "Sat 2026-06-13 15:51:24 EDT", "ExecMainStartTimestampMonotonic": "300976493", "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-13 15:51:24 EDT] ; stop_time=[n/a] ; pid=30217 ; 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-13 15:51:24 EDT] ; stop_time=[Sat 2026-06-13 15:51:24 EDT] ; pid=30214 ; 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-13 15:51:24 EDT", "InactiveExitTimestampMonotonic": "300969048", "InvocationID": "709cacaac52e48479f182b2ca3b4b304", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30217", "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": "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-13 15:51:24 EDT", "StateChangeTimestampMonotonic": "301014703", "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": "22268", "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-13 15:51:24 EDT", "WatchdogTimestampMonotonic": "301014702", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 13 June 2026 15:51:27 -0400 (0:00:00.868) 0:00:17.230 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007624", "end": "2026-06-13 15:51:27.669977", "rc": 0, "start": "2026-06-13 15:51:27.662353" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 13 June 2026 15:51:27 -0400 (0:00:00.312) 0:00:17.542 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007546", "end": "2026-06-13 15:51:27.975246", "rc": 0, "start": "2026-06-13 15:51:27.967700" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 13 June 2026 15:51:28 -0400 (0:00:00.304) 0:00:17.847 ********* ASYNC OK on managed-node2: jid=j500278806651.31424 ok: [managed-node2] => { "ansible_job_id": "j500278806651.31424", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011510", "end": "2026-06-13 15:51:28.580377", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j500278806651.31424", "start": "2026-06-13 15:51:28.568867", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 13 June 2026 15:51:44 -0400 (0:00:16.100) 0:00:33.947 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009284", "end": "2026-06-13 15:51:44.399853", "rc": 0, "start": "2026-06-13 15:51:44.390569" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 13 June 2026 15:51:44 -0400 (0:00:00.325) 0:00:34.272 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 13 June 2026 15:51:44 -0400 (0:00:00.033) 0:00:34.305 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008506", "end": "2026-06-13 15:51:44.759167", "rc": 0, "start": "2026-06-13 15:51:44.750661" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 13 June 2026 15:51:44 -0400 (0:00:00.325) 0:00:34.631 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 13 June 2026 15:51:44 -0400 (0:00:00.030) 0:00:34.662 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008538", "end": "2026-06-13 15:51:45.101418", "failed_when_result": false, "rc": 0, "start": "2026-06-13 15:51:45.092880" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 13 June 2026 15:51:45 -0400 (0:00:00.320) 0:00:34.983 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 13 June 2026 15:51:45 -0400 (0:00:00.031) 0:00:35.014 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 13 June 2026 15:51:45 -0400 (0:00:00.004) 0:00:35.019 ********* 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-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 13 June 2026 15:51:49 -0400 (0:00:04.392) 0:00:39.411 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 13 June 2026 15:51:49 -0400 (0:00:00.017) 0:00:39.429 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 13 June 2026 15:51:49 -0400 (0:00:00.347) 0:00:39.776 ********* 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-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 13 June 2026 15:51:51 -0400 (0:00:01.194) 0:00:40.971 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006943", "end": "2026-06-13 15:51:51.409237", "rc": 0, "start": "2026-06-13 15:51:51.402294" } STDOUT: -- Logs begin at Sat 2026-06-13 15:46:23 EDT, end at Sat 2026-06-13 15:51:51 EDT. -- Jun 13 15:49:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:49:50 managed-node2 postmaster[10433]: 2026-06-13 15:49:50.596 EDT [10433] LOG: redirecting log output to logging collector process Jun 13 15:49:50 managed-node2 postmaster[10433]: 2026-06-13 15:49:50.596 EDT [10433] HINT: Future log output will appear in directory "log". Jun 13 15:49:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:49:57 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:49:57 managed-node2 systemd[1]: postgresql.service: Killing process 10434 (postmaster) with signal SIGKILL. Jun 13 15:49:57 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:49:57 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:49:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:49:57 managed-node2 postmaster[12696]: 2026-06-13 15:49:57.786 EDT [12696] LOG: redirecting log output to logging collector process Jun 13 15:49:57 managed-node2 postmaster[12696]: 2026-06-13 15:49:57.786 EDT [12696] HINT: Future log output will appear in directory "log". Jun 13 15:49:57 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:01 managed-node2 systemd[1]: postgresql.service: Killing process 12697 (postmaster) with signal SIGKILL. Jun 13 15:50:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:31 managed-node2 postmaster[19319]: 2026-06-13 15:50:31.046 EDT [19319] LOG: redirecting log output to logging collector process Jun 13 15:50:31 managed-node2 postmaster[19319]: 2026-06-13 15:50:31.046 EDT [19319] HINT: Future log output will appear in directory "log". Jun 13 15:50:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:36 managed-node2 systemd[1]: postgresql.service: Killing process 19320 (postmaster) with signal SIGKILL. Jun 13 15:50:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:36 managed-node2 postmaster[20859]: 2026-06-13 15:50:36.258 EDT [20859] LOG: redirecting log output to logging collector process Jun 13 15:50:36 managed-node2 postmaster[20859]: 2026-06-13 15:50:36.258 EDT [20859] HINT: Future log output will appear in directory "log". Jun 13 15:50:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:41 managed-node2 systemd[1]: postgresql.service: Killing process 20861 (postmaster) with signal SIGKILL. Jun 13 15:50:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:58 managed-node2 postmaster[25235]: 2026-06-13 15:50:58.784 EDT [25235] LOG: redirecting log output to logging collector process Jun 13 15:50:58 managed-node2 postmaster[25235]: 2026-06-13 15:50:58.784 EDT [25235] HINT: Future log output will appear in directory "log". Jun 13 15:50:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:01 managed-node2 systemd[1]: postgresql.service: Killing process 25236 (postmaster) with signal SIGKILL. Jun 13 15:51:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:02 managed-node2 postmaster[25974]: 2026-06-13 15:51:02.027 EDT [25974] LOG: redirecting log output to logging collector process Jun 13 15:51:02 managed-node2 postmaster[25974]: 2026-06-13 15:51:02.027 EDT [25974] HINT: Future log output will appear in directory "log". Jun 13 15:51:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:05 managed-node2 systemd[1]: postgresql.service: Killing process 25976 (postmaster) with signal SIGKILL. Jun 13 15:51:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:24 managed-node2 postmaster[30217]: 2026-06-13 15:51:24.068 EDT [30217] LOG: redirecting log output to logging collector process Jun 13 15:51:24 managed-node2 postmaster[30217]: 2026-06-13 15:51:24.068 EDT [30217] HINT: Future log output will appear in directory "log". Jun 13 15:51:24 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:27 managed-node2 systemd[1]: postgresql.service: Killing process 30218 (postmaster) with signal SIGKILL. Jun 13 15:51:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:27 managed-node2 postmaster[31025]: 2026-06-13 15:51:27.331 EDT [31025] LOG: redirecting log output to logging collector process Jun 13 15:51:27 managed-node2 postmaster[31025]: 2026-06-13 15:51:27.331 EDT [31025] HINT: Future log output will appear in directory "log". Jun 13 15:51:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:48 managed-node2 systemd[1]: postgresql.service: Killing process 31026 (postmaster) with signal SIGKILL. Jun 13 15:51:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 13 June 2026 15:51:51 -0400 (0:00:00.312) 0:00:41.283 ********* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 13 June 2026 15:51:51 -0400 (0:00:00.011) 0:00:41.295 ********* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 13 June 2026 15:51:51 -0400 (0:00:00.024) 0:00:41.319 ********* skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item != __default_version", "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 13 June 2026 15:51:51 -0400 (0:00:00.086) 0:00:41.406 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 13 June 2026 15:51:51 -0400 (0:00:00.027) 0:00:41.434 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 13 June 2026 15:51:51 -0400 (0:00:00.000) 0:00:41.435 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 13 June 2026 15:51:51 -0400 (0:00:00.015) 0:00:41.450 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 13 June 2026 15:51:51 -0400 (0:00:00.038) 0:00:41.489 ********* included: /tmp/collections-flB/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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 13 June 2026 15:51:51 -0400 (0:00:00.022) 0:00:41.511 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 13 June 2026 15:51:52 -0400 (0:00:00.730) 0:00:42.242 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 13 June 2026 15:51:52 -0400 (0:00:00.292) 0:00:42.534 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 13 June 2026 15:51:52 -0400 (0:00:00.016) 0:00:42.550 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 13 June 2026 15:51:52 -0400 (0:00:00.015) 0:00:42.565 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 13 June 2026 15:51:52 -0400 (0:00:00.013) 0:00:42.579 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 13 June 2026 15:51:52 -0400 (0:00:00.014) 0:00:42.593 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 13 June 2026 15:51:52 -0400 (0:00:00.014) 0:00:42.608 ********* [WARNING]: TASK: fedora.linux_system_roles.postgresql : Set platform/version specific variables: 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, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "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-flB/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-flB/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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 13 June 2026 15:51:52 -0400 (0:00:00.036) 0:00:42.644 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 13 June 2026 15:51:53 -0400 (0:00:00.289) 0:00:42.934 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 13 June 2026 15:51:53 -0400 (0:00:00.292) 0:00:43.226 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 13 June 2026 15:51:53 -0400 (0:00:00.290) 0:00:43.517 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 13 June 2026 15:51:55 -0400 (0:00:01.321) 0:00:44.838 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 13 June 2026 15:51:55 -0400 (0:00:00.026) 0:00:44.864 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 13 June 2026 15:51:55 -0400 (0:00:00.082) 0:00:44.947 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 13 June 2026 15:51:55 -0400 (0:00:00.023) 0:00:44.971 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 13 June 2026 15:51:55 -0400 (0:00:00.018) 0:00:44.989 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 13 June 2026 15:52:01 -0400 (0:00:06.450) 0:00:51.439 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.678893", "end": "2026-06-13 15:52:02.577671", "rc": 0, "start": "2026-06-13 15:52:01.898778" } 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 13 June 2026 15:52:02 -0400 (0:00:01.011) 0:00:52.451 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 13 June 2026 15:52:02 -0400 (0:00:00.018) 0:00:52.470 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 13 June 2026 15:52:02 -0400 (0:00:00.016) 0:00:52.486 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 13 June 2026 15:52:02 -0400 (0:00:00.016) 0:00:52.503 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target network-online.target basic.target system.slice 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/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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.974) 0:00:53.477 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.020) 0:00:53.497 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.019) 0:00:53.516 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.020) 0:00:53.537 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.016) 0:00:53.553 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.019) 0:00:53.572 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.028) 0:00:53.601 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.016) 0:00:53.617 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.016) 0:00:53.633 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.016) 0:00:53.650 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.017) 0:00:53.667 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.016) 0:00:53.683 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.016) 0:00:53.700 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.016) 0:00:53.716 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.015) 0:00:53.732 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.014) 0:00:53.747 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 13 June 2026 15:52:03 -0400 (0:00:00.018) 0:00:53.766 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 13 June 2026 15:52:04 -0400 (0:00:00.315) 0:00:54.082 ********* Notification for handler Restart postgresql has been saved. 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 13 June 2026 15:52:04 -0400 (0:00:00.315) 0:00:54.397 ********* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1781380324.6035976-12811-150359623118193/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 13 June 2026 15:52:05 -0400 (0:00:00.620) 0:00:55.017 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 13 June 2026 15:52:05 -0400 (0:00:00.020) 0:00:55.038 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 13 June 2026 15:52:05 -0400 (0:00:00.019) 0:00:55.057 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 13 June 2026 15:52:05 -0400 (0:00:00.312) 0:00:55.370 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 13 June 2026 15:52:05 -0400 (0:00:00.018) 0:00:55.388 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 13 June 2026 15:52:05 -0400 (0:00:00.004) 0:00:55.393 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-13 15:52:03 EDT", "ActiveEnterTimestampMonotonic": "340522622", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target basic.target system.slice sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-13 15:52:03 EDT", "AssertTimestampMonotonic": "340471185", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-13 15:52:03 EDT", "ConditionTimestampMonotonic": "340471184", "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": "35871", "ExecMainStartTimestamp": "Sat 2026-06-13 15:52:03 EDT", "ExecMainStartTimestampMonotonic": "340478817", "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-13 15:52:03 EDT] ; stop_time=[n/a] ; pid=35871 ; 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-13 15:52:03 EDT] ; stop_time=[Sat 2026-06-13 15:52:03 EDT] ; pid=35868 ; 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-13 15:52:03 EDT", "InactiveExitTimestampMonotonic": "340471881", "InvocationID": "4d83a0f5239a47fe86783992fc373964", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35871", "MemoryAccounting": "yes", "MemoryCurrent": "18612224", "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-13 15:52:03 EDT", "StateChangeTimestampMonotonic": "340522622", "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": "22268", "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-13 15:52:03 EDT", "WatchdogTimestampMonotonic": "340522620", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 13 June 2026 15:52:06 -0400 (0:00:00.875) 0:00:56.269 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007348", "end": "2026-06-13 15:52:06.710222", "rc": 0, "start": "2026-06-13 15:52:06.702874" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 13 June 2026 15:52:06 -0400 (0:00:00.313) 0:00:56.582 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008113", "end": "2026-06-13 15:52:07.019654", "rc": 0, "start": "2026-06-13 15:52:07.011541" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 13 June 2026 15:52:07 -0400 (0:00:00.309) 0:00:56.892 ********* ASYNC OK on managed-node2: jid=j530214581099.37077 ok: [managed-node2] => { "ansible_job_id": "j530214581099.37077", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011467", "end": "2026-06-13 15:52:07.538758", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j530214581099.37077", "start": "2026-06-13 15:52:07.527291", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 13 June 2026 15:52:22 -0400 (0:00:15.912) 0:01:12.805 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008685", "end": "2026-06-13 15:52:23.254000", "rc": 0, "start": "2026-06-13 15:52:23.245315" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 13 June 2026 15:52:23 -0400 (0:00:00.324) 0:01:13.130 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 13 June 2026 15:52:23 -0400 (0:00:00.030) 0:01:13.160 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008861", "end": "2026-06-13 15:52:23.609614", "rc": 0, "start": "2026-06-13 15:52:23.600753" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 13 June 2026 15:52:23 -0400 (0:00:00.321) 0:01:13.481 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 13 June 2026 15:52:23 -0400 (0:00:00.030) 0:01:13.512 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008223", "end": "2026-06-13 15:52:23.946751", "failed_when_result": false, "rc": 0, "start": "2026-06-13 15:52:23.938528" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 13 June 2026 15:52:24 -0400 (0:00:00.335) 0:01:13.847 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 13 June 2026 15:52:24 -0400 (0:00:00.030) 0:01:13.878 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 13 June 2026 15:52:24 -0400 (0:00:00.004) 0:01:13.882 ********* 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-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 13 June 2026 15:52:28 -0400 (0:00:04.402) 0:01:18.285 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 13 June 2026 15:52:28 -0400 (0:00:00.019) 0:01:18.304 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 13 June 2026 15:52:28 -0400 (0:00:00.348) 0:01:18.652 ********* [WARNING]: TASK: Remove config files: 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-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 13 June 2026 15:52:30 -0400 (0:00:01.184) 0:01:19.837 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006526", "end": "2026-06-13 15:52:30.272292", "rc": 0, "start": "2026-06-13 15:52:30.265766" } STDOUT: -- Logs begin at Sat 2026-06-13 15:46:23 EDT, end at Sat 2026-06-13 15:52:30 EDT. -- Jun 13 15:49:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:49:50 managed-node2 postmaster[10433]: 2026-06-13 15:49:50.596 EDT [10433] LOG: redirecting log output to logging collector process Jun 13 15:49:50 managed-node2 postmaster[10433]: 2026-06-13 15:49:50.596 EDT [10433] HINT: Future log output will appear in directory "log". Jun 13 15:49:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:49:57 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:49:57 managed-node2 systemd[1]: postgresql.service: Killing process 10434 (postmaster) with signal SIGKILL. Jun 13 15:49:57 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:49:57 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:49:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:49:57 managed-node2 postmaster[12696]: 2026-06-13 15:49:57.786 EDT [12696] LOG: redirecting log output to logging collector process Jun 13 15:49:57 managed-node2 postmaster[12696]: 2026-06-13 15:49:57.786 EDT [12696] HINT: Future log output will appear in directory "log". Jun 13 15:49:57 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:01 managed-node2 systemd[1]: postgresql.service: Killing process 12697 (postmaster) with signal SIGKILL. Jun 13 15:50:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:31 managed-node2 postmaster[19319]: 2026-06-13 15:50:31.046 EDT [19319] LOG: redirecting log output to logging collector process Jun 13 15:50:31 managed-node2 postmaster[19319]: 2026-06-13 15:50:31.046 EDT [19319] HINT: Future log output will appear in directory "log". Jun 13 15:50:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:36 managed-node2 systemd[1]: postgresql.service: Killing process 19320 (postmaster) with signal SIGKILL. Jun 13 15:50:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:36 managed-node2 postmaster[20859]: 2026-06-13 15:50:36.258 EDT [20859] LOG: redirecting log output to logging collector process Jun 13 15:50:36 managed-node2 postmaster[20859]: 2026-06-13 15:50:36.258 EDT [20859] HINT: Future log output will appear in directory "log". Jun 13 15:50:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:41 managed-node2 systemd[1]: postgresql.service: Killing process 20861 (postmaster) with signal SIGKILL. Jun 13 15:50:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:58 managed-node2 postmaster[25235]: 2026-06-13 15:50:58.784 EDT [25235] LOG: redirecting log output to logging collector process Jun 13 15:50:58 managed-node2 postmaster[25235]: 2026-06-13 15:50:58.784 EDT [25235] HINT: Future log output will appear in directory "log". Jun 13 15:50:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:01 managed-node2 systemd[1]: postgresql.service: Killing process 25236 (postmaster) with signal SIGKILL. Jun 13 15:51:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:02 managed-node2 postmaster[25974]: 2026-06-13 15:51:02.027 EDT [25974] LOG: redirecting log output to logging collector process Jun 13 15:51:02 managed-node2 postmaster[25974]: 2026-06-13 15:51:02.027 EDT [25974] HINT: Future log output will appear in directory "log". Jun 13 15:51:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:05 managed-node2 systemd[1]: postgresql.service: Killing process 25976 (postmaster) with signal SIGKILL. Jun 13 15:51:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:24 managed-node2 postmaster[30217]: 2026-06-13 15:51:24.068 EDT [30217] LOG: redirecting log output to logging collector process Jun 13 15:51:24 managed-node2 postmaster[30217]: 2026-06-13 15:51:24.068 EDT [30217] HINT: Future log output will appear in directory "log". Jun 13 15:51:24 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:27 managed-node2 systemd[1]: postgresql.service: Killing process 30218 (postmaster) with signal SIGKILL. Jun 13 15:51:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:27 managed-node2 postmaster[31025]: 2026-06-13 15:51:27.331 EDT [31025] LOG: redirecting log output to logging collector process Jun 13 15:51:27 managed-node2 postmaster[31025]: 2026-06-13 15:51:27.331 EDT [31025] HINT: Future log output will appear in directory "log". Jun 13 15:51:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:48 managed-node2 systemd[1]: postgresql.service: Killing process 31026 (postmaster) with signal SIGKILL. Jun 13 15:51:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:03 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:03 managed-node2 postgres[35871]: 2026-06-13 15:52:03.575 EDT [35871] LOG: redirecting log output to logging collector process Jun 13 15:52:03 managed-node2 postgres[35871]: 2026-06-13 15:52:03.575 EDT [35871] HINT: Future log output will appear in directory "log". Jun 13 15:52:03 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:52:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:52:06 managed-node2 systemd[1]: postgresql.service: Killing process 35872 (postgres) with signal SIGKILL. Jun 13 15:52:06 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:52:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:06 managed-node2 postgres[36678]: 2026-06-13 15:52:06.367 EDT [36678] LOG: redirecting log output to logging collector process Jun 13 15:52:06 managed-node2 postgres[36678]: 2026-06-13 15:52:06.367 EDT [36678] HINT: Future log output will appear in directory "log". Jun 13 15:52:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:52:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:52:27 managed-node2 systemd[1]: postgresql.service: Killing process 36680 (postgres) with signal SIGKILL. Jun 13 15:52:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:52:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 13 June 2026 15:52:30 -0400 (0:00:00.308) 0:01:20.146 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 13 June 2026 15:52:30 -0400 (0:00:00.029) 0:01:20.175 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 13 June 2026 15:52:30 -0400 (0:00:00.000) 0:01:20.176 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 13 June 2026 15:52:30 -0400 (0:00:00.016) 0:01:20.193 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 13 June 2026 15:52:30 -0400 (0:00:00.041) 0:01:20.234 ********* included: /tmp/collections-flB/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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 13 June 2026 15:52:30 -0400 (0:00:00.023) 0:01:20.258 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 13 June 2026 15:52:31 -0400 (0:00:00.733) 0:01:20.992 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 13 June 2026 15:52:31 -0400 (0:00:00.296) 0:01:21.289 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 13 June 2026 15:52:31 -0400 (0:00:00.017) 0:01:21.306 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 13 June 2026 15:52:31 -0400 (0:00:00.017) 0:01:21.324 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 13 June 2026 15:52:31 -0400 (0:00:00.016) 0:01:21.341 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 13 June 2026 15:52:31 -0400 (0:00:00.017) 0:01:21.359 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 13 June 2026 15:52:31 -0400 (0:00:00.017) 0:01:21.377 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "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-flB/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-flB/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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 13 June 2026 15:52:31 -0400 (0:00:00.039) 0:01:21.417 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 13 June 2026 15:52:31 -0400 (0:00:00.297) 0:01:21.714 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 13 June 2026 15:52:32 -0400 (0:00:00.298) 0:01:22.013 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 13 June 2026 15:52:32 -0400 (0:00:00.296) 0:01:22.310 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 13 June 2026 15:52:33 -0400 (0:00:01.301) 0:01:23.611 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 13 June 2026 15:52:33 -0400 (0:00:00.028) 0:01:23.640 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 13 June 2026 15:52:33 -0400 (0:00:00.024) 0:01:23.665 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 13 June 2026 15:52:33 -0400 (0:00:00.026) 0:01:23.691 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 13 June 2026 15:52:33 -0400 (0:00:00.020) 0:01:23.712 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 13 June 2026 15:52:40 -0400 (0:00:06.213) 0:01:29.926 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.681243", "end": "2026-06-13 15:52:41.068382", "rc": 0, "start": "2026-06-13 15:52:40.387139" } 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 13 June 2026 15:52:41 -0400 (0:00:01.015) 0:01:30.941 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 13 June 2026 15:52:41 -0400 (0:00:00.020) 0:01:30.962 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 13 June 2026 15:52:41 -0400 (0:00:00.017) 0:01:30.980 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 13 June 2026 15:52:41 -0400 (0:00:00.017) 0:01:30.998 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target systemd-journald.socket network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.981) 0:01:31.980 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.022) 0:01:32.002 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.020) 0:01:32.022 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.019) 0:01:32.042 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.016) 0:01:32.058 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.020) 0:01:32.079 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.027) 0:01:32.107 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.017) 0:01:32.124 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.018) 0:01:32.143 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.017) 0:01:32.160 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.017) 0:01:32.178 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.017) 0:01:32.196 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.050) 0:01:32.247 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.018) 0:01:32.265 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.016) 0:01:32.282 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.016) 0:01:32.298 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.021) 0:01:32.320 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 13 June 2026 15:52:42 -0400 (0:00:00.311) 0:01:32.632 ********* Notification for handler Restart postgresql has been saved. 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 13 June 2026 15:52:43 -0400 (0:00:00.311) 0:01:32.943 ********* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1781380363.1513636-13217-150104780160310/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 13 June 2026 15:52:43 -0400 (0:00:00.623) 0:01:33.566 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 13 June 2026 15:52:43 -0400 (0:00:00.023) 0:01:33.590 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 13 June 2026 15:52:43 -0400 (0:00:00.020) 0:01:33.610 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 13 June 2026 15:52:44 -0400 (0:00:00.306) 0:01:33.917 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 13 June 2026 15:52:44 -0400 (0:00:00.019) 0:01:33.937 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 13 June 2026 15:52:44 -0400 (0:00:00.004) 0:01:33.942 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-13 15:52:42 EDT", "ActiveEnterTimestampMonotonic": "379026404", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target basic.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-13 15:52:42 EDT", "AssertTimestampMonotonic": "378979388", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-13 15:52:42 EDT", "ConditionTimestampMonotonic": "378979387", "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": "41527", "ExecMainStartTimestamp": "Sat 2026-06-13 15:52:42 EDT", "ExecMainStartTimestampMonotonic": "378987652", "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-13 15:52:42 EDT] ; stop_time=[n/a] ; pid=41527 ; 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-13 15:52:42 EDT] ; stop_time=[Sat 2026-06-13 15:52:42 EDT] ; pid=41524 ; 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-13 15:52:42 EDT", "InactiveExitTimestampMonotonic": "378980195", "InvocationID": "8229467564c84dcd84899a656e8a97ff", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41527", "MemoryAccounting": "yes", "MemoryCurrent": "18407424", "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-13 15:52:42 EDT", "StateChangeTimestampMonotonic": "379026404", "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": "22268", "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-13 15:52:42 EDT", "WatchdogTimestampMonotonic": "379026403", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 13 June 2026 15:52:44 -0400 (0:00:00.875) 0:01:34.817 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007039", "end": "2026-06-13 15:52:45.258522", "rc": 0, "start": "2026-06-13 15:52:45.251483" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 13 June 2026 15:52:45 -0400 (0:00:00.313) 0:01:35.131 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008126", "end": "2026-06-13 15:52:45.572797", "rc": 0, "start": "2026-06-13 15:52:45.564671" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 13 June 2026 15:52:45 -0400 (0:00:00.314) 0:01:35.446 ********* ASYNC OK on managed-node2: jid=j584267368827.42732 ok: [managed-node2] => { "ansible_job_id": "j584267368827.42732", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011504", "end": "2026-06-13 15:52:46.095640", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j584267368827.42732", "start": "2026-06-13 15:52:46.084136", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 13 June 2026 15:53:01 -0400 (0:00:15.927) 0:01:51.373 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008879", "end": "2026-06-13 15:53:01.827894", "rc": 0, "start": "2026-06-13 15:53:01.819015" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 13 June 2026 15:53:01 -0400 (0:00:00.328) 0:01:51.702 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 13 June 2026 15:53:01 -0400 (0:00:00.034) 0:01:51.736 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008981", "end": "2026-06-13 15:53:02.192591", "rc": 0, "start": "2026-06-13 15:53:02.183610" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 13 June 2026 15:53:02 -0400 (0:00:00.332) 0:01:52.068 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 13 June 2026 15:53:02 -0400 (0:00:00.033) 0:01:52.101 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008327", "end": "2026-06-13 15:53:02.542622", "failed_when_result": false, "rc": 0, "start": "2026-06-13 15:53:02.534295" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 13 June 2026 15:53:02 -0400 (0:00:00.319) 0:01:52.420 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 13 June 2026 15:53:02 -0400 (0:00:00.034) 0:01:52.455 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 13 June 2026 15:53:02 -0400 (0:00:00.005) 0:01:52.460 ********* 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-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 13 June 2026 15:53:07 -0400 (0:00:04.439) 0:01:56.899 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 13 June 2026 15:53:07 -0400 (0:00:00.017) 0:01:56.917 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 13 June 2026 15:53:07 -0400 (0:00:00.351) 0:01:57.268 ********* 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-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 13 June 2026 15:53:08 -0400 (0:00:01.194) 0:01:58.463 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006804", "end": "2026-06-13 15:53:08.899181", "rc": 0, "start": "2026-06-13 15:53:08.892377" } STDOUT: -- Logs begin at Sat 2026-06-13 15:46:23 EDT, end at Sat 2026-06-13 15:53:08 EDT. -- Jun 13 15:49:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:49:50 managed-node2 postmaster[10433]: 2026-06-13 15:49:50.596 EDT [10433] LOG: redirecting log output to logging collector process Jun 13 15:49:50 managed-node2 postmaster[10433]: 2026-06-13 15:49:50.596 EDT [10433] HINT: Future log output will appear in directory "log". Jun 13 15:49:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:49:57 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:49:57 managed-node2 systemd[1]: postgresql.service: Killing process 10434 (postmaster) with signal SIGKILL. Jun 13 15:49:57 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:49:57 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:49:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:49:57 managed-node2 postmaster[12696]: 2026-06-13 15:49:57.786 EDT [12696] LOG: redirecting log output to logging collector process Jun 13 15:49:57 managed-node2 postmaster[12696]: 2026-06-13 15:49:57.786 EDT [12696] HINT: Future log output will appear in directory "log". Jun 13 15:49:57 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:01 managed-node2 systemd[1]: postgresql.service: Killing process 12697 (postmaster) with signal SIGKILL. Jun 13 15:50:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:31 managed-node2 postmaster[19319]: 2026-06-13 15:50:31.046 EDT [19319] LOG: redirecting log output to logging collector process Jun 13 15:50:31 managed-node2 postmaster[19319]: 2026-06-13 15:50:31.046 EDT [19319] HINT: Future log output will appear in directory "log". Jun 13 15:50:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:36 managed-node2 systemd[1]: postgresql.service: Killing process 19320 (postmaster) with signal SIGKILL. Jun 13 15:50:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:36 managed-node2 postmaster[20859]: 2026-06-13 15:50:36.258 EDT [20859] LOG: redirecting log output to logging collector process Jun 13 15:50:36 managed-node2 postmaster[20859]: 2026-06-13 15:50:36.258 EDT [20859] HINT: Future log output will appear in directory "log". Jun 13 15:50:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:41 managed-node2 systemd[1]: postgresql.service: Killing process 20861 (postmaster) with signal SIGKILL. Jun 13 15:50:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:58 managed-node2 postmaster[25235]: 2026-06-13 15:50:58.784 EDT [25235] LOG: redirecting log output to logging collector process Jun 13 15:50:58 managed-node2 postmaster[25235]: 2026-06-13 15:50:58.784 EDT [25235] HINT: Future log output will appear in directory "log". Jun 13 15:50:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:01 managed-node2 systemd[1]: postgresql.service: Killing process 25236 (postmaster) with signal SIGKILL. Jun 13 15:51:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:02 managed-node2 postmaster[25974]: 2026-06-13 15:51:02.027 EDT [25974] LOG: redirecting log output to logging collector process Jun 13 15:51:02 managed-node2 postmaster[25974]: 2026-06-13 15:51:02.027 EDT [25974] HINT: Future log output will appear in directory "log". Jun 13 15:51:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:05 managed-node2 systemd[1]: postgresql.service: Killing process 25976 (postmaster) with signal SIGKILL. Jun 13 15:51:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:24 managed-node2 postmaster[30217]: 2026-06-13 15:51:24.068 EDT [30217] LOG: redirecting log output to logging collector process Jun 13 15:51:24 managed-node2 postmaster[30217]: 2026-06-13 15:51:24.068 EDT [30217] HINT: Future log output will appear in directory "log". Jun 13 15:51:24 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:27 managed-node2 systemd[1]: postgresql.service: Killing process 30218 (postmaster) with signal SIGKILL. Jun 13 15:51:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:27 managed-node2 postmaster[31025]: 2026-06-13 15:51:27.331 EDT [31025] LOG: redirecting log output to logging collector process Jun 13 15:51:27 managed-node2 postmaster[31025]: 2026-06-13 15:51:27.331 EDT [31025] HINT: Future log output will appear in directory "log". Jun 13 15:51:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:48 managed-node2 systemd[1]: postgresql.service: Killing process 31026 (postmaster) with signal SIGKILL. Jun 13 15:51:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:03 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:03 managed-node2 postgres[35871]: 2026-06-13 15:52:03.575 EDT [35871] LOG: redirecting log output to logging collector process Jun 13 15:52:03 managed-node2 postgres[35871]: 2026-06-13 15:52:03.575 EDT [35871] HINT: Future log output will appear in directory "log". Jun 13 15:52:03 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:52:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:52:06 managed-node2 systemd[1]: postgresql.service: Killing process 35872 (postgres) with signal SIGKILL. Jun 13 15:52:06 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:52:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:06 managed-node2 postgres[36678]: 2026-06-13 15:52:06.367 EDT [36678] LOG: redirecting log output to logging collector process Jun 13 15:52:06 managed-node2 postgres[36678]: 2026-06-13 15:52:06.367 EDT [36678] HINT: Future log output will appear in directory "log". Jun 13 15:52:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:52:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:52:27 managed-node2 systemd[1]: postgresql.service: Killing process 36680 (postgres) with signal SIGKILL. Jun 13 15:52:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:52:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:42 managed-node2 postmaster[41527]: 2026-06-13 15:52:42.080 EDT [41527] LOG: redirecting log output to logging collector process Jun 13 15:52:42 managed-node2 postmaster[41527]: 2026-06-13 15:52:42.080 EDT [41527] HINT: Future log output will appear in directory "log". Jun 13 15:52:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:52:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:52:44 managed-node2 systemd[1]: postgresql.service: Killing process 41528 (postmaster) with signal SIGKILL. Jun 13 15:52:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:52:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:44 managed-node2 postmaster[42333]: 2026-06-13 15:52:44.915 EDT [42333] LOG: redirecting log output to logging collector process Jun 13 15:52:44 managed-node2 postmaster[42333]: 2026-06-13 15:52:44.915 EDT [42333] HINT: Future log output will appear in directory "log". Jun 13 15:52:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:53:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:53:06 managed-node2 systemd[1]: postgresql.service: Killing process 42335 (postmaster) with signal SIGKILL. Jun 13 15:53:06 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:53:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 13 June 2026 15:53:08 -0400 (0:00:00.308) 0:01:58.771 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 13 June 2026 15:53:08 -0400 (0:00:00.029) 0:01:58.801 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 13 June 2026 15:53:08 -0400 (0:00:00.001) 0:01:58.802 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 13 June 2026 15:53:08 -0400 (0:00:00.016) 0:01:58.818 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 13 June 2026 15:53:09 -0400 (0:00:00.040) 0:01:58.859 ********* included: /tmp/collections-flB/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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 13 June 2026 15:53:09 -0400 (0:00:00.024) 0:01:58.883 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 13 June 2026 15:53:09 -0400 (0:00:00.741) 0:01:59.625 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 13 June 2026 15:53:10 -0400 (0:00:00.299) 0:01:59.924 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 13 June 2026 15:53:10 -0400 (0:00:00.016) 0:01:59.940 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 13 June 2026 15:53:10 -0400 (0:00:00.016) 0:01:59.957 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 13 June 2026 15:53:10 -0400 (0:00:00.015) 0:01:59.973 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 13 June 2026 15:53:10 -0400 (0:00:00.016) 0:01:59.989 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 13 June 2026 15:53:10 -0400 (0:00:00.016) 0:02:00.005 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "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-flB/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-flB/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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 13 June 2026 15:53:10 -0400 (0:00:00.038) 0:02:00.044 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 13 June 2026 15:53:10 -0400 (0:00:00.293) 0:02:00.337 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 13 June 2026 15:53:10 -0400 (0:00:00.295) 0:02:00.633 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 13 June 2026 15:53:11 -0400 (0:00:00.294) 0:02:00.928 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 13 June 2026 15:53:12 -0400 (0:00:01.319) 0:02:02.247 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 13 June 2026 15:53:12 -0400 (0:00:00.026) 0:02:02.274 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 13 June 2026 15:53:12 -0400 (0:00:00.080) 0:02:02.355 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 13 June 2026 15:53:12 -0400 (0:00:00.024) 0:02:02.379 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 13 June 2026 15:53:12 -0400 (0:00:00.019) 0:02:02.399 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 13 June 2026 15:53:18 -0400 (0:00:06.136) 0:02:08.535 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.697110", "end": "2026-06-13 15:53:19.684368", "rc": 0, "start": "2026-06-13 15:53:18.987258" } 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 13 June 2026 15:53:19 -0400 (0:00:01.023) 0:02:09.558 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 13 June 2026 15:53:19 -0400 (0:00:00.019) 0:02:09.578 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 13 June 2026 15:53:19 -0400 (0:00:00.017) 0:02:09.595 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 13 June 2026 15:53:19 -0400 (0:00:00.016) 0:02:09.612 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target sysinit.target network.target system.slice 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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.970) 0:02:10.583 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.020) 0:02:10.603 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.019) 0:02:10.623 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.019) 0:02:10.643 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.015) 0:02:10.658 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.018) 0:02:10.677 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.028) 0:02:10.705 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.016) 0:02:10.722 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.016) 0:02:10.738 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.016) 0:02:10.755 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.018) 0:02:10.773 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.017) 0:02:10.790 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.017) 0:02:10.808 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 13 June 2026 15:53:20 -0400 (0:00:00.016) 0:02:10.824 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 13 June 2026 15:53:21 -0400 (0:00:00.016) 0:02:10.841 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 13 June 2026 15:53:21 -0400 (0:00:00.015) 0:02:10.856 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 13 June 2026 15:53:21 -0400 (0:00:00.018) 0:02:10.875 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 13 June 2026 15:53:21 -0400 (0:00:00.310) 0:02:11.186 ********* Notification for handler Restart postgresql has been saved. 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 13 June 2026 15:53:21 -0400 (0:00:00.314) 0:02:11.500 ********* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1781380401.7070086-13626-184768104684952/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 13 June 2026 15:53:22 -0400 (0:00:00.616) 0:02:12.117 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 13 June 2026 15:53:22 -0400 (0:00:00.020) 0:02:12.138 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 13 June 2026 15:53:22 -0400 (0:00:00.019) 0:02:12.157 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 13 June 2026 15:53:22 -0400 (0:00:00.309) 0:02:12.466 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 13 June 2026 15:53:22 -0400 (0:00:00.017) 0:02:12.484 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 13 June 2026 15:53:22 -0400 (0:00:00.007) 0:02:12.491 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-13 15:53:20 EDT", "ActiveEnterTimestampMonotonic": "417627804", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target system.slice systemd-journald.socket basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-13 15:53:20 EDT", "AssertTimestampMonotonic": "417580575", "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-13 15:53:20 EDT", "ConditionTimestampMonotonic": "417580575", "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": "47171", "ExecMainStartTimestamp": "Sat 2026-06-13 15:53:20 EDT", "ExecMainStartTimestampMonotonic": "417589043", "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-13 15:53:20 EDT] ; stop_time=[n/a] ; pid=47171 ; 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-13 15:53:20 EDT] ; stop_time=[Sat 2026-06-13 15:53:20 EDT] ; pid=47168 ; 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-13 15:53:20 EDT", "InactiveExitTimestampMonotonic": "417581430", "InvocationID": "169331051d6a420a886b5c35f3b81fae", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47171", "MemoryAccounting": "yes", "MemoryCurrent": "17801216", "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-13 15:53:20 EDT", "StateChangeTimestampMonotonic": "417627804", "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": "22268", "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-13 15:53:20 EDT", "WatchdogTimestampMonotonic": "417627802", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 13 June 2026 15:53:23 -0400 (0:00:00.869) 0:02:13.361 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.006800", "end": "2026-06-13 15:53:23.796000", "rc": 0, "start": "2026-06-13 15:53:23.789200" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 13 June 2026 15:53:23 -0400 (0:00:00.305) 0:02:13.667 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007906", "end": "2026-06-13 15:53:24.101307", "rc": 0, "start": "2026-06-13 15:53:24.093401" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 13 June 2026 15:53:24 -0400 (0:00:00.305) 0:02:13.972 ********* ASYNC OK on managed-node2: jid=j213112907663.48378 ok: [managed-node2] => { "ansible_job_id": "j213112907663.48378", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010730", "end": "2026-06-13 15:53:24.615869", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j213112907663.48378", "start": "2026-06-13 15:53:24.605139", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 13 June 2026 15:53:40 -0400 (0:00:15.913) 0:02:29.886 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008673", "end": "2026-06-13 15:53:40.334504", "rc": 0, "start": "2026-06-13 15:53:40.325831" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 13 June 2026 15:53:40 -0400 (0:00:00.321) 0:02:30.208 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 13 June 2026 15:53:40 -0400 (0:00:00.030) 0:02:30.238 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008763", "end": "2026-06-13 15:53:40.686971", "rc": 0, "start": "2026-06-13 15:53:40.678208" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 13 June 2026 15:53:40 -0400 (0:00:00.320) 0:02:30.559 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 13 June 2026 15:53:40 -0400 (0:00:00.030) 0:02:30.590 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008187", "end": "2026-06-13 15:53:41.026952", "failed_when_result": false, "rc": 0, "start": "2026-06-13 15:53:41.018765" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 13 June 2026 15:53:41 -0400 (0:00:00.339) 0:02:30.929 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 13 June 2026 15:53:41 -0400 (0:00:00.030) 0:02:30.960 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 13 June 2026 15:53:41 -0400 (0:00:00.004) 0:02:30.964 ********* 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-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 13 June 2026 15:53:45 -0400 (0:00:04.362) 0:02:35.327 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 13 June 2026 15:53:45 -0400 (0:00:00.017) 0:02:35.344 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 13 June 2026 15:53:45 -0400 (0:00:00.340) 0:02:35.685 ********* 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-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 13 June 2026 15:53:47 -0400 (0:00:01.175) 0:02:36.860 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007137", "end": "2026-06-13 15:53:47.295690", "rc": 0, "start": "2026-06-13 15:53:47.288553" } STDOUT: -- Logs begin at Sat 2026-06-13 15:46:23 EDT, end at Sat 2026-06-13 15:53:47 EDT. -- Jun 13 15:49:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:49:50 managed-node2 postmaster[10433]: 2026-06-13 15:49:50.596 EDT [10433] LOG: redirecting log output to logging collector process Jun 13 15:49:50 managed-node2 postmaster[10433]: 2026-06-13 15:49:50.596 EDT [10433] HINT: Future log output will appear in directory "log". Jun 13 15:49:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:49:57 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:49:57 managed-node2 systemd[1]: postgresql.service: Killing process 10434 (postmaster) with signal SIGKILL. Jun 13 15:49:57 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:49:57 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:49:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:49:57 managed-node2 postmaster[12696]: 2026-06-13 15:49:57.786 EDT [12696] LOG: redirecting log output to logging collector process Jun 13 15:49:57 managed-node2 postmaster[12696]: 2026-06-13 15:49:57.786 EDT [12696] HINT: Future log output will appear in directory "log". Jun 13 15:49:57 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:01 managed-node2 systemd[1]: postgresql.service: Killing process 12697 (postmaster) with signal SIGKILL. Jun 13 15:50:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:31 managed-node2 postmaster[19319]: 2026-06-13 15:50:31.046 EDT [19319] LOG: redirecting log output to logging collector process Jun 13 15:50:31 managed-node2 postmaster[19319]: 2026-06-13 15:50:31.046 EDT [19319] HINT: Future log output will appear in directory "log". Jun 13 15:50:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:36 managed-node2 systemd[1]: postgresql.service: Killing process 19320 (postmaster) with signal SIGKILL. Jun 13 15:50:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:36 managed-node2 postmaster[20859]: 2026-06-13 15:50:36.258 EDT [20859] LOG: redirecting log output to logging collector process Jun 13 15:50:36 managed-node2 postmaster[20859]: 2026-06-13 15:50:36.258 EDT [20859] HINT: Future log output will appear in directory "log". Jun 13 15:50:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:41 managed-node2 systemd[1]: postgresql.service: Killing process 20861 (postmaster) with signal SIGKILL. Jun 13 15:50:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:58 managed-node2 postmaster[25235]: 2026-06-13 15:50:58.784 EDT [25235] LOG: redirecting log output to logging collector process Jun 13 15:50:58 managed-node2 postmaster[25235]: 2026-06-13 15:50:58.784 EDT [25235] HINT: Future log output will appear in directory "log". Jun 13 15:50:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:01 managed-node2 systemd[1]: postgresql.service: Killing process 25236 (postmaster) with signal SIGKILL. Jun 13 15:51:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:02 managed-node2 postmaster[25974]: 2026-06-13 15:51:02.027 EDT [25974] LOG: redirecting log output to logging collector process Jun 13 15:51:02 managed-node2 postmaster[25974]: 2026-06-13 15:51:02.027 EDT [25974] HINT: Future log output will appear in directory "log". Jun 13 15:51:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:05 managed-node2 systemd[1]: postgresql.service: Killing process 25976 (postmaster) with signal SIGKILL. Jun 13 15:51:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:24 managed-node2 postmaster[30217]: 2026-06-13 15:51:24.068 EDT [30217] LOG: redirecting log output to logging collector process Jun 13 15:51:24 managed-node2 postmaster[30217]: 2026-06-13 15:51:24.068 EDT [30217] HINT: Future log output will appear in directory "log". Jun 13 15:51:24 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:27 managed-node2 systemd[1]: postgresql.service: Killing process 30218 (postmaster) with signal SIGKILL. Jun 13 15:51:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:27 managed-node2 postmaster[31025]: 2026-06-13 15:51:27.331 EDT [31025] LOG: redirecting log output to logging collector process Jun 13 15:51:27 managed-node2 postmaster[31025]: 2026-06-13 15:51:27.331 EDT [31025] HINT: Future log output will appear in directory "log". Jun 13 15:51:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:48 managed-node2 systemd[1]: postgresql.service: Killing process 31026 (postmaster) with signal SIGKILL. Jun 13 15:51:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:03 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:03 managed-node2 postgres[35871]: 2026-06-13 15:52:03.575 EDT [35871] LOG: redirecting log output to logging collector process Jun 13 15:52:03 managed-node2 postgres[35871]: 2026-06-13 15:52:03.575 EDT [35871] HINT: Future log output will appear in directory "log". Jun 13 15:52:03 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:52:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:52:06 managed-node2 systemd[1]: postgresql.service: Killing process 35872 (postgres) with signal SIGKILL. Jun 13 15:52:06 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:52:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:06 managed-node2 postgres[36678]: 2026-06-13 15:52:06.367 EDT [36678] LOG: redirecting log output to logging collector process Jun 13 15:52:06 managed-node2 postgres[36678]: 2026-06-13 15:52:06.367 EDT [36678] HINT: Future log output will appear in directory "log". Jun 13 15:52:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:52:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:52:27 managed-node2 systemd[1]: postgresql.service: Killing process 36680 (postgres) with signal SIGKILL. Jun 13 15:52:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:52:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:42 managed-node2 postmaster[41527]: 2026-06-13 15:52:42.080 EDT [41527] LOG: redirecting log output to logging collector process Jun 13 15:52:42 managed-node2 postmaster[41527]: 2026-06-13 15:52:42.080 EDT [41527] HINT: Future log output will appear in directory "log". Jun 13 15:52:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:52:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:52:44 managed-node2 systemd[1]: postgresql.service: Killing process 41528 (postmaster) with signal SIGKILL. Jun 13 15:52:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:52:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:44 managed-node2 postmaster[42333]: 2026-06-13 15:52:44.915 EDT [42333] LOG: redirecting log output to logging collector process Jun 13 15:52:44 managed-node2 postmaster[42333]: 2026-06-13 15:52:44.915 EDT [42333] HINT: Future log output will appear in directory "log". Jun 13 15:52:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:53:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:53:06 managed-node2 systemd[1]: postgresql.service: Killing process 42335 (postmaster) with signal SIGKILL. Jun 13 15:53:06 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:53:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:53:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.671 EDT [47171] 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 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.672 EDT [47171] LOG: listening on IPv6 address "::1", port 5432 Jun 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.672 EDT [47171] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.674 EDT [47171] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.678 EDT [47171] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.688 EDT [47171] LOG: redirecting log output to logging collector process Jun 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.688 EDT [47171] HINT: Future log output will appear in directory "log". Jun 13 15:53:20 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:53:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:53:23 managed-node2 systemd[1]: postgresql.service: Killing process 47172 (postmaster) with signal SIGKILL. Jun 13 15:53:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:53:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:53:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.433 EDT [47978] 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 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.434 EDT [47978] LOG: listening on IPv6 address "::1", port 5432 Jun 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.434 EDT [47978] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.436 EDT [47978] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.439 EDT [47978] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.466 EDT [47978] LOG: redirecting log output to logging collector process Jun 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.466 EDT [47978] HINT: Future log output will appear in directory "log". Jun 13 15:53:23 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:53:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:53:44 managed-node2 systemd[1]: postgresql.service: Killing process 47980 (postmaster) with signal SIGKILL. Jun 13 15:53:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:53:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 13 June 2026 15:53:47 -0400 (0:00:00.308) 0:02:37.169 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 13 June 2026 15:53:47 -0400 (0:00:00.028) 0:02:37.197 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 13 June 2026 15:53:47 -0400 (0:00:00.001) 0:02:37.198 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 13 June 2026 15:53:47 -0400 (0:00:00.016) 0:02:37.215 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 13 June 2026 15:53:47 -0400 (0:00:00.041) 0:02:37.256 ********* included: /tmp/collections-flB/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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 13 June 2026 15:53:47 -0400 (0:00:00.024) 0:02:37.280 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 13 June 2026 15:53:48 -0400 (0:00:00.731) 0:02:38.012 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 13 June 2026 15:53:48 -0400 (0:00:00.291) 0:02:38.303 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 13 June 2026 15:53:48 -0400 (0:00:00.016) 0:02:38.320 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 13 June 2026 15:53:48 -0400 (0:00:00.015) 0:02:38.335 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 13 June 2026 15:53:48 -0400 (0:00:00.014) 0:02:38.350 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 13 June 2026 15:53:48 -0400 (0:00:00.014) 0:02:38.365 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 13 June 2026 15:53:48 -0400 (0:00:00.014) 0:02:38.380 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "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-flB/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-flB/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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 13 June 2026 15:53:48 -0400 (0:00:00.036) 0:02:38.416 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 13 June 2026 15:53:48 -0400 (0:00:00.291) 0:02:38.708 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 13 June 2026 15:53:49 -0400 (0:00:00.290) 0:02:38.998 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 13 June 2026 15:53:49 -0400 (0:00:00.291) 0:02:39.289 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 13 June 2026 15:53:50 -0400 (0:00:01.290) 0:02:40.580 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 13 June 2026 15:53:50 -0400 (0:00:00.026) 0:02:40.606 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 13 June 2026 15:53:50 -0400 (0:00:00.022) 0:02:40.629 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 13 June 2026 15:53:50 -0400 (0:00:00.023) 0:02:40.652 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 13 June 2026 15:53:50 -0400 (0:00:00.020) 0:02:40.672 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 13 June 2026 15:53:56 -0400 (0:00:05.506) 0:02:46.178 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.660676", "end": "2026-06-13 15:53:57.293296", "rc": 0, "start": "2026-06-13 15:53:56.632620" } 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 13 June 2026 15:53:57 -0400 (0:00:00.987) 0:02:47.166 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 13 June 2026 15:53:57 -0400 (0:00:00.020) 0:02:47.187 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 13 June 2026 15:53:57 -0400 (0:00:00.017) 0:02:47.204 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 13 June 2026 15:53:57 -0400 (0:00:00.017) 0:02:47.221 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target system.slice systemd-journald.socket network.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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.972) 0:02:48.194 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.021) 0:02:48.216 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.019) 0:02:48.235 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.018) 0:02:48.254 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.015) 0:02:48.270 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.021) 0:02:48.291 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.028) 0:02:48.320 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.018) 0:02:48.338 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.018) 0:02:48.357 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.017) 0:02:48.374 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.017) 0:02:48.392 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.017) 0:02:48.410 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.043) 0:02:48.453 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.018) 0:02:48.472 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.015) 0:02:48.488 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.015) 0:02:48.503 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 13 June 2026 15:53:58 -0400 (0:00:00.020) 0:02:48.524 ********* 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 13 June 2026 15:53:59 -0400 (0:00:00.308) 0:02:48.833 ********* Notification for handler Restart postgresql has been saved. 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-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 13 June 2026 15:53:59 -0400 (0:00:00.309) 0:02:49.143 ********* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1781380439.3496592-14029-239699052494974/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 13 June 2026 15:53:59 -0400 (0:00:00.618) 0:02:49.761 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 13 June 2026 15:53:59 -0400 (0:00:00.022) 0:02:49.784 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 13 June 2026 15:53:59 -0400 (0:00:00.019) 0:02:49.804 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 13 June 2026 15:54:00 -0400 (0:00:00.307) 0:02:50.111 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 13 June 2026 15:54:00 -0400 (0:00:00.019) 0:02:50.131 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 13 June 2026 15:54:00 -0400 (0:00:00.004) 0:02:50.135 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-13 15:53:58 EDT", "ActiveEnterTimestampMonotonic": "455239767", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target systemd-journald.socket basic.target system.slice network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-13 15:53:58 EDT", "AssertTimestampMonotonic": "455194420", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-13 15:53:58 EDT", "ConditionTimestampMonotonic": "455194419", "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": "52791", "ExecMainStartTimestamp": "Sat 2026-06-13 15:53:58 EDT", "ExecMainStartTimestampMonotonic": "455203352", "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-13 15:53:58 EDT] ; stop_time=[n/a] ; pid=52791 ; 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-13 15:53:58 EDT] ; stop_time=[Sat 2026-06-13 15:53:58 EDT] ; pid=52788 ; 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-13 15:53:58 EDT", "InactiveExitTimestampMonotonic": "455195314", "InvocationID": "479a59572a724498828b673f776aa88f", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52791", "MemoryAccounting": "yes", "MemoryCurrent": "16740352", "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-13 15:53:58 EDT", "StateChangeTimestampMonotonic": "455239767", "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": "22268", "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-13 15:53:58 EDT", "WatchdogTimestampMonotonic": "455239764", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 13 June 2026 15:54:01 -0400 (0:00:00.866) 0:02:51.002 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007474", "end": "2026-06-13 15:54:01.439862", "rc": 0, "start": "2026-06-13 15:54:01.432388" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 13 June 2026 15:54:01 -0400 (0:00:00.309) 0:02:51.312 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007758", "end": "2026-06-13 15:54:01.747871", "rc": 0, "start": "2026-06-13 15:54:01.740113" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 13 June 2026 15:54:01 -0400 (0:00:00.308) 0:02:51.621 ********* ASYNC OK on managed-node2: jid=j328381812985.53998 ok: [managed-node2] => { "ansible_job_id": "j328381812985.53998", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010178", "end": "2026-06-13 15:54:02.267922", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j328381812985.53998", "start": "2026-06-13 15:54:02.257744", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 13 June 2026 15:54:17 -0400 (0:00:15.918) 0:03:07.539 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009128", "end": "2026-06-13 15:54:17.989961", "rc": 0, "start": "2026-06-13 15:54:17.980833" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 13 June 2026 15:54:18 -0400 (0:00:00.323) 0:03:07.863 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 13 June 2026 15:54:18 -0400 (0:00:00.030) 0:03:07.893 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008903", "end": "2026-06-13 15:54:18.341984", "rc": 0, "start": "2026-06-13 15:54:18.333081" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 13 June 2026 15:54:18 -0400 (0:00:00.322) 0:03:08.216 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 13 June 2026 15:54:18 -0400 (0:00:00.030) 0:03:08.246 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006259", "end": "2026-06-13 15:54:18.679756", "failed_when_result": false, "rc": 0, "start": "2026-06-13 15:54:18.673497" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 13 June 2026 15:54:18 -0400 (0:00:00.310) 0:03:08.556 ********* included: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 13 June 2026 15:54:18 -0400 (0:00:00.031) 0:03:08.588 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 13 June 2026 15:54:18 -0400 (0:00:00.004) 0:03:08.592 ********* 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-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 13 June 2026 15:54:23 -0400 (0:00:04.363) 0:03:12.956 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 13 June 2026 15:54:23 -0400 (0:00:00.017) 0:03:12.973 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 13 June 2026 15:54:23 -0400 (0:00:00.344) 0:03:13.318 ********* 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-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 13 June 2026 15:54:24 -0400 (0:00:01.177) 0:03:14.495 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007516", "end": "2026-06-13 15:54:24.930219", "rc": 0, "start": "2026-06-13 15:54:24.922703" } STDOUT: -- Logs begin at Sat 2026-06-13 15:46:23 EDT, end at Sat 2026-06-13 15:54:24 EDT. -- Jun 13 15:49:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:49:50 managed-node2 postmaster[10433]: 2026-06-13 15:49:50.596 EDT [10433] LOG: redirecting log output to logging collector process Jun 13 15:49:50 managed-node2 postmaster[10433]: 2026-06-13 15:49:50.596 EDT [10433] HINT: Future log output will appear in directory "log". Jun 13 15:49:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:49:57 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:49:57 managed-node2 systemd[1]: postgresql.service: Killing process 10434 (postmaster) with signal SIGKILL. Jun 13 15:49:57 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:49:57 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:49:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:49:57 managed-node2 postmaster[12696]: 2026-06-13 15:49:57.786 EDT [12696] LOG: redirecting log output to logging collector process Jun 13 15:49:57 managed-node2 postmaster[12696]: 2026-06-13 15:49:57.786 EDT [12696] HINT: Future log output will appear in directory "log". Jun 13 15:49:57 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:01 managed-node2 systemd[1]: postgresql.service: Killing process 12697 (postmaster) with signal SIGKILL. Jun 13 15:50:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:31 managed-node2 postmaster[19319]: 2026-06-13 15:50:31.046 EDT [19319] LOG: redirecting log output to logging collector process Jun 13 15:50:31 managed-node2 postmaster[19319]: 2026-06-13 15:50:31.046 EDT [19319] HINT: Future log output will appear in directory "log". Jun 13 15:50:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:36 managed-node2 systemd[1]: postgresql.service: Killing process 19320 (postmaster) with signal SIGKILL. Jun 13 15:50:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:36 managed-node2 postmaster[20859]: 2026-06-13 15:50:36.258 EDT [20859] LOG: redirecting log output to logging collector process Jun 13 15:50:36 managed-node2 postmaster[20859]: 2026-06-13 15:50:36.258 EDT [20859] HINT: Future log output will appear in directory "log". Jun 13 15:50:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:50:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:50:41 managed-node2 systemd[1]: postgresql.service: Killing process 20861 (postmaster) with signal SIGKILL. Jun 13 15:50:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:50:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:50:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:50:58 managed-node2 postmaster[25235]: 2026-06-13 15:50:58.784 EDT [25235] LOG: redirecting log output to logging collector process Jun 13 15:50:58 managed-node2 postmaster[25235]: 2026-06-13 15:50:58.784 EDT [25235] HINT: Future log output will appear in directory "log". Jun 13 15:50:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:01 managed-node2 systemd[1]: postgresql.service: Killing process 25236 (postmaster) with signal SIGKILL. Jun 13 15:51:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:02 managed-node2 postmaster[25974]: 2026-06-13 15:51:02.027 EDT [25974] LOG: redirecting log output to logging collector process Jun 13 15:51:02 managed-node2 postmaster[25974]: 2026-06-13 15:51:02.027 EDT [25974] HINT: Future log output will appear in directory "log". Jun 13 15:51:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:05 managed-node2 systemd[1]: postgresql.service: Killing process 25976 (postmaster) with signal SIGKILL. Jun 13 15:51:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:24 managed-node2 postmaster[30217]: 2026-06-13 15:51:24.068 EDT [30217] LOG: redirecting log output to logging collector process Jun 13 15:51:24 managed-node2 postmaster[30217]: 2026-06-13 15:51:24.068 EDT [30217] HINT: Future log output will appear in directory "log". Jun 13 15:51:24 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:27 managed-node2 systemd[1]: postgresql.service: Killing process 30218 (postmaster) with signal SIGKILL. Jun 13 15:51:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:51:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:51:27 managed-node2 postmaster[31025]: 2026-06-13 15:51:27.331 EDT [31025] LOG: redirecting log output to logging collector process Jun 13 15:51:27 managed-node2 postmaster[31025]: 2026-06-13 15:51:27.331 EDT [31025] HINT: Future log output will appear in directory "log". Jun 13 15:51:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:51:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:51:48 managed-node2 systemd[1]: postgresql.service: Killing process 31026 (postmaster) with signal SIGKILL. Jun 13 15:51:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:51:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:03 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:03 managed-node2 postgres[35871]: 2026-06-13 15:52:03.575 EDT [35871] LOG: redirecting log output to logging collector process Jun 13 15:52:03 managed-node2 postgres[35871]: 2026-06-13 15:52:03.575 EDT [35871] HINT: Future log output will appear in directory "log". Jun 13 15:52:03 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:52:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:52:06 managed-node2 systemd[1]: postgresql.service: Killing process 35872 (postgres) with signal SIGKILL. Jun 13 15:52:06 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:52:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:06 managed-node2 postgres[36678]: 2026-06-13 15:52:06.367 EDT [36678] LOG: redirecting log output to logging collector process Jun 13 15:52:06 managed-node2 postgres[36678]: 2026-06-13 15:52:06.367 EDT [36678] HINT: Future log output will appear in directory "log". Jun 13 15:52:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:52:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:52:27 managed-node2 systemd[1]: postgresql.service: Killing process 36680 (postgres) with signal SIGKILL. Jun 13 15:52:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:52:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:42 managed-node2 postmaster[41527]: 2026-06-13 15:52:42.080 EDT [41527] LOG: redirecting log output to logging collector process Jun 13 15:52:42 managed-node2 postmaster[41527]: 2026-06-13 15:52:42.080 EDT [41527] HINT: Future log output will appear in directory "log". Jun 13 15:52:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:52:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:52:44 managed-node2 systemd[1]: postgresql.service: Killing process 41528 (postmaster) with signal SIGKILL. Jun 13 15:52:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:52:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:52:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:52:44 managed-node2 postmaster[42333]: 2026-06-13 15:52:44.915 EDT [42333] LOG: redirecting log output to logging collector process Jun 13 15:52:44 managed-node2 postmaster[42333]: 2026-06-13 15:52:44.915 EDT [42333] HINT: Future log output will appear in directory "log". Jun 13 15:52:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:53:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:53:06 managed-node2 systemd[1]: postgresql.service: Killing process 42335 (postmaster) with signal SIGKILL. Jun 13 15:53:06 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:53:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:53:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.671 EDT [47171] 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 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.672 EDT [47171] LOG: listening on IPv6 address "::1", port 5432 Jun 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.672 EDT [47171] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.674 EDT [47171] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.678 EDT [47171] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.688 EDT [47171] LOG: redirecting log output to logging collector process Jun 13 15:53:20 managed-node2 postmaster[47171]: 2026-06-13 15:53:20.688 EDT [47171] HINT: Future log output will appear in directory "log". Jun 13 15:53:20 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:53:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:53:23 managed-node2 systemd[1]: postgresql.service: Killing process 47172 (postmaster) with signal SIGKILL. Jun 13 15:53:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:53:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:53:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.433 EDT [47978] 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 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.434 EDT [47978] LOG: listening on IPv6 address "::1", port 5432 Jun 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.434 EDT [47978] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.436 EDT [47978] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.439 EDT [47978] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.466 EDT [47978] LOG: redirecting log output to logging collector process Jun 13 15:53:23 managed-node2 postmaster[47978]: 2026-06-13 15:53:23.466 EDT [47978] HINT: Future log output will appear in directory "log". Jun 13 15:53:23 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:53:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:53:44 managed-node2 systemd[1]: postgresql.service: Killing process 47980 (postmaster) with signal SIGKILL. Jun 13 15:53:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:53:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:53:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:53:58 managed-node2 postmaster[52791]: 2026-06-13 15:53:58.284 EDT [52791] LOG: listening on IPv6 address "::1", port 5432 Jun 13 15:53:58 managed-node2 postmaster[52791]: 2026-06-13 15:53:58.284 EDT [52791] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 13 15:53:58 managed-node2 postmaster[52791]: 2026-06-13 15:53:58.286 EDT [52791] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 13 15:53:58 managed-node2 postmaster[52791]: 2026-06-13 15:53:58.290 EDT [52791] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 13 15:53:58 managed-node2 postmaster[52791]: 2026-06-13 15:53:58.300 EDT [52791] LOG: redirecting log output to logging collector process Jun 13 15:53:58 managed-node2 postmaster[52791]: 2026-06-13 15:53:58.300 EDT [52791] HINT: Future log output will appear in directory "log". Jun 13 15:53:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:54:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:54:01 managed-node2 systemd[1]: postgresql.service: Killing process 52792 (postmaster) with signal SIGKILL. Jun 13 15:54:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:54:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 13 15:54:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 13 15:54:01 managed-node2 postmaster[53599]: 2026-06-13 15:54:01.077 EDT [53599] LOG: listening on IPv6 address "::1", port 5432 Jun 13 15:54:01 managed-node2 postmaster[53599]: 2026-06-13 15:54:01.077 EDT [53599] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 13 15:54:01 managed-node2 postmaster[53599]: 2026-06-13 15:54:01.079 EDT [53599] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 13 15:54:01 managed-node2 postmaster[53599]: 2026-06-13 15:54:01.083 EDT [53599] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 13 15:54:01 managed-node2 postmaster[53599]: 2026-06-13 15:54:01.109 EDT [53599] LOG: redirecting log output to logging collector process Jun 13 15:54:01 managed-node2 postmaster[53599]: 2026-06-13 15:54:01.109 EDT [53599] HINT: Future log output will appear in directory "log". Jun 13 15:54:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 13 15:54:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 13 15:54:22 managed-node2 systemd[1]: postgresql.service: Killing process 53600 (postmaster) with signal SIGKILL. Jun 13 15:54:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 13 15:54:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. 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 13 June 2026 15:54:24 -0400 (0:00:00.304) 0:03:14.799 ********* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.10s /tmp/collections-flB/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.93s /tmp/collections-flB/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.92s /tmp/collections-flB/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.91s /tmp/collections-flB/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.91s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.45s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.21s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.14s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.85s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.51s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.44s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.40s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.39s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.36s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.36s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.53s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.32s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.32s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.30s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.29s /tmp/collections-flB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8