ansible-playbook [core 2.16.19] 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-etZ 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-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 11 July 2026 15:20:07 -0400 (0:00:00.017) 0:00:00.017 ********* ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 11 July 2026 15:20:08 -0400 (0:00:01.046) 0:00:01.063 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 11 July 2026 15:20:08 -0400 (0:00:00.005) 0:00:01.069 ********* included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 11 July 2026 15:20:08 -0400 (0:00:00.037) 0:00:01.106 ********* included: /tmp/collections-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 11 July 2026 15:20:08 -0400 (0:00:00.038) 0:00:01.145 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 11 July 2026 15:20:08 -0400 (0:00:00.000) 0:00:01.146 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 11 July 2026 15:20:08 -0400 (0:00:00.015) 0:00:01.161 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 11 July 2026 15:20:08 -0400 (0:00:00.076) 0:00:01.238 ********* included: /tmp/collections-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 11 July 2026 15:20:08 -0400 (0:00:00.024) 0:00:01.262 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 11 July 2026 15:20:09 -0400 (0:00:00.761) 0:00:02.023 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 11 July 2026 15:20:09 -0400 (0:00:00.417) 0:00:02.441 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 11 July 2026 15:20:10 -0400 (0:00:00.470) 0:00:02.912 ********* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 11 July 2026 15:20:10 -0400 (0:00:00.022) 0:00:02.934 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007876", "end": "2026-07-11 15:20:10.550600", "failed_when_result": false, "rc": 0, "start": "2026-07-11 15:20:10.542724" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 11 July 2026 15:20:10 -0400 (0:00:00.445) 0:00:03.380 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 11 July 2026 15:20:10 -0400 (0:00:00.020) 0:00:03.401 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 11 July 2026 15:20:10 -0400 (0:00:00.022) 0:00:03.423 ********* 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-etZ/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-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 11 July 2026 15:20:10 -0400 (0:00:00.050) 0:00:03.473 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 11 July 2026 15:20:11 -0400 (0:00:00.327) 0:00:03.801 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 11 July 2026 15:20:11 -0400 (0:00:00.338) 0:00:04.139 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 11 July 2026 15:20:11 -0400 (0:00:00.318) 0:00:04.458 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 11 July 2026 15:20:13 -0400 (0:00:01.662) 0:00:06.120 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 11 July 2026 15:20:13 -0400 (0:00:00.032) 0:00:06.153 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 11 July 2026 15:20:13 -0400 (0:00:00.023) 0:00:06.177 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 11 July 2026 15:20:13 -0400 (0:00:00.022) 0:00:06.199 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 11 July 2026 15:20:13 -0400 (0:00:00.018) 0:00:06.218 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 11 July 2026 15:20:19 -0400 (0:00:06.068) 0:00:12.287 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.722326", "end": "2026-07-11 15:20:20.531532", "rc": 0, "start": "2026-07-11 15:20:19.809206" } 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 11 July 2026 15:20:20 -0400 (0:00:01.074) 0:00:13.362 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 11 July 2026 15:20:20 -0400 (0:00:00.020) 0:00:13.383 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 11 July 2026 15:20:20 -0400 (0:00:00.022) 0:00:13.405 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 11 July 2026 15:20:20 -0400 (0:00:00.017) 0:00:13.423 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket network.target sysinit.target system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "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": "22088", "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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 11 July 2026 15:20:21 -0400 (0:00:01.251) 0:00:14.674 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 11 July 2026 15:20:21 -0400 (0:00:00.020) 0:00:14.695 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 11 July 2026 15:20:21 -0400 (0:00:00.032) 0:00:14.727 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 11 July 2026 15:20:21 -0400 (0:00:00.025) 0:00:14.753 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 11 July 2026 15:20:21 -0400 (0:00:00.017) 0:00:14.771 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.020) 0:00:14.791 ********* included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.028) 0:00:14.820 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.018) 0:00:14.838 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.018) 0:00:14.857 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.017) 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 : Install certificate from the default path] *** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.017) 0:00:14.892 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.018) 0:00:14.910 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.018) 0:00:14.929 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.017) 0:00:14.946 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.015) 0:00:14.962 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.016) 0:00:14.979 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.019) 0:00:14.999 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 11 July 2026 15:20:22 -0400 (0:00:00.455) 0:00:15.454 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 11 July 2026 15:20:23 -0400 (0:00:00.444) 0:00:15.898 ********* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1783797623.1543849-12462-210987318985235/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 11 July 2026 15:20:23 -0400 (0:00:00.810) 0:00:16.708 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 11 July 2026 15:20:23 -0400 (0:00:00.021) 0:00:16.730 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 11 July 2026 15:20:23 -0400 (0:00:00.020) 0:00:16.750 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 11 July 2026 15:20:24 -0400 (0:00:00.330) 0:00:17.080 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 11 July 2026 15:20:24 -0400 (0:00:00.018) 0:00:17.098 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 11 July 2026 15:20:24 -0400 (0:00:00.004) 0:00:17.103 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-11 15:20:21 EDT", "ActiveEnterTimestampMonotonic": "306648960", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target sysinit.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-11 15:20:21 EDT", "AssertTimestampMonotonic": "306599898", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-07-11 15:20:21 EDT", "ConditionTimestampMonotonic": "306599898", "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": "30204", "ExecMainStartTimestamp": "Sat 2026-07-11 15:20:21 EDT", "ExecMainStartTimestampMonotonic": "306609316", "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-07-11 15:20:21 EDT] ; stop_time=[n/a] ; pid=30204 ; 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-07-11 15:20:21 EDT] ; stop_time=[Sat 2026-07-11 15:20:21 EDT] ; pid=30201 ; 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-07-11 15:20:21 EDT", "InactiveExitTimestampMonotonic": "306600858", "InvocationID": "015ca8110d6a4cb38b7318a3d2354402", "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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30204", "MemoryAccounting": "yes", "MemoryCurrent": "17870848", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-07-11 15:20:21 EDT", "StateChangeTimestampMonotonic": "306648960", "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": "22088", "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-07-11 15:20:21 EDT", "WatchdogTimestampMonotonic": "306648959", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 11 July 2026 15:20:25 -0400 (0:00:00.924) 0:00:18.028 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007815", "end": "2026-07-11 15:20:25.530640", "rc": 0, "start": "2026-07-11 15:20:25.522825" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 11 July 2026 15:20:25 -0400 (0:00:00.330) 0:00:18.359 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007952", "end": "2026-07-11 15:20:25.856960", "rc": 0, "start": "2026-07-11 15:20:25.849008" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 11 July 2026 15:20:25 -0400 (0:00:00.324) 0:00:18.683 ********* ASYNC OK on managed-node2: jid=j665978998824.31411 ok: [managed-node2] => { "ansible_job_id": "j665978998824.31411", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011710", "end": "2026-07-11 15:20:26.502381", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j665978998824.31411", "start": "2026-07-11 15:20:26.490671", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 11 July 2026 15:20:42 -0400 (0:00:16.168) 0:00:34.851 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009412", "end": "2026-07-11 15:20:42.367446", "rc": 0, "start": "2026-07-11 15:20:42.358034" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 11 July 2026 15:20:42 -0400 (0:00:00.345) 0:00:35.196 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 11 July 2026 15:20:42 -0400 (0:00:00.035) 0:00:35.231 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009679", "end": "2026-07-11 15:20:42.747496", "rc": 0, "start": "2026-07-11 15:20:42.737817" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 11 July 2026 15:20:42 -0400 (0:00:00.344) 0:00:35.575 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 11 July 2026 15:20:42 -0400 (0:00:00.031) 0:00:35.607 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008799", "end": "2026-07-11 15:20:43.108847", "failed_when_result": false, "rc": 0, "start": "2026-07-11 15:20:43.100048" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 11 July 2026 15:20:43 -0400 (0:00:00.337) 0:00:35.945 ********* included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 11 July 2026 15:20:43 -0400 (0:00:00.033) 0:00:35.978 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 11 July 2026 15:20:43 -0400 (0:00:00.004) 0:00:35.983 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 11 July 2026 15:20:47 -0400 (0:00:04.680) 0:00:40.663 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 11 July 2026 15:20:47 -0400 (0:00:00.018) 0:00:40.682 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 11 July 2026 15:20:48 -0400 (0:00:00.369) 0:00:41.051 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 11 July 2026 15:20:49 -0400 (0:00:01.253) 0:00:42.305 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006983", "end": "2026-07-11 15:20:49.801661", "rc": 0, "start": "2026-07-11 15:20:49.794678" } STDOUT: -- Logs begin at Sat 2026-07-11 15:15:15 EDT, end at Sat 2026-07-11 15:20:49 EDT. -- Jul 11 15:18:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:18:42 managed-node2 postmaster[10420]: 2026-07-11 15:18:42.440 EDT [10420] LOG: redirecting log output to logging collector process Jul 11 15:18:42 managed-node2 postmaster[10420]: 2026-07-11 15:18:42.440 EDT [10420] HINT: Future log output will appear in directory "log". Jul 11 15:18:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:18:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:18:50 managed-node2 systemd[1]: postgresql.service: Killing process 10421 (postmaster) with signal SIGKILL. Jul 11 15:18:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:18:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:18:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:18:50 managed-node2 postmaster[12682]: 2026-07-11 15:18:50.206 EDT [12682] LOG: redirecting log output to logging collector process Jul 11 15:18:50 managed-node2 postmaster[12682]: 2026-07-11 15:18:50.206 EDT [12682] HINT: Future log output will appear in directory "log". Jul 11 15:18:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:18:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:18:54 managed-node2 systemd[1]: postgresql.service: Killing process 12684 (postmaster) with signal SIGKILL. Jul 11 15:18:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:18:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:25 managed-node2 postmaster[19306]: 2026-07-11 15:19:25.943 EDT [19306] LOG: redirecting log output to logging collector process Jul 11 15:19:25 managed-node2 postmaster[19306]: 2026-07-11 15:19:25.943 EDT [19306] HINT: Future log output will appear in directory "log". Jul 11 15:19:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:31 managed-node2 systemd[1]: postgresql.service: Killing process 19307 (postmaster) with signal SIGKILL. Jul 11 15:19:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:31 managed-node2 postmaster[20846]: 2026-07-11 15:19:31.301 EDT [20846] LOG: redirecting log output to logging collector process Jul 11 15:19:31 managed-node2 postmaster[20846]: 2026-07-11 15:19:31.301 EDT [20846] HINT: Future log output will appear in directory "log". Jul 11 15:19:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:36 managed-node2 systemd[1]: postgresql.service: Killing process 20848 (postmaster) with signal SIGKILL. Jul 11 15:19:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:55 managed-node2 postmaster[25222]: 2026-07-11 15:19:55.381 EDT [25222] LOG: redirecting log output to logging collector process Jul 11 15:19:55 managed-node2 postmaster[25222]: 2026-07-11 15:19:55.381 EDT [25222] HINT: Future log output will appear in directory "log". Jul 11 15:19:55 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:58 managed-node2 systemd[1]: postgresql.service: Killing process 25223 (postmaster) with signal SIGKILL. Jul 11 15:19:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:58 managed-node2 postmaster[25961]: 2026-07-11 15:19:58.691 EDT [25961] LOG: redirecting log output to logging collector process Jul 11 15:19:58 managed-node2 postmaster[25961]: 2026-07-11 15:19:58.691 EDT [25961] HINT: Future log output will appear in directory "log". Jul 11 15:19:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:02 managed-node2 systemd[1]: postgresql.service: Killing process 25963 (postmaster) with signal SIGKILL. Jul 11 15:20:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:21 managed-node2 postmaster[30204]: 2026-07-11 15:20:21.818 EDT [30204] LOG: redirecting log output to logging collector process Jul 11 15:20:21 managed-node2 postmaster[30204]: 2026-07-11 15:20:21.818 EDT [30204] HINT: Future log output will appear in directory "log". Jul 11 15:20:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:25 managed-node2 systemd[1]: postgresql.service: Killing process 30205 (postmaster) with signal SIGKILL. Jul 11 15:20:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:25 managed-node2 postmaster[31011]: 2026-07-11 15:20:25.171 EDT [31011] LOG: redirecting log output to logging collector process Jul 11 15:20:25 managed-node2 postmaster[31011]: 2026-07-11 15:20:25.171 EDT [31011] HINT: Future log output will appear in directory "log". Jul 11 15:20:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:47 managed-node2 systemd[1]: postgresql.service: Killing process 31013 (postmaster) with signal SIGKILL. Jul 11 15:20:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 11 July 2026 15:20:49 -0400 (0:00:00.325) 0:00:42.630 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 11 July 2026 15:20:49 -0400 (0:00:00.011) 0:00:42.642 ********* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 11 July 2026 15:20:49 -0400 (0:00:00.023) 0:00:42.666 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) included: /tmp/collections-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 11 July 2026 15:20:49 -0400 (0:00:00.086) 0:00:42.752 ********* included: /tmp/collections-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 11 July 2026 15:20:50 -0400 (0:00:00.028) 0:00:42.780 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 11 July 2026 15:20:50 -0400 (0:00:00.000) 0:00:42.781 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 11 July 2026 15:20:50 -0400 (0:00:00.015) 0:00:42.797 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 11 July 2026 15:20:50 -0400 (0:00:00.040) 0:00:42.837 ********* included: /tmp/collections-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 11 July 2026 15:20:50 -0400 (0:00:00.023) 0:00:42.861 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 11 July 2026 15:20:50 -0400 (0:00:00.762) 0:00:43.624 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 11 July 2026 15:20:51 -0400 (0:00:00.312) 0:00:43.937 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 11 July 2026 15:20:51 -0400 (0:00:00.020) 0:00:43.957 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 11 July 2026 15:20:51 -0400 (0:00:00.016) 0:00:43.974 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 11 July 2026 15:20:51 -0400 (0:00:00.015) 0:00:43.989 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 11 July 2026 15:20:51 -0400 (0:00:00.015) 0:00:44.005 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 11 July 2026 15:20:51 -0400 (0:00:00.015) 0:00:44.021 ********* [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-etZ/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-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 11 July 2026 15:20:51 -0400 (0:00:00.038) 0:00:44.060 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 11 July 2026 15:20:51 -0400 (0:00:00.313) 0:00:44.373 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 11 July 2026 15:20:51 -0400 (0:00:00.315) 0:00:44.688 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 11 July 2026 15:20:52 -0400 (0:00:00.312) 0:00:45.001 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 11 July 2026 15:20:53 -0400 (0:00:01.400) 0:00:46.402 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 11 July 2026 15:20:53 -0400 (0:00:00.028) 0:00:46.430 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 11 July 2026 15:20:53 -0400 (0:00:00.081) 0:00:46.512 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 11 July 2026 15:20:53 -0400 (0:00:00.024) 0:00:46.537 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 11 July 2026 15:20:53 -0400 (0:00:00.019) 0:00:46.557 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 11 July 2026 15:21:00 -0400 (0:00:06.779) 0:00:53.336 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.713932", "end": "2026-07-11 15:21:01.571350", "rc": 0, "start": "2026-07-11 15:21:00.857418" } 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 11 July 2026 15:21:01 -0400 (0:00:01.065) 0:00:54.401 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 11 July 2026 15:21:01 -0400 (0:00:00.020) 0:00:54.422 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 11 July 2026 15:21:01 -0400 (0:00:00.018) 0:00:54.441 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 11 July 2026 15:21:01 -0400 (0:00:00.018) 0:00:54.460 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target systemd-journald.socket basic.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "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": "22088", "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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 11 July 2026 15:21:02 -0400 (0:00:01.051) 0:00:55.512 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.021) 0:00:55.533 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.021) 0:00:55.555 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.022) 0:00:55.578 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.017) 0:00:55.595 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.021) 0:00:55.617 ********* included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.030) 0:00:55.648 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.018) 0:00:55.667 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.018) 0:00:55.685 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.017) 0:00:55.703 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.019) 0:00:55.722 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.017) 0:00:55.740 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.017) 0:00:55.758 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 11 July 2026 15:21:02 -0400 (0:00:00.017) 0:00:55.775 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 11 July 2026 15:21:03 -0400 (0:00:00.017) 0:00:55.793 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 11 July 2026 15:21:03 -0400 (0:00:00.015) 0:00:55.808 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 11 July 2026 15:21:03 -0400 (0:00:00.019) 0:00:55.828 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 11 July 2026 15:21:03 -0400 (0:00:00.335) 0:00:56.164 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 11 July 2026 15:21:03 -0400 (0:00:00.336) 0:00:56.501 ********* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1783797663.7591033-12876-26275646892155/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 11 July 2026 15:21:04 -0400 (0:00:00.669) 0:00:57.171 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 11 July 2026 15:21:04 -0400 (0:00:00.021) 0:00:57.192 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 11 July 2026 15:21:04 -0400 (0:00:00.020) 0:00:57.212 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 11 July 2026 15:21:04 -0400 (0:00:00.329) 0:00:57.542 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 11 July 2026 15:21:04 -0400 (0:00:00.018) 0:00:57.561 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 11 July 2026 15:21:04 -0400 (0:00:00.005) 0:00:57.566 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-11 15:21:02 EDT", "ActiveEnterTimestampMonotonic": "347483173", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target sysinit.target systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-11 15:21:02 EDT", "AssertTimestampMonotonic": "347431211", "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-07-11 15:21:02 EDT", "ConditionTimestampMonotonic": "347431211", "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": "35856", "ExecMainStartTimestamp": "Sat 2026-07-11 15:21:02 EDT", "ExecMainStartTimestampMonotonic": "347441274", "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-07-11 15:21:02 EDT] ; stop_time=[n/a] ; pid=35856 ; 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-07-11 15:21:02 EDT] ; stop_time=[Sat 2026-07-11 15:21:02 EDT] ; pid=35854 ; 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-07-11 15:21:02 EDT", "InactiveExitTimestampMonotonic": "347432237", "InvocationID": "8a5f60a2d42b4805b1d6b0fb11856a33", "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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35856", "MemoryAccounting": "yes", "MemoryCurrent": "18567168", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-07-11 15:21:02 EDT", "StateChangeTimestampMonotonic": "347483173", "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": "22088", "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-07-11 15:21:02 EDT", "WatchdogTimestampMonotonic": "347483171", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 11 July 2026 15:21:05 -0400 (0:00:00.920) 0:00:58.487 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008158", "end": "2026-07-11 15:21:05.987821", "rc": 0, "start": "2026-07-11 15:21:05.979663" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 11 July 2026 15:21:06 -0400 (0:00:00.327) 0:00:58.815 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008108", "end": "2026-07-11 15:21:06.318450", "rc": 0, "start": "2026-07-11 15:21:06.310342" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 11 July 2026 15:21:06 -0400 (0:00:00.330) 0:00:59.145 ********* ASYNC OK on managed-node2: jid=j151240007638.37062 ok: [managed-node2] => { "ansible_job_id": "j151240007638.37062", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011977", "end": "2026-07-11 15:21:06.863438", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j151240007638.37062", "start": "2026-07-11 15:21:06.851461", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 11 July 2026 15:21:22 -0400 (0:00:15.977) 0:01:15.122 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009360", "end": "2026-07-11 15:21:22.639242", "rc": 0, "start": "2026-07-11 15:21:22.629882" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 11 July 2026 15:21:22 -0400 (0:00:00.346) 0:01:15.469 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 11 July 2026 15:21:22 -0400 (0:00:00.032) 0:01:15.501 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009435", "end": "2026-07-11 15:21:23.017611", "rc": 0, "start": "2026-07-11 15:21:23.008176" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 11 July 2026 15:21:23 -0400 (0:00:00.344) 0:01:15.846 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 11 July 2026 15:21:23 -0400 (0:00:00.031) 0:01:15.878 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009036", "end": "2026-07-11 15:21:23.381491", "failed_when_result": false, "rc": 0, "start": "2026-07-11 15:21:23.372455" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 11 July 2026 15:21:23 -0400 (0:00:00.364) 0:01:16.242 ********* included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 11 July 2026 15:21:23 -0400 (0:00:00.032) 0:01:16.275 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 11 July 2026 15:21:23 -0400 (0:00:00.004) 0:01:16.280 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 11 July 2026 15:21:28 -0400 (0:00:04.692) 0:01:20.972 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 11 July 2026 15:21:28 -0400 (0:00:00.018) 0:01:20.991 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 11 July 2026 15:21:28 -0400 (0:00:00.364) 0:01:21.355 ********* [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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 11 July 2026 15:21:29 -0400 (0:00:01.246) 0:01:22.602 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007261", "end": "2026-07-11 15:21:30.101032", "rc": 0, "start": "2026-07-11 15:21:30.093771" } STDOUT: -- Logs begin at Sat 2026-07-11 15:15:15 EDT, end at Sat 2026-07-11 15:21:30 EDT. -- Jul 11 15:18:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:18:42 managed-node2 postmaster[10420]: 2026-07-11 15:18:42.440 EDT [10420] LOG: redirecting log output to logging collector process Jul 11 15:18:42 managed-node2 postmaster[10420]: 2026-07-11 15:18:42.440 EDT [10420] HINT: Future log output will appear in directory "log". Jul 11 15:18:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:18:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:18:50 managed-node2 systemd[1]: postgresql.service: Killing process 10421 (postmaster) with signal SIGKILL. Jul 11 15:18:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:18:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:18:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:18:50 managed-node2 postmaster[12682]: 2026-07-11 15:18:50.206 EDT [12682] LOG: redirecting log output to logging collector process Jul 11 15:18:50 managed-node2 postmaster[12682]: 2026-07-11 15:18:50.206 EDT [12682] HINT: Future log output will appear in directory "log". Jul 11 15:18:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:18:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:18:54 managed-node2 systemd[1]: postgresql.service: Killing process 12684 (postmaster) with signal SIGKILL. Jul 11 15:18:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:18:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:25 managed-node2 postmaster[19306]: 2026-07-11 15:19:25.943 EDT [19306] LOG: redirecting log output to logging collector process Jul 11 15:19:25 managed-node2 postmaster[19306]: 2026-07-11 15:19:25.943 EDT [19306] HINT: Future log output will appear in directory "log". Jul 11 15:19:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:31 managed-node2 systemd[1]: postgresql.service: Killing process 19307 (postmaster) with signal SIGKILL. Jul 11 15:19:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:31 managed-node2 postmaster[20846]: 2026-07-11 15:19:31.301 EDT [20846] LOG: redirecting log output to logging collector process Jul 11 15:19:31 managed-node2 postmaster[20846]: 2026-07-11 15:19:31.301 EDT [20846] HINT: Future log output will appear in directory "log". Jul 11 15:19:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:36 managed-node2 systemd[1]: postgresql.service: Killing process 20848 (postmaster) with signal SIGKILL. Jul 11 15:19:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:55 managed-node2 postmaster[25222]: 2026-07-11 15:19:55.381 EDT [25222] LOG: redirecting log output to logging collector process Jul 11 15:19:55 managed-node2 postmaster[25222]: 2026-07-11 15:19:55.381 EDT [25222] HINT: Future log output will appear in directory "log". Jul 11 15:19:55 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:58 managed-node2 systemd[1]: postgresql.service: Killing process 25223 (postmaster) with signal SIGKILL. Jul 11 15:19:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:58 managed-node2 postmaster[25961]: 2026-07-11 15:19:58.691 EDT [25961] LOG: redirecting log output to logging collector process Jul 11 15:19:58 managed-node2 postmaster[25961]: 2026-07-11 15:19:58.691 EDT [25961] HINT: Future log output will appear in directory "log". Jul 11 15:19:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:02 managed-node2 systemd[1]: postgresql.service: Killing process 25963 (postmaster) with signal SIGKILL. Jul 11 15:20:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:21 managed-node2 postmaster[30204]: 2026-07-11 15:20:21.818 EDT [30204] LOG: redirecting log output to logging collector process Jul 11 15:20:21 managed-node2 postmaster[30204]: 2026-07-11 15:20:21.818 EDT [30204] HINT: Future log output will appear in directory "log". Jul 11 15:20:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:25 managed-node2 systemd[1]: postgresql.service: Killing process 30205 (postmaster) with signal SIGKILL. Jul 11 15:20:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:25 managed-node2 postmaster[31011]: 2026-07-11 15:20:25.171 EDT [31011] LOG: redirecting log output to logging collector process Jul 11 15:20:25 managed-node2 postmaster[31011]: 2026-07-11 15:20:25.171 EDT [31011] HINT: Future log output will appear in directory "log". Jul 11 15:20:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:47 managed-node2 systemd[1]: postgresql.service: Killing process 31013 (postmaster) with signal SIGKILL. Jul 11 15:20:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:02 managed-node2 postgres[35856]: 2026-07-11 15:21:02.651 EDT [35856] LOG: redirecting log output to logging collector process Jul 11 15:21:02 managed-node2 postgres[35856]: 2026-07-11 15:21:02.651 EDT [35856] HINT: Future log output will appear in directory "log". Jul 11 15:21:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:05 managed-node2 systemd[1]: postgresql.service: Killing process 35858 (postgres) with signal SIGKILL. Jul 11 15:21:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:05 managed-node2 postgres[36663]: 2026-07-11 15:21:05.628 EDT [36663] LOG: redirecting log output to logging collector process Jul 11 15:21:05 managed-node2 postgres[36663]: 2026-07-11 15:21:05.628 EDT [36663] HINT: Future log output will appear in directory "log". Jul 11 15:21:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:27 managed-node2 systemd[1]: postgresql.service: Killing process 36665 (postgres) with signal SIGKILL. Jul 11 15:21:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 11 July 2026 15:21:30 -0400 (0:00:00.326) 0:01:22.928 ********* included: /tmp/collections-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 11 July 2026 15:21:30 -0400 (0:00:00.028) 0:01:22.957 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 11 July 2026 15:21:30 -0400 (0:00:00.000) 0:01:22.958 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 11 July 2026 15:21:30 -0400 (0:00:00.015) 0:01:22.974 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 11 July 2026 15:21:30 -0400 (0:00:00.041) 0:01:23.015 ********* included: /tmp/collections-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 11 July 2026 15:21:30 -0400 (0:00:00.024) 0:01:23.040 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 11 July 2026 15:21:31 -0400 (0:00:00.764) 0:01:23.804 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 11 July 2026 15:21:31 -0400 (0:00:00.315) 0:01:24.120 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 11 July 2026 15:21:31 -0400 (0:00:00.017) 0:01:24.138 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 11 July 2026 15:21:31 -0400 (0:00:00.017) 0:01:24.155 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 11 July 2026 15:21:31 -0400 (0:00:00.016) 0:01:24.172 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 11 July 2026 15:21:31 -0400 (0:00:00.016) 0:01:24.188 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 11 July 2026 15:21:31 -0400 (0:00:00.017) 0:01:24.205 ********* 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-etZ/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-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 11 July 2026 15:21:31 -0400 (0:00:00.043) 0:01:24.248 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 11 July 2026 15:21:31 -0400 (0:00:00.316) 0:01:24.565 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 11 July 2026 15:21:32 -0400 (0:00:00.318) 0:01:24.883 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 11 July 2026 15:21:32 -0400 (0:00:00.322) 0:01:25.205 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 11 July 2026 15:21:33 -0400 (0:00:01.389) 0:01:26.595 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 11 July 2026 15:21:33 -0400 (0:00:00.027) 0:01:26.623 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 11 July 2026 15:21:33 -0400 (0:00:00.023) 0:01:26.646 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 11 July 2026 15:21:33 -0400 (0:00:00.025) 0:01:26.671 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 11 July 2026 15:21:33 -0400 (0:00:00.019) 0:01:26.691 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 11 July 2026 15:21:40 -0400 (0:00:06.437) 0:01:33.129 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.729687", "end": "2026-07-11 15:21:41.376560", "rc": 0, "start": "2026-07-11 15:21:40.646873" } 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 11 July 2026 15:21:41 -0400 (0:00:01.075) 0:01:34.205 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 11 July 2026 15:21:41 -0400 (0:00:00.021) 0:01:34.226 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 11 July 2026 15:21:41 -0400 (0:00:00.017) 0:01:34.244 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 11 July 2026 15:21:41 -0400 (0:00:00.017) 0:01:34.262 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket basic.target sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "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": "22088", "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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 11 July 2026 15:21:42 -0400 (0:00:01.026) 0:01:35.288 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.026) 0:01:35.314 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.020) 0:01:35.335 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.020) 0:01:35.355 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.016) 0:01:35.372 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.021) 0:01:35.393 ********* included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.028) 0:01:35.422 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.018) 0:01:35.440 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.018) 0:01:35.459 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.017) 0:01:35.477 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.017) 0:01:35.495 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.017) 0:01:35.512 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.044) 0:01:35.557 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.018) 0:01:35.576 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.016) 0:01:35.593 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.016) 0:01:35.609 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 11 July 2026 15:21:42 -0400 (0:00:00.021) 0:01:35.631 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 11 July 2026 15:21:43 -0400 (0:00:00.331) 0:01:35.962 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 11 July 2026 15:21:43 -0400 (0:00:00.328) 0:01:36.290 ********* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1783797703.5503998-13285-235907805598250/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 11 July 2026 15:21:44 -0400 (0:00:00.663) 0:01:36.954 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 11 July 2026 15:21:44 -0400 (0:00:00.023) 0:01:36.977 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 11 July 2026 15:21:44 -0400 (0:00:00.020) 0:01:36.998 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 11 July 2026 15:21:44 -0400 (0:00:00.330) 0:01:37.328 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 11 July 2026 15:21:44 -0400 (0:00:00.020) 0:01:37.348 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 11 July 2026 15:21:44 -0400 (0:00:00.004) 0:01:37.353 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-11 15:21:42 EDT", "ActiveEnterTimestampMonotonic": "387262431", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target network.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-11 15:21:42 EDT", "AssertTimestampMonotonic": "387211533", "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-07-11 15:21:42 EDT", "ConditionTimestampMonotonic": "387211532", "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": "41502", "ExecMainStartTimestamp": "Sat 2026-07-11 15:21:42 EDT", "ExecMainStartTimestampMonotonic": "387220623", "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-07-11 15:21:42 EDT] ; stop_time=[n/a] ; pid=41502 ; 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-07-11 15:21:42 EDT] ; stop_time=[Sat 2026-07-11 15:21:42 EDT] ; pid=41499 ; 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-07-11 15:21:42 EDT", "InactiveExitTimestampMonotonic": "387212414", "InvocationID": "42b7cc2315ab44f0af6cb4b93c4b8402", "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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41502", "MemoryAccounting": "yes", "MemoryCurrent": "17829888", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-07-11 15:21:42 EDT", "StateChangeTimestampMonotonic": "387262431", "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": "22088", "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-07-11 15:21:42 EDT", "WatchdogTimestampMonotonic": "387262430", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 11 July 2026 15:21:45 -0400 (0:00:00.928) 0:01:38.282 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007612", "end": "2026-07-11 15:21:45.783651", "rc": 0, "start": "2026-07-11 15:21:45.776039" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 11 July 2026 15:21:45 -0400 (0:00:00.329) 0:01:38.611 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008030", "end": "2026-07-11 15:21:46.112944", "rc": 0, "start": "2026-07-11 15:21:46.104914" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 11 July 2026 15:21:46 -0400 (0:00:00.330) 0:01:38.942 ********* ASYNC OK on managed-node2: jid=j873131370425.42709 ok: [managed-node2] => { "ansible_job_id": "j873131370425.42709", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011506", "end": "2026-07-11 15:21:46.664582", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j873131370425.42709", "start": "2026-07-11 15:21:46.653076", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 11 July 2026 15:22:02 -0400 (0:00:16.010) 0:01:54.952 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010142", "end": "2026-07-11 15:22:02.486768", "rc": 0, "start": "2026-07-11 15:22:02.476626" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 11 July 2026 15:22:02 -0400 (0:00:00.366) 0:01:55.319 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 11 July 2026 15:22:02 -0400 (0:00:00.033) 0:01:55.352 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009443", "end": "2026-07-11 15:22:02.891451", "rc": 0, "start": "2026-07-11 15:22:02.882008" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 11 July 2026 15:22:02 -0400 (0:00:00.370) 0:01:55.723 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 11 July 2026 15:22:02 -0400 (0:00:00.032) 0:01:55.756 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009244", "end": "2026-07-11 15:22:03.265232", "failed_when_result": false, "rc": 0, "start": "2026-07-11 15:22:03.255988" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 11 July 2026 15:22:03 -0400 (0:00:00.342) 0:01:56.099 ********* included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 11 July 2026 15:22:03 -0400 (0:00:00.033) 0:01:56.132 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 11 July 2026 15:22:03 -0400 (0:00:00.004) 0:01:56.137 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 11 July 2026 15:22:08 -0400 (0:00:04.697) 0:02:00.834 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 11 July 2026 15:22:08 -0400 (0:00:00.018) 0:02:00.853 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 11 July 2026 15:22:08 -0400 (0:00:00.367) 0:02:01.221 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 11 July 2026 15:22:09 -0400 (0:00:01.248) 0:02:02.469 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007350", "end": "2026-07-11 15:22:09.965748", "rc": 0, "start": "2026-07-11 15:22:09.958398" } STDOUT: -- Logs begin at Sat 2026-07-11 15:15:15 EDT, end at Sat 2026-07-11 15:22:09 EDT. -- Jul 11 15:18:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:18:42 managed-node2 postmaster[10420]: 2026-07-11 15:18:42.440 EDT [10420] LOG: redirecting log output to logging collector process Jul 11 15:18:42 managed-node2 postmaster[10420]: 2026-07-11 15:18:42.440 EDT [10420] HINT: Future log output will appear in directory "log". Jul 11 15:18:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:18:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:18:50 managed-node2 systemd[1]: postgresql.service: Killing process 10421 (postmaster) with signal SIGKILL. Jul 11 15:18:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:18:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:18:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:18:50 managed-node2 postmaster[12682]: 2026-07-11 15:18:50.206 EDT [12682] LOG: redirecting log output to logging collector process Jul 11 15:18:50 managed-node2 postmaster[12682]: 2026-07-11 15:18:50.206 EDT [12682] HINT: Future log output will appear in directory "log". Jul 11 15:18:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:18:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:18:54 managed-node2 systemd[1]: postgresql.service: Killing process 12684 (postmaster) with signal SIGKILL. Jul 11 15:18:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:18:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:25 managed-node2 postmaster[19306]: 2026-07-11 15:19:25.943 EDT [19306] LOG: redirecting log output to logging collector process Jul 11 15:19:25 managed-node2 postmaster[19306]: 2026-07-11 15:19:25.943 EDT [19306] HINT: Future log output will appear in directory "log". Jul 11 15:19:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:31 managed-node2 systemd[1]: postgresql.service: Killing process 19307 (postmaster) with signal SIGKILL. Jul 11 15:19:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:31 managed-node2 postmaster[20846]: 2026-07-11 15:19:31.301 EDT [20846] LOG: redirecting log output to logging collector process Jul 11 15:19:31 managed-node2 postmaster[20846]: 2026-07-11 15:19:31.301 EDT [20846] HINT: Future log output will appear in directory "log". Jul 11 15:19:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:36 managed-node2 systemd[1]: postgresql.service: Killing process 20848 (postmaster) with signal SIGKILL. Jul 11 15:19:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:55 managed-node2 postmaster[25222]: 2026-07-11 15:19:55.381 EDT [25222] LOG: redirecting log output to logging collector process Jul 11 15:19:55 managed-node2 postmaster[25222]: 2026-07-11 15:19:55.381 EDT [25222] HINT: Future log output will appear in directory "log". Jul 11 15:19:55 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:58 managed-node2 systemd[1]: postgresql.service: Killing process 25223 (postmaster) with signal SIGKILL. Jul 11 15:19:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:58 managed-node2 postmaster[25961]: 2026-07-11 15:19:58.691 EDT [25961] LOG: redirecting log output to logging collector process Jul 11 15:19:58 managed-node2 postmaster[25961]: 2026-07-11 15:19:58.691 EDT [25961] HINT: Future log output will appear in directory "log". Jul 11 15:19:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:02 managed-node2 systemd[1]: postgresql.service: Killing process 25963 (postmaster) with signal SIGKILL. Jul 11 15:20:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:21 managed-node2 postmaster[30204]: 2026-07-11 15:20:21.818 EDT [30204] LOG: redirecting log output to logging collector process Jul 11 15:20:21 managed-node2 postmaster[30204]: 2026-07-11 15:20:21.818 EDT [30204] HINT: Future log output will appear in directory "log". Jul 11 15:20:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:25 managed-node2 systemd[1]: postgresql.service: Killing process 30205 (postmaster) with signal SIGKILL. Jul 11 15:20:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:25 managed-node2 postmaster[31011]: 2026-07-11 15:20:25.171 EDT [31011] LOG: redirecting log output to logging collector process Jul 11 15:20:25 managed-node2 postmaster[31011]: 2026-07-11 15:20:25.171 EDT [31011] HINT: Future log output will appear in directory "log". Jul 11 15:20:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:47 managed-node2 systemd[1]: postgresql.service: Killing process 31013 (postmaster) with signal SIGKILL. Jul 11 15:20:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:02 managed-node2 postgres[35856]: 2026-07-11 15:21:02.651 EDT [35856] LOG: redirecting log output to logging collector process Jul 11 15:21:02 managed-node2 postgres[35856]: 2026-07-11 15:21:02.651 EDT [35856] HINT: Future log output will appear in directory "log". Jul 11 15:21:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:05 managed-node2 systemd[1]: postgresql.service: Killing process 35858 (postgres) with signal SIGKILL. Jul 11 15:21:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:05 managed-node2 postgres[36663]: 2026-07-11 15:21:05.628 EDT [36663] LOG: redirecting log output to logging collector process Jul 11 15:21:05 managed-node2 postgres[36663]: 2026-07-11 15:21:05.628 EDT [36663] HINT: Future log output will appear in directory "log". Jul 11 15:21:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:27 managed-node2 systemd[1]: postgresql.service: Killing process 36665 (postgres) with signal SIGKILL. Jul 11 15:21:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.420 EDT [41502] 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 Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.421 EDT [41502] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.421 EDT [41502] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.423 EDT [41502] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.427 EDT [41502] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.437 EDT [41502] LOG: redirecting log output to logging collector process Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.437 EDT [41502] HINT: Future log output will appear in directory "log". Jul 11 15:21:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:45 managed-node2 systemd[1]: postgresql.service: Killing process 41503 (postmaster) with signal SIGKILL. Jul 11 15:21:45 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.397 EDT [42309] 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 Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.397 EDT [42309] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.397 EDT [42309] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.399 EDT [42309] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.403 EDT [42309] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.432 EDT [42309] LOG: redirecting log output to logging collector process Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.432 EDT [42309] HINT: Future log output will appear in directory "log". Jul 11 15:21:45 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:07 managed-node2 systemd[1]: postgresql.service: Killing process 42311 (postmaster) with signal SIGKILL. Jul 11 15:22:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 11 July 2026 15:22:10 -0400 (0:00:00.325) 0:02:02.794 ********* included: /tmp/collections-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 11 July 2026 15:22:10 -0400 (0:00:00.030) 0:02:02.824 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 11 July 2026 15:22:10 -0400 (0:00:00.001) 0:02:02.825 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 11 July 2026 15:22:10 -0400 (0:00:00.015) 0:02:02.841 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 11 July 2026 15:22:10 -0400 (0:00:00.041) 0:02:02.882 ********* included: /tmp/collections-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 11 July 2026 15:22:10 -0400 (0:00:00.024) 0:02:02.907 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 11 July 2026 15:22:10 -0400 (0:00:00.771) 0:02:03.678 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 11 July 2026 15:22:11 -0400 (0:00:00.313) 0:02:03.992 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 11 July 2026 15:22:11 -0400 (0:00:00.017) 0:02:04.009 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 11 July 2026 15:22:11 -0400 (0:00:00.016) 0:02:04.026 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 11 July 2026 15:22:11 -0400 (0:00:00.015) 0:02:04.041 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 11 July 2026 15:22:11 -0400 (0:00:00.016) 0:02:04.058 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 11 July 2026 15:22:11 -0400 (0:00:00.016) 0:02:04.074 ********* 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-etZ/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-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 11 July 2026 15:22:11 -0400 (0:00:00.039) 0:02:04.114 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 11 July 2026 15:22:11 -0400 (0:00:00.315) 0:02:04.429 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 11 July 2026 15:22:11 -0400 (0:00:00.316) 0:02:04.746 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 11 July 2026 15:22:12 -0400 (0:00:00.312) 0:02:05.059 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 11 July 2026 15:22:13 -0400 (0:00:01.404) 0:02:06.463 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 11 July 2026 15:22:13 -0400 (0:00:00.028) 0:02:06.492 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 11 July 2026 15:22:13 -0400 (0:00:00.090) 0:02:06.583 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 11 July 2026 15:22:13 -0400 (0:00:00.025) 0:02:06.608 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 11 July 2026 15:22:13 -0400 (0:00:00.020) 0:02:06.629 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 11 July 2026 15:22:19 -0400 (0:00:05.948) 0:02:12.577 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.702536", "end": "2026-07-11 15:22:20.808553", "rc": 0, "start": "2026-07-11 15:22:20.106017" } 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 11 July 2026 15:22:20 -0400 (0:00:01.061) 0:02:13.638 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 11 July 2026 15:22:20 -0400 (0:00:00.020) 0:02:13.659 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 11 July 2026 15:22:20 -0400 (0:00:00.018) 0:02:13.677 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 11 July 2026 15:22:20 -0400 (0:00:00.017) 0:02:13.694 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target network.target system.slice 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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "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": "22088", "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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 11 July 2026 15:22:21 -0400 (0:00:01.021) 0:02:14.716 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 11 July 2026 15:22:21 -0400 (0:00:00.021) 0:02:14.738 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 11 July 2026 15:22:21 -0400 (0:00:00.020) 0:02:14.758 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 11 July 2026 15:22:21 -0400 (0:00:00.021) 0:02:14.780 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.016) 0:02:14.797 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.020) 0:02:14.817 ********* included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.030) 0:02:14.847 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.018) 0:02:14.866 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.018) 0:02:14.884 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.017) 0:02:14.902 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.019) 0:02:14.921 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.017) 0:02:14.939 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.017) 0:02:14.957 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.017) 0:02:14.974 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.017) 0:02:14.992 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.016) 0:02:15.008 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.020) 0:02:15.028 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.331) 0:02:15.360 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 11 July 2026 15:22:22 -0400 (0:00:00.330) 0:02:15.690 ********* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1783797742.9469411-13697-23403936421767/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 11 July 2026 15:22:23 -0400 (0:00:00.660) 0:02:16.350 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 11 July 2026 15:22:23 -0400 (0:00:00.021) 0:02:16.371 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 11 July 2026 15:22:23 -0400 (0:00:00.020) 0:02:16.392 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 11 July 2026 15:22:23 -0400 (0:00:00.332) 0:02:16.725 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 11 July 2026 15:22:23 -0400 (0:00:00.019) 0:02:16.744 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 11 July 2026 15:22:23 -0400 (0:00:00.005) 0:02:16.749 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-11 15:22:21 EDT", "ActiveEnterTimestampMonotonic": "426688582", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-11 15:22:21 EDT", "AssertTimestampMonotonic": "426641730", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-07-11 15:22:21 EDT", "ConditionTimestampMonotonic": "426641730", "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": "47120", "ExecMainStartTimestamp": "Sat 2026-07-11 15:22:21 EDT", "ExecMainStartTimestampMonotonic": "426650666", "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-07-11 15:22:21 EDT] ; stop_time=[n/a] ; pid=47120 ; 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-07-11 15:22:21 EDT] ; stop_time=[Sat 2026-07-11 15:22:21 EDT] ; pid=47117 ; 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-07-11 15:22:21 EDT", "InactiveExitTimestampMonotonic": "426642629", "InvocationID": "890c4be6ba024cbb9752053f78d406e3", "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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47120", "MemoryAccounting": "yes", "MemoryCurrent": "16781312", "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-07-11 15:22:21 EDT", "StateChangeTimestampMonotonic": "426688582", "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": "22088", "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-07-11 15:22:21 EDT", "WatchdogTimestampMonotonic": "426688580", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 11 July 2026 15:22:24 -0400 (0:00:00.925) 0:02:17.674 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007659", "end": "2026-07-11 15:22:25.175964", "rc": 0, "start": "2026-07-11 15:22:25.168305" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 11 July 2026 15:22:25 -0400 (0:00:00.329) 0:02:18.003 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008086", "end": "2026-07-11 15:22:25.503521", "rc": 0, "start": "2026-07-11 15:22:25.495435" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 11 July 2026 15:22:25 -0400 (0:00:00.327) 0:02:18.330 ********* ASYNC OK on managed-node2: jid=j57710646406.48327 ok: [managed-node2] => { "ansible_job_id": "j57710646406.48327", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011111", "end": "2026-07-11 15:22:26.048704", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j57710646406.48327", "start": "2026-07-11 15:22:26.037593", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 11 July 2026 15:22:41 -0400 (0:00:15.976) 0:02:34.307 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009135", "end": "2026-07-11 15:22:41.824785", "rc": 0, "start": "2026-07-11 15:22:41.815650" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 11 July 2026 15:22:41 -0400 (0:00:00.347) 0:02:34.655 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 11 July 2026 15:22:41 -0400 (0:00:00.032) 0:02:34.688 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009437", "end": "2026-07-11 15:22:42.206670", "rc": 0, "start": "2026-07-11 15:22:42.197233" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 11 July 2026 15:22:42 -0400 (0:00:00.347) 0:02:35.035 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 11 July 2026 15:22:42 -0400 (0:00:00.032) 0:02:35.067 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006602", "end": "2026-07-11 15:22:42.569409", "failed_when_result": false, "rc": 0, "start": "2026-07-11 15:22:42.562807" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 11 July 2026 15:22:42 -0400 (0:00:00.363) 0:02:35.431 ********* included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 11 July 2026 15:22:42 -0400 (0:00:00.032) 0:02:35.464 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 11 July 2026 15:22:42 -0400 (0:00:00.004) 0:02:35.469 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 11 July 2026 15:22:47 -0400 (0:00:04.680) 0:02:40.149 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 11 July 2026 15:22:47 -0400 (0:00:00.019) 0:02:40.168 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 11 July 2026 15:22:47 -0400 (0:00:00.385) 0:02:40.554 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 11 July 2026 15:22:49 -0400 (0:00:01.276) 0:02:41.830 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007888", "end": "2026-07-11 15:22:49.332321", "rc": 0, "start": "2026-07-11 15:22:49.324433" } STDOUT: -- Logs begin at Sat 2026-07-11 15:15:15 EDT, end at Sat 2026-07-11 15:22:49 EDT. -- Jul 11 15:18:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:18:42 managed-node2 postmaster[10420]: 2026-07-11 15:18:42.440 EDT [10420] LOG: redirecting log output to logging collector process Jul 11 15:18:42 managed-node2 postmaster[10420]: 2026-07-11 15:18:42.440 EDT [10420] HINT: Future log output will appear in directory "log". Jul 11 15:18:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:18:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:18:50 managed-node2 systemd[1]: postgresql.service: Killing process 10421 (postmaster) with signal SIGKILL. Jul 11 15:18:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:18:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:18:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:18:50 managed-node2 postmaster[12682]: 2026-07-11 15:18:50.206 EDT [12682] LOG: redirecting log output to logging collector process Jul 11 15:18:50 managed-node2 postmaster[12682]: 2026-07-11 15:18:50.206 EDT [12682] HINT: Future log output will appear in directory "log". Jul 11 15:18:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:18:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:18:54 managed-node2 systemd[1]: postgresql.service: Killing process 12684 (postmaster) with signal SIGKILL. Jul 11 15:18:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:18:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:25 managed-node2 postmaster[19306]: 2026-07-11 15:19:25.943 EDT [19306] LOG: redirecting log output to logging collector process Jul 11 15:19:25 managed-node2 postmaster[19306]: 2026-07-11 15:19:25.943 EDT [19306] HINT: Future log output will appear in directory "log". Jul 11 15:19:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:31 managed-node2 systemd[1]: postgresql.service: Killing process 19307 (postmaster) with signal SIGKILL. Jul 11 15:19:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:31 managed-node2 postmaster[20846]: 2026-07-11 15:19:31.301 EDT [20846] LOG: redirecting log output to logging collector process Jul 11 15:19:31 managed-node2 postmaster[20846]: 2026-07-11 15:19:31.301 EDT [20846] HINT: Future log output will appear in directory "log". Jul 11 15:19:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:36 managed-node2 systemd[1]: postgresql.service: Killing process 20848 (postmaster) with signal SIGKILL. Jul 11 15:19:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:55 managed-node2 postmaster[25222]: 2026-07-11 15:19:55.381 EDT [25222] LOG: redirecting log output to logging collector process Jul 11 15:19:55 managed-node2 postmaster[25222]: 2026-07-11 15:19:55.381 EDT [25222] HINT: Future log output will appear in directory "log". Jul 11 15:19:55 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:58 managed-node2 systemd[1]: postgresql.service: Killing process 25223 (postmaster) with signal SIGKILL. Jul 11 15:19:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:58 managed-node2 postmaster[25961]: 2026-07-11 15:19:58.691 EDT [25961] LOG: redirecting log output to logging collector process Jul 11 15:19:58 managed-node2 postmaster[25961]: 2026-07-11 15:19:58.691 EDT [25961] HINT: Future log output will appear in directory "log". Jul 11 15:19:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:02 managed-node2 systemd[1]: postgresql.service: Killing process 25963 (postmaster) with signal SIGKILL. Jul 11 15:20:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:21 managed-node2 postmaster[30204]: 2026-07-11 15:20:21.818 EDT [30204] LOG: redirecting log output to logging collector process Jul 11 15:20:21 managed-node2 postmaster[30204]: 2026-07-11 15:20:21.818 EDT [30204] HINT: Future log output will appear in directory "log". Jul 11 15:20:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:25 managed-node2 systemd[1]: postgresql.service: Killing process 30205 (postmaster) with signal SIGKILL. Jul 11 15:20:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:25 managed-node2 postmaster[31011]: 2026-07-11 15:20:25.171 EDT [31011] LOG: redirecting log output to logging collector process Jul 11 15:20:25 managed-node2 postmaster[31011]: 2026-07-11 15:20:25.171 EDT [31011] HINT: Future log output will appear in directory "log". Jul 11 15:20:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:47 managed-node2 systemd[1]: postgresql.service: Killing process 31013 (postmaster) with signal SIGKILL. Jul 11 15:20:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:02 managed-node2 postgres[35856]: 2026-07-11 15:21:02.651 EDT [35856] LOG: redirecting log output to logging collector process Jul 11 15:21:02 managed-node2 postgres[35856]: 2026-07-11 15:21:02.651 EDT [35856] HINT: Future log output will appear in directory "log". Jul 11 15:21:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:05 managed-node2 systemd[1]: postgresql.service: Killing process 35858 (postgres) with signal SIGKILL. Jul 11 15:21:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:05 managed-node2 postgres[36663]: 2026-07-11 15:21:05.628 EDT [36663] LOG: redirecting log output to logging collector process Jul 11 15:21:05 managed-node2 postgres[36663]: 2026-07-11 15:21:05.628 EDT [36663] HINT: Future log output will appear in directory "log". Jul 11 15:21:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:27 managed-node2 systemd[1]: postgresql.service: Killing process 36665 (postgres) with signal SIGKILL. Jul 11 15:21:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.420 EDT [41502] 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 Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.421 EDT [41502] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.421 EDT [41502] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.423 EDT [41502] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.427 EDT [41502] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.437 EDT [41502] LOG: redirecting log output to logging collector process Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.437 EDT [41502] HINT: Future log output will appear in directory "log". Jul 11 15:21:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:45 managed-node2 systemd[1]: postgresql.service: Killing process 41503 (postmaster) with signal SIGKILL. Jul 11 15:21:45 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.397 EDT [42309] 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 Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.397 EDT [42309] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.397 EDT [42309] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.399 EDT [42309] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.403 EDT [42309] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.432 EDT [42309] LOG: redirecting log output to logging collector process Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.432 EDT [42309] HINT: Future log output will appear in directory "log". Jul 11 15:21:45 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:07 managed-node2 systemd[1]: postgresql.service: Killing process 42311 (postmaster) with signal SIGKILL. Jul 11 15:22:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:21 managed-node2 postmaster[47120]: 2026-07-11 15:22:21.848 EDT [47120] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:21 managed-node2 postmaster[47120]: 2026-07-11 15:22:21.848 EDT [47120] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:21 managed-node2 postmaster[47120]: 2026-07-11 15:22:21.850 EDT [47120] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:21 managed-node2 postmaster[47120]: 2026-07-11 15:22:21.853 EDT [47120] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:21 managed-node2 postmaster[47120]: 2026-07-11 15:22:21.864 EDT [47120] LOG: redirecting log output to logging collector process Jul 11 15:22:21 managed-node2 postmaster[47120]: 2026-07-11 15:22:21.864 EDT [47120] HINT: Future log output will appear in directory "log". Jul 11 15:22:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:24 managed-node2 systemd[1]: postgresql.service: Killing process 47121 (postmaster) with signal SIGKILL. Jul 11 15:22:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:24 managed-node2 postmaster[47927]: 2026-07-11 15:22:24.788 EDT [47927] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:24 managed-node2 postmaster[47927]: 2026-07-11 15:22:24.788 EDT [47927] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:24 managed-node2 postmaster[47927]: 2026-07-11 15:22:24.790 EDT [47927] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:24 managed-node2 postmaster[47927]: 2026-07-11 15:22:24.794 EDT [47927] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:24 managed-node2 postmaster[47927]: 2026-07-11 15:22:24.823 EDT [47927] LOG: redirecting log output to logging collector process Jul 11 15:22:24 managed-node2 postmaster[47927]: 2026-07-11 15:22:24.823 EDT [47927] HINT: Future log output will appear in directory "log". Jul 11 15:22:24 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:46 managed-node2 systemd[1]: postgresql.service: Killing process 47929 (postmaster) with signal SIGKILL. Jul 11 15:22:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:46 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 11 July 2026 15:22:49 -0400 (0:00:00.331) 0:02:42.162 ********* included: /tmp/collections-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 11 July 2026 15:22:49 -0400 (0:00:00.029) 0:02:42.191 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 11 July 2026 15:22:49 -0400 (0:00:00.001) 0:02:42.192 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 11 July 2026 15:22:49 -0400 (0:00:00.016) 0:02:42.209 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 11 July 2026 15:22:49 -0400 (0:00:00.042) 0:02:42.251 ********* included: /tmp/collections-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 11 July 2026 15:22:49 -0400 (0:00:00.024) 0:02:42.275 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 11 July 2026 15:22:50 -0400 (0:00:00.763) 0:02:43.039 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 11 July 2026 15:22:50 -0400 (0:00:00.312) 0:02:43.352 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 11 July 2026 15:22:50 -0400 (0:00:00.017) 0:02:43.369 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 11 July 2026 15:22:50 -0400 (0:00:00.016) 0:02:43.386 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 11 July 2026 15:22:50 -0400 (0:00:00.015) 0:02:43.402 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 11 July 2026 15:22:50 -0400 (0:00:00.016) 0:02:43.418 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 11 July 2026 15:22:50 -0400 (0:00:00.016) 0:02:43.435 ********* 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-etZ/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-etZ/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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 11 July 2026 15:22:50 -0400 (0:00:00.038) 0:02:43.473 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 11 July 2026 15:22:51 -0400 (0:00:00.312) 0:02:43.786 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 11 July 2026 15:22:51 -0400 (0:00:00.313) 0:02:44.099 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 11 July 2026 15:22:51 -0400 (0:00:00.314) 0:02:44.414 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 11 July 2026 15:22:53 -0400 (0:00:01.386) 0:02:45.800 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 11 July 2026 15:22:53 -0400 (0:00:00.028) 0:02:45.828 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 11 July 2026 15:22:53 -0400 (0:00:00.023) 0:02:45.852 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 11 July 2026 15:22:53 -0400 (0:00:00.024) 0:02:45.877 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 11 July 2026 15:22:53 -0400 (0:00:00.019) 0:02:45.896 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 11 July 2026 15:22:59 -0400 (0:00:06.556) 0:02:52.453 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.718439", "end": "2026-07-11 15:23:00.693028", "rc": 0, "start": "2026-07-11 15:22:59.974589" } 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 11 July 2026 15:23:00 -0400 (0:00:01.069) 0:02:53.522 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 11 July 2026 15:23:00 -0400 (0:00:00.022) 0:02:53.545 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 11 July 2026 15:23:00 -0400 (0:00:00.019) 0:02:53.564 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 11 July 2026 15:23:00 -0400 (0:00:00.018) 0:02:53.583 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target system.slice systemd-journald.socket network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "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": "22088", "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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 11 July 2026 15:23:01 -0400 (0:00:01.039) 0:02:54.622 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 11 July 2026 15:23:01 -0400 (0:00:00.024) 0:02:54.646 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 11 July 2026 15:23:01 -0400 (0:00:00.022) 0:02:54.668 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 11 July 2026 15:23:01 -0400 (0:00:00.022) 0:02:54.691 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 11 July 2026 15:23:01 -0400 (0:00:00.017) 0:02:54.709 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 11 July 2026 15:23:01 -0400 (0:00:00.023) 0:02:54.732 ********* included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 11 July 2026 15:23:01 -0400 (0:00:00.030) 0:02:54.762 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 11 July 2026 15:23:02 -0400 (0:00:00.019) 0:02:54.782 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 11 July 2026 15:23:02 -0400 (0:00:00.020) 0:02:54.803 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 11 July 2026 15:23:02 -0400 (0:00:00.019) 0:02:54.822 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 11 July 2026 15:23:02 -0400 (0:00:00.019) 0:02:54.841 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 11 July 2026 15:23:02 -0400 (0:00:00.022) 0:02:54.864 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 11 July 2026 15:23:02 -0400 (0:00:00.051) 0:02:54.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 file] ********* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 11 July 2026 15:23:02 -0400 (0:00:00.019) 0:02:54.935 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 11 July 2026 15:23:02 -0400 (0:00:00.018) 0:02:54.953 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 11 July 2026 15:23:02 -0400 (0:00:00.017) 0:02:54.970 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 11 July 2026 15:23:02 -0400 (0:00:00.023) 0:02:54.993 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 11 July 2026 15:23:02 -0400 (0:00:00.342) 0:02:55.335 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 11 July 2026 15:23:02 -0400 (0:00:00.339) 0:02:55.675 ********* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1783797782.9330833-14107-157500520018067/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 11 July 2026 15:23:03 -0400 (0:00:00.677) 0:02:56.352 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 11 July 2026 15:23:03 -0400 (0:00:00.023) 0:02:56.376 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 11 July 2026 15:23:03 -0400 (0:00:00.021) 0:02:56.397 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 11 July 2026 15:23:03 -0400 (0:00:00.332) 0:02:56.730 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 11 July 2026 15:23:03 -0400 (0:00:00.020) 0:02:56.750 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 11 July 2026 15:23:03 -0400 (0:00:00.004) 0:02:56.755 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-11 15:23:01 EDT", "ActiveEnterTimestampMonotonic": "466595253", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket sysinit.target system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-11 15:23:01 EDT", "AssertTimestampMonotonic": "466544775", "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-07-11 15:23:01 EDT", "ConditionTimestampMonotonic": "466544775", "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": "52778", "ExecMainStartTimestamp": "Sat 2026-07-11 15:23:01 EDT", "ExecMainStartTimestampMonotonic": "466554186", "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-07-11 15:23:01 EDT] ; stop_time=[n/a] ; pid=52778 ; 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-07-11 15:23:01 EDT] ; stop_time=[Sat 2026-07-11 15:23:01 EDT] ; pid=52775 ; 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-07-11 15:23:01 EDT", "InactiveExitTimestampMonotonic": "466545749", "InvocationID": "88051c0e87574a048d01b7039ce0c69b", "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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52778", "MemoryAccounting": "yes", "MemoryCurrent": "18427904", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-07-11 15:23:01 EDT", "StateChangeTimestampMonotonic": "466595253", "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": "22088", "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-07-11 15:23:01 EDT", "WatchdogTimestampMonotonic": "466595251", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 11 July 2026 15:23:04 -0400 (0:00:00.936) 0:02:57.692 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007915", "end": "2026-07-11 15:23:05.193524", "rc": 0, "start": "2026-07-11 15:23:05.185609" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 11 July 2026 15:23:05 -0400 (0:00:00.328) 0:02:58.021 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007964", "end": "2026-07-11 15:23:05.520182", "rc": 0, "start": "2026-07-11 15:23:05.512218" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 11 July 2026 15:23:05 -0400 (0:00:00.328) 0:02:58.349 ********* ASYNC OK on managed-node2: jid=j662401351417.53983 ok: [managed-node2] => { "ansible_job_id": "j662401351417.53983", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012055", "end": "2026-07-11 15:23:06.068223", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j662401351417.53983", "start": "2026-07-11 15:23:06.056168", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 11 July 2026 15:23:21 -0400 (0:00:15.975) 0:03:14.325 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009431", "end": "2026-07-11 15:23:21.842232", "rc": 0, "start": "2026-07-11 15:23:21.832801" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 11 July 2026 15:23:21 -0400 (0:00:00.345) 0:03:14.671 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 11 July 2026 15:23:21 -0400 (0:00:00.032) 0:03:14.703 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009322", "end": "2026-07-11 15:23:22.220029", "rc": 0, "start": "2026-07-11 15:23:22.210707" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 11 July 2026 15:23:22 -0400 (0:00:00.346) 0:03:15.050 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 11 July 2026 15:23:22 -0400 (0:00:00.032) 0:03:15.082 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008963", "end": "2026-07-11 15:23:22.584917", "failed_when_result": false, "rc": 0, "start": "2026-07-11 15:23:22.575954" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 11 July 2026 15:23:22 -0400 (0:00:00.335) 0:03:15.418 ********* included: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 11 July 2026 15:23:22 -0400 (0:00:00.033) 0:03:15.452 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 11 July 2026 15:23:22 -0400 (0:00:00.004) 0:03:15.457 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 11 July 2026 15:23:27 -0400 (0:00:04.690) 0:03:20.148 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 11 July 2026 15:23:27 -0400 (0:00:00.018) 0:03:20.166 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 11 July 2026 15:23:27 -0400 (0:00:00.373) 0:03:20.540 ********* 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-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 11 July 2026 15:23:29 -0400 (0:00:01.274) 0:03:21.814 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007688", "end": "2026-07-11 15:23:29.322852", "rc": 0, "start": "2026-07-11 15:23:29.315164" } STDOUT: -- Logs begin at Sat 2026-07-11 15:15:15 EDT, end at Sat 2026-07-11 15:23:29 EDT. -- Jul 11 15:18:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:18:42 managed-node2 postmaster[10420]: 2026-07-11 15:18:42.440 EDT [10420] LOG: redirecting log output to logging collector process Jul 11 15:18:42 managed-node2 postmaster[10420]: 2026-07-11 15:18:42.440 EDT [10420] HINT: Future log output will appear in directory "log". Jul 11 15:18:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:18:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:18:50 managed-node2 systemd[1]: postgresql.service: Killing process 10421 (postmaster) with signal SIGKILL. Jul 11 15:18:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:18:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:18:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:18:50 managed-node2 postmaster[12682]: 2026-07-11 15:18:50.206 EDT [12682] LOG: redirecting log output to logging collector process Jul 11 15:18:50 managed-node2 postmaster[12682]: 2026-07-11 15:18:50.206 EDT [12682] HINT: Future log output will appear in directory "log". Jul 11 15:18:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:18:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:18:54 managed-node2 systemd[1]: postgresql.service: Killing process 12684 (postmaster) with signal SIGKILL. Jul 11 15:18:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:18:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:25 managed-node2 postmaster[19306]: 2026-07-11 15:19:25.943 EDT [19306] LOG: redirecting log output to logging collector process Jul 11 15:19:25 managed-node2 postmaster[19306]: 2026-07-11 15:19:25.943 EDT [19306] HINT: Future log output will appear in directory "log". Jul 11 15:19:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:31 managed-node2 systemd[1]: postgresql.service: Killing process 19307 (postmaster) with signal SIGKILL. Jul 11 15:19:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:31 managed-node2 postmaster[20846]: 2026-07-11 15:19:31.301 EDT [20846] LOG: redirecting log output to logging collector process Jul 11 15:19:31 managed-node2 postmaster[20846]: 2026-07-11 15:19:31.301 EDT [20846] HINT: Future log output will appear in directory "log". Jul 11 15:19:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:36 managed-node2 systemd[1]: postgresql.service: Killing process 20848 (postmaster) with signal SIGKILL. Jul 11 15:19:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:55 managed-node2 postmaster[25222]: 2026-07-11 15:19:55.381 EDT [25222] LOG: redirecting log output to logging collector process Jul 11 15:19:55 managed-node2 postmaster[25222]: 2026-07-11 15:19:55.381 EDT [25222] HINT: Future log output will appear in directory "log". Jul 11 15:19:55 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:58 managed-node2 systemd[1]: postgresql.service: Killing process 25223 (postmaster) with signal SIGKILL. Jul 11 15:19:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:58 managed-node2 postmaster[25961]: 2026-07-11 15:19:58.691 EDT [25961] LOG: redirecting log output to logging collector process Jul 11 15:19:58 managed-node2 postmaster[25961]: 2026-07-11 15:19:58.691 EDT [25961] HINT: Future log output will appear in directory "log". Jul 11 15:19:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:02 managed-node2 systemd[1]: postgresql.service: Killing process 25963 (postmaster) with signal SIGKILL. Jul 11 15:20:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:21 managed-node2 postmaster[30204]: 2026-07-11 15:20:21.818 EDT [30204] LOG: redirecting log output to logging collector process Jul 11 15:20:21 managed-node2 postmaster[30204]: 2026-07-11 15:20:21.818 EDT [30204] HINT: Future log output will appear in directory "log". Jul 11 15:20:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:25 managed-node2 systemd[1]: postgresql.service: Killing process 30205 (postmaster) with signal SIGKILL. Jul 11 15:20:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:25 managed-node2 postmaster[31011]: 2026-07-11 15:20:25.171 EDT [31011] LOG: redirecting log output to logging collector process Jul 11 15:20:25 managed-node2 postmaster[31011]: 2026-07-11 15:20:25.171 EDT [31011] HINT: Future log output will appear in directory "log". Jul 11 15:20:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:47 managed-node2 systemd[1]: postgresql.service: Killing process 31013 (postmaster) with signal SIGKILL. Jul 11 15:20:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:02 managed-node2 postgres[35856]: 2026-07-11 15:21:02.651 EDT [35856] LOG: redirecting log output to logging collector process Jul 11 15:21:02 managed-node2 postgres[35856]: 2026-07-11 15:21:02.651 EDT [35856] HINT: Future log output will appear in directory "log". Jul 11 15:21:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:05 managed-node2 systemd[1]: postgresql.service: Killing process 35858 (postgres) with signal SIGKILL. Jul 11 15:21:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:05 managed-node2 postgres[36663]: 2026-07-11 15:21:05.628 EDT [36663] LOG: redirecting log output to logging collector process Jul 11 15:21:05 managed-node2 postgres[36663]: 2026-07-11 15:21:05.628 EDT [36663] HINT: Future log output will appear in directory "log". Jul 11 15:21:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:27 managed-node2 systemd[1]: postgresql.service: Killing process 36665 (postgres) with signal SIGKILL. Jul 11 15:21:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.420 EDT [41502] 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 Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.421 EDT [41502] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.421 EDT [41502] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.423 EDT [41502] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.427 EDT [41502] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.437 EDT [41502] LOG: redirecting log output to logging collector process Jul 11 15:21:42 managed-node2 postmaster[41502]: 2026-07-11 15:21:42.437 EDT [41502] HINT: Future log output will appear in directory "log". Jul 11 15:21:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:45 managed-node2 systemd[1]: postgresql.service: Killing process 41503 (postmaster) with signal SIGKILL. Jul 11 15:21:45 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.397 EDT [42309] 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 Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.397 EDT [42309] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.397 EDT [42309] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.399 EDT [42309] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.403 EDT [42309] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.432 EDT [42309] LOG: redirecting log output to logging collector process Jul 11 15:21:45 managed-node2 postmaster[42309]: 2026-07-11 15:21:45.432 EDT [42309] HINT: Future log output will appear in directory "log". Jul 11 15:21:45 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:07 managed-node2 systemd[1]: postgresql.service: Killing process 42311 (postmaster) with signal SIGKILL. Jul 11 15:22:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:21 managed-node2 postmaster[47120]: 2026-07-11 15:22:21.848 EDT [47120] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:21 managed-node2 postmaster[47120]: 2026-07-11 15:22:21.848 EDT [47120] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:21 managed-node2 postmaster[47120]: 2026-07-11 15:22:21.850 EDT [47120] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:21 managed-node2 postmaster[47120]: 2026-07-11 15:22:21.853 EDT [47120] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:21 managed-node2 postmaster[47120]: 2026-07-11 15:22:21.864 EDT [47120] LOG: redirecting log output to logging collector process Jul 11 15:22:21 managed-node2 postmaster[47120]: 2026-07-11 15:22:21.864 EDT [47120] HINT: Future log output will appear in directory "log". Jul 11 15:22:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:24 managed-node2 systemd[1]: postgresql.service: Killing process 47121 (postmaster) with signal SIGKILL. Jul 11 15:22:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:24 managed-node2 postmaster[47927]: 2026-07-11 15:22:24.788 EDT [47927] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:24 managed-node2 postmaster[47927]: 2026-07-11 15:22:24.788 EDT [47927] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:24 managed-node2 postmaster[47927]: 2026-07-11 15:22:24.790 EDT [47927] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:24 managed-node2 postmaster[47927]: 2026-07-11 15:22:24.794 EDT [47927] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:24 managed-node2 postmaster[47927]: 2026-07-11 15:22:24.823 EDT [47927] LOG: redirecting log output to logging collector process Jul 11 15:22:24 managed-node2 postmaster[47927]: 2026-07-11 15:22:24.823 EDT [47927] HINT: Future log output will appear in directory "log". Jul 11 15:22:24 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:46 managed-node2 systemd[1]: postgresql.service: Killing process 47929 (postmaster) with signal SIGKILL. Jul 11 15:22:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:46 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:23:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:23:01 managed-node2 postmaster[52778]: 2026-07-11 15:23:01.763 EDT [52778] LOG: redirecting log output to logging collector process Jul 11 15:23:01 managed-node2 postmaster[52778]: 2026-07-11 15:23:01.763 EDT [52778] HINT: Future log output will appear in directory "log". Jul 11 15:23:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:23:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:23:04 managed-node2 systemd[1]: postgresql.service: Killing process 52779 (postmaster) with signal SIGKILL. Jul 11 15:23:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:23:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:23:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:23:04 managed-node2 postmaster[53585]: 2026-07-11 15:23:04.835 EDT [53585] LOG: redirecting log output to logging collector process Jul 11 15:23:04 managed-node2 postmaster[53585]: 2026-07-11 15:23:04.835 EDT [53585] HINT: Future log output will appear in directory "log". Jul 11 15:23:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:23:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:23:26 managed-node2 systemd[1]: postgresql.service: Killing process 53586 (postmaster) with signal SIGKILL. Jul 11 15:23:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:23:26 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 11 July 2026 15:23:29 -0400 (0:00:00.332) 0:03:22.146 ********* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.17s /tmp/collections-etZ/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.01s /tmp/collections-etZ/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.98s /tmp/collections-etZ/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.98s /tmp/collections-etZ/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.98s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.78s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.56s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.44s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.07s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.95s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.70s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.69s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.69s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.68s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.68s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.66s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.40s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.40s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.39s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.39s /tmp/collections-etZ/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8