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-YpV 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-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 06 June 2026 15:46:30 -0400 (0:00:00.018) 0:00:00.019 ********* ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 06 June 2026 15:46:31 -0400 (0:00:01.098) 0:00:01.117 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 06 June 2026 15:46:31 -0400 (0:00:00.005) 0:00:01.123 ********* included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 06 June 2026 15:46:31 -0400 (0:00:00.035) 0:00:01.159 ********* included: /tmp/collections-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 06 June 2026 15:46:31 -0400 (0:00:00.039) 0:00:01.198 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 06 June 2026 15:46:31 -0400 (0:00:00.000) 0:00:01.199 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 06 June 2026 15:46:31 -0400 (0:00:00.017) 0:00:01.217 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 06 June 2026 15:46:31 -0400 (0:00:00.094) 0:00:01.311 ********* included: /tmp/collections-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 06 June 2026 15:46:31 -0400 (0:00:00.034) 0:00:01.346 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 06 June 2026 15:46:32 -0400 (0:00:00.781) 0:00:02.127 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 06 June 2026 15:46:33 -0400 (0:00:00.413) 0:00:02.541 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 06 June 2026 15:46:33 -0400 (0:00:00.419) 0:00:02.960 ********* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 06 June 2026 15:46:33 -0400 (0:00:00.020) 0:00:02.981 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008423", "end": "2026-06-06 15:46:34.002489", "failed_when_result": false, "rc": 0, "start": "2026-06-06 15:46:33.994066" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 06 June 2026 15:46:34 -0400 (0:00:00.435) 0:00:03.417 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 06 June 2026 15:46:34 -0400 (0:00:00.019) 0:00:03.436 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 06 June 2026 15:46:34 -0400 (0:00:00.019) 0:00:03.455 ********* 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-YpV/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-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 06 June 2026 15:46:34 -0400 (0:00:00.037) 0:00:03.493 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 06 June 2026 15:46:34 -0400 (0:00:00.321) 0:00:03.814 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 06 June 2026 15:46:34 -0400 (0:00:00.322) 0:00:04.136 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 06 June 2026 15:46:35 -0400 (0:00:00.319) 0:00:04.455 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 06 June 2026 15:46:36 -0400 (0:00:01.629) 0:00:06.085 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 06 June 2026 15:46:36 -0400 (0:00:00.031) 0:00:06.117 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 06 June 2026 15:46:36 -0400 (0:00:00.023) 0:00:06.140 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 06 June 2026 15:46:36 -0400 (0:00:00.022) 0:00:06.163 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 06 June 2026 15:46:36 -0400 (0:00:00.018) 0:00:06.182 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 06 June 2026 15:46:43 -0400 (0:00:06.228) 0:00:12.411 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.661868", "end": "2026-06-06 15:46:43.998935", "rc": 0, "start": "2026-06-06 15:46:43.337067" } 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 06 June 2026 15:46:44 -0400 (0:00:01.007) 0:00:13.418 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 06 June 2026 15:46:44 -0400 (0:00:00.019) 0:00:13.438 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 06 June 2026 15:46:44 -0400 (0:00:00.017) 0:00:13.455 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 06 June 2026 15:46:44 -0400 (0:00:00.018) 0:00:13.473 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket network.target system.slice basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 06 June 2026 15:46:45 -0400 (0:00:01.253) 0:00:14.726 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.020) 0:00:14.747 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.020) 0:00:14.767 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.019) 0:00:14.787 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.017) 0:00:14.805 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.020) 0:00:14.825 ********* included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.029) 0:00:14.854 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.019) 0:00:14.874 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.017) 0:00:14.891 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.016) 0:00:14.908 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.017) 0:00:14.925 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.018) 0:00:14.944 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.017) 0:00:14.961 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.016) 0:00:14.978 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.015) 0:00:14.994 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.017) 0:00:15.011 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 06 June 2026 15:46:45 -0400 (0:00:00.021) 0:00:15.032 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 06 June 2026 15:46:46 -0400 (0:00:00.464) 0:00:15.497 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 06 June 2026 15:46:46 -0400 (0:00:00.451) 0:00:15.949 ********* changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1780775206.6154976-12404-56435545324194/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 06 June 2026 15:46:47 -0400 (0:00:00.830) 0:00:16.779 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 06 June 2026 15:46:47 -0400 (0:00:00.021) 0:00:16.801 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 06 June 2026 15:46:47 -0400 (0:00:00.021) 0:00:16.822 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 06 June 2026 15:46:47 -0400 (0:00:00.344) 0:00:17.167 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 06 June 2026 15:46:47 -0400 (0:00:00.019) 0:00:17.186 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 06 June 2026 15:46:47 -0400 (0:00:00.004) 0:00:17.191 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-06 15:46:45 EDT", "ActiveEnterTimestampMonotonic": "302311951", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-06 15:46:45 EDT", "AssertTimestampMonotonic": "302259245", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-06 15:46:45 EDT", "ConditionTimestampMonotonic": "302259244", "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": "30140", "ExecMainStartTimestamp": "Sat 2026-06-06 15:46:45 EDT", "ExecMainStartTimestampMonotonic": "302269375", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-06-06 15:46:45 EDT] ; stop_time=[n/a] ; pid=30140 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-06-06 15:46:45 EDT] ; stop_time=[Sat 2026-06-06 15:46:45 EDT] ; pid=30137 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-06-06 15:46:45 EDT", "InactiveExitTimestampMonotonic": "302260242", "InvocationID": "20580a4d678f47d3b26a1f899957023b", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30140", "MemoryAccounting": "yes", "MemoryCurrent": "17838080", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-06-06 15:46:45 EDT", "StateChangeTimestampMonotonic": "302311951", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-06-06 15:46:45 EDT", "WatchdogTimestampMonotonic": "302311948", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 06 June 2026 15:46:48 -0400 (0:00:00.952) 0:00:18.143 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008732", "end": "2026-06-06 15:46:49.057183", "rc": 0, "start": "2026-06-06 15:46:49.048451" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 06 June 2026 15:46:49 -0400 (0:00:00.333) 0:00:18.477 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008192", "end": "2026-06-06 15:46:49.400927", "rc": 0, "start": "2026-06-06 15:46:49.392735" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 06 June 2026 15:46:49 -0400 (0:00:00.341) 0:00:18.819 ********* ASYNC OK on managed-node2: jid=j384295633749.31347 ok: [managed-node2] => { "ansible_job_id": "j384295633749.31347", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012927", "end": "2026-06-06 15:46:50.051645", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j384295633749.31347", "start": "2026-06-06 15:46:50.038718", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 06 June 2026 15:47:05 -0400 (0:00:16.174) 0:00:34.993 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009803", "end": "2026-06-06 15:47:05.926418", "rc": 0, "start": "2026-06-06 15:47:05.916615" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 06 June 2026 15:47:05 -0400 (0:00:00.352) 0:00:35.346 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 06 June 2026 15:47:06 -0400 (0:00:00.035) 0:00:35.381 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009463", "end": "2026-06-06 15:47:06.313956", "rc": 0, "start": "2026-06-06 15:47:06.304493" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 06 June 2026 15:47:06 -0400 (0:00:00.353) 0:00:35.734 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 06 June 2026 15:47:06 -0400 (0:00:00.032) 0:00:35.767 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008927", "end": "2026-06-06 15:47:06.689159", "failed_when_result": false, "rc": 0, "start": "2026-06-06 15:47:06.680232" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 06 June 2026 15:47:06 -0400 (0:00:00.352) 0:00:36.119 ********* included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 06 June 2026 15:47:06 -0400 (0:00:00.033) 0:00:36.152 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 06 June 2026 15:47:06 -0400 (0:00:00.004) 0:00:36.157 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 06 June 2026 15:47:11 -0400 (0:00:04.723) 0:00:40.881 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 06 June 2026 15:47:11 -0400 (0:00:00.018) 0:00:40.899 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 06 June 2026 15:47:11 -0400 (0:00:00.368) 0:00:41.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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 06 June 2026 15:47:13 -0400 (0:00:01.266) 0:00:42.535 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007621", "end": "2026-06-06 15:47:13.446402", "rc": 0, "start": "2026-06-06 15:47:13.438781" } STDOUT: -- Logs begin at Sat 2026-06-06 15:41:43 EDT, end at Sat 2026-06-06 15:47:13 EDT. -- Jun 06 15:45:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:04 managed-node2 postmaster[10356]: 2026-06-06 15:45:04.590 EDT [10356] LOG: redirecting log output to logging collector process Jun 06 15:45:04 managed-node2 postmaster[10356]: 2026-06-06 15:45:04.590 EDT [10356] HINT: Future log output will appear in directory "log". Jun 06 15:45:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:12 managed-node2 systemd[1]: postgresql.service: Killing process 10357 (postmaster) with signal SIGKILL. Jun 06 15:45:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:12 managed-node2 postmaster[12619]: 2026-06-06 15:45:12.265 EDT [12619] LOG: redirecting log output to logging collector process Jun 06 15:45:12 managed-node2 postmaster[12619]: 2026-06-06 15:45:12.265 EDT [12619] HINT: Future log output will appear in directory "log". Jun 06 15:45:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:16 managed-node2 systemd[1]: postgresql.service: Killing process 12620 (postmaster) with signal SIGKILL. Jun 06 15:45:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:47 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:47 managed-node2 postmaster[19242]: 2026-06-06 15:45:47.956 EDT [19242] LOG: redirecting log output to logging collector process Jun 06 15:45:47 managed-node2 postmaster[19242]: 2026-06-06 15:45:47.956 EDT [19242] HINT: Future log output will appear in directory "log". Jun 06 15:45:47 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:53 managed-node2 systemd[1]: postgresql.service: Killing process 19243 (postmaster) with signal SIGKILL. Jun 06 15:45:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:53 managed-node2 postmaster[20783]: 2026-06-06 15:45:53.396 EDT [20783] LOG: redirecting log output to logging collector process Jun 06 15:45:53 managed-node2 postmaster[20783]: 2026-06-06 15:45:53.396 EDT [20783] HINT: Future log output will appear in directory "log". Jun 06 15:45:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:58 managed-node2 systemd[1]: postgresql.service: Killing process 20784 (postmaster) with signal SIGKILL. Jun 06 15:45:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:18 managed-node2 postmaster[25158]: 2026-06-06 15:46:18.223 EDT [25158] LOG: redirecting log output to logging collector process Jun 06 15:46:18 managed-node2 postmaster[25158]: 2026-06-06 15:46:18.223 EDT [25158] HINT: Future log output will appear in directory "log". Jun 06 15:46:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:21 managed-node2 systemd[1]: postgresql.service: Killing process 25159 (postmaster) with signal SIGKILL. Jun 06 15:46:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:21 managed-node2 postmaster[25898]: 2026-06-06 15:46:21.619 EDT [25898] LOG: redirecting log output to logging collector process Jun 06 15:46:21 managed-node2 postmaster[25898]: 2026-06-06 15:46:21.619 EDT [25898] HINT: Future log output will appear in directory "log". Jun 06 15:46:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:25 managed-node2 systemd[1]: postgresql.service: Killing process 25899 (postmaster) with signal SIGKILL. Jun 06 15:46:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:45 managed-node2 postmaster[30140]: 2026-06-06 15:46:45.276 EDT [30140] LOG: redirecting log output to logging collector process Jun 06 15:46:45 managed-node2 postmaster[30140]: 2026-06-06 15:46:45.276 EDT [30140] HINT: Future log output will appear in directory "log". Jun 06 15:46:45 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:48 managed-node2 systemd[1]: postgresql.service: Killing process 30141 (postmaster) with signal SIGKILL. Jun 06 15:46:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:48 managed-node2 postmaster[30948]: 2026-06-06 15:46:48.694 EDT [30948] LOG: redirecting log output to logging collector process Jun 06 15:46:48 managed-node2 postmaster[30948]: 2026-06-06 15:46:48.694 EDT [30948] HINT: Future log output will appear in directory "log". Jun 06 15:46:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:10 managed-node2 systemd[1]: postgresql.service: Killing process 30949 (postmaster) with signal SIGKILL. Jun 06 15:47:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 06 June 2026 15:47:13 -0400 (0:00:00.333) 0:00:42.868 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 06 June 2026 15:47:13 -0400 (0:00:00.012) 0:00:42.880 ********* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 06 June 2026 15:47:13 -0400 (0:00:00.023) 0:00:42.904 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 06 June 2026 15:47:13 -0400 (0:00:00.087) 0:00:42.992 ********* included: /tmp/collections-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 06 June 2026 15:47:13 -0400 (0:00:00.030) 0:00:43.023 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 06 June 2026 15:47:13 -0400 (0:00:00.001) 0:00:43.024 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 06 June 2026 15:47:13 -0400 (0:00:00.017) 0:00:43.041 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 06 June 2026 15:47:13 -0400 (0:00:00.042) 0:00:43.084 ********* included: /tmp/collections-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 06 June 2026 15:47:13 -0400 (0:00:00.024) 0:00:43.109 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 06 June 2026 15:47:14 -0400 (0:00:00.761) 0:00:43.871 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 06 June 2026 15:47:14 -0400 (0:00:00.317) 0:00:44.188 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 06 June 2026 15:47:14 -0400 (0:00:00.017) 0:00:44.206 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 06 June 2026 15:47:14 -0400 (0:00:00.016) 0:00:44.223 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 06 June 2026 15:47:14 -0400 (0:00:00.016) 0:00:44.240 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 06 June 2026 15:47:14 -0400 (0:00:00.016) 0:00:44.256 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 06 June 2026 15:47:14 -0400 (0:00:00.016) 0:00:44.272 ********* [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-YpV/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-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 06 June 2026 15:47:14 -0400 (0:00:00.039) 0:00:44.312 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 06 June 2026 15:47:15 -0400 (0:00:00.317) 0:00:44.630 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 06 June 2026 15:47:15 -0400 (0:00:00.324) 0:00:44.954 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 06 June 2026 15:47:15 -0400 (0:00:00.318) 0:00:45.273 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 06 June 2026 15:47:17 -0400 (0:00:01.433) 0:00:46.706 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 06 June 2026 15:47:17 -0400 (0:00:00.028) 0:00:46.735 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 06 June 2026 15:47:17 -0400 (0:00:00.088) 0:00:46.823 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 06 June 2026 15:47:17 -0400 (0:00:00.024) 0:00:46.848 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 06 June 2026 15:47:17 -0400 (0:00:00.025) 0:00:46.874 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 06 June 2026 15:47:23 -0400 (0:00:06.243) 0:00:53.117 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.705912", "end": "2026-06-06 15:47:24.744977", "rc": 0, "start": "2026-06-06 15:47:24.039065" } 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 06 June 2026 15:47:24 -0400 (0:00:01.047) 0:00:54.165 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 06 June 2026 15:47:24 -0400 (0:00:00.020) 0:00:54.185 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 06 June 2026 15:47:24 -0400 (0:00:00.018) 0:00:54.203 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 06 June 2026 15:47:24 -0400 (0:00:00.018) 0:00:54.222 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target basic.target network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 06 June 2026 15:47:25 -0400 (0:00:01.041) 0:00:55.263 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 06 June 2026 15:47:25 -0400 (0:00:00.022) 0:00:55.285 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 06 June 2026 15:47:25 -0400 (0:00:00.021) 0:00:55.306 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 06 June 2026 15:47:25 -0400 (0:00:00.022) 0:00:55.329 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 06 June 2026 15:47:25 -0400 (0:00:00.016) 0:00:55.345 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 06 June 2026 15:47:25 -0400 (0:00:00.019) 0:00:55.365 ********* included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.029) 0:00:55.395 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.018) 0:00:55.413 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.017) 0:00:55.430 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.018) 0:00:55.448 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.018) 0:00:55.467 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.018) 0:00:55.485 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.017) 0:00:55.503 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.017) 0:00:55.520 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.017) 0:00:55.538 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.015) 0:00:55.554 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.020) 0:00:55.574 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.333) 0:00:55.907 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 06 June 2026 15:47:26 -0400 (0:00:00.339) 0:00:56.247 ********* changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1780775246.9134355-12818-269141661503094/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 06 June 2026 15:47:27 -0400 (0:00:00.667) 0:00:56.914 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 06 June 2026 15:47:27 -0400 (0:00:00.025) 0:00:56.939 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 06 June 2026 15:47:27 -0400 (0:00:00.021) 0:00:56.961 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 06 June 2026 15:47:27 -0400 (0:00:00.333) 0:00:57.294 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 06 June 2026 15:47:27 -0400 (0:00:00.018) 0:00:57.313 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 06 June 2026 15:47:27 -0400 (0:00:00.004) 0:00:57.318 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-06 15:47:25 EDT", "ActiveEnterTimestampMonotonic": "342846658", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target network.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-06 15:47:25 EDT", "AssertTimestampMonotonic": "342796093", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-06 15:47:25 EDT", "ConditionTimestampMonotonic": "342796092", "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": "35759", "ExecMainStartTimestamp": "Sat 2026-06-06 15:47:25 EDT", "ExecMainStartTimestampMonotonic": "342806935", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-06-06 15:47:25 EDT] ; stop_time=[n/a] ; pid=35759 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-06-06 15:47:25 EDT] ; stop_time=[Sat 2026-06-06 15:47:25 EDT] ; pid=35756 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-06-06 15:47:25 EDT", "InactiveExitTimestampMonotonic": "342797114", "InvocationID": "a788c0675b99425e96f74ff4e833fc35", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35759", "MemoryAccounting": "yes", "MemoryCurrent": "16777216", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-06-06 15:47:25 EDT", "StateChangeTimestampMonotonic": "342846658", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-06-06 15:47:25 EDT", "WatchdogTimestampMonotonic": "342846655", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 06 June 2026 15:47:28 -0400 (0:00:00.941) 0:00:58.260 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007744", "end": "2026-06-06 15:47:29.175180", "rc": 0, "start": "2026-06-06 15:47:29.167436" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 06 June 2026 15:47:29 -0400 (0:00:00.333) 0:00:58.594 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008657", "end": "2026-06-06 15:47:29.507340", "rc": 0, "start": "2026-06-06 15:47:29.498683" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 06 June 2026 15:47:29 -0400 (0:00:00.331) 0:00:58.925 ********* ASYNC OK on managed-node2: jid=j767107225883.36966 ok: [managed-node2] => { "ansible_job_id": "j767107225883.36966", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010841", "end": "2026-06-06 15:47:30.068046", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j767107225883.36966", "start": "2026-06-06 15:47:30.057205", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 06 June 2026 15:47:45 -0400 (0:00:15.994) 0:01:14.919 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009340", "end": "2026-06-06 15:47:45.852695", "rc": 0, "start": "2026-06-06 15:47:45.843355" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 06 June 2026 15:47:45 -0400 (0:00:00.355) 0:01:15.275 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 06 June 2026 15:47:45 -0400 (0:00:00.032) 0:01:15.308 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008938", "end": "2026-06-06 15:47:46.235677", "rc": 0, "start": "2026-06-06 15:47:46.226739" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 06 June 2026 15:47:46 -0400 (0:00:00.350) 0:01:15.658 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 06 June 2026 15:47:46 -0400 (0:00:00.031) 0:01:15.690 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006850", "end": "2026-06-06 15:47:46.602104", "failed_when_result": false, "rc": 0, "start": "2026-06-06 15:47:46.595254" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 06 June 2026 15:47:46 -0400 (0:00:00.364) 0:01:16.055 ********* included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 06 June 2026 15:47:46 -0400 (0:00:00.037) 0:01:16.092 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 06 June 2026 15:47:46 -0400 (0:00:00.004) 0:01:16.097 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 06 June 2026 15:47:51 -0400 (0:00:04.757) 0:01:20.854 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 06 June 2026 15:47:51 -0400 (0:00:00.019) 0:01:20.873 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 06 June 2026 15:47:51 -0400 (0:00:00.365) 0:01:21.238 ********* [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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 06 June 2026 15:47:53 -0400 (0:00:01.273) 0:01:22.512 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007709", "end": "2026-06-06 15:47:53.426260", "rc": 0, "start": "2026-06-06 15:47:53.418551" } STDOUT: -- Logs begin at Sat 2026-06-06 15:41:43 EDT, end at Sat 2026-06-06 15:47:53 EDT. -- Jun 06 15:45:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:04 managed-node2 postmaster[10356]: 2026-06-06 15:45:04.590 EDT [10356] LOG: redirecting log output to logging collector process Jun 06 15:45:04 managed-node2 postmaster[10356]: 2026-06-06 15:45:04.590 EDT [10356] HINT: Future log output will appear in directory "log". Jun 06 15:45:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:12 managed-node2 systemd[1]: postgresql.service: Killing process 10357 (postmaster) with signal SIGKILL. Jun 06 15:45:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:12 managed-node2 postmaster[12619]: 2026-06-06 15:45:12.265 EDT [12619] LOG: redirecting log output to logging collector process Jun 06 15:45:12 managed-node2 postmaster[12619]: 2026-06-06 15:45:12.265 EDT [12619] HINT: Future log output will appear in directory "log". Jun 06 15:45:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:16 managed-node2 systemd[1]: postgresql.service: Killing process 12620 (postmaster) with signal SIGKILL. Jun 06 15:45:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:47 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:47 managed-node2 postmaster[19242]: 2026-06-06 15:45:47.956 EDT [19242] LOG: redirecting log output to logging collector process Jun 06 15:45:47 managed-node2 postmaster[19242]: 2026-06-06 15:45:47.956 EDT [19242] HINT: Future log output will appear in directory "log". Jun 06 15:45:47 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:53 managed-node2 systemd[1]: postgresql.service: Killing process 19243 (postmaster) with signal SIGKILL. Jun 06 15:45:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:53 managed-node2 postmaster[20783]: 2026-06-06 15:45:53.396 EDT [20783] LOG: redirecting log output to logging collector process Jun 06 15:45:53 managed-node2 postmaster[20783]: 2026-06-06 15:45:53.396 EDT [20783] HINT: Future log output will appear in directory "log". Jun 06 15:45:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:58 managed-node2 systemd[1]: postgresql.service: Killing process 20784 (postmaster) with signal SIGKILL. Jun 06 15:45:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:18 managed-node2 postmaster[25158]: 2026-06-06 15:46:18.223 EDT [25158] LOG: redirecting log output to logging collector process Jun 06 15:46:18 managed-node2 postmaster[25158]: 2026-06-06 15:46:18.223 EDT [25158] HINT: Future log output will appear in directory "log". Jun 06 15:46:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:21 managed-node2 systemd[1]: postgresql.service: Killing process 25159 (postmaster) with signal SIGKILL. Jun 06 15:46:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:21 managed-node2 postmaster[25898]: 2026-06-06 15:46:21.619 EDT [25898] LOG: redirecting log output to logging collector process Jun 06 15:46:21 managed-node2 postmaster[25898]: 2026-06-06 15:46:21.619 EDT [25898] HINT: Future log output will appear in directory "log". Jun 06 15:46:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:25 managed-node2 systemd[1]: postgresql.service: Killing process 25899 (postmaster) with signal SIGKILL. Jun 06 15:46:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:45 managed-node2 postmaster[30140]: 2026-06-06 15:46:45.276 EDT [30140] LOG: redirecting log output to logging collector process Jun 06 15:46:45 managed-node2 postmaster[30140]: 2026-06-06 15:46:45.276 EDT [30140] HINT: Future log output will appear in directory "log". Jun 06 15:46:45 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:48 managed-node2 systemd[1]: postgresql.service: Killing process 30141 (postmaster) with signal SIGKILL. Jun 06 15:46:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:48 managed-node2 postmaster[30948]: 2026-06-06 15:46:48.694 EDT [30948] LOG: redirecting log output to logging collector process Jun 06 15:46:48 managed-node2 postmaster[30948]: 2026-06-06 15:46:48.694 EDT [30948] HINT: Future log output will appear in directory "log". Jun 06 15:46:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:10 managed-node2 systemd[1]: postgresql.service: Killing process 30949 (postmaster) with signal SIGKILL. Jun 06 15:47:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.801 EDT [35759] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.801 EDT [35759] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.803 EDT [35759] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.807 EDT [35759] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.817 EDT [35759] LOG: redirecting log output to logging collector process Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.817 EDT [35759] HINT: Future log output will appear in directory "log". Jun 06 15:47:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:28 managed-node2 systemd[1]: postgresql.service: Killing process 35760 (postmaster) with signal SIGKILL. Jun 06 15:47:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:28 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.785 EDT [36566] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.785 EDT [36566] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.787 EDT [36566] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.791 EDT [36566] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.818 EDT [36566] LOG: redirecting log output to logging collector process Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.818 EDT [36566] HINT: Future log output will appear in directory "log". Jun 06 15:47:28 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:50 managed-node2 systemd[1]: postgresql.service: Killing process 36568 (postmaster) with signal SIGKILL. Jun 06 15:47:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 06 June 2026 15:47:53 -0400 (0:00:00.333) 0:01:22.845 ********* included: /tmp/collections-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 06 June 2026 15:47:53 -0400 (0:00:00.030) 0:01:22.876 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 06 June 2026 15:47:53 -0400 (0:00:00.001) 0:01:22.877 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 06 June 2026 15:47:53 -0400 (0:00:00.016) 0:01:22.894 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 06 June 2026 15:47:53 -0400 (0:00:00.043) 0:01:22.937 ********* included: /tmp/collections-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 06 June 2026 15:47:53 -0400 (0:00:00.024) 0:01:22.961 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 06 June 2026 15:47:54 -0400 (0:00:00.767) 0:01:23.729 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 06 June 2026 15:47:54 -0400 (0:00:00.323) 0:01:24.053 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 06 June 2026 15:47:54 -0400 (0:00:00.017) 0:01:24.071 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 06 June 2026 15:47:54 -0400 (0:00:00.018) 0:01:24.089 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 06 June 2026 15:47:54 -0400 (0:00:00.017) 0:01:24.106 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 06 June 2026 15:47:54 -0400 (0:00:00.016) 0:01:24.123 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 06 June 2026 15:47:54 -0400 (0:00:00.019) 0:01:24.142 ********* 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-YpV/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-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 06 June 2026 15:47:54 -0400 (0:00:00.039) 0:01:24.182 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 06 June 2026 15:47:55 -0400 (0:00:00.318) 0:01:24.500 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 06 June 2026 15:47:55 -0400 (0:00:00.322) 0:01:24.822 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 06 June 2026 15:47:55 -0400 (0:00:00.318) 0:01:25.141 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 06 June 2026 15:47:57 -0400 (0:00:01.410) 0:01:26.551 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 06 June 2026 15:47:57 -0400 (0:00:00.028) 0:01:26.579 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 06 June 2026 15:47:57 -0400 (0:00:00.024) 0:01:26.604 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 06 June 2026 15:47:57 -0400 (0:00:00.025) 0:01:26.630 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 06 June 2026 15:47:57 -0400 (0:00:00.019) 0:01:26.650 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 06 June 2026 15:48:04 -0400 (0:00:07.030) 0:01:33.680 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.650643", "end": "2026-06-06 15:48:05.257519", "rc": 0, "start": "2026-06-06 15:48:04.606876" } 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 06 June 2026 15:48:05 -0400 (0:00:00.995) 0:01:34.676 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 06 June 2026 15:48:05 -0400 (0:00:00.021) 0:01:34.697 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 06 June 2026 15:48:05 -0400 (0:00:00.018) 0:01:34.715 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 06 June 2026 15:48:05 -0400 (0:00:00.018) 0:01:34.733 ********* 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 system.slice network-online.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/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 06 June 2026 15:48:06 -0400 (0:00:01.041) 0:01:35.775 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.024) 0:01:35.799 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.022) 0:01:35.822 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.022) 0:01:35.844 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.017) 0:01:35.862 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.023) 0:01:35.885 ********* included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.029) 0:01:35.915 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.020) 0:01:35.935 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.020) 0:01:35.956 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.019) 0:01:35.975 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.019) 0:01:35.994 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.019) 0:01:36.013 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.047) 0:01:36.061 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.020) 0:01:36.081 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.017) 0:01:36.099 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.017) 0:01:36.116 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 06 June 2026 15:48:06 -0400 (0:00:00.022) 0:01:36.138 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 06 June 2026 15:48:07 -0400 (0:00:00.337) 0:01:36.476 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 06 June 2026 15:48:07 -0400 (0:00:00.343) 0:01:36.819 ********* changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1780775287.4860468-13230-95025056757546/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 06 June 2026 15:48:08 -0400 (0:00:00.676) 0:01:37.495 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 06 June 2026 15:48:08 -0400 (0:00:00.023) 0:01:37.519 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 06 June 2026 15:48:08 -0400 (0:00:00.021) 0:01:37.540 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 06 June 2026 15:48:08 -0400 (0:00:00.328) 0:01:37.869 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 06 June 2026 15:48:08 -0400 (0:00:00.020) 0:01:37.889 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 06 June 2026 15:48:08 -0400 (0:00:00.004) 0:01:37.894 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-06 15:48:06 EDT", "ActiveEnterTimestampMonotonic": "383362653", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network-online.target system.slice basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-06 15:48:06 EDT", "AssertTimestampMonotonic": "383311878", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-06 15:48:06 EDT", "ConditionTimestampMonotonic": "383311877", "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": "41413", "ExecMainStartTimestamp": "Sat 2026-06-06 15:48:06 EDT", "ExecMainStartTimestampMonotonic": "383321934", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-06-06 15:48:06 EDT] ; stop_time=[n/a] ; pid=41413 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-06-06 15:48:06 EDT] ; stop_time=[Sat 2026-06-06 15:48:06 EDT] ; pid=41410 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-06-06 15:48:06 EDT", "InactiveExitTimestampMonotonic": "383312769", "InvocationID": "cd729560d1ce4526808d40da3b02562c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41413", "MemoryAccounting": "yes", "MemoryCurrent": "18636800", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-06-06 15:48:06 EDT", "StateChangeTimestampMonotonic": "383362653", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-06-06 15:48:06 EDT", "WatchdogTimestampMonotonic": "383362650", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 06 June 2026 15:48:09 -0400 (0:00:00.951) 0:01:38.845 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008143", "end": "2026-06-06 15:48:09.761015", "rc": 0, "start": "2026-06-06 15:48:09.752872" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 06 June 2026 15:48:09 -0400 (0:00:00.334) 0:01:39.179 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008539", "end": "2026-06-06 15:48:10.100325", "rc": 0, "start": "2026-06-06 15:48:10.091786" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 06 June 2026 15:48:10 -0400 (0:00:00.342) 0:01:39.521 ********* ASYNC OK on managed-node2: jid=j422329054769.42618 ok: [managed-node2] => { "ansible_job_id": "j422329054769.42618", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012104", "end": "2026-06-06 15:48:10.674365", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j422329054769.42618", "start": "2026-06-06 15:48:10.662261", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 06 June 2026 15:48:26 -0400 (0:00:16.002) 0:01:55.523 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009732", "end": "2026-06-06 15:48:26.456508", "rc": 0, "start": "2026-06-06 15:48:26.446776" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 06 June 2026 15:48:26 -0400 (0:00:00.353) 0:01:55.877 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 06 June 2026 15:48:26 -0400 (0:00:00.032) 0:01:55.909 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009712", "end": "2026-06-06 15:48:26.839804", "rc": 0, "start": "2026-06-06 15:48:26.830092" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 06 June 2026 15:48:26 -0400 (0:00:00.354) 0:01:56.264 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 06 June 2026 15:48:26 -0400 (0:00:00.032) 0:01:56.297 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008640", "end": "2026-06-06 15:48:27.213390", "failed_when_result": false, "rc": 0, "start": "2026-06-06 15:48:27.204750" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 06 June 2026 15:48:27 -0400 (0:00:00.340) 0:01:56.637 ********* included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 06 June 2026 15:48:27 -0400 (0:00:00.033) 0:01:56.671 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 06 June 2026 15:48:27 -0400 (0:00:00.004) 0:01:56.676 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 06 June 2026 15:48:32 -0400 (0:00:04.798) 0:02:01.474 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 06 June 2026 15:48:32 -0400 (0:00:00.018) 0:02:01.493 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 06 June 2026 15:48:32 -0400 (0:00:00.374) 0:02:01.868 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 06 June 2026 15:48:33 -0400 (0:00:01.270) 0:02:03.138 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007813", "end": "2026-06-06 15:48:34.052816", "rc": 0, "start": "2026-06-06 15:48:34.045003" } STDOUT: -- Logs begin at Sat 2026-06-06 15:41:43 EDT, end at Sat 2026-06-06 15:48:34 EDT. -- Jun 06 15:45:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:04 managed-node2 postmaster[10356]: 2026-06-06 15:45:04.590 EDT [10356] LOG: redirecting log output to logging collector process Jun 06 15:45:04 managed-node2 postmaster[10356]: 2026-06-06 15:45:04.590 EDT [10356] HINT: Future log output will appear in directory "log". Jun 06 15:45:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:12 managed-node2 systemd[1]: postgresql.service: Killing process 10357 (postmaster) with signal SIGKILL. Jun 06 15:45:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:12 managed-node2 postmaster[12619]: 2026-06-06 15:45:12.265 EDT [12619] LOG: redirecting log output to logging collector process Jun 06 15:45:12 managed-node2 postmaster[12619]: 2026-06-06 15:45:12.265 EDT [12619] HINT: Future log output will appear in directory "log". Jun 06 15:45:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:16 managed-node2 systemd[1]: postgresql.service: Killing process 12620 (postmaster) with signal SIGKILL. Jun 06 15:45:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:47 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:47 managed-node2 postmaster[19242]: 2026-06-06 15:45:47.956 EDT [19242] LOG: redirecting log output to logging collector process Jun 06 15:45:47 managed-node2 postmaster[19242]: 2026-06-06 15:45:47.956 EDT [19242] HINT: Future log output will appear in directory "log". Jun 06 15:45:47 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:53 managed-node2 systemd[1]: postgresql.service: Killing process 19243 (postmaster) with signal SIGKILL. Jun 06 15:45:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:53 managed-node2 postmaster[20783]: 2026-06-06 15:45:53.396 EDT [20783] LOG: redirecting log output to logging collector process Jun 06 15:45:53 managed-node2 postmaster[20783]: 2026-06-06 15:45:53.396 EDT [20783] HINT: Future log output will appear in directory "log". Jun 06 15:45:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:58 managed-node2 systemd[1]: postgresql.service: Killing process 20784 (postmaster) with signal SIGKILL. Jun 06 15:45:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:18 managed-node2 postmaster[25158]: 2026-06-06 15:46:18.223 EDT [25158] LOG: redirecting log output to logging collector process Jun 06 15:46:18 managed-node2 postmaster[25158]: 2026-06-06 15:46:18.223 EDT [25158] HINT: Future log output will appear in directory "log". Jun 06 15:46:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:21 managed-node2 systemd[1]: postgresql.service: Killing process 25159 (postmaster) with signal SIGKILL. Jun 06 15:46:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:21 managed-node2 postmaster[25898]: 2026-06-06 15:46:21.619 EDT [25898] LOG: redirecting log output to logging collector process Jun 06 15:46:21 managed-node2 postmaster[25898]: 2026-06-06 15:46:21.619 EDT [25898] HINT: Future log output will appear in directory "log". Jun 06 15:46:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:25 managed-node2 systemd[1]: postgresql.service: Killing process 25899 (postmaster) with signal SIGKILL. Jun 06 15:46:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:45 managed-node2 postmaster[30140]: 2026-06-06 15:46:45.276 EDT [30140] LOG: redirecting log output to logging collector process Jun 06 15:46:45 managed-node2 postmaster[30140]: 2026-06-06 15:46:45.276 EDT [30140] HINT: Future log output will appear in directory "log". Jun 06 15:46:45 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:48 managed-node2 systemd[1]: postgresql.service: Killing process 30141 (postmaster) with signal SIGKILL. Jun 06 15:46:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:48 managed-node2 postmaster[30948]: 2026-06-06 15:46:48.694 EDT [30948] LOG: redirecting log output to logging collector process Jun 06 15:46:48 managed-node2 postmaster[30948]: 2026-06-06 15:46:48.694 EDT [30948] HINT: Future log output will appear in directory "log". Jun 06 15:46:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:10 managed-node2 systemd[1]: postgresql.service: Killing process 30949 (postmaster) with signal SIGKILL. Jun 06 15:47:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.801 EDT [35759] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.801 EDT [35759] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.803 EDT [35759] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.807 EDT [35759] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.817 EDT [35759] LOG: redirecting log output to logging collector process Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.817 EDT [35759] HINT: Future log output will appear in directory "log". Jun 06 15:47:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:28 managed-node2 systemd[1]: postgresql.service: Killing process 35760 (postmaster) with signal SIGKILL. Jun 06 15:47:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:28 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.785 EDT [36566] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.785 EDT [36566] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.787 EDT [36566] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.791 EDT [36566] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.818 EDT [36566] LOG: redirecting log output to logging collector process Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.818 EDT [36566] HINT: Future log output will appear in directory "log". Jun 06 15:47:28 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:50 managed-node2 systemd[1]: postgresql.service: Killing process 36568 (postmaster) with signal SIGKILL. Jun 06 15:47:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:06 managed-node2 postgres[41413]: 2026-06-06 15:48:06.327 EDT [41413] LOG: redirecting log output to logging collector process Jun 06 15:48:06 managed-node2 postgres[41413]: 2026-06-06 15:48:06.327 EDT [41413] HINT: Future log output will appear in directory "log". Jun 06 15:48:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:09 managed-node2 systemd[1]: postgresql.service: Killing process 41414 (postgres) with signal SIGKILL. Jun 06 15:48:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:09 managed-node2 postgres[42219]: 2026-06-06 15:48:09.397 EDT [42219] LOG: redirecting log output to logging collector process Jun 06 15:48:09 managed-node2 postgres[42219]: 2026-06-06 15:48:09.397 EDT [42219] HINT: Future log output will appear in directory "log". Jun 06 15:48:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:31 managed-node2 systemd[1]: postgresql.service: Killing process 42221 (postgres) with signal SIGKILL. Jun 06 15:48:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 06 June 2026 15:48:34 -0400 (0:00:00.334) 0:02:03.473 ********* included: /tmp/collections-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 06 June 2026 15:48:34 -0400 (0:00:00.031) 0:02:03.504 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 06 June 2026 15:48:34 -0400 (0:00:00.001) 0:02:03.506 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 06 June 2026 15:48:34 -0400 (0:00:00.017) 0:02:03.523 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 06 June 2026 15:48:34 -0400 (0:00:00.042) 0:02:03.566 ********* included: /tmp/collections-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 06 June 2026 15:48:34 -0400 (0:00:00.024) 0:02:03.591 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 06 June 2026 15:48:34 -0400 (0:00:00.756) 0:02:04.348 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 06 June 2026 15:48:35 -0400 (0:00:00.321) 0:02:04.669 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 06 June 2026 15:48:35 -0400 (0:00:00.017) 0:02:04.687 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 06 June 2026 15:48:35 -0400 (0:00:00.017) 0:02:04.704 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 06 June 2026 15:48:35 -0400 (0:00:00.015) 0:02:04.720 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 06 June 2026 15:48:35 -0400 (0:00:00.015) 0:02:04.736 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 06 June 2026 15:48:35 -0400 (0:00:00.016) 0:02:04.752 ********* 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-YpV/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-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 06 June 2026 15:48:35 -0400 (0:00:00.039) 0:02:04.792 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 06 June 2026 15:48:35 -0400 (0:00:00.316) 0:02:05.108 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 06 June 2026 15:48:36 -0400 (0:00:00.318) 0:02:05.427 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 06 June 2026 15:48:36 -0400 (0:00:00.318) 0:02:05.746 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 06 June 2026 15:48:37 -0400 (0:00:01.438) 0:02:07.184 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 06 June 2026 15:48:37 -0400 (0:00:00.029) 0:02:07.213 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 06 June 2026 15:48:37 -0400 (0:00:00.087) 0:02:07.301 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 06 June 2026 15:48:37 -0400 (0:00:00.025) 0:02:07.326 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 06 June 2026 15:48:37 -0400 (0:00:00.021) 0:02:07.348 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 06 June 2026 15:48:44 -0400 (0:00:06.641) 0:02:13.990 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.672559", "end": "2026-06-06 15:48:45.592802", "rc": 0, "start": "2026-06-06 15:48:44.920243" } 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 06 June 2026 15:48:45 -0400 (0:00:01.023) 0:02:15.013 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 06 June 2026 15:48:45 -0400 (0:00:00.020) 0:02:15.034 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 06 June 2026 15:48:45 -0400 (0:00:00.018) 0:02:15.052 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 06 June 2026 15:48:45 -0400 (0:00:00.018) 0:02:15.071 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target systemd-journald.socket system.slice sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 06 June 2026 15:48:46 -0400 (0:00:01.054) 0:02:16.126 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 06 June 2026 15:48:46 -0400 (0:00:00.022) 0:02:16.148 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 06 June 2026 15:48:46 -0400 (0:00:00.022) 0:02:16.171 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 06 June 2026 15:48:46 -0400 (0:00:00.023) 0:02:16.194 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 06 June 2026 15:48:46 -0400 (0:00:00.018) 0:02:16.212 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 06 June 2026 15:48:46 -0400 (0:00:00.021) 0:02:16.234 ********* included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 06 June 2026 15:48:46 -0400 (0:00:00.031) 0:02:16.265 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 06 June 2026 15:48:46 -0400 (0:00:00.020) 0:02:16.286 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 06 June 2026 15:48:46 -0400 (0:00:00.019) 0:02:16.305 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 06 June 2026 15:48:46 -0400 (0:00:00.019) 0:02:16.325 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 06 June 2026 15:48:46 -0400 (0:00:00.021) 0:02:16.346 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 06 June 2026 15:48:46 -0400 (0:00:00.019) 0:02:16.365 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 06 June 2026 15:48:47 -0400 (0:00:00.018) 0:02:16.384 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 06 June 2026 15:48:47 -0400 (0:00:00.018) 0:02:16.403 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 06 June 2026 15:48:47 -0400 (0:00:00.018) 0:02:16.422 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 06 June 2026 15:48:47 -0400 (0:00:00.017) 0:02:16.439 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 06 June 2026 15:48:47 -0400 (0:00:00.021) 0:02:16.461 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 06 June 2026 15:48:47 -0400 (0:00:00.337) 0:02:16.798 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 06 June 2026 15:48:47 -0400 (0:00:00.340) 0:02:17.139 ********* changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1780775327.8059192-13642-271665720380041/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 06 June 2026 15:48:48 -0400 (0:00:00.676) 0:02:17.815 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 06 June 2026 15:48:48 -0400 (0:00:00.022) 0:02:17.838 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 06 June 2026 15:48:48 -0400 (0:00:00.021) 0:02:17.860 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 06 June 2026 15:48:48 -0400 (0:00:00.332) 0:02:18.192 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 06 June 2026 15:48:48 -0400 (0:00:00.019) 0:02:18.211 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 06 June 2026 15:48:48 -0400 (0:00:00.004) 0:02:18.216 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-06 15:48:46 EDT", "ActiveEnterTimestampMonotonic": "423709532", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target network.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-06 15:48:46 EDT", "AssertTimestampMonotonic": "423656972", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-06 15:48:46 EDT", "ConditionTimestampMonotonic": "423656970", "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": "47057", "ExecMainStartTimestamp": "Sat 2026-06-06 15:48:46 EDT", "ExecMainStartTimestampMonotonic": "423666812", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-06-06 15:48:46 EDT] ; stop_time=[n/a] ; pid=47057 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-06-06 15:48:46 EDT] ; stop_time=[Sat 2026-06-06 15:48:46 EDT] ; pid=47054 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-06-06 15:48:46 EDT", "InactiveExitTimestampMonotonic": "423657968", "InvocationID": "651164e54ae04ff295716f7676b17be3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47057", "MemoryAccounting": "yes", "MemoryCurrent": "17874944", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-06-06 15:48:46 EDT", "StateChangeTimestampMonotonic": "423709532", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-06-06 15:48:46 EDT", "WatchdogTimestampMonotonic": "423709529", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 06 June 2026 15:48:49 -0400 (0:00:00.947) 0:02:19.164 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008004", "end": "2026-06-06 15:48:50.090692", "rc": 0, "start": "2026-06-06 15:48:50.082688" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.346) 0:02:19.510 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008304", "end": "2026-06-06 15:48:50.426894", "rc": 0, "start": "2026-06-06 15:48:50.418590" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 06 June 2026 15:48:50 -0400 (0:00:00.334) 0:02:19.844 ********* ASYNC OK on managed-node2: jid=j603696512597.48264 ok: [managed-node2] => { "ansible_job_id": "j603696512597.48264", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011512", "end": "2026-06-06 15:48:50.982697", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j603696512597.48264", "start": "2026-06-06 15:48:50.971185", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 06 June 2026 15:49:06 -0400 (0:00:15.998) 0:02:35.843 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009449", "end": "2026-06-06 15:49:06.774160", "rc": 0, "start": "2026-06-06 15:49:06.764711" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 06 June 2026 15:49:06 -0400 (0:00:00.352) 0:02:36.195 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 06 June 2026 15:49:06 -0400 (0:00:00.032) 0:02:36.228 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009238", "end": "2026-06-06 15:49:07.164273", "rc": 0, "start": "2026-06-06 15:49:07.155035" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 06 June 2026 15:49:07 -0400 (0:00:00.355) 0:02:36.583 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 06 June 2026 15:49:07 -0400 (0:00:00.032) 0:02:36.616 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009258", "end": "2026-06-06 15:49:07.530777", "failed_when_result": false, "rc": 0, "start": "2026-06-06 15:49:07.521519" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 06 June 2026 15:49:07 -0400 (0:00:00.368) 0:02:36.984 ********* included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 06 June 2026 15:49:07 -0400 (0:00:00.032) 0:02:37.017 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 06 June 2026 15:49:07 -0400 (0:00:00.005) 0:02:37.022 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 06 June 2026 15:49:12 -0400 (0:00:04.742) 0:02:41.765 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 06 June 2026 15:49:12 -0400 (0:00:00.019) 0:02:41.784 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 06 June 2026 15:49:12 -0400 (0:00:00.372) 0:02:42.157 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 06 June 2026 15:49:14 -0400 (0:00:01.271) 0:02:43.428 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007550", "end": "2026-06-06 15:49:14.340836", "rc": 0, "start": "2026-06-06 15:49:14.333286" } STDOUT: -- Logs begin at Sat 2026-06-06 15:41:43 EDT, end at Sat 2026-06-06 15:49:14 EDT. -- Jun 06 15:45:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:04 managed-node2 postmaster[10356]: 2026-06-06 15:45:04.590 EDT [10356] LOG: redirecting log output to logging collector process Jun 06 15:45:04 managed-node2 postmaster[10356]: 2026-06-06 15:45:04.590 EDT [10356] HINT: Future log output will appear in directory "log". Jun 06 15:45:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:12 managed-node2 systemd[1]: postgresql.service: Killing process 10357 (postmaster) with signal SIGKILL. Jun 06 15:45:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:12 managed-node2 postmaster[12619]: 2026-06-06 15:45:12.265 EDT [12619] LOG: redirecting log output to logging collector process Jun 06 15:45:12 managed-node2 postmaster[12619]: 2026-06-06 15:45:12.265 EDT [12619] HINT: Future log output will appear in directory "log". Jun 06 15:45:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:16 managed-node2 systemd[1]: postgresql.service: Killing process 12620 (postmaster) with signal SIGKILL. Jun 06 15:45:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:47 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:47 managed-node2 postmaster[19242]: 2026-06-06 15:45:47.956 EDT [19242] LOG: redirecting log output to logging collector process Jun 06 15:45:47 managed-node2 postmaster[19242]: 2026-06-06 15:45:47.956 EDT [19242] HINT: Future log output will appear in directory "log". Jun 06 15:45:47 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:53 managed-node2 systemd[1]: postgresql.service: Killing process 19243 (postmaster) with signal SIGKILL. Jun 06 15:45:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:53 managed-node2 postmaster[20783]: 2026-06-06 15:45:53.396 EDT [20783] LOG: redirecting log output to logging collector process Jun 06 15:45:53 managed-node2 postmaster[20783]: 2026-06-06 15:45:53.396 EDT [20783] HINT: Future log output will appear in directory "log". Jun 06 15:45:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:58 managed-node2 systemd[1]: postgresql.service: Killing process 20784 (postmaster) with signal SIGKILL. Jun 06 15:45:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:18 managed-node2 postmaster[25158]: 2026-06-06 15:46:18.223 EDT [25158] LOG: redirecting log output to logging collector process Jun 06 15:46:18 managed-node2 postmaster[25158]: 2026-06-06 15:46:18.223 EDT [25158] HINT: Future log output will appear in directory "log". Jun 06 15:46:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:21 managed-node2 systemd[1]: postgresql.service: Killing process 25159 (postmaster) with signal SIGKILL. Jun 06 15:46:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:21 managed-node2 postmaster[25898]: 2026-06-06 15:46:21.619 EDT [25898] LOG: redirecting log output to logging collector process Jun 06 15:46:21 managed-node2 postmaster[25898]: 2026-06-06 15:46:21.619 EDT [25898] HINT: Future log output will appear in directory "log". Jun 06 15:46:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:25 managed-node2 systemd[1]: postgresql.service: Killing process 25899 (postmaster) with signal SIGKILL. Jun 06 15:46:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:45 managed-node2 postmaster[30140]: 2026-06-06 15:46:45.276 EDT [30140] LOG: redirecting log output to logging collector process Jun 06 15:46:45 managed-node2 postmaster[30140]: 2026-06-06 15:46:45.276 EDT [30140] HINT: Future log output will appear in directory "log". Jun 06 15:46:45 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:48 managed-node2 systemd[1]: postgresql.service: Killing process 30141 (postmaster) with signal SIGKILL. Jun 06 15:46:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:48 managed-node2 postmaster[30948]: 2026-06-06 15:46:48.694 EDT [30948] LOG: redirecting log output to logging collector process Jun 06 15:46:48 managed-node2 postmaster[30948]: 2026-06-06 15:46:48.694 EDT [30948] HINT: Future log output will appear in directory "log". Jun 06 15:46:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:10 managed-node2 systemd[1]: postgresql.service: Killing process 30949 (postmaster) with signal SIGKILL. Jun 06 15:47:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.801 EDT [35759] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.801 EDT [35759] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.803 EDT [35759] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.807 EDT [35759] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.817 EDT [35759] LOG: redirecting log output to logging collector process Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.817 EDT [35759] HINT: Future log output will appear in directory "log". Jun 06 15:47:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:28 managed-node2 systemd[1]: postgresql.service: Killing process 35760 (postmaster) with signal SIGKILL. Jun 06 15:47:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:28 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.785 EDT [36566] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.785 EDT [36566] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.787 EDT [36566] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.791 EDT [36566] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.818 EDT [36566] LOG: redirecting log output to logging collector process Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.818 EDT [36566] HINT: Future log output will appear in directory "log". Jun 06 15:47:28 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:50 managed-node2 systemd[1]: postgresql.service: Killing process 36568 (postmaster) with signal SIGKILL. Jun 06 15:47:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:06 managed-node2 postgres[41413]: 2026-06-06 15:48:06.327 EDT [41413] LOG: redirecting log output to logging collector process Jun 06 15:48:06 managed-node2 postgres[41413]: 2026-06-06 15:48:06.327 EDT [41413] HINT: Future log output will appear in directory "log". Jun 06 15:48:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:09 managed-node2 systemd[1]: postgresql.service: Killing process 41414 (postgres) with signal SIGKILL. Jun 06 15:48:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:09 managed-node2 postgres[42219]: 2026-06-06 15:48:09.397 EDT [42219] LOG: redirecting log output to logging collector process Jun 06 15:48:09 managed-node2 postgres[42219]: 2026-06-06 15:48:09.397 EDT [42219] HINT: Future log output will appear in directory "log". Jun 06 15:48:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:31 managed-node2 systemd[1]: postgresql.service: Killing process 42221 (postgres) with signal SIGKILL. Jun 06 15:48:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.663 EDT [47057] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.664 EDT [47057] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.664 EDT [47057] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.666 EDT [47057] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.670 EDT [47057] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.681 EDT [47057] LOG: redirecting log output to logging collector process Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.681 EDT [47057] HINT: Future log output will appear in directory "log". Jun 06 15:48:46 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:49 managed-node2 systemd[1]: postgresql.service: Killing process 47058 (postmaster) with signal SIGKILL. Jun 06 15:48:49 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:49 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.685 EDT [47865] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.685 EDT [47865] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.685 EDT [47865] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.687 EDT [47865] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.691 EDT [47865] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.720 EDT [47865] LOG: redirecting log output to logging collector process Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.720 EDT [47865] HINT: Future log output will appear in directory "log". Jun 06 15:48:49 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:49:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:49:11 managed-node2 systemd[1]: postgresql.service: Killing process 47866 (postmaster) with signal SIGKILL. Jun 06 15:49:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:49:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 06 June 2026 15:49:14 -0400 (0:00:00.332) 0:02:43.760 ********* included: /tmp/collections-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 06 June 2026 15:49:14 -0400 (0:00:00.030) 0:02:43.791 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 06 June 2026 15:49:14 -0400 (0:00:00.001) 0:02:43.792 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 06 June 2026 15:49:14 -0400 (0:00:00.017) 0:02:43.809 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 06 June 2026 15:49:14 -0400 (0:00:00.043) 0:02:43.853 ********* included: /tmp/collections-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 06 June 2026 15:49:14 -0400 (0:00:00.024) 0:02:43.878 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 06 June 2026 15:49:15 -0400 (0:00:00.760) 0:02:44.638 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 06 June 2026 15:49:15 -0400 (0:00:00.317) 0:02:44.956 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 06 June 2026 15:49:15 -0400 (0:00:00.017) 0:02:44.974 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 06 June 2026 15:49:15 -0400 (0:00:00.017) 0:02:44.991 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 06 June 2026 15:49:15 -0400 (0:00:00.017) 0:02:45.008 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 06 June 2026 15:49:15 -0400 (0:00:00.017) 0:02:45.025 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 06 June 2026 15:49:15 -0400 (0:00:00.017) 0:02:45.042 ********* 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-YpV/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-YpV/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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 06 June 2026 15:49:15 -0400 (0:00:00.040) 0:02:45.083 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 06 June 2026 15:49:16 -0400 (0:00:00.317) 0:02:45.401 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 06 June 2026 15:49:16 -0400 (0:00:00.317) 0:02:45.718 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 06 June 2026 15:49:16 -0400 (0:00:00.318) 0:02:46.036 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 06 June 2026 15:49:18 -0400 (0:00:01.410) 0:02:47.447 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 06 June 2026 15:49:18 -0400 (0:00:00.028) 0:02:47.476 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 06 June 2026 15:49:18 -0400 (0:00:00.024) 0:02:47.500 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 06 June 2026 15:49:18 -0400 (0:00:00.025) 0:02:47.526 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 06 June 2026 15:49:18 -0400 (0:00:00.020) 0:02:47.546 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 06 June 2026 15:49:25 -0400 (0:00:06.936) 0:02:54.482 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.729171", "end": "2026-06-06 15:49:26.138464", "rc": 0, "start": "2026-06-06 15:49:25.409293" } 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 06 June 2026 15:49:26 -0400 (0:00:01.076) 0:02:55.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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 06 June 2026 15:49:26 -0400 (0:00:00.021) 0:02:55.580 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 06 June 2026 15:49:26 -0400 (0:00:00.019) 0:02:55.600 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 06 June 2026 15:49:26 -0400 (0:00:00.019) 0:02:55.619 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target system.slice basic.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 06 June 2026 15:49:27 -0400 (0:00:01.042) 0:02:56.661 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.023) 0:02:56.685 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.021) 0:02:56.706 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.021) 0:02:56.728 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.017) 0:02:56.746 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.022) 0:02:56.768 ********* included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.033) 0:02:56.802 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.018) 0:02:56.821 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.019) 0:02:56.840 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.018) 0:02:56.859 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.018) 0:02:56.877 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.017) 0:02:56.895 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.047) 0:02:56.943 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.020) 0:02:56.963 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.018) 0:02:56.981 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.017) 0:02:56.999 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.024) 0:02:57.023 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 06 June 2026 15:49:27 -0400 (0:00:00.338) 0:02:57.361 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 06 June 2026 15:49:28 -0400 (0:00:00.338) 0:02:57.699 ********* changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1780775368.3657174-14054-199662311347685/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 06 June 2026 15:49:28 -0400 (0:00:00.667) 0:02:58.366 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.024) 0:02:58.390 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.021) 0:02:58.412 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.333) 0:02:58.746 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.021) 0:02:58.768 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 06 June 2026 15:49:29 -0400 (0:00:00.005) 0:02:58.773 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-06 15:49:27 EDT", "ActiveEnterTimestampMonotonic": "464248258", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-06 15:49:27 EDT", "AssertTimestampMonotonic": "464197353", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-06 15:49:27 EDT", "ConditionTimestampMonotonic": "464197352", "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": "52713", "ExecMainStartTimestamp": "Sat 2026-06-06 15:49:27 EDT", "ExecMainStartTimestampMonotonic": "464207131", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-06-06 15:49:27 EDT] ; stop_time=[n/a] ; pid=52713 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-06-06 15:49:27 EDT] ; stop_time=[Sat 2026-06-06 15:49:27 EDT] ; pid=52711 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-06-06 15:49:27 EDT", "InactiveExitTimestampMonotonic": "464198274", "InvocationID": "284c48f4b77b42829621aab20a71b2e5", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52713", "MemoryAccounting": "yes", "MemoryCurrent": "18481152", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-06-06 15:49:27 EDT", "StateChangeTimestampMonotonic": "464248258", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-06-06 15:49:27 EDT", "WatchdogTimestampMonotonic": "464248256", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 06 June 2026 15:49:30 -0400 (0:00:00.950) 0:02:59.723 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007738", "end": "2026-06-06 15:49:30.637326", "rc": 0, "start": "2026-06-06 15:49:30.629588" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 06 June 2026 15:49:30 -0400 (0:00:00.332) 0:03:00.055 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007955", "end": "2026-06-06 15:49:30.968314", "rc": 0, "start": "2026-06-06 15:49:30.960359" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 06 June 2026 15:49:31 -0400 (0:00:00.333) 0:03:00.389 ********* ASYNC OK on managed-node2: jid=j614446093067.53919 ok: [managed-node2] => { "ansible_job_id": "j614446093067.53919", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012814", "end": "2026-06-06 15:49:31.530162", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j614446093067.53919", "start": "2026-06-06 15:49:31.517348", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 06 June 2026 15:49:47 -0400 (0:00:16.001) 0:03:16.390 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009240", "end": "2026-06-06 15:49:47.323281", "rc": 0, "start": "2026-06-06 15:49:47.314041" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 06 June 2026 15:49:47 -0400 (0:00:00.352) 0:03:16.743 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 06 June 2026 15:49:47 -0400 (0:00:00.033) 0:03:16.777 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009499", "end": "2026-06-06 15:49:47.711507", "rc": 0, "start": "2026-06-06 15:49:47.702008" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 06 June 2026 15:49:47 -0400 (0:00:00.357) 0:03:17.134 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 06 June 2026 15:49:47 -0400 (0:00:00.034) 0:03:17.168 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009310", "end": "2026-06-06 15:49:48.086713", "failed_when_result": false, "rc": 0, "start": "2026-06-06 15:49:48.077403" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 06 June 2026 15:49:48 -0400 (0:00:00.342) 0:03:17.511 ********* included: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 06 June 2026 15:49:48 -0400 (0:00:00.034) 0:03:17.546 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 06 June 2026 15:49:48 -0400 (0:00:00.004) 0:03:17.550 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 06 June 2026 15:49:52 -0400 (0:00:04.742) 0:03:22.293 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 06 June 2026 15:49:52 -0400 (0:00:00.018) 0:03:22.311 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 06 June 2026 15:49:53 -0400 (0:00:00.377) 0:03:22.688 ********* 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-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 06 June 2026 15:49:54 -0400 (0:00:01.272) 0:03:23.960 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007842", "end": "2026-06-06 15:49:54.882688", "rc": 0, "start": "2026-06-06 15:49:54.874846" } STDOUT: -- Logs begin at Sat 2026-06-06 15:41:43 EDT, end at Sat 2026-06-06 15:49:54 EDT. -- Jun 06 15:45:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:04 managed-node2 postmaster[10356]: 2026-06-06 15:45:04.590 EDT [10356] LOG: redirecting log output to logging collector process Jun 06 15:45:04 managed-node2 postmaster[10356]: 2026-06-06 15:45:04.590 EDT [10356] HINT: Future log output will appear in directory "log". Jun 06 15:45:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:12 managed-node2 systemd[1]: postgresql.service: Killing process 10357 (postmaster) with signal SIGKILL. Jun 06 15:45:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:12 managed-node2 postmaster[12619]: 2026-06-06 15:45:12.265 EDT [12619] LOG: redirecting log output to logging collector process Jun 06 15:45:12 managed-node2 postmaster[12619]: 2026-06-06 15:45:12.265 EDT [12619] HINT: Future log output will appear in directory "log". Jun 06 15:45:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:16 managed-node2 systemd[1]: postgresql.service: Killing process 12620 (postmaster) with signal SIGKILL. Jun 06 15:45:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:47 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:47 managed-node2 postmaster[19242]: 2026-06-06 15:45:47.956 EDT [19242] LOG: redirecting log output to logging collector process Jun 06 15:45:47 managed-node2 postmaster[19242]: 2026-06-06 15:45:47.956 EDT [19242] HINT: Future log output will appear in directory "log". Jun 06 15:45:47 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:53 managed-node2 systemd[1]: postgresql.service: Killing process 19243 (postmaster) with signal SIGKILL. Jun 06 15:45:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:45:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:45:53 managed-node2 postmaster[20783]: 2026-06-06 15:45:53.396 EDT [20783] LOG: redirecting log output to logging collector process Jun 06 15:45:53 managed-node2 postmaster[20783]: 2026-06-06 15:45:53.396 EDT [20783] HINT: Future log output will appear in directory "log". Jun 06 15:45:53 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:45:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:45:58 managed-node2 systemd[1]: postgresql.service: Killing process 20784 (postmaster) with signal SIGKILL. Jun 06 15:45:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:45:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:18 managed-node2 postmaster[25158]: 2026-06-06 15:46:18.223 EDT [25158] LOG: redirecting log output to logging collector process Jun 06 15:46:18 managed-node2 postmaster[25158]: 2026-06-06 15:46:18.223 EDT [25158] HINT: Future log output will appear in directory "log". Jun 06 15:46:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:21 managed-node2 systemd[1]: postgresql.service: Killing process 25159 (postmaster) with signal SIGKILL. Jun 06 15:46:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:21 managed-node2 postmaster[25898]: 2026-06-06 15:46:21.619 EDT [25898] LOG: redirecting log output to logging collector process Jun 06 15:46:21 managed-node2 postmaster[25898]: 2026-06-06 15:46:21.619 EDT [25898] HINT: Future log output will appear in directory "log". Jun 06 15:46:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:25 managed-node2 systemd[1]: postgresql.service: Killing process 25899 (postmaster) with signal SIGKILL. Jun 06 15:46:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:45 managed-node2 postmaster[30140]: 2026-06-06 15:46:45.276 EDT [30140] LOG: redirecting log output to logging collector process Jun 06 15:46:45 managed-node2 postmaster[30140]: 2026-06-06 15:46:45.276 EDT [30140] HINT: Future log output will appear in directory "log". Jun 06 15:46:45 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:46:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:46:48 managed-node2 systemd[1]: postgresql.service: Killing process 30141 (postmaster) with signal SIGKILL. Jun 06 15:46:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:46:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:46:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:46:48 managed-node2 postmaster[30948]: 2026-06-06 15:46:48.694 EDT [30948] LOG: redirecting log output to logging collector process Jun 06 15:46:48 managed-node2 postmaster[30948]: 2026-06-06 15:46:48.694 EDT [30948] HINT: Future log output will appear in directory "log". Jun 06 15:46:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:10 managed-node2 systemd[1]: postgresql.service: Killing process 30949 (postmaster) with signal SIGKILL. Jun 06 15:47:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.801 EDT [35759] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.801 EDT [35759] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.803 EDT [35759] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.807 EDT [35759] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.817 EDT [35759] LOG: redirecting log output to logging collector process Jun 06 15:47:25 managed-node2 postmaster[35759]: 2026-06-06 15:47:25.817 EDT [35759] HINT: Future log output will appear in directory "log". Jun 06 15:47:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:28 managed-node2 systemd[1]: postgresql.service: Killing process 35760 (postmaster) with signal SIGKILL. Jun 06 15:47:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:47:28 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.785 EDT [36566] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.785 EDT [36566] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.787 EDT [36566] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.791 EDT [36566] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.818 EDT [36566] LOG: redirecting log output to logging collector process Jun 06 15:47:28 managed-node2 postmaster[36566]: 2026-06-06 15:47:28.818 EDT [36566] HINT: Future log output will appear in directory "log". Jun 06 15:47:28 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:47:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:47:50 managed-node2 systemd[1]: postgresql.service: Killing process 36568 (postmaster) with signal SIGKILL. Jun 06 15:47:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:47:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:06 managed-node2 postgres[41413]: 2026-06-06 15:48:06.327 EDT [41413] LOG: redirecting log output to logging collector process Jun 06 15:48:06 managed-node2 postgres[41413]: 2026-06-06 15:48:06.327 EDT [41413] HINT: Future log output will appear in directory "log". Jun 06 15:48:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:09 managed-node2 systemd[1]: postgresql.service: Killing process 41414 (postgres) with signal SIGKILL. Jun 06 15:48:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:09 managed-node2 postgres[42219]: 2026-06-06 15:48:09.397 EDT [42219] LOG: redirecting log output to logging collector process Jun 06 15:48:09 managed-node2 postgres[42219]: 2026-06-06 15:48:09.397 EDT [42219] HINT: Future log output will appear in directory "log". Jun 06 15:48:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:31 managed-node2 systemd[1]: postgresql.service: Killing process 42221 (postgres) with signal SIGKILL. Jun 06 15:48:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.663 EDT [47057] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.664 EDT [47057] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.664 EDT [47057] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.666 EDT [47057] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.670 EDT [47057] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.681 EDT [47057] LOG: redirecting log output to logging collector process Jun 06 15:48:46 managed-node2 postmaster[47057]: 2026-06-06 15:48:46.681 EDT [47057] HINT: Future log output will appear in directory "log". Jun 06 15:48:46 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:48:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:48:49 managed-node2 systemd[1]: postgresql.service: Killing process 47058 (postmaster) with signal SIGKILL. Jun 06 15:48:49 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:48:49 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:48:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.685 EDT [47865] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.685 EDT [47865] LOG: listening on IPv6 address "::1", port 5432 Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.685 EDT [47865] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.687 EDT [47865] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.691 EDT [47865] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.720 EDT [47865] LOG: redirecting log output to logging collector process Jun 06 15:48:49 managed-node2 postmaster[47865]: 2026-06-06 15:48:49.720 EDT [47865] HINT: Future log output will appear in directory "log". Jun 06 15:48:49 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:49:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:49:11 managed-node2 systemd[1]: postgresql.service: Killing process 47866 (postmaster) with signal SIGKILL. Jun 06 15:49:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:49:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:49:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:49:27 managed-node2 postmaster[52713]: 2026-06-06 15:49:27.212 EDT [52713] LOG: redirecting log output to logging collector process Jun 06 15:49:27 managed-node2 postmaster[52713]: 2026-06-06 15:49:27.212 EDT [52713] HINT: Future log output will appear in directory "log". Jun 06 15:49:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:49:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:49:30 managed-node2 systemd[1]: postgresql.service: Killing process 52715 (postmaster) with signal SIGKILL. Jun 06 15:49:30 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:49:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 06 15:49:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 06 15:49:30 managed-node2 postmaster[53521]: 2026-06-06 15:49:30.273 EDT [53521] LOG: redirecting log output to logging collector process Jun 06 15:49:30 managed-node2 postmaster[53521]: 2026-06-06 15:49:30.273 EDT [53521] HINT: Future log output will appear in directory "log". Jun 06 15:49:30 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 06 15:49:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 06 15:49:52 managed-node2 systemd[1]: postgresql.service: Killing process 53522 (postmaster) with signal SIGKILL. Jun 06 15:49:52 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 06 15:49:52 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 06 June 2026 15:49:54 -0400 (0:00:00.336) 0:03:24.297 ********* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.17s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.00s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.00s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.00s /tmp/collections-YpV/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.99s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 7.03s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.94s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.64s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.24s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.23s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.80s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.76s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.74s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.74s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.72s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.63s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.44s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.43s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.41s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.41s /tmp/collections-YpV/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8