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-YYt 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-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 27 June 2026 15:44:08 -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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 27 June 2026 15:44:09 -0400 (0:00:01.187) 0:00:01.205 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 27 June 2026 15:44:09 -0400 (0:00:00.009) 0:00:01.214 ********* included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 27 June 2026 15:44:09 -0400 (0:00:00.052) 0:00:01.267 ********* included: /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 27 June 2026 15:44:09 -0400 (0:00:00.058) 0:00:01.325 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 27 June 2026 15:44:09 -0400 (0:00:00.001) 0:00:01.326 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 27 June 2026 15:44:09 -0400 (0:00:00.021) 0:00:01.348 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 27 June 2026 15:44:09 -0400 (0:00:00.098) 0:00:01.446 ********* included: /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 27 June 2026 15:44:09 -0400 (0:00:00.041) 0:00:01.487 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 27 June 2026 15:44:10 -0400 (0:00:00.797) 0:00:02.285 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 27 June 2026 15:44:11 -0400 (0:00:00.418) 0:00:02.704 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 27 June 2026 15:44:11 -0400 (0:00:00.427) 0:00:03.131 ********* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 27 June 2026 15:44:11 -0400 (0:00:00.030) 0:00:03.161 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007878", "end": "2026-06-27 15:44:11.925664", "failed_when_result": false, "rc": 0, "start": "2026-06-27 15:44:11.917786" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 27 June 2026 15:44:11 -0400 (0:00:00.449) 0:00:03.611 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 27 June 2026 15:44:12 -0400 (0:00:00.031) 0:00:03.643 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 27 June 2026 15:44:12 -0400 (0:00:00.033) 0:00:03.676 ********* 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-YYt/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-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 27 June 2026 15:44:12 -0400 (0:00:00.065) 0:00:03.742 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 27 June 2026 15:44:12 -0400 (0:00:00.334) 0:00:04.076 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 27 June 2026 15:44:12 -0400 (0:00:00.328) 0:00:04.405 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 27 June 2026 15:44:13 -0400 (0:00:00.334) 0:00:04.739 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 27 June 2026 15:44:14 -0400 (0:00:01.624) 0:00:06.364 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 27 June 2026 15:44:14 -0400 (0:00:00.031) 0:00:06.395 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 27 June 2026 15:44:14 -0400 (0:00:00.024) 0:00:06.420 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 27 June 2026 15:44:14 -0400 (0:00:00.023) 0:00:06.443 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 27 June 2026 15:44:14 -0400 (0:00:00.020) 0:00:06.464 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 27 June 2026 15:44:20 -0400 (0:00:06.142) 0:00:12.607 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.730761", "end": "2026-06-27 15:44:22.019771", "rc": 0, "start": "2026-06-27 15:44:21.289010" } 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 27 June 2026 15:44:22 -0400 (0:00:01.093) 0:00:13.700 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 27 June 2026 15:44:22 -0400 (0:00:00.020) 0:00:13.721 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 27 June 2026 15:44:22 -0400 (0:00:00.018) 0:00:13.739 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 27 June 2026 15:44:22 -0400 (0:00:00.017) 0:00:13.757 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target basic.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": "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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 27 June 2026 15:44:23 -0400 (0:00:01.256) 0:00:15.014 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.020) 0:00:15.035 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.026) 0:00:15.061 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.033) 0:00:15.095 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.022) 0:00:15.117 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.020) 0:00:15.137 ********* included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.029) 0:00:15.166 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.018) 0:00:15.185 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.018) 0:00:15.203 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.018) 0:00:15.221 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.018) 0:00:15.240 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.019) 0:00:15.260 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.018) 0:00:15.279 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.017) 0:00:15.296 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.016) 0:00:15.313 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.017) 0:00:15.330 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 27 June 2026 15:44:23 -0400 (0:00:00.021) 0:00:15.351 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 27 June 2026 15:44:24 -0400 (0:00:00.460) 0:00:15.812 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 27 June 2026 15:44:24 -0400 (0:00:00.451) 0:00:16.264 ********* 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-1782589464.6695616-12478-51884324972815/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 27 June 2026 15:44:25 -0400 (0:00:00.823) 0:00:17.087 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 27 June 2026 15:44:25 -0400 (0:00:00.021) 0:00:17.108 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 27 June 2026 15:44:25 -0400 (0:00:00.020) 0:00:17.129 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 27 June 2026 15:44:25 -0400 (0:00:00.337) 0:00:17.466 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 27 June 2026 15:44:25 -0400 (0:00:00.019) 0:00:17.486 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 27 June 2026 15:44:25 -0400 (0:00:00.005) 0:00:17.492 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-27 15:44:23 EDT", "ActiveEnterTimestampMonotonic": "305291547", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-27 15:44:23 EDT", "AssertTimestampMonotonic": "305241249", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-27 15:44:23 EDT", "ConditionTimestampMonotonic": "305241249", "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": "30207", "ExecMainStartTimestamp": "Sat 2026-06-27 15:44:23 EDT", "ExecMainStartTimestampMonotonic": "305250794", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-06-27 15:44:23 EDT] ; stop_time=[n/a] ; pid=30207 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-06-27 15:44:23 EDT] ; stop_time=[Sat 2026-06-27 15:44:23 EDT] ; pid=30204 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-06-27 15:44:23 EDT", "InactiveExitTimestampMonotonic": "305242212", "InvocationID": "2b1ba45fea5d4158b8aa52f0a7de51d7", "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": "30207", "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-06-27 15:44:23 EDT", "StateChangeTimestampMonotonic": "305291547", "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-06-27 15:44:23 EDT", "WatchdogTimestampMonotonic": "305291544", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 27 June 2026 15:44:26 -0400 (0:00:00.941) 0:00:18.433 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008443", "end": "2026-06-27 15:44:27.091366", "rc": 0, "start": "2026-06-27 15:44:27.082923" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 27 June 2026 15:44:27 -0400 (0:00:00.337) 0:00:18.771 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008242", "end": "2026-06-27 15:44:27.428522", "rc": 0, "start": "2026-06-27 15:44:27.420280" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 27 June 2026 15:44:27 -0400 (0:00:00.335) 0:00:19.107 ********* ASYNC OK on managed-node2: jid=j661902041138.31414 ok: [managed-node2] => { "ansible_job_id": "j661902041138.31414", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012369", "end": "2026-06-27 15:44:28.088413", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j661902041138.31414", "start": "2026-06-27 15:44:28.076044", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 27 June 2026 15:44:43 -0400 (0:00:16.208) 0:00:35.315 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009692", "end": "2026-06-27 15:44:43.994948", "rc": 0, "start": "2026-06-27 15:44:43.985256" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 27 June 2026 15:44:44 -0400 (0:00:00.360) 0:00:35.676 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 27 June 2026 15:44:44 -0400 (0:00:00.035) 0:00:35.712 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009542", "end": "2026-06-27 15:44:44.391207", "rc": 0, "start": "2026-06-27 15:44:44.381665" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 27 June 2026 15:44:44 -0400 (0:00:00.360) 0:00:36.072 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 27 June 2026 15:44:44 -0400 (0:00:00.032) 0:00:36.104 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009191", "end": "2026-06-27 15:44:44.768884", "failed_when_result": false, "rc": 0, "start": "2026-06-27 15:44:44.759693" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 27 June 2026 15:44:44 -0400 (0:00:00.353) 0:00:36.458 ********* included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 27 June 2026 15:44:44 -0400 (0:00:00.034) 0:00:36.492 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 27 June 2026 15:44:44 -0400 (0:00:00.004) 0:00:36.497 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 27 June 2026 15:44:49 -0400 (0:00:04.714) 0:00:41.211 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 27 June 2026 15:44:49 -0400 (0:00:00.018) 0:00:41.229 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 27 June 2026 15:44:49 -0400 (0:00:00.368) 0:00:41.598 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 27 June 2026 15:44:51 -0400 (0:00:01.276) 0:00:42.875 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007108", "end": "2026-06-27 15:44:51.526853", "rc": 0, "start": "2026-06-27 15:44:51.519745" } STDOUT: -- Logs begin at Sat 2026-06-27 15:39:18 EDT, end at Sat 2026-06-27 15:44:51 EDT. -- Jun 27 15:42:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:42:42 managed-node2 postmaster[10424]: 2026-06-27 15:42:42.527 EDT [10424] LOG: redirecting log output to logging collector process Jun 27 15:42:42 managed-node2 postmaster[10424]: 2026-06-27 15:42:42.527 EDT [10424] HINT: Future log output will appear in directory "log". Jun 27 15:42:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:42:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:42:50 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Jun 27 15:42:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:42:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:42:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:42:50 managed-node2 postmaster[12686]: 2026-06-27 15:42:50.375 EDT [12686] LOG: redirecting log output to logging collector process Jun 27 15:42:50 managed-node2 postmaster[12686]: 2026-06-27 15:42:50.375 EDT [12686] HINT: Future log output will appear in directory "log". Jun 27 15:42:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:42:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:42:54 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Jun 27 15:42:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:42:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:26 managed-node2 postmaster[19310]: 2026-06-27 15:43:26.174 EDT [19310] LOG: redirecting log output to logging collector process Jun 27 15:43:26 managed-node2 postmaster[19310]: 2026-06-27 15:43:26.174 EDT [19310] HINT: Future log output will appear in directory "log". Jun 27 15:43:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:31 managed-node2 systemd[1]: postgresql.service: Killing process 19311 (postmaster) with signal SIGKILL. Jun 27 15:43:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:31 managed-node2 postmaster[20850]: 2026-06-27 15:43:31.712 EDT [20850] LOG: redirecting log output to logging collector process Jun 27 15:43:31 managed-node2 postmaster[20850]: 2026-06-27 15:43:31.712 EDT [20850] HINT: Future log output will appear in directory "log". Jun 27 15:43:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:36 managed-node2 systemd[1]: postgresql.service: Killing process 20852 (postmaster) with signal SIGKILL. Jun 27 15:43:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:55 managed-node2 postmaster[25224]: 2026-06-27 15:43:55.961 EDT [25224] LOG: redirecting log output to logging collector process Jun 27 15:43:55 managed-node2 postmaster[25224]: 2026-06-27 15:43:55.961 EDT [25224] HINT: Future log output will appear in directory "log". Jun 27 15:43:55 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 25226 (postmaster) with signal SIGKILL. Jun 27 15:43:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:59 managed-node2 postmaster[25965]: 2026-06-27 15:43:59.468 EDT [25965] LOG: redirecting log output to logging collector process Jun 27 15:43:59 managed-node2 postmaster[25965]: 2026-06-27 15:43:59.468 EDT [25965] HINT: Future log output will appear in directory "log". Jun 27 15:43:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:03 managed-node2 systemd[1]: postgresql.service: Killing process 25966 (postmaster) with signal SIGKILL. Jun 27 15:44:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:23 managed-node2 postmaster[30207]: 2026-06-27 15:44:23.305 EDT [30207] LOG: redirecting log output to logging collector process Jun 27 15:44:23 managed-node2 postmaster[30207]: 2026-06-27 15:44:23.305 EDT [30207] HINT: Future log output will appear in directory "log". Jun 27 15:44:23 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 30208 (postmaster) with signal SIGKILL. Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:26 managed-node2 postmaster[31014]: 2026-06-27 15:44:26.725 EDT [31014] LOG: redirecting log output to logging collector process Jun 27 15:44:26 managed-node2 postmaster[31014]: 2026-06-27 15:44:26.725 EDT [31014] HINT: Future log output will appear in directory "log". Jun 27 15:44:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:48 managed-node2 systemd[1]: postgresql.service: Killing process 31016 (postmaster) with signal SIGKILL. Jun 27 15:44:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 27 June 2026 15:44:51 -0400 (0:00:00.331) 0:00:43.207 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 27 June 2026 15:44:51 -0400 (0:00:00.012) 0:00:43.219 ********* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 27 June 2026 15:44:51 -0400 (0:00:00.024) 0:00:43.244 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) included: /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 27 June 2026 15:44:51 -0400 (0:00:00.087) 0:00:43.331 ********* included: /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 27 June 2026 15:44:51 -0400 (0:00:00.029) 0:00:43.360 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 27 June 2026 15:44:51 -0400 (0:00:00.000) 0:00:43.361 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 27 June 2026 15:44:51 -0400 (0:00:00.016) 0:00:43.377 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 27 June 2026 15:44:51 -0400 (0:00:00.041) 0:00:43.419 ********* included: /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 27 June 2026 15:44:51 -0400 (0:00:00.024) 0:00:43.444 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 27 June 2026 15:44:52 -0400 (0:00:00.774) 0:00:44.219 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 27 June 2026 15:44:52 -0400 (0:00:00.320) 0:00:44.539 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 27 June 2026 15:44:52 -0400 (0:00:00.017) 0:00:44.557 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 27 June 2026 15:44:52 -0400 (0:00:00.016) 0:00:44.573 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 27 June 2026 15:44:52 -0400 (0:00:00.016) 0:00:44.590 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 27 June 2026 15:44:52 -0400 (0:00:00.016) 0:00:44.606 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 27 June 2026 15:44:52 -0400 (0:00:00.016) 0:00:44.622 ********* [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-YYt/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-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 27 June 2026 15:44:53 -0400 (0:00:00.039) 0:00:44.662 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 27 June 2026 15:44:53 -0400 (0:00:00.320) 0:00:44.983 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 27 June 2026 15:44:53 -0400 (0:00:00.321) 0:00:45.304 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 27 June 2026 15:44:53 -0400 (0:00:00.321) 0:00:45.626 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 27 June 2026 15:44:55 -0400 (0:00:01.418) 0:00:47.045 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 27 June 2026 15:44:55 -0400 (0:00:00.027) 0:00:47.073 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 27 June 2026 15:44:55 -0400 (0:00:00.088) 0:00:47.162 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 27 June 2026 15:44:55 -0400 (0:00:00.025) 0:00:47.187 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 27 June 2026 15:44:55 -0400 (0:00:00.021) 0:00:47.208 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 27 June 2026 15:45:02 -0400 (0:00:07.086) 0:00:54.295 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.726575", "end": "2026-06-27 15:45:03.688986", "rc": 0, "start": "2026-06-27 15:45:02.962411" } 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 27 June 2026 15:45:03 -0400 (0:00:01.074) 0:00:55.369 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 27 June 2026 15:45:03 -0400 (0:00:00.019) 0:00:55.389 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 27 June 2026 15:45:03 -0400 (0:00:00.018) 0:00:55.408 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 27 June 2026 15:45:03 -0400 (0:00:00.018) 0:00:55.426 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice network-online.target basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 27 June 2026 15:45:04 -0400 (0:00:01.045) 0:00:56.472 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 27 June 2026 15:45:04 -0400 (0:00:00.021) 0:00:56.494 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 27 June 2026 15:45:04 -0400 (0:00:00.020) 0:00:56.515 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 27 June 2026 15:45:04 -0400 (0:00:00.022) 0:00:56.537 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 27 June 2026 15:45:04 -0400 (0:00:00.017) 0:00:56.554 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 27 June 2026 15:45:04 -0400 (0:00:00.021) 0:00:56.575 ********* included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 27 June 2026 15:45:04 -0400 (0:00:00.030) 0:00:56.606 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 27 June 2026 15:45:04 -0400 (0:00:00.019) 0:00:56.625 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.018) 0:00:56.644 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.018) 0:00:56.662 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.019) 0:00:56.682 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.018) 0:00:56.700 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.018) 0:00:56.719 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.018) 0:00:56.737 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.017) 0:00:56.755 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.016) 0:00:56.771 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.020) 0:00:56.792 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.340) 0:00:57.133 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.338) 0:00:57.471 ********* 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-1782589505.8781555-12895-102683225113679/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 27 June 2026 15:45:06 -0400 (0:00:00.670) 0:00:58.142 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 27 June 2026 15:45:06 -0400 (0:00:00.022) 0:00:58.164 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 27 June 2026 15:45:06 -0400 (0:00:00.021) 0:00:58.186 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 27 June 2026 15:45:06 -0400 (0:00:00.335) 0:00:58.521 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 27 June 2026 15:45:06 -0400 (0:00:00.019) 0:00:58.540 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 27 June 2026 15:45:06 -0400 (0:00:00.005) 0:00:58.545 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-27 15:45:04 EDT", "ActiveEnterTimestampMonotonic": "346748081", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket network-online.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-27 15:45:04 EDT", "AssertTimestampMonotonic": "346697500", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-27 15:45:04 EDT", "ConditionTimestampMonotonic": "346697500", "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": "35861", "ExecMainStartTimestamp": "Sat 2026-06-27 15:45:04 EDT", "ExecMainStartTimestampMonotonic": "346706982", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-06-27 15:45:04 EDT] ; stop_time=[n/a] ; pid=35861 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-06-27 15:45:04 EDT] ; stop_time=[Sat 2026-06-27 15:45:04 EDT] ; pid=35858 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-06-27 15:45:04 EDT", "InactiveExitTimestampMonotonic": "346698467", "InvocationID": "1d2b14702315412ea0f4c00f6b5b0386", "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": "35861", "MemoryAccounting": "yes", "MemoryCurrent": "18644992", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-06-27 15:45:04 EDT", "StateChangeTimestampMonotonic": "346748081", "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-06-27 15:45:04 EDT", "WatchdogTimestampMonotonic": "346748078", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 27 June 2026 15:45:07 -0400 (0:00:00.936) 0:00:59.482 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008028", "end": "2026-06-27 15:45:08.138941", "rc": 0, "start": "2026-06-27 15:45:08.130913" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 27 June 2026 15:45:08 -0400 (0:00:00.335) 0:00:59.817 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008265", "end": "2026-06-27 15:45:08.473531", "rc": 0, "start": "2026-06-27 15:45:08.465266" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 27 June 2026 15:45:08 -0400 (0:00:00.334) 0:01:00.152 ********* ASYNC OK on managed-node2: jid=j384528208692.37066 ok: [managed-node2] => { "ansible_job_id": "j384528208692.37066", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012127", "end": "2026-06-27 15:45:09.032278", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j384528208692.37066", "start": "2026-06-27 15:45:09.020151", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 27 June 2026 15:45:24 -0400 (0:00:15.996) 0:01:16.148 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009650", "end": "2026-06-27 15:45:24.821691", "rc": 0, "start": "2026-06-27 15:45:24.812041" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 27 June 2026 15:45:24 -0400 (0:00:00.354) 0:01:16.503 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 27 June 2026 15:45:24 -0400 (0:00:00.032) 0:01:16.536 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009479", "end": "2026-06-27 15:45:25.208848", "rc": 0, "start": "2026-06-27 15:45:25.199369" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 27 June 2026 15:45:25 -0400 (0:00:00.352) 0:01:16.888 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 27 June 2026 15:45:25 -0400 (0:00:00.032) 0:01:16.920 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009166", "end": "2026-06-27 15:45:25.579972", "failed_when_result": false, "rc": 0, "start": "2026-06-27 15:45:25.570806" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 27 June 2026 15:45:25 -0400 (0:00:00.371) 0:01:17.292 ********* included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 27 June 2026 15:45:25 -0400 (0:00:00.032) 0:01:17.325 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 27 June 2026 15:45:25 -0400 (0:00:00.004) 0:01:17.330 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 27 June 2026 15:45:30 -0400 (0:00:04.749) 0:01:22.080 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 27 June 2026 15:45:30 -0400 (0:00:00.023) 0:01:22.104 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 27 June 2026 15:45:30 -0400 (0:00:00.370) 0:01:22.474 ********* [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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 27 June 2026 15:45:32 -0400 (0:00:01.274) 0:01:23.749 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007541", "end": "2026-06-27 15:45:32.402556", "rc": 0, "start": "2026-06-27 15:45:32.395015" } STDOUT: -- Logs begin at Sat 2026-06-27 15:39:18 EDT, end at Sat 2026-06-27 15:45:32 EDT. -- Jun 27 15:42:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:42:42 managed-node2 postmaster[10424]: 2026-06-27 15:42:42.527 EDT [10424] LOG: redirecting log output to logging collector process Jun 27 15:42:42 managed-node2 postmaster[10424]: 2026-06-27 15:42:42.527 EDT [10424] HINT: Future log output will appear in directory "log". Jun 27 15:42:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:42:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:42:50 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Jun 27 15:42:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:42:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:42:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:42:50 managed-node2 postmaster[12686]: 2026-06-27 15:42:50.375 EDT [12686] LOG: redirecting log output to logging collector process Jun 27 15:42:50 managed-node2 postmaster[12686]: 2026-06-27 15:42:50.375 EDT [12686] HINT: Future log output will appear in directory "log". Jun 27 15:42:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:42:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:42:54 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Jun 27 15:42:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:42:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:26 managed-node2 postmaster[19310]: 2026-06-27 15:43:26.174 EDT [19310] LOG: redirecting log output to logging collector process Jun 27 15:43:26 managed-node2 postmaster[19310]: 2026-06-27 15:43:26.174 EDT [19310] HINT: Future log output will appear in directory "log". Jun 27 15:43:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:31 managed-node2 systemd[1]: postgresql.service: Killing process 19311 (postmaster) with signal SIGKILL. Jun 27 15:43:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:31 managed-node2 postmaster[20850]: 2026-06-27 15:43:31.712 EDT [20850] LOG: redirecting log output to logging collector process Jun 27 15:43:31 managed-node2 postmaster[20850]: 2026-06-27 15:43:31.712 EDT [20850] HINT: Future log output will appear in directory "log". Jun 27 15:43:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:36 managed-node2 systemd[1]: postgresql.service: Killing process 20852 (postmaster) with signal SIGKILL. Jun 27 15:43:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:55 managed-node2 postmaster[25224]: 2026-06-27 15:43:55.961 EDT [25224] LOG: redirecting log output to logging collector process Jun 27 15:43:55 managed-node2 postmaster[25224]: 2026-06-27 15:43:55.961 EDT [25224] HINT: Future log output will appear in directory "log". Jun 27 15:43:55 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 25226 (postmaster) with signal SIGKILL. Jun 27 15:43:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:59 managed-node2 postmaster[25965]: 2026-06-27 15:43:59.468 EDT [25965] LOG: redirecting log output to logging collector process Jun 27 15:43:59 managed-node2 postmaster[25965]: 2026-06-27 15:43:59.468 EDT [25965] HINT: Future log output will appear in directory "log". Jun 27 15:43:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:03 managed-node2 systemd[1]: postgresql.service: Killing process 25966 (postmaster) with signal SIGKILL. Jun 27 15:44:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:23 managed-node2 postmaster[30207]: 2026-06-27 15:44:23.305 EDT [30207] LOG: redirecting log output to logging collector process Jun 27 15:44:23 managed-node2 postmaster[30207]: 2026-06-27 15:44:23.305 EDT [30207] HINT: Future log output will appear in directory "log". Jun 27 15:44:23 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 30208 (postmaster) with signal SIGKILL. Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:26 managed-node2 postmaster[31014]: 2026-06-27 15:44:26.725 EDT [31014] LOG: redirecting log output to logging collector process Jun 27 15:44:26 managed-node2 postmaster[31014]: 2026-06-27 15:44:26.725 EDT [31014] HINT: Future log output will appear in directory "log". Jun 27 15:44:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:48 managed-node2 systemd[1]: postgresql.service: Killing process 31016 (postmaster) with signal SIGKILL. Jun 27 15:44:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:04 managed-node2 postgres[35861]: 2026-06-27 15:45:04.762 EDT [35861] LOG: redirecting log output to logging collector process Jun 27 15:45:04 managed-node2 postgres[35861]: 2026-06-27 15:45:04.762 EDT [35861] HINT: Future log output will appear in directory "log". Jun 27 15:45:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:07 managed-node2 systemd[1]: postgresql.service: Killing process 35862 (postgres) with signal SIGKILL. Jun 27 15:45:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:07 managed-node2 postgres[36668]: 2026-06-27 15:45:07.773 EDT [36668] LOG: redirecting log output to logging collector process Jun 27 15:45:07 managed-node2 postgres[36668]: 2026-06-27 15:45:07.773 EDT [36668] HINT: Future log output will appear in directory "log". Jun 27 15:45:07 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:29 managed-node2 systemd[1]: postgresql.service: Killing process 36669 (postgres) with signal SIGKILL. Jun 27 15:45:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 27 June 2026 15:45:32 -0400 (0:00:00.332) 0:01:24.081 ********* included: /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 27 June 2026 15:45:32 -0400 (0:00:00.028) 0:01:24.110 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 27 June 2026 15:45:32 -0400 (0:00:00.001) 0:01:24.112 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 27 June 2026 15:45:32 -0400 (0:00:00.018) 0:01:24.131 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 27 June 2026 15:45:32 -0400 (0:00:00.042) 0:01:24.173 ********* included: /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 27 June 2026 15:45:32 -0400 (0:00:00.025) 0:01:24.199 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 27 June 2026 15:45:33 -0400 (0:00:00.772) 0:01:24.971 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 27 June 2026 15:45:33 -0400 (0:00:00.318) 0:01:25.290 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 27 June 2026 15:45:33 -0400 (0:00:00.017) 0:01:25.307 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 27 June 2026 15:45:33 -0400 (0:00:00.017) 0:01:25.324 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 27 June 2026 15:45:33 -0400 (0:00:00.017) 0:01:25.342 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 27 June 2026 15:45:33 -0400 (0:00:00.017) 0:01:25.360 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 27 June 2026 15:45:33 -0400 (0:00:00.017) 0:01:25.377 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-YYt/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-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 27 June 2026 15:45:33 -0400 (0:00:00.039) 0:01:25.416 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 27 June 2026 15:45:34 -0400 (0:00:00.319) 0:01:25.736 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 27 June 2026 15:45:34 -0400 (0:00:00.318) 0:01:26.054 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 27 June 2026 15:45:34 -0400 (0:00:00.318) 0:01:26.372 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 27 June 2026 15:45:36 -0400 (0:00:01.385) 0:01:27.758 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 27 June 2026 15:45:36 -0400 (0:00:00.028) 0:01:27.787 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 27 June 2026 15:45:36 -0400 (0:00:00.024) 0:01:27.811 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 27 June 2026 15:45:36 -0400 (0:00:00.025) 0:01:27.837 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 27 June 2026 15:45:36 -0400 (0:00:00.020) 0:01:27.858 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 27 June 2026 15:45:42 -0400 (0:00:06.323) 0:01:34.181 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.750679", "end": "2026-06-27 15:45:43.610017", "rc": 0, "start": "2026-06-27 15:45:42.859338" } 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 27 June 2026 15:45:43 -0400 (0:00:01.108) 0:01:35.290 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 27 June 2026 15:45:43 -0400 (0:00:00.022) 0:01:35.312 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 27 June 2026 15:45:43 -0400 (0:00:00.019) 0:01:35.331 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 27 June 2026 15:45:43 -0400 (0:00:00.019) 0:01:35.351 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket network.target system.slice basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 27 June 2026 15:45:44 -0400 (0:00:01.053) 0:01:36.404 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 27 June 2026 15:45:44 -0400 (0:00:00.023) 0:01:36.427 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 27 June 2026 15:45:44 -0400 (0:00:00.021) 0:01:36.449 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 27 June 2026 15:45:44 -0400 (0:00:00.021) 0:01:36.471 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 27 June 2026 15:45:44 -0400 (0:00:00.017) 0:01:36.488 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 27 June 2026 15:45:44 -0400 (0:00:00.022) 0:01:36.510 ********* included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 27 June 2026 15:45:44 -0400 (0:00:00.029) 0:01:36.540 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 27 June 2026 15:45:44 -0400 (0:00:00.018) 0:01:36.559 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 27 June 2026 15:45:44 -0400 (0:00:00.019) 0:01:36.578 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 27 June 2026 15:45:44 -0400 (0:00:00.019) 0:01:36.597 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 27 June 2026 15:45:44 -0400 (0:00:00.019) 0:01:36.617 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 27 June 2026 15:45:45 -0400 (0:00:00.019) 0:01:36.636 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 27 June 2026 15:45:45 -0400 (0:00:00.048) 0:01:36.685 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 27 June 2026 15:45:45 -0400 (0:00:00.019) 0:01:36.705 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 27 June 2026 15:45:45 -0400 (0:00:00.017) 0:01:36.722 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 27 June 2026 15:45:45 -0400 (0:00:00.018) 0:01:36.740 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 27 June 2026 15:45:45 -0400 (0:00:00.023) 0:01:36.764 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 27 June 2026 15:45:45 -0400 (0:00:00.337) 0:01:37.102 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 27 June 2026 15:45:45 -0400 (0:00:00.337) 0:01:37.439 ********* 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-1782589545.8454838-13307-223769782215999/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.667) 0:01:38.107 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.023) 0:01:38.130 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.021) 0:01:38.152 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.331) 0:01:38.483 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.020) 0:01:38.504 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.004) 0:01:38.509 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-27 15:45:44 EDT", "ActiveEnterTimestampMonotonic": "386681533", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target sysinit.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-27 15:45:44 EDT", "AssertTimestampMonotonic": "386629942", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-27 15:45:44 EDT", "ConditionTimestampMonotonic": "386629941", "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": "41505", "ExecMainStartTimestamp": "Sat 2026-06-27 15:45:44 EDT", "ExecMainStartTimestampMonotonic": "386640038", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-06-27 15:45:44 EDT] ; stop_time=[n/a] ; pid=41505 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-06-27 15:45:44 EDT] ; stop_time=[Sat 2026-06-27 15:45:44 EDT] ; pid=41502 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-06-27 15:45:44 EDT", "InactiveExitTimestampMonotonic": "386630947", "InvocationID": "462e5da9e11b4cffb108bc431cc31534", "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": "41505", "MemoryAccounting": "yes", "MemoryCurrent": "17891328", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-06-27 15:45:44 EDT", "StateChangeTimestampMonotonic": "386681533", "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-06-27 15:45:44 EDT", "WatchdogTimestampMonotonic": "386681530", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 27 June 2026 15:45:47 -0400 (0:00:00.932) 0:01:39.441 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007860", "end": "2026-06-27 15:45:48.096414", "rc": 0, "start": "2026-06-27 15:45:48.088554" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 27 June 2026 15:45:48 -0400 (0:00:00.333) 0:01:39.775 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008211", "end": "2026-06-27 15:45:48.425865", "rc": 0, "start": "2026-06-27 15:45:48.417654" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 27 June 2026 15:45:48 -0400 (0:00:00.330) 0:01:40.105 ********* ASYNC OK on managed-node2: jid=j169611127603.42712 ok: [managed-node2] => { "ansible_job_id": "j169611127603.42712", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011777", "end": "2026-06-27 15:45:48.983004", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j169611127603.42712", "start": "2026-06-27 15:45:48.971227", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 27 June 2026 15:46:04 -0400 (0:00:15.996) 0:01:56.102 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009484", "end": "2026-06-27 15:46:04.773151", "rc": 0, "start": "2026-06-27 15:46:04.763667" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 27 June 2026 15:46:04 -0400 (0:00:00.351) 0:01:56.453 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 27 June 2026 15:46:04 -0400 (0:00:00.032) 0:01:56.486 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009283", "end": "2026-06-27 15:46:05.157909", "rc": 0, "start": "2026-06-27 15:46:05.148626" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 27 June 2026 15:46:05 -0400 (0:00:00.353) 0:01:56.839 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 27 June 2026 15:46:05 -0400 (0:00:00.033) 0:01:56.873 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009010", "end": "2026-06-27 15:46:05.529112", "failed_when_result": false, "rc": 0, "start": "2026-06-27 15:46:05.520102" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 27 June 2026 15:46:05 -0400 (0:00:00.339) 0:01:57.213 ********* included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 27 June 2026 15:46:05 -0400 (0:00:00.033) 0:01:57.246 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 27 June 2026 15:46:05 -0400 (0:00:00.004) 0:01:57.251 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 27 June 2026 15:46:10 -0400 (0:00:04.686) 0:02:01.938 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 27 June 2026 15:46:10 -0400 (0:00:00.018) 0:02:01.957 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 27 June 2026 15:46:10 -0400 (0:00:00.373) 0:02:02.330 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 27 June 2026 15:46:12 -0400 (0:00:01.309) 0:02:03.640 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007458", "end": "2026-06-27 15:46:12.295575", "rc": 0, "start": "2026-06-27 15:46:12.288117" } STDOUT: -- Logs begin at Sat 2026-06-27 15:39:18 EDT, end at Sat 2026-06-27 15:46:12 EDT. -- Jun 27 15:42:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:42:42 managed-node2 postmaster[10424]: 2026-06-27 15:42:42.527 EDT [10424] LOG: redirecting log output to logging collector process Jun 27 15:42:42 managed-node2 postmaster[10424]: 2026-06-27 15:42:42.527 EDT [10424] HINT: Future log output will appear in directory "log". Jun 27 15:42:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:42:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:42:50 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Jun 27 15:42:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:42:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:42:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:42:50 managed-node2 postmaster[12686]: 2026-06-27 15:42:50.375 EDT [12686] LOG: redirecting log output to logging collector process Jun 27 15:42:50 managed-node2 postmaster[12686]: 2026-06-27 15:42:50.375 EDT [12686] HINT: Future log output will appear in directory "log". Jun 27 15:42:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:42:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:42:54 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Jun 27 15:42:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:42:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:26 managed-node2 postmaster[19310]: 2026-06-27 15:43:26.174 EDT [19310] LOG: redirecting log output to logging collector process Jun 27 15:43:26 managed-node2 postmaster[19310]: 2026-06-27 15:43:26.174 EDT [19310] HINT: Future log output will appear in directory "log". Jun 27 15:43:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:31 managed-node2 systemd[1]: postgresql.service: Killing process 19311 (postmaster) with signal SIGKILL. Jun 27 15:43:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:31 managed-node2 postmaster[20850]: 2026-06-27 15:43:31.712 EDT [20850] LOG: redirecting log output to logging collector process Jun 27 15:43:31 managed-node2 postmaster[20850]: 2026-06-27 15:43:31.712 EDT [20850] HINT: Future log output will appear in directory "log". Jun 27 15:43:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:36 managed-node2 systemd[1]: postgresql.service: Killing process 20852 (postmaster) with signal SIGKILL. Jun 27 15:43:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:55 managed-node2 postmaster[25224]: 2026-06-27 15:43:55.961 EDT [25224] LOG: redirecting log output to logging collector process Jun 27 15:43:55 managed-node2 postmaster[25224]: 2026-06-27 15:43:55.961 EDT [25224] HINT: Future log output will appear in directory "log". Jun 27 15:43:55 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 25226 (postmaster) with signal SIGKILL. Jun 27 15:43:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:59 managed-node2 postmaster[25965]: 2026-06-27 15:43:59.468 EDT [25965] LOG: redirecting log output to logging collector process Jun 27 15:43:59 managed-node2 postmaster[25965]: 2026-06-27 15:43:59.468 EDT [25965] HINT: Future log output will appear in directory "log". Jun 27 15:43:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:03 managed-node2 systemd[1]: postgresql.service: Killing process 25966 (postmaster) with signal SIGKILL. Jun 27 15:44:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:23 managed-node2 postmaster[30207]: 2026-06-27 15:44:23.305 EDT [30207] LOG: redirecting log output to logging collector process Jun 27 15:44:23 managed-node2 postmaster[30207]: 2026-06-27 15:44:23.305 EDT [30207] HINT: Future log output will appear in directory "log". Jun 27 15:44:23 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 30208 (postmaster) with signal SIGKILL. Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:26 managed-node2 postmaster[31014]: 2026-06-27 15:44:26.725 EDT [31014] LOG: redirecting log output to logging collector process Jun 27 15:44:26 managed-node2 postmaster[31014]: 2026-06-27 15:44:26.725 EDT [31014] HINT: Future log output will appear in directory "log". Jun 27 15:44:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:48 managed-node2 systemd[1]: postgresql.service: Killing process 31016 (postmaster) with signal SIGKILL. Jun 27 15:44:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:04 managed-node2 postgres[35861]: 2026-06-27 15:45:04.762 EDT [35861] LOG: redirecting log output to logging collector process Jun 27 15:45:04 managed-node2 postgres[35861]: 2026-06-27 15:45:04.762 EDT [35861] HINT: Future log output will appear in directory "log". Jun 27 15:45:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:07 managed-node2 systemd[1]: postgresql.service: Killing process 35862 (postgres) with signal SIGKILL. Jun 27 15:45:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:07 managed-node2 postgres[36668]: 2026-06-27 15:45:07.773 EDT [36668] LOG: redirecting log output to logging collector process Jun 27 15:45:07 managed-node2 postgres[36668]: 2026-06-27 15:45:07.773 EDT [36668] HINT: Future log output will appear in directory "log". Jun 27 15:45:07 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:29 managed-node2 systemd[1]: postgresql.service: Killing process 36669 (postgres) with signal SIGKILL. Jun 27 15:45:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.685 EDT [41505] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.685 EDT [41505] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.685 EDT [41505] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.687 EDT [41505] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.691 EDT [41505] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.702 EDT [41505] LOG: redirecting log output to logging collector process Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.702 EDT [41505] HINT: Future log output will appear in directory "log". Jun 27 15:45:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:47 managed-node2 systemd[1]: postgresql.service: Killing process 41506 (postmaster) with signal SIGKILL. Jun 27 15:45:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:47 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.706 EDT [42313] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.707 EDT [42313] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.707 EDT [42313] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.708 EDT [42313] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.712 EDT [42313] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.741 EDT [42313] LOG: redirecting log output to logging collector process Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.741 EDT [42313] HINT: Future log output will appear in directory "log". Jun 27 15:45:47 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:09 managed-node2 systemd[1]: postgresql.service: Killing process 42314 (postmaster) with signal SIGKILL. Jun 27 15:46:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 27 June 2026 15:46:12 -0400 (0:00:00.335) 0:02:03.975 ********* included: /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 27 June 2026 15:46:12 -0400 (0:00:00.031) 0:02:04.006 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 27 June 2026 15:46:12 -0400 (0:00:00.001) 0:02:04.007 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 27 June 2026 15:46:12 -0400 (0:00:00.017) 0:02:04.025 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 27 June 2026 15:46:12 -0400 (0:00:00.043) 0:02:04.068 ********* included: /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 27 June 2026 15:46:12 -0400 (0:00:00.025) 0:02:04.093 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 27 June 2026 15:46:13 -0400 (0:00:00.780) 0:02:04.874 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 27 June 2026 15:46:13 -0400 (0:00:00.326) 0:02:05.201 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 27 June 2026 15:46:13 -0400 (0:00:00.017) 0:02:05.219 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 27 June 2026 15:46:13 -0400 (0:00:00.017) 0:02:05.236 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 27 June 2026 15:46:13 -0400 (0:00:00.016) 0:02:05.253 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 27 June 2026 15:46:13 -0400 (0:00:00.016) 0:02:05.270 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 27 June 2026 15:46:13 -0400 (0:00:00.016) 0:02:05.287 ********* 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-YYt/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-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 27 June 2026 15:46:13 -0400 (0:00:00.039) 0:02:05.326 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 27 June 2026 15:46:14 -0400 (0:00:00.331) 0:02:05.658 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 27 June 2026 15:46:14 -0400 (0:00:00.327) 0:02:05.985 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 27 June 2026 15:46:14 -0400 (0:00:00.323) 0:02:06.309 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 27 June 2026 15:46:16 -0400 (0:00:01.429) 0:02:07.738 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 27 June 2026 15:46:16 -0400 (0:00:00.030) 0:02:07.768 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 27 June 2026 15:46:16 -0400 (0:00:00.093) 0:02:07.862 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 27 June 2026 15:46:16 -0400 (0:00:00.025) 0:02:07.888 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 27 June 2026 15:46:16 -0400 (0:00:00.020) 0:02:07.909 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 27 June 2026 15:46:22 -0400 (0:00:05.954) 0:02:13.863 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.700181", "end": "2026-06-27 15:46:23.229359", "rc": 0, "start": "2026-06-27 15:46:22.529178" } 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 27 June 2026 15:46:23 -0400 (0:00:01.047) 0:02:14.910 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 27 June 2026 15:46:23 -0400 (0:00:00.020) 0:02:14.931 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 27 June 2026 15:46:23 -0400 (0:00:00.018) 0:02:14.950 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 27 June 2026 15:46:23 -0400 (0:00:00.018) 0:02:14.969 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target system.slice sysinit.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 27 June 2026 15:46:24 -0400 (0:00:01.042) 0:02:16.011 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.022) 0:02:16.034 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.021) 0:02:16.056 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.023) 0:02:16.079 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.018) 0:02:16.097 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.021) 0:02:16.118 ********* included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.030) 0:02:16.149 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.019) 0:02:16.168 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.019) 0:02:16.187 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.018) 0:02:16.206 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.020) 0:02:16.226 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.018) 0:02:16.245 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.019) 0:02:16.265 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.018) 0:02:16.283 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.018) 0:02:16.302 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.017) 0:02:16.320 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.021) 0:02:16.341 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 27 June 2026 15:46:25 -0400 (0:00:00.334) 0:02:16.676 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 27 June 2026 15:46:25 -0400 (0:00:00.337) 0:02:17.013 ********* 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-1782589585.4200504-13716-208126908592317/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 27 June 2026 15:46:26 -0400 (0:00:00.675) 0:02:17.688 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 27 June 2026 15:46:26 -0400 (0:00:00.022) 0:02:17.711 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 27 June 2026 15:46:26 -0400 (0:00:00.021) 0:02:17.733 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 27 June 2026 15:46:26 -0400 (0:00:00.335) 0:02:18.069 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 27 June 2026 15:46:26 -0400 (0:00:00.020) 0:02:18.089 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 27 June 2026 15:46:26 -0400 (0:00:00.005) 0:02:18.094 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-27 15:46:24 EDT", "ActiveEnterTimestampMonotonic": "426287088", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-27 15:46:24 EDT", "AssertTimestampMonotonic": "426239445", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-27 15:46:24 EDT", "ConditionTimestampMonotonic": "426239445", "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": "47123", "ExecMainStartTimestamp": "Sat 2026-06-27 15:46:24 EDT", "ExecMainStartTimestampMonotonic": "426249053", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-06-27 15:46:24 EDT] ; stop_time=[n/a] ; pid=47123 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-06-27 15:46:24 EDT] ; stop_time=[Sat 2026-06-27 15:46:24 EDT] ; pid=47120 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-06-27 15:46:24 EDT", "InactiveExitTimestampMonotonic": "426240424", "InvocationID": "dea2880f4c6e4c7cae2fa709ba77e18e", "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": "47123", "MemoryAccounting": "yes", "MemoryCurrent": "16760832", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-06-27 15:46:24 EDT", "StateChangeTimestampMonotonic": "426287088", "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-06-27 15:46:24 EDT", "WatchdogTimestampMonotonic": "426287086", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 27 June 2026 15:46:27 -0400 (0:00:00.936) 0:02:19.031 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007961", "end": "2026-06-27 15:46:27.687372", "rc": 0, "start": "2026-06-27 15:46:27.679411" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 27 June 2026 15:46:27 -0400 (0:00:00.335) 0:02:19.366 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008364", "end": "2026-06-27 15:46:28.023927", "rc": 0, "start": "2026-06-27 15:46:28.015563" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 27 June 2026 15:46:28 -0400 (0:00:00.338) 0:02:19.704 ********* ASYNC OK on managed-node2: jid=j401332637304.48330 ok: [managed-node2] => { "ansible_job_id": "j401332637304.48330", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012762", "end": "2026-06-27 15:46:28.595874", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j401332637304.48330", "start": "2026-06-27 15:46:28.583112", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 27 June 2026 15:46:44 -0400 (0:00:16.014) 0:02:35.718 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009423", "end": "2026-06-27 15:46:44.393178", "rc": 0, "start": "2026-06-27 15:46:44.383755" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 27 June 2026 15:46:44 -0400 (0:00:00.357) 0:02:36.075 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 27 June 2026 15:46:44 -0400 (0:00:00.033) 0:02:36.109 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009737", "end": "2026-06-27 15:46:44.784678", "rc": 0, "start": "2026-06-27 15:46:44.774941" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 27 June 2026 15:46:44 -0400 (0:00:00.355) 0:02:36.465 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 27 June 2026 15:46:44 -0400 (0:00:00.032) 0:02:36.497 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006564", "end": "2026-06-27 15:46:45.155105", "failed_when_result": false, "rc": 0, "start": "2026-06-27 15:46:45.148541" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 27 June 2026 15:46:45 -0400 (0:00:00.371) 0:02:36.869 ********* included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 27 June 2026 15:46:45 -0400 (0:00:00.033) 0:02:36.902 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 27 June 2026 15:46:45 -0400 (0:00:00.004) 0:02:36.907 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 27 June 2026 15:46:49 -0400 (0:00:04.685) 0:02:41.592 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 27 June 2026 15:46:49 -0400 (0:00:00.019) 0:02:41.611 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 27 June 2026 15:46:50 -0400 (0:00:00.371) 0:02:41.983 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 27 June 2026 15:46:51 -0400 (0:00:01.264) 0:02:43.248 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007722", "end": "2026-06-27 15:46:51.899058", "rc": 0, "start": "2026-06-27 15:46:51.891336" } STDOUT: -- Logs begin at Sat 2026-06-27 15:39:18 EDT, end at Sat 2026-06-27 15:46:51 EDT. -- Jun 27 15:42:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:42:42 managed-node2 postmaster[10424]: 2026-06-27 15:42:42.527 EDT [10424] LOG: redirecting log output to logging collector process Jun 27 15:42:42 managed-node2 postmaster[10424]: 2026-06-27 15:42:42.527 EDT [10424] HINT: Future log output will appear in directory "log". Jun 27 15:42:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:42:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:42:50 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Jun 27 15:42:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:42:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:42:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:42:50 managed-node2 postmaster[12686]: 2026-06-27 15:42:50.375 EDT [12686] LOG: redirecting log output to logging collector process Jun 27 15:42:50 managed-node2 postmaster[12686]: 2026-06-27 15:42:50.375 EDT [12686] HINT: Future log output will appear in directory "log". Jun 27 15:42:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:42:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:42:54 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Jun 27 15:42:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:42:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:26 managed-node2 postmaster[19310]: 2026-06-27 15:43:26.174 EDT [19310] LOG: redirecting log output to logging collector process Jun 27 15:43:26 managed-node2 postmaster[19310]: 2026-06-27 15:43:26.174 EDT [19310] HINT: Future log output will appear in directory "log". Jun 27 15:43:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:31 managed-node2 systemd[1]: postgresql.service: Killing process 19311 (postmaster) with signal SIGKILL. Jun 27 15:43:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:31 managed-node2 postmaster[20850]: 2026-06-27 15:43:31.712 EDT [20850] LOG: redirecting log output to logging collector process Jun 27 15:43:31 managed-node2 postmaster[20850]: 2026-06-27 15:43:31.712 EDT [20850] HINT: Future log output will appear in directory "log". Jun 27 15:43:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:36 managed-node2 systemd[1]: postgresql.service: Killing process 20852 (postmaster) with signal SIGKILL. Jun 27 15:43:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:55 managed-node2 postmaster[25224]: 2026-06-27 15:43:55.961 EDT [25224] LOG: redirecting log output to logging collector process Jun 27 15:43:55 managed-node2 postmaster[25224]: 2026-06-27 15:43:55.961 EDT [25224] HINT: Future log output will appear in directory "log". Jun 27 15:43:55 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 25226 (postmaster) with signal SIGKILL. Jun 27 15:43:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:59 managed-node2 postmaster[25965]: 2026-06-27 15:43:59.468 EDT [25965] LOG: redirecting log output to logging collector process Jun 27 15:43:59 managed-node2 postmaster[25965]: 2026-06-27 15:43:59.468 EDT [25965] HINT: Future log output will appear in directory "log". Jun 27 15:43:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:03 managed-node2 systemd[1]: postgresql.service: Killing process 25966 (postmaster) with signal SIGKILL. Jun 27 15:44:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:23 managed-node2 postmaster[30207]: 2026-06-27 15:44:23.305 EDT [30207] LOG: redirecting log output to logging collector process Jun 27 15:44:23 managed-node2 postmaster[30207]: 2026-06-27 15:44:23.305 EDT [30207] HINT: Future log output will appear in directory "log". Jun 27 15:44:23 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 30208 (postmaster) with signal SIGKILL. Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:26 managed-node2 postmaster[31014]: 2026-06-27 15:44:26.725 EDT [31014] LOG: redirecting log output to logging collector process Jun 27 15:44:26 managed-node2 postmaster[31014]: 2026-06-27 15:44:26.725 EDT [31014] HINT: Future log output will appear in directory "log". Jun 27 15:44:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:48 managed-node2 systemd[1]: postgresql.service: Killing process 31016 (postmaster) with signal SIGKILL. Jun 27 15:44:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:04 managed-node2 postgres[35861]: 2026-06-27 15:45:04.762 EDT [35861] LOG: redirecting log output to logging collector process Jun 27 15:45:04 managed-node2 postgres[35861]: 2026-06-27 15:45:04.762 EDT [35861] HINT: Future log output will appear in directory "log". Jun 27 15:45:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:07 managed-node2 systemd[1]: postgresql.service: Killing process 35862 (postgres) with signal SIGKILL. Jun 27 15:45:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:07 managed-node2 postgres[36668]: 2026-06-27 15:45:07.773 EDT [36668] LOG: redirecting log output to logging collector process Jun 27 15:45:07 managed-node2 postgres[36668]: 2026-06-27 15:45:07.773 EDT [36668] HINT: Future log output will appear in directory "log". Jun 27 15:45:07 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:29 managed-node2 systemd[1]: postgresql.service: Killing process 36669 (postgres) with signal SIGKILL. Jun 27 15:45:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.685 EDT [41505] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.685 EDT [41505] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.685 EDT [41505] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.687 EDT [41505] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.691 EDT [41505] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.702 EDT [41505] LOG: redirecting log output to logging collector process Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.702 EDT [41505] HINT: Future log output will appear in directory "log". Jun 27 15:45:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:47 managed-node2 systemd[1]: postgresql.service: Killing process 41506 (postmaster) with signal SIGKILL. Jun 27 15:45:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:47 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.706 EDT [42313] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.707 EDT [42313] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.707 EDT [42313] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.708 EDT [42313] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.712 EDT [42313] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.741 EDT [42313] LOG: redirecting log output to logging collector process Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.741 EDT [42313] HINT: Future log output will appear in directory "log". Jun 27 15:45:47 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:09 managed-node2 systemd[1]: postgresql.service: Killing process 42314 (postmaster) with signal SIGKILL. Jun 27 15:46:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:24 managed-node2 postmaster[47123]: 2026-06-27 15:46:24.292 EDT [47123] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:24 managed-node2 postmaster[47123]: 2026-06-27 15:46:24.292 EDT [47123] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:24 managed-node2 postmaster[47123]: 2026-06-27 15:46:24.294 EDT [47123] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:24 managed-node2 postmaster[47123]: 2026-06-27 15:46:24.297 EDT [47123] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:24 managed-node2 postmaster[47123]: 2026-06-27 15:46:24.308 EDT [47123] LOG: redirecting log output to logging collector process Jun 27 15:46:24 managed-node2 postmaster[47123]: 2026-06-27 15:46:24.308 EDT [47123] HINT: Future log output will appear in directory "log". Jun 27 15:46:24 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:27 managed-node2 systemd[1]: postgresql.service: Killing process 47124 (postmaster) with signal SIGKILL. Jun 27 15:46:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:27 managed-node2 postmaster[47930]: 2026-06-27 15:46:27.294 EDT [47930] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:27 managed-node2 postmaster[47930]: 2026-06-27 15:46:27.294 EDT [47930] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:27 managed-node2 postmaster[47930]: 2026-06-27 15:46:27.296 EDT [47930] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:27 managed-node2 postmaster[47930]: 2026-06-27 15:46:27.300 EDT [47930] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:27 managed-node2 postmaster[47930]: 2026-06-27 15:46:27.328 EDT [47930] LOG: redirecting log output to logging collector process Jun 27 15:46:27 managed-node2 postmaster[47930]: 2026-06-27 15:46:27.328 EDT [47930] HINT: Future log output will appear in directory "log". Jun 27 15:46:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:49 managed-node2 systemd[1]: postgresql.service: Killing process 47932 (postmaster) with signal SIGKILL. Jun 27 15:46:49 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:49 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 27 June 2026 15:46:51 -0400 (0:00:00.330) 0:02:43.579 ********* included: /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 27 June 2026 15:46:51 -0400 (0:00:00.029) 0:02:43.608 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 27 June 2026 15:46:51 -0400 (0:00:00.001) 0:02:43.609 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 27 June 2026 15:46:51 -0400 (0:00:00.016) 0:02:43.626 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 27 June 2026 15:46:52 -0400 (0:00:00.046) 0:02:43.672 ********* included: /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 27 June 2026 15:46:52 -0400 (0:00:00.025) 0:02:43.698 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 27 June 2026 15:46:52 -0400 (0:00:00.766) 0:02:44.464 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 27 June 2026 15:46:53 -0400 (0:00:00.318) 0:02:44.783 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 27 June 2026 15:46:53 -0400 (0:00:00.017) 0:02:44.801 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 27 June 2026 15:46:53 -0400 (0:00:00.017) 0:02:44.818 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 27 June 2026 15:46:53 -0400 (0:00:00.016) 0:02:44.835 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 27 June 2026 15:46:53 -0400 (0:00:00.017) 0:02:44.852 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 27 June 2026 15:46:53 -0400 (0:00:00.017) 0:02:44.869 ********* 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-YYt/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-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 27 June 2026 15:46:53 -0400 (0:00:00.039) 0:02:44.909 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 27 June 2026 15:46:53 -0400 (0:00:00.317) 0:02:45.227 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 27 June 2026 15:46:53 -0400 (0:00:00.316) 0:02:45.543 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 27 June 2026 15:46:54 -0400 (0:00:00.316) 0:02:45.859 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 27 June 2026 15:46:55 -0400 (0:00:01.376) 0:02:47.236 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 27 June 2026 15:46:55 -0400 (0:00:00.028) 0:02:47.265 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 27 June 2026 15:46:55 -0400 (0:00:00.024) 0:02:47.290 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 27 June 2026 15:46:55 -0400 (0:00:00.025) 0:02:47.315 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 27 June 2026 15:46:55 -0400 (0:00:00.020) 0:02:47.335 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 27 June 2026 15:47:01 -0400 (0:00:06.266) 0:02:53.602 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.719547", "end": "2026-06-27 15:47:02.995472", "rc": 0, "start": "2026-06-27 15:47:02.275925" } 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 27 June 2026 15:47:03 -0400 (0:00:01.072) 0:02:54.675 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 27 June 2026 15:47:03 -0400 (0:00:00.021) 0:02:54.696 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 27 June 2026 15:47:03 -0400 (0:00:00.018) 0:02:54.715 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 27 June 2026 15:47:03 -0400 (0:00:00.018) 0:02:54.733 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target systemd-journald.socket system.slice basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 27 June 2026 15:47:04 -0400 (0:00:01.041) 0:02:55.775 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.023) 0:02:55.798 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.021) 0:02:55.819 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.020) 0:02:55.840 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.017) 0:02:55.858 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.022) 0:02:55.880 ********* included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.029) 0:02:55.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 the default path] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.019) 0:02:55.929 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.019) 0:02:55.949 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.018) 0:02:55.968 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.018) 0:02:55.986 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.018) 0:02:56.005 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.050) 0:02:56.056 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.020) 0:02:56.076 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.017) 0:02:56.093 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.017) 0:02:56.110 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.023) 0:02:56.134 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.334) 0:02:56.469 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 27 June 2026 15:47:05 -0400 (0:00:00.335) 0:02:56.804 ********* 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-1782589625.210988-14129-6681611591669/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 27 June 2026 15:47:05 -0400 (0:00:00.661) 0:02:57.466 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 27 June 2026 15:47:05 -0400 (0:00:00.024) 0:02:57.490 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 27 June 2026 15:47:05 -0400 (0:00:00.022) 0:02:57.512 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 27 June 2026 15:47:06 -0400 (0:00:00.328) 0:02:57.840 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 27 June 2026 15:47:06 -0400 (0:00:00.020) 0:02:57.861 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 27 June 2026 15:47:06 -0400 (0:00:00.004) 0:02:57.866 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-27 15:47:04 EDT", "ActiveEnterTimestampMonotonic": "466053595", "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-06-27 15:47:04 EDT", "AssertTimestampMonotonic": "466002872", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-06-27 15:47:04 EDT", "ConditionTimestampMonotonic": "466002872", "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": "52781", "ExecMainStartTimestamp": "Sat 2026-06-27 15:47:04 EDT", "ExecMainStartTimestampMonotonic": "466012536", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-06-27 15:47:04 EDT] ; stop_time=[n/a] ; pid=52781 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-06-27 15:47:04 EDT] ; stop_time=[Sat 2026-06-27 15:47:04 EDT] ; pid=52778 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-06-27 15:47:04 EDT", "InactiveExitTimestampMonotonic": "466003840", "InvocationID": "2fd3b6c6737b4ebc8c613905d966efb4", "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": "52781", "MemoryAccounting": "yes", "MemoryCurrent": "18472960", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-06-27 15:47:04 EDT", "StateChangeTimestampMonotonic": "466053595", "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-06-27 15:47:04 EDT", "WatchdogTimestampMonotonic": "466053593", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 27 June 2026 15:47:07 -0400 (0:00:00.924) 0:02:58.791 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007992", "end": "2026-06-27 15:47:07.444257", "rc": 0, "start": "2026-06-27 15:47:07.436265" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 27 June 2026 15:47:07 -0400 (0:00:00.331) 0:02:59.122 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007981", "end": "2026-06-27 15:47:07.771220", "rc": 0, "start": "2026-06-27 15:47:07.763239" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 27 June 2026 15:47:07 -0400 (0:00:00.328) 0:02:59.450 ********* ASYNC OK on managed-node2: jid=j986611909724.53986 ok: [managed-node2] => { "ansible_job_id": "j986611909724.53986", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011954", "end": "2026-06-27 15:47:08.322030", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j986611909724.53986", "start": "2026-06-27 15:47:08.310076", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 27 June 2026 15:47:23 -0400 (0:00:15.985) 0:03:15.436 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009409", "end": "2026-06-27 15:47:24.105008", "rc": 0, "start": "2026-06-27 15:47:24.095599" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 27 June 2026 15:47:24 -0400 (0:00:00.348) 0:03:15.784 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 27 June 2026 15:47:24 -0400 (0:00:00.033) 0:03:15.817 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009283", "end": "2026-06-27 15:47:24.488627", "rc": 0, "start": "2026-06-27 15:47:24.479344" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 27 June 2026 15:47:24 -0400 (0:00:00.351) 0:03:16.169 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 27 June 2026 15:47:24 -0400 (0:00:00.033) 0:03:16.202 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008948", "end": "2026-06-27 15:47:24.857993", "failed_when_result": false, "rc": 0, "start": "2026-06-27 15:47:24.849045" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 27 June 2026 15:47:24 -0400 (0:00:00.339) 0:03:16.542 ********* included: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 27 June 2026 15:47:24 -0400 (0:00:00.033) 0:03:16.575 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 27 June 2026 15:47:24 -0400 (0:00:00.004) 0:03:16.580 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 27 June 2026 15:47:29 -0400 (0:00:04.707) 0:03:21.287 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 27 June 2026 15:47:29 -0400 (0:00:00.019) 0:03:21.306 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 27 June 2026 15:47:30 -0400 (0:00:00.372) 0:03:21.679 ********* 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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 27 June 2026 15:47:31 -0400 (0:00:01.268) 0:03:22.947 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007803", "end": "2026-06-27 15:47:31.598275", "rc": 0, "start": "2026-06-27 15:47:31.590472" } STDOUT: -- Logs begin at Sat 2026-06-27 15:39:18 EDT, end at Sat 2026-06-27 15:47:31 EDT. -- Jun 27 15:42:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:42:42 managed-node2 postmaster[10424]: 2026-06-27 15:42:42.527 EDT [10424] LOG: redirecting log output to logging collector process Jun 27 15:42:42 managed-node2 postmaster[10424]: 2026-06-27 15:42:42.527 EDT [10424] HINT: Future log output will appear in directory "log". Jun 27 15:42:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:42:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:42:50 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Jun 27 15:42:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:42:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:42:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:42:50 managed-node2 postmaster[12686]: 2026-06-27 15:42:50.375 EDT [12686] LOG: redirecting log output to logging collector process Jun 27 15:42:50 managed-node2 postmaster[12686]: 2026-06-27 15:42:50.375 EDT [12686] HINT: Future log output will appear in directory "log". Jun 27 15:42:50 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:42:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:42:54 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Jun 27 15:42:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:42:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:26 managed-node2 postmaster[19310]: 2026-06-27 15:43:26.174 EDT [19310] LOG: redirecting log output to logging collector process Jun 27 15:43:26 managed-node2 postmaster[19310]: 2026-06-27 15:43:26.174 EDT [19310] HINT: Future log output will appear in directory "log". Jun 27 15:43:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:31 managed-node2 systemd[1]: postgresql.service: Killing process 19311 (postmaster) with signal SIGKILL. Jun 27 15:43:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:31 managed-node2 postmaster[20850]: 2026-06-27 15:43:31.712 EDT [20850] LOG: redirecting log output to logging collector process Jun 27 15:43:31 managed-node2 postmaster[20850]: 2026-06-27 15:43:31.712 EDT [20850] HINT: Future log output will appear in directory "log". Jun 27 15:43:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:36 managed-node2 systemd[1]: postgresql.service: Killing process 20852 (postmaster) with signal SIGKILL. Jun 27 15:43:36 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:55 managed-node2 postmaster[25224]: 2026-06-27 15:43:55.961 EDT [25224] LOG: redirecting log output to logging collector process Jun 27 15:43:55 managed-node2 postmaster[25224]: 2026-06-27 15:43:55.961 EDT [25224] HINT: Future log output will appear in directory "log". Jun 27 15:43:55 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 25226 (postmaster) with signal SIGKILL. Jun 27 15:43:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:59 managed-node2 postmaster[25965]: 2026-06-27 15:43:59.468 EDT [25965] LOG: redirecting log output to logging collector process Jun 27 15:43:59 managed-node2 postmaster[25965]: 2026-06-27 15:43:59.468 EDT [25965] HINT: Future log output will appear in directory "log". Jun 27 15:43:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:03 managed-node2 systemd[1]: postgresql.service: Killing process 25966 (postmaster) with signal SIGKILL. Jun 27 15:44:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:23 managed-node2 postmaster[30207]: 2026-06-27 15:44:23.305 EDT [30207] LOG: redirecting log output to logging collector process Jun 27 15:44:23 managed-node2 postmaster[30207]: 2026-06-27 15:44:23.305 EDT [30207] HINT: Future log output will appear in directory "log". Jun 27 15:44:23 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 30208 (postmaster) with signal SIGKILL. Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:26 managed-node2 postmaster[31014]: 2026-06-27 15:44:26.725 EDT [31014] LOG: redirecting log output to logging collector process Jun 27 15:44:26 managed-node2 postmaster[31014]: 2026-06-27 15:44:26.725 EDT [31014] HINT: Future log output will appear in directory "log". Jun 27 15:44:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:48 managed-node2 systemd[1]: postgresql.service: Killing process 31016 (postmaster) with signal SIGKILL. Jun 27 15:44:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:04 managed-node2 postgres[35861]: 2026-06-27 15:45:04.762 EDT [35861] LOG: redirecting log output to logging collector process Jun 27 15:45:04 managed-node2 postgres[35861]: 2026-06-27 15:45:04.762 EDT [35861] HINT: Future log output will appear in directory "log". Jun 27 15:45:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:07 managed-node2 systemd[1]: postgresql.service: Killing process 35862 (postgres) with signal SIGKILL. Jun 27 15:45:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:07 managed-node2 postgres[36668]: 2026-06-27 15:45:07.773 EDT [36668] LOG: redirecting log output to logging collector process Jun 27 15:45:07 managed-node2 postgres[36668]: 2026-06-27 15:45:07.773 EDT [36668] HINT: Future log output will appear in directory "log". Jun 27 15:45:07 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:29 managed-node2 systemd[1]: postgresql.service: Killing process 36669 (postgres) with signal SIGKILL. Jun 27 15:45:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.685 EDT [41505] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.685 EDT [41505] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.685 EDT [41505] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.687 EDT [41505] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.691 EDT [41505] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.702 EDT [41505] LOG: redirecting log output to logging collector process Jun 27 15:45:44 managed-node2 postmaster[41505]: 2026-06-27 15:45:44.702 EDT [41505] HINT: Future log output will appear in directory "log". Jun 27 15:45:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:47 managed-node2 systemd[1]: postgresql.service: Killing process 41506 (postmaster) with signal SIGKILL. Jun 27 15:45:47 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:47 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:47 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.706 EDT [42313] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.707 EDT [42313] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.707 EDT [42313] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.708 EDT [42313] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.712 EDT [42313] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.741 EDT [42313] LOG: redirecting log output to logging collector process Jun 27 15:45:47 managed-node2 postmaster[42313]: 2026-06-27 15:45:47.741 EDT [42313] HINT: Future log output will appear in directory "log". Jun 27 15:45:47 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:09 managed-node2 systemd[1]: postgresql.service: Killing process 42314 (postmaster) with signal SIGKILL. Jun 27 15:46:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:24 managed-node2 postmaster[47123]: 2026-06-27 15:46:24.292 EDT [47123] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:24 managed-node2 postmaster[47123]: 2026-06-27 15:46:24.292 EDT [47123] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:24 managed-node2 postmaster[47123]: 2026-06-27 15:46:24.294 EDT [47123] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:24 managed-node2 postmaster[47123]: 2026-06-27 15:46:24.297 EDT [47123] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:24 managed-node2 postmaster[47123]: 2026-06-27 15:46:24.308 EDT [47123] LOG: redirecting log output to logging collector process Jun 27 15:46:24 managed-node2 postmaster[47123]: 2026-06-27 15:46:24.308 EDT [47123] HINT: Future log output will appear in directory "log". Jun 27 15:46:24 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:27 managed-node2 systemd[1]: postgresql.service: Killing process 47124 (postmaster) with signal SIGKILL. Jun 27 15:46:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:27 managed-node2 postmaster[47930]: 2026-06-27 15:46:27.294 EDT [47930] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:27 managed-node2 postmaster[47930]: 2026-06-27 15:46:27.294 EDT [47930] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:27 managed-node2 postmaster[47930]: 2026-06-27 15:46:27.296 EDT [47930] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:27 managed-node2 postmaster[47930]: 2026-06-27 15:46:27.300 EDT [47930] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:27 managed-node2 postmaster[47930]: 2026-06-27 15:46:27.328 EDT [47930] LOG: redirecting log output to logging collector process Jun 27 15:46:27 managed-node2 postmaster[47930]: 2026-06-27 15:46:27.328 EDT [47930] HINT: Future log output will appear in directory "log". Jun 27 15:46:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:49 managed-node2 systemd[1]: postgresql.service: Killing process 47932 (postmaster) with signal SIGKILL. Jun 27 15:46:49 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:49 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:47:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:47:04 managed-node2 postmaster[52781]: 2026-06-27 15:47:04.067 EDT [52781] LOG: redirecting log output to logging collector process Jun 27 15:47:04 managed-node2 postmaster[52781]: 2026-06-27 15:47:04.067 EDT [52781] HINT: Future log output will appear in directory "log". Jun 27 15:47:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:47:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:47:07 managed-node2 systemd[1]: postgresql.service: Killing process 52782 (postmaster) with signal SIGKILL. Jun 27 15:47:07 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:47:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:47:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:47:07 managed-node2 postmaster[53587]: 2026-06-27 15:47:07.082 EDT [53587] LOG: redirecting log output to logging collector process Jun 27 15:47:07 managed-node2 postmaster[53587]: 2026-06-27 15:47:07.082 EDT [53587] HINT: Future log output will appear in directory "log". Jun 27 15:47:07 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:47:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:47:28 managed-node2 systemd[1]: postgresql.service: Killing process 53589 (postmaster) with signal SIGKILL. Jun 27 15:47:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:47:28 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 27 June 2026 15:47:31 -0400 (0:00:00.325) 0:03:23.273 ********* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.21s /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.00s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.00s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 15.99s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 7.09s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.32s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.27s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.14s /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.75s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.71s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.71s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.69s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.69s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.62s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.43s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.42s /tmp/collections-YYt/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-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.38s /tmp/collections-YYt/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8