ansible-playbook [core 2.16.18] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-xW0 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-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 23 May 2026 15:26:56 -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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 23 May 2026 15:26:57 -0400 (0:00:01.042) 0:00:01.060 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 23 May 2026 15:26:57 -0400 (0:00:00.006) 0:00:01.066 ********** included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 23 May 2026 15:26:57 -0400 (0:00:00.035) 0:00:01.101 ********** included: /tmp/collections-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 23 May 2026 15:26:57 -0400 (0:00:00.037) 0:00:01.139 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 23 May 2026 15:26:57 -0400 (0:00:00.000) 0:00:01.140 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 23 May 2026 15:26:57 -0400 (0:00:00.014) 0:00:01.155 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 23 May 2026 15:26:57 -0400 (0:00:00.075) 0:00:01.230 ********** included: /tmp/collections-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 23 May 2026 15:26:57 -0400 (0:00:00.024) 0:00:01.255 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 23 May 2026 15:26:58 -0400 (0:00:00.767) 0:00:02.023 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 23 May 2026 15:26:58 -0400 (0:00:00.406) 0:00:02.429 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 23 May 2026 15:26:58 -0400 (0:00:00.457) 0:00:02.886 ********** ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 23 May 2026 15:26:58 -0400 (0:00:00.020) 0:00:02.907 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008231", "end": "2026-05-23 15:26:59.375657", "failed_when_result": false, "rc": 0, "start": "2026-05-23 15:26:59.367426" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 23 May 2026 15:26:59 -0400 (0:00:00.441) 0:00:03.349 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 23 May 2026 15:26:59 -0400 (0:00:00.023) 0:00:03.373 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 23 May 2026 15:26:59 -0400 (0:00:00.020) 0:00:03.393 ********** 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-xW0/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-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 23 May 2026 15:26:59 -0400 (0:00:00.037) 0:00:03.431 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 23 May 2026 15:26:59 -0400 (0:00:00.324) 0:00:03.755 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 23 May 2026 15:27:00 -0400 (0:00:00.327) 0:00:04.083 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 23 May 2026 15:27:00 -0400 (0:00:00.332) 0:00:04.415 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 23 May 2026 15:27:02 -0400 (0:00:01.644) 0:00:06.060 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 23 May 2026 15:27:02 -0400 (0:00:00.034) 0:00:06.094 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 23 May 2026 15:27:02 -0400 (0:00:00.039) 0:00:06.134 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 23 May 2026 15:27:02 -0400 (0:00:00.037) 0:00:06.171 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 23 May 2026 15:27:02 -0400 (0:00:00.031) 0:00:06.203 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 23 May 2026 15:27:08 -0400 (0:00:06.289) 0:00:12.493 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.659237", "end": "2026-05-23 15:27:09.518652", "rc": 0, "start": "2026-05-23 15:27:08.859415" } 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 23 May 2026 15:27:09 -0400 (0:00:01.002) 0:00:13.496 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 23 May 2026 15:27:09 -0400 (0:00:00.018) 0:00:13.514 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 23 May 2026 15:27:09 -0400 (0:00:00.017) 0:00:13.532 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 23 May 2026 15:27:09 -0400 (0:00:00.017) 0:00:13.549 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target sysinit.target system.slice network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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": "22406", "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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 23 May 2026 15:27:10 -0400 (0:00:01.240) 0:00:14.789 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 23 May 2026 15:27:10 -0400 (0:00:00.020) 0:00:14.810 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 23 May 2026 15:27:10 -0400 (0:00:00.019) 0:00:14.830 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 23 May 2026 15:27:10 -0400 (0:00:00.019) 0:00:14.850 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 23 May 2026 15:27:10 -0400 (0:00:00.017) 0:00:14.867 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 23 May 2026 15:27:10 -0400 (0:00:00.018) 0:00:14.886 ********** included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 23 May 2026 15:27:10 -0400 (0:00:00.028) 0:00:14.915 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 23 May 2026 15:27:11 -0400 (0:00:00.019) 0:00:14.934 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 23 May 2026 15:27:11 -0400 (0:00:00.020) 0:00:14.954 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 23 May 2026 15:27:11 -0400 (0:00:00.019) 0:00:14.973 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 23 May 2026 15:27:11 -0400 (0:00:00.026) 0:00:15.000 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 23 May 2026 15:27:11 -0400 (0:00:00.027) 0:00:15.027 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 23 May 2026 15:27:11 -0400 (0:00:00.019) 0:00:15.047 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 23 May 2026 15:27:11 -0400 (0:00:00.019) 0:00:15.066 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 23 May 2026 15:27:11 -0400 (0:00:00.022) 0:00:15.089 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 23 May 2026 15:27:11 -0400 (0:00:00.017) 0:00:15.107 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 23 May 2026 15:27:11 -0400 (0:00:00.026) 0:00:15.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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 23 May 2026 15:27:11 -0400 (0:00:00.463) 0:00:15.597 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 23 May 2026 15:27:12 -0400 (0:00:00.474) 0:00:16.072 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1779564432.1798923-12237-40471942713430/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 23 May 2026 15:27:12 -0400 (0:00:00.819) 0:00:16.891 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 23 May 2026 15:27:12 -0400 (0:00:00.021) 0:00:16.913 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 23 May 2026 15:27:13 -0400 (0:00:00.020) 0:00:16.933 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 23 May 2026 15:27:13 -0400 (0:00:00.333) 0:00:17.266 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 23 May 2026 15:27:13 -0400 (0:00:00.018) 0:00:17.284 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 23 May 2026 15:27:13 -0400 (0:00:00.004) 0:00:17.289 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-23 15:27:10 EDT", "ActiveEnterTimestampMonotonic": "308818732", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target sysinit.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-23 15:27:10 EDT", "AssertTimestampMonotonic": "308768751", "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-05-23 15:27:10 EDT", "ConditionTimestampMonotonic": "308768749", "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": "30142", "ExecMainStartTimestamp": "Sat 2026-05-23 15:27:10 EDT", "ExecMainStartTimestampMonotonic": "308778663", "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-05-23 15:27:10 EDT] ; stop_time=[n/a] ; pid=30142 ; 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-05-23 15:27:10 EDT] ; stop_time=[Sat 2026-05-23 15:27:10 EDT] ; pid=30139 ; 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-05-23 15:27:10 EDT", "InactiveExitTimestampMonotonic": "308769675", "InvocationID": "548df992f17f448e81991ac3cd173650", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30142", "MemoryAccounting": "yes", "MemoryCurrent": "17768448", "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-05-23 15:27:10 EDT", "StateChangeTimestampMonotonic": "308818732", "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": "22406", "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-05-23 15:27:10 EDT", "WatchdogTimestampMonotonic": "308818729", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 23 May 2026 15:27:14 -0400 (0:00:00.935) 0:00:18.225 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008722", "end": "2026-05-23 15:27:14.579869", "rc": 0, "start": "2026-05-23 15:27:14.571147" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 23 May 2026 15:27:14 -0400 (0:00:00.331) 0:00:18.556 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007593", "end": "2026-05-23 15:27:14.907629", "rc": 0, "start": "2026-05-23 15:27:14.900036" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 23 May 2026 15:27:14 -0400 (0:00:00.326) 0:00:18.883 ********** ASYNC OK on managed-node2: jid=j779512410205.31349 ok: [managed-node2] => { "ansible_job_id": "j779512410205.31349", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012002", "end": "2026-05-23 15:27:15.549175", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j779512410205.31349", "start": "2026-05-23 15:27:15.537173", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 23 May 2026 15:27:31 -0400 (0:00:16.162) 0:00:35.045 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009732", "end": "2026-05-23 15:27:31.417071", "rc": 0, "start": "2026-05-23 15:27:31.407339" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 23 May 2026 15:27:31 -0400 (0:00:00.350) 0:00:35.396 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 23 May 2026 15:27:31 -0400 (0:00:00.034) 0:00:35.430 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008869", "end": "2026-05-23 15:27:31.798227", "rc": 0, "start": "2026-05-23 15:27:31.789358" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 23 May 2026 15:27:31 -0400 (0:00:00.343) 0:00:35.774 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 23 May 2026 15:27:31 -0400 (0:00:00.031) 0:00:35.805 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009214", "end": "2026-05-23 15:27:32.165511", "failed_when_result": false, "rc": 0, "start": "2026-05-23 15:27:32.156297" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 23 May 2026 15:27:32 -0400 (0:00:00.346) 0:00:36.151 ********** included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 23 May 2026 15:27:32 -0400 (0:00:00.032) 0:00:36.184 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 23 May 2026 15:27:32 -0400 (0:00:00.004) 0:00:36.189 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 23 May 2026 15:27:37 -0400 (0:00:04.752) 0:00:40.941 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 23 May 2026 15:27:37 -0400 (0:00:00.017) 0:00:40.958 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 23 May 2026 15:27:37 -0400 (0:00:00.366) 0:00:41.325 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 23 May 2026 15:27:38 -0400 (0:00:01.255) 0:00:42.581 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006939", "end": "2026-05-23 15:27:38.935618", "rc": 0, "start": "2026-05-23 15:27:38.928679" } STDOUT: -- Logs begin at Sat 2026-05-23 15:22:02 EDT, end at Sat 2026-05-23 15:27:38 EDT. -- May 23 15:25:31 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:31 managed-node2 postmaster[10357]: 2026-05-23 15:25:31.393 EDT [10357] LOG: redirecting log output to logging collector process May 23 15:25:31 managed-node2 postmaster[10357]: 2026-05-23 15:25:31.393 EDT [10357] HINT: Future log output will appear in directory "log". May 23 15:25:31 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Killing process 10358 (postmaster) with signal SIGKILL. May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:25:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:39 managed-node2 postmaster[12619]: 2026-05-23 15:25:39.165 EDT [12619] LOG: redirecting log output to logging collector process May 23 15:25:39 managed-node2 postmaster[12619]: 2026-05-23 15:25:39.165 EDT [12619] HINT: Future log output will appear in directory "log". May 23 15:25:39 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:43 managed-node2 systemd[1]: postgresql.service: Killing process 12621 (postmaster) with signal SIGKILL. May 23 15:25:43 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:25:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:14 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:14 managed-node2 postmaster[19243]: 2026-05-23 15:26:14.723 EDT [19243] LOG: redirecting log output to logging collector process May 23 15:26:14 managed-node2 postmaster[19243]: 2026-05-23 15:26:14.723 EDT [19243] HINT: Future log output will appear in directory "log". May 23 15:26:14 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:20 managed-node2 systemd[1]: postgresql.service: Killing process 19244 (postmaster) with signal SIGKILL. May 23 15:26:20 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:20 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:20 managed-node2 postmaster[20783]: 2026-05-23 15:26:20.380 EDT [20783] LOG: redirecting log output to logging collector process May 23 15:26:20 managed-node2 postmaster[20783]: 2026-05-23 15:26:20.380 EDT [20783] HINT: Future log output will appear in directory "log". May 23 15:26:20 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:25 managed-node2 systemd[1]: postgresql.service: Killing process 20785 (postmaster) with signal SIGKILL. May 23 15:26:25 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:44 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:44 managed-node2 postmaster[25159]: 2026-05-23 15:26:44.592 EDT [25159] LOG: redirecting log output to logging collector process May 23 15:26:44 managed-node2 postmaster[25159]: 2026-05-23 15:26:44.592 EDT [25159] HINT: Future log output will appear in directory "log". May 23 15:26:44 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:48 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:48 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:48 managed-node2 postmaster[25899]: 2026-05-23 15:26:48.058 EDT [25899] LOG: redirecting log output to logging collector process May 23 15:26:48 managed-node2 postmaster[25899]: 2026-05-23 15:26:48.058 EDT [25899] HINT: Future log output will appear in directory "log". May 23 15:26:48 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:51 managed-node2 systemd[1]: postgresql.service: Killing process 25900 (postmaster) with signal SIGKILL. May 23 15:26:51 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:10 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:10 managed-node2 postmaster[30142]: 2026-05-23 15:27:10.783 EDT [30142] LOG: redirecting log output to logging collector process May 23 15:27:10 managed-node2 postmaster[30142]: 2026-05-23 15:27:10.783 EDT [30142] HINT: Future log output will appear in directory "log". May 23 15:27:10 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:14 managed-node2 systemd[1]: postgresql.service: Killing process 30143 (postmaster) with signal SIGKILL. May 23 15:27:14 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:14 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:14 managed-node2 postmaster[30950]: 2026-05-23 15:27:14.221 EDT [30950] LOG: redirecting log output to logging collector process May 23 15:27:14 managed-node2 postmaster[30950]: 2026-05-23 15:27:14.221 EDT [30950] HINT: Future log output will appear in directory "log". May 23 15:27:14 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:36 managed-node2 systemd[1]: postgresql.service: Killing process 30951 (postmaster) with signal SIGKILL. May 23 15:27:36 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 23 May 2026 15:27:38 -0400 (0:00:00.331) 0:00:42.912 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 23 May 2026 15:27:38 -0400 (0:00:00.015) 0:00:42.928 ********** ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 23 May 2026 15:27:39 -0400 (0:00:00.025) 0:00:42.953 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 23 May 2026 15:27:39 -0400 (0:00:00.086) 0:00:43.040 ********** included: /tmp/collections-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 23 May 2026 15:27:39 -0400 (0:00:00.027) 0:00:43.068 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 23 May 2026 15:27:39 -0400 (0:00:00.000) 0:00:43.069 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 23 May 2026 15:27:39 -0400 (0:00:00.015) 0:00:43.084 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 23 May 2026 15:27:39 -0400 (0:00:00.039) 0:00:43.123 ********** included: /tmp/collections-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 23 May 2026 15:27:39 -0400 (0:00:00.023) 0:00:43.147 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 23 May 2026 15:27:39 -0400 (0:00:00.755) 0:00:43.902 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 23 May 2026 15:27:40 -0400 (0:00:00.311) 0:00:44.214 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 23 May 2026 15:27:40 -0400 (0:00:00.017) 0:00:44.231 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 23 May 2026 15:27:40 -0400 (0:00:00.016) 0:00:44.248 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 23 May 2026 15:27:40 -0400 (0:00:00.015) 0:00:44.264 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 23 May 2026 15:27:40 -0400 (0:00:00.015) 0:00:44.279 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 23 May 2026 15:27:40 -0400 (0:00:00.015) 0:00:44.295 ********** [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-xW0/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-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 23 May 2026 15:27:40 -0400 (0:00:00.038) 0:00:44.334 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 23 May 2026 15:27:40 -0400 (0:00:00.318) 0:00:44.652 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 23 May 2026 15:27:41 -0400 (0:00:00.322) 0:00:44.975 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 23 May 2026 15:27:41 -0400 (0:00:00.318) 0:00:45.293 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 23 May 2026 15:27:42 -0400 (0:00:01.434) 0:00:46.728 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 23 May 2026 15:27:42 -0400 (0:00:00.028) 0:00:46.756 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 23 May 2026 15:27:42 -0400 (0:00:00.080) 0:00:46.836 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 23 May 2026 15:27:42 -0400 (0:00:00.024) 0:00:46.861 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 23 May 2026 15:27:42 -0400 (0:00:00.020) 0:00:46.881 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 23 May 2026 15:27:48 -0400 (0:00:06.015) 0:00:52.896 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.713856", "end": "2026-05-23 15:27:49.989052", "rc": 0, "start": "2026-05-23 15:27:49.275196" } 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 23 May 2026 15:27:50 -0400 (0:00:01.070) 0:00:53.967 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 23 May 2026 15:27:50 -0400 (0:00:00.019) 0:00:53.987 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 23 May 2026 15:27:50 -0400 (0:00:00.022) 0:00:54.010 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 23 May 2026 15:27:50 -0400 (0:00:00.017) 0:00:54.028 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target network.target systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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": "22406", "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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 23 May 2026 15:27:51 -0400 (0:00:01.051) 0:00:55.079 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.021) 0:00:55.100 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.019) 0:00:55.120 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.020) 0:00:55.141 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.015) 0:00:55.157 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.019) 0:00:55.177 ********** included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.030) 0:00:55.207 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.017) 0:00:55.224 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.017) 0:00:55.242 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.016) 0:00:55.259 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.018) 0:00:55.277 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.018) 0:00:55.296 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.017) 0:00:55.314 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.017) 0:00:55.331 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.017) 0:00:55.349 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.016) 0:00:55.365 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.019) 0:00:55.384 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.333) 0:00:55.718 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 23 May 2026 15:27:52 -0400 (0:00:00.335) 0:00:56.053 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1779564472.1615992-12811-39865885298329/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 23 May 2026 15:27:52 -0400 (0:00:00.673) 0:00:56.727 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 23 May 2026 15:27:52 -0400 (0:00:00.021) 0:00:56.748 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 23 May 2026 15:27:52 -0400 (0:00:00.019) 0:00:56.768 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 23 May 2026 15:27:53 -0400 (0:00:00.332) 0:00:57.101 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 23 May 2026 15:27:53 -0400 (0:00:00.017) 0:00:57.118 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 23 May 2026 15:27:53 -0400 (0:00:00.004) 0:00:57.123 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-23 15:27:51 EDT", "ActiveEnterTimestampMonotonic": "349108150", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket network.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-23 15:27:51 EDT", "AssertTimestampMonotonic": "349059079", "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-05-23 15:27:51 EDT", "ConditionTimestampMonotonic": "349059078", "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": "35760", "ExecMainStartTimestamp": "Sat 2026-05-23 15:27:51 EDT", "ExecMainStartTimestampMonotonic": "349068685", "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-05-23 15:27:51 EDT] ; stop_time=[n/a] ; pid=35760 ; 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-05-23 15:27:51 EDT] ; stop_time=[Sat 2026-05-23 15:27:51 EDT] ; pid=35757 ; 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-05-23 15:27:51 EDT", "InactiveExitTimestampMonotonic": "349059946", "InvocationID": "f56e6f3f12e240e88682f32c94ada97c", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35760", "MemoryAccounting": "yes", "MemoryCurrent": "16830464", "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-05-23 15:27:51 EDT", "StateChangeTimestampMonotonic": "349108150", "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": "22406", "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-05-23 15:27:51 EDT", "WatchdogTimestampMonotonic": "349108147", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 23 May 2026 15:27:54 -0400 (0:00:00.943) 0:00:58.066 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008558", "end": "2026-05-23 15:27:54.425838", "rc": 0, "start": "2026-05-23 15:27:54.417280" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 23 May 2026 15:27:54 -0400 (0:00:00.335) 0:00:58.402 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008214", "end": "2026-05-23 15:27:54.757564", "rc": 0, "start": "2026-05-23 15:27:54.749350" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 23 May 2026 15:27:54 -0400 (0:00:00.331) 0:00:58.733 ********** ASYNC OK on managed-node2: jid=j488448326228.36967 ok: [managed-node2] => { "ansible_job_id": "j488448326228.36967", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011351", "end": "2026-05-23 15:27:55.315733", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j488448326228.36967", "start": "2026-05-23 15:27:55.304382", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 23 May 2026 15:28:10 -0400 (0:00:16.001) 0:01:14.735 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010256", "end": "2026-05-23 15:28:11.106431", "rc": 0, "start": "2026-05-23 15:28:11.096175" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 23 May 2026 15:28:11 -0400 (0:00:00.353) 0:01:15.089 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 23 May 2026 15:28:11 -0400 (0:00:00.032) 0:01:15.121 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010044", "end": "2026-05-23 15:28:11.494123", "rc": 0, "start": "2026-05-23 15:28:11.484079" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 23 May 2026 15:28:11 -0400 (0:00:00.349) 0:01:15.471 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 23 May 2026 15:28:11 -0400 (0:00:00.031) 0:01:15.503 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.007460", "end": "2026-05-23 15:28:11.859341", "failed_when_result": false, "rc": 0, "start": "2026-05-23 15:28:11.851881" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 23 May 2026 15:28:11 -0400 (0:00:00.364) 0:01:15.867 ********** included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 23 May 2026 15:28:11 -0400 (0:00:00.031) 0:01:15.899 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 23 May 2026 15:28:11 -0400 (0:00:00.004) 0:01:15.903 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 23 May 2026 15:28:16 -0400 (0:00:04.710) 0:01:20.613 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 23 May 2026 15:28:16 -0400 (0:00:00.017) 0:01:20.631 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 23 May 2026 15:28:17 -0400 (0:00:00.364) 0:01:20.996 ********** [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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 23 May 2026 15:28:18 -0400 (0:00:01.259) 0:01:22.255 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007643", "end": "2026-05-23 15:28:18.604282", "rc": 0, "start": "2026-05-23 15:28:18.596639" } STDOUT: -- Logs begin at Sat 2026-05-23 15:22:02 EDT, end at Sat 2026-05-23 15:28:18 EDT. -- May 23 15:25:31 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:31 managed-node2 postmaster[10357]: 2026-05-23 15:25:31.393 EDT [10357] LOG: redirecting log output to logging collector process May 23 15:25:31 managed-node2 postmaster[10357]: 2026-05-23 15:25:31.393 EDT [10357] HINT: Future log output will appear in directory "log". May 23 15:25:31 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Killing process 10358 (postmaster) with signal SIGKILL. May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:25:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:39 managed-node2 postmaster[12619]: 2026-05-23 15:25:39.165 EDT [12619] LOG: redirecting log output to logging collector process May 23 15:25:39 managed-node2 postmaster[12619]: 2026-05-23 15:25:39.165 EDT [12619] HINT: Future log output will appear in directory "log". May 23 15:25:39 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:43 managed-node2 systemd[1]: postgresql.service: Killing process 12621 (postmaster) with signal SIGKILL. May 23 15:25:43 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:25:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:14 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:14 managed-node2 postmaster[19243]: 2026-05-23 15:26:14.723 EDT [19243] LOG: redirecting log output to logging collector process May 23 15:26:14 managed-node2 postmaster[19243]: 2026-05-23 15:26:14.723 EDT [19243] HINT: Future log output will appear in directory "log". May 23 15:26:14 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:20 managed-node2 systemd[1]: postgresql.service: Killing process 19244 (postmaster) with signal SIGKILL. May 23 15:26:20 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:20 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:20 managed-node2 postmaster[20783]: 2026-05-23 15:26:20.380 EDT [20783] LOG: redirecting log output to logging collector process May 23 15:26:20 managed-node2 postmaster[20783]: 2026-05-23 15:26:20.380 EDT [20783] HINT: Future log output will appear in directory "log". May 23 15:26:20 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:25 managed-node2 systemd[1]: postgresql.service: Killing process 20785 (postmaster) with signal SIGKILL. May 23 15:26:25 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:44 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:44 managed-node2 postmaster[25159]: 2026-05-23 15:26:44.592 EDT [25159] LOG: redirecting log output to logging collector process May 23 15:26:44 managed-node2 postmaster[25159]: 2026-05-23 15:26:44.592 EDT [25159] HINT: Future log output will appear in directory "log". May 23 15:26:44 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:48 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:48 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:48 managed-node2 postmaster[25899]: 2026-05-23 15:26:48.058 EDT [25899] LOG: redirecting log output to logging collector process May 23 15:26:48 managed-node2 postmaster[25899]: 2026-05-23 15:26:48.058 EDT [25899] HINT: Future log output will appear in directory "log". May 23 15:26:48 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:51 managed-node2 systemd[1]: postgresql.service: Killing process 25900 (postmaster) with signal SIGKILL. May 23 15:26:51 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:10 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:10 managed-node2 postmaster[30142]: 2026-05-23 15:27:10.783 EDT [30142] LOG: redirecting log output to logging collector process May 23 15:27:10 managed-node2 postmaster[30142]: 2026-05-23 15:27:10.783 EDT [30142] HINT: Future log output will appear in directory "log". May 23 15:27:10 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:14 managed-node2 systemd[1]: postgresql.service: Killing process 30143 (postmaster) with signal SIGKILL. May 23 15:27:14 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:14 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:14 managed-node2 postmaster[30950]: 2026-05-23 15:27:14.221 EDT [30950] LOG: redirecting log output to logging collector process May 23 15:27:14 managed-node2 postmaster[30950]: 2026-05-23 15:27:14.221 EDT [30950] HINT: Future log output will appear in directory "log". May 23 15:27:14 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:36 managed-node2 systemd[1]: postgresql.service: Killing process 30951 (postmaster) with signal SIGKILL. May 23 15:27:36 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:51 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.062 EDT [35760] LOG: listening on IPv6 address "::1", port 5432 May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.062 EDT [35760] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.065 EDT [35760] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.069 EDT [35760] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.079 EDT [35760] LOG: redirecting log output to logging collector process May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.079 EDT [35760] HINT: Future log output will appear in directory "log". May 23 15:27:51 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:54 managed-node2 systemd[1]: postgresql.service: Killing process 35761 (postmaster) with signal SIGKILL. May 23 15:27:54 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:54 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.030 EDT [36567] LOG: listening on IPv6 address "::1", port 5432 May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.030 EDT [36567] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.032 EDT [36567] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.035 EDT [36567] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.065 EDT [36567] LOG: redirecting log output to logging collector process May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.065 EDT [36567] HINT: Future log output will appear in directory "log". May 23 15:27:54 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:15 managed-node2 systemd[1]: postgresql.service: Killing process 36569 (postmaster) with signal SIGKILL. May 23 15:28:15 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:28:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 23 May 2026 15:28:18 -0400 (0:00:00.323) 0:01:22.579 ********** included: /tmp/collections-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 23 May 2026 15:28:18 -0400 (0:00:00.028) 0:01:22.608 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 23 May 2026 15:28:18 -0400 (0:00:00.000) 0:01:22.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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 23 May 2026 15:28:18 -0400 (0:00:00.014) 0:01:22.624 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 23 May 2026 15:28:18 -0400 (0:00:00.041) 0:01:22.665 ********** included: /tmp/collections-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 23 May 2026 15:28:18 -0400 (0:00:00.023) 0:01:22.689 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 23 May 2026 15:28:19 -0400 (0:00:00.760) 0:01:23.449 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 23 May 2026 15:28:19 -0400 (0:00:00.319) 0:01:23.769 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 23 May 2026 15:28:19 -0400 (0:00:00.017) 0:01:23.787 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 23 May 2026 15:28:19 -0400 (0:00:00.016) 0:01:23.804 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 23 May 2026 15:28:19 -0400 (0:00:00.014) 0:01:23.819 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 23 May 2026 15:28:19 -0400 (0:00:00.015) 0:01:23.834 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 23 May 2026 15:28:19 -0400 (0:00:00.014) 0:01:23.849 ********** 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-xW0/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-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 23 May 2026 15:28:19 -0400 (0:00:00.038) 0:01:23.887 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 23 May 2026 15:28:20 -0400 (0:00:00.323) 0:01:24.210 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 23 May 2026 15:28:20 -0400 (0:00:00.315) 0:01:24.526 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 23 May 2026 15:28:20 -0400 (0:00:00.317) 0:01:24.843 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 23 May 2026 15:28:22 -0400 (0:00:01.399) 0:01:26.243 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 23 May 2026 15:28:22 -0400 (0:00:00.028) 0:01:26.271 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 23 May 2026 15:28:22 -0400 (0:00:00.023) 0:01:26.295 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 23 May 2026 15:28:22 -0400 (0:00:00.023) 0:01:26.319 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 23 May 2026 15:28:22 -0400 (0:00:00.018) 0:01:26.337 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 23 May 2026 15:28:29 -0400 (0:00:06.851) 0:01:33.189 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.679853", "end": "2026-05-23 15:28:30.245606", "rc": 0, "start": "2026-05-23 15:28:29.565753" } 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 23 May 2026 15:28:30 -0400 (0:00:01.032) 0:01:34.221 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 23 May 2026 15:28:30 -0400 (0:00:00.020) 0:01:34.242 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 23 May 2026 15:28:30 -0400 (0:00:00.017) 0:01:34.260 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 23 May 2026 15:28:30 -0400 (0:00:00.019) 0:01:34.279 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket network-online.target basic.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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": "22406", "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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 23 May 2026 15:28:31 -0400 (0:00:01.038) 0:01:35.317 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.022) 0:01:35.340 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.019) 0:01:35.359 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.019) 0:01:35.379 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.015) 0:01:35.394 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.021) 0:01:35.416 ********** included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.028) 0:01:35.444 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.018) 0:01:35.463 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.018) 0:01:35.482 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.017) 0:01:35.499 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.018) 0:01:35.518 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.017) 0:01:35.536 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.042) 0:01:35.579 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.018) 0:01:35.598 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.015) 0:01:35.614 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.015) 0:01:35.630 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.021) 0:01:35.651 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 23 May 2026 15:28:32 -0400 (0:00:00.331) 0:01:35.983 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 23 May 2026 15:28:32 -0400 (0:00:00.327) 0:01:36.311 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1779564512.4185102-13223-140772047907919/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 23 May 2026 15:28:33 -0400 (0:00:00.669) 0:01:36.981 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 23 May 2026 15:28:33 -0400 (0:00:00.023) 0:01:37.004 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 23 May 2026 15:28:33 -0400 (0:00:00.021) 0:01:37.025 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 23 May 2026 15:28:33 -0400 (0:00:00.328) 0:01:37.354 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 23 May 2026 15:28:33 -0400 (0:00:00.019) 0:01:37.374 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 23 May 2026 15:28:33 -0400 (0:00:00.005) 0:01:37.379 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-23 15:28:31 EDT", "ActiveEnterTimestampMonotonic": "389346816", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target system.slice systemd-journald.socket basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-23 15:28:31 EDT", "AssertTimestampMonotonic": "389294990", "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-05-23 15:28:31 EDT", "ConditionTimestampMonotonic": "389294988", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "41413", "ExecMainStartTimestamp": "Sat 2026-05-23 15:28:31 EDT", "ExecMainStartTimestampMonotonic": "389304594", "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-05-23 15:28:31 EDT] ; stop_time=[n/a] ; pid=41413 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-05-23 15:28:31 EDT] ; stop_time=[Sat 2026-05-23 15:28:31 EDT] ; pid=41410 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-05-23 15:28:31 EDT", "InactiveExitTimestampMonotonic": "389295913", "InvocationID": "0fe5bd94e9b8475ab7674d8e3de0d83b", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41413", "MemoryAccounting": "yes", "MemoryCurrent": "18657280", "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-05-23 15:28:31 EDT", "StateChangeTimestampMonotonic": "389346816", "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": "22406", "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-05-23 15:28:31 EDT", "WatchdogTimestampMonotonic": "389346814", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 23 May 2026 15:28:34 -0400 (0:00:00.941) 0:01:38.321 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008452", "end": "2026-05-23 15:28:34.678449", "rc": 0, "start": "2026-05-23 15:28:34.669997" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 23 May 2026 15:28:34 -0400 (0:00:00.333) 0:01:38.654 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008172", "end": "2026-05-23 15:28:35.010844", "rc": 0, "start": "2026-05-23 15:28:35.002672" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 23 May 2026 15:28:35 -0400 (0:00:00.334) 0:01:38.989 ********** ASYNC OK on managed-node2: jid=j570014244212.42618 ok: [managed-node2] => { "ansible_job_id": "j570014244212.42618", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012220", "end": "2026-05-23 15:28:35.583622", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j570014244212.42618", "start": "2026-05-23 15:28:35.571402", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 23 May 2026 15:28:51 -0400 (0:00:16.008) 0:01:54.998 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009075", "end": "2026-05-23 15:28:51.364997", "rc": 0, "start": "2026-05-23 15:28:51.355922" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 23 May 2026 15:28:51 -0400 (0:00:00.342) 0:01:55.341 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 23 May 2026 15:28:51 -0400 (0:00:00.032) 0:01:55.374 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009574", "end": "2026-05-23 15:28:51.741625", "rc": 0, "start": "2026-05-23 15:28:51.732051" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 23 May 2026 15:28:51 -0400 (0:00:00.344) 0:01:55.719 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 23 May 2026 15:28:51 -0400 (0:00:00.033) 0:01:55.752 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009574", "end": "2026-05-23 15:28:52.110829", "failed_when_result": false, "rc": 0, "start": "2026-05-23 15:28:52.101255" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 23 May 2026 15:28:52 -0400 (0:00:00.339) 0:01:56.092 ********** included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 23 May 2026 15:28:52 -0400 (0:00:00.033) 0:01:56.126 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 23 May 2026 15:28:52 -0400 (0:00:00.004) 0:01:56.130 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 23 May 2026 15:28:56 -0400 (0:00:04.793) 0:02:00.924 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 23 May 2026 15:28:57 -0400 (0:00:00.019) 0:02:00.943 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 23 May 2026 15:28:57 -0400 (0:00:00.381) 0:02:01.324 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 23 May 2026 15:28:58 -0400 (0:00:01.272) 0:02:02.597 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007445", "end": "2026-05-23 15:28:58.950112", "rc": 0, "start": "2026-05-23 15:28:58.942667" } STDOUT: -- Logs begin at Sat 2026-05-23 15:22:02 EDT, end at Sat 2026-05-23 15:28:58 EDT. -- May 23 15:25:31 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:31 managed-node2 postmaster[10357]: 2026-05-23 15:25:31.393 EDT [10357] LOG: redirecting log output to logging collector process May 23 15:25:31 managed-node2 postmaster[10357]: 2026-05-23 15:25:31.393 EDT [10357] HINT: Future log output will appear in directory "log". May 23 15:25:31 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Killing process 10358 (postmaster) with signal SIGKILL. May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:25:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:39 managed-node2 postmaster[12619]: 2026-05-23 15:25:39.165 EDT [12619] LOG: redirecting log output to logging collector process May 23 15:25:39 managed-node2 postmaster[12619]: 2026-05-23 15:25:39.165 EDT [12619] HINT: Future log output will appear in directory "log". May 23 15:25:39 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:43 managed-node2 systemd[1]: postgresql.service: Killing process 12621 (postmaster) with signal SIGKILL. May 23 15:25:43 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:25:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:14 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:14 managed-node2 postmaster[19243]: 2026-05-23 15:26:14.723 EDT [19243] LOG: redirecting log output to logging collector process May 23 15:26:14 managed-node2 postmaster[19243]: 2026-05-23 15:26:14.723 EDT [19243] HINT: Future log output will appear in directory "log". May 23 15:26:14 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:20 managed-node2 systemd[1]: postgresql.service: Killing process 19244 (postmaster) with signal SIGKILL. May 23 15:26:20 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:20 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:20 managed-node2 postmaster[20783]: 2026-05-23 15:26:20.380 EDT [20783] LOG: redirecting log output to logging collector process May 23 15:26:20 managed-node2 postmaster[20783]: 2026-05-23 15:26:20.380 EDT [20783] HINT: Future log output will appear in directory "log". May 23 15:26:20 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:25 managed-node2 systemd[1]: postgresql.service: Killing process 20785 (postmaster) with signal SIGKILL. May 23 15:26:25 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:44 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:44 managed-node2 postmaster[25159]: 2026-05-23 15:26:44.592 EDT [25159] LOG: redirecting log output to logging collector process May 23 15:26:44 managed-node2 postmaster[25159]: 2026-05-23 15:26:44.592 EDT [25159] HINT: Future log output will appear in directory "log". May 23 15:26:44 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:48 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:48 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:48 managed-node2 postmaster[25899]: 2026-05-23 15:26:48.058 EDT [25899] LOG: redirecting log output to logging collector process May 23 15:26:48 managed-node2 postmaster[25899]: 2026-05-23 15:26:48.058 EDT [25899] HINT: Future log output will appear in directory "log". May 23 15:26:48 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:51 managed-node2 systemd[1]: postgresql.service: Killing process 25900 (postmaster) with signal SIGKILL. May 23 15:26:51 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:10 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:10 managed-node2 postmaster[30142]: 2026-05-23 15:27:10.783 EDT [30142] LOG: redirecting log output to logging collector process May 23 15:27:10 managed-node2 postmaster[30142]: 2026-05-23 15:27:10.783 EDT [30142] HINT: Future log output will appear in directory "log". May 23 15:27:10 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:14 managed-node2 systemd[1]: postgresql.service: Killing process 30143 (postmaster) with signal SIGKILL. May 23 15:27:14 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:14 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:14 managed-node2 postmaster[30950]: 2026-05-23 15:27:14.221 EDT [30950] LOG: redirecting log output to logging collector process May 23 15:27:14 managed-node2 postmaster[30950]: 2026-05-23 15:27:14.221 EDT [30950] HINT: Future log output will appear in directory "log". May 23 15:27:14 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:36 managed-node2 systemd[1]: postgresql.service: Killing process 30951 (postmaster) with signal SIGKILL. May 23 15:27:36 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:51 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.062 EDT [35760] LOG: listening on IPv6 address "::1", port 5432 May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.062 EDT [35760] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.065 EDT [35760] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.069 EDT [35760] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.079 EDT [35760] LOG: redirecting log output to logging collector process May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.079 EDT [35760] HINT: Future log output will appear in directory "log". May 23 15:27:51 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:54 managed-node2 systemd[1]: postgresql.service: Killing process 35761 (postmaster) with signal SIGKILL. May 23 15:27:54 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:54 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.030 EDT [36567] LOG: listening on IPv6 address "::1", port 5432 May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.030 EDT [36567] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.032 EDT [36567] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.035 EDT [36567] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.065 EDT [36567] LOG: redirecting log output to logging collector process May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.065 EDT [36567] HINT: Future log output will appear in directory "log". May 23 15:27:54 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:15 managed-node2 systemd[1]: postgresql.service: Killing process 36569 (postmaster) with signal SIGKILL. May 23 15:28:15 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:28:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:28:31 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:28:31 managed-node2 postgres[41413]: 2026-05-23 15:28:31.311 EDT [41413] LOG: redirecting log output to logging collector process May 23 15:28:31 managed-node2 postgres[41413]: 2026-05-23 15:28:31.311 EDT [41413] HINT: Future log output will appear in directory "log". May 23 15:28:31 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:34 managed-node2 systemd[1]: postgresql.service: Killing process 41414 (postgres) with signal SIGKILL. May 23 15:28:34 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:28:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:28:34 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:28:34 managed-node2 postgres[42220]: 2026-05-23 15:28:34.309 EDT [42220] LOG: redirecting log output to logging collector process May 23 15:28:34 managed-node2 postgres[42220]: 2026-05-23 15:28:34.309 EDT [42220] HINT: Future log output will appear in directory "log". May 23 15:28:34 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:56 managed-node2 systemd[1]: postgresql.service: Killing process 42221 (postgres) with signal SIGKILL. May 23 15:28:56 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:28:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 23 May 2026 15:28:58 -0400 (0:00:00.329) 0:02:02.927 ********** included: /tmp/collections-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 23 May 2026 15:28:59 -0400 (0:00:00.030) 0:02:02.957 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 23 May 2026 15:28:59 -0400 (0:00:00.001) 0:02:02.958 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 23 May 2026 15:28:59 -0400 (0:00:00.016) 0:02:02.975 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 23 May 2026 15:28:59 -0400 (0:00:00.042) 0:02:03.018 ********** included: /tmp/collections-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 23 May 2026 15:28:59 -0400 (0:00:00.024) 0:02:03.042 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 23 May 2026 15:28:59 -0400 (0:00:00.761) 0:02:03.803 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 23 May 2026 15:29:00 -0400 (0:00:00.317) 0:02:04.121 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 23 May 2026 15:29:00 -0400 (0:00:00.017) 0:02:04.138 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 23 May 2026 15:29:00 -0400 (0:00:00.016) 0:02:04.155 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 23 May 2026 15:29:00 -0400 (0:00:00.015) 0:02:04.170 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 23 May 2026 15:29:00 -0400 (0:00:00.015) 0:02:04.186 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 23 May 2026 15:29:00 -0400 (0:00:00.015) 0:02:04.201 ********** 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-xW0/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-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 23 May 2026 15:29:00 -0400 (0:00:00.039) 0:02:04.241 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 23 May 2026 15:29:00 -0400 (0:00:00.314) 0:02:04.555 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 23 May 2026 15:29:00 -0400 (0:00:00.319) 0:02:04.875 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 23 May 2026 15:29:01 -0400 (0:00:00.320) 0:02:05.195 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 23 May 2026 15:29:02 -0400 (0:00:01.432) 0:02:06.628 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 23 May 2026 15:29:02 -0400 (0:00:00.029) 0:02:06.658 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 23 May 2026 15:29:02 -0400 (0:00:00.088) 0:02:06.746 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 23 May 2026 15:29:02 -0400 (0:00:00.024) 0:02:06.771 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 23 May 2026 15:29:02 -0400 (0:00:00.021) 0:02:06.793 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 23 May 2026 15:29:09 -0400 (0:00:06.781) 0:02:13.575 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.666259", "end": "2026-05-23 15:29:10.605509", "rc": 0, "start": "2026-05-23 15:29:09.939250" } 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 23 May 2026 15:29:10 -0400 (0:00:01.011) 0:02:14.586 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 23 May 2026 15:29:10 -0400 (0:00:00.020) 0:02:14.607 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 23 May 2026 15:29:10 -0400 (0:00:00.017) 0:02:14.625 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 23 May 2026 15:29:10 -0400 (0:00:00.017) 0:02:14.642 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target network.target systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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": "22406", "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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 23 May 2026 15:29:11 -0400 (0:00:01.055) 0:02:15.697 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 23 May 2026 15:29:11 -0400 (0:00:00.021) 0:02:15.719 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 23 May 2026 15:29:11 -0400 (0:00:00.021) 0:02:15.741 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 23 May 2026 15:29:11 -0400 (0:00:00.022) 0:02:15.763 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 23 May 2026 15:29:11 -0400 (0:00:00.016) 0:02:15.780 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 23 May 2026 15:29:11 -0400 (0:00:00.020) 0:02:15.801 ********** included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 23 May 2026 15:29:11 -0400 (0:00:00.029) 0:02:15.831 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 23 May 2026 15:29:11 -0400 (0:00:00.018) 0:02:15.849 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 23 May 2026 15:29:11 -0400 (0:00:00.018) 0:02:15.867 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 23 May 2026 15:29:11 -0400 (0:00:00.018) 0:02:15.885 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 23 May 2026 15:29:11 -0400 (0:00:00.018) 0:02:15.904 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 23 May 2026 15:29:11 -0400 (0:00:00.017) 0:02:15.921 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 23 May 2026 15:29:12 -0400 (0:00:00.017) 0:02:15.939 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 23 May 2026 15:29:12 -0400 (0:00:00.018) 0:02:15.958 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 23 May 2026 15:29:12 -0400 (0:00:00.017) 0:02:15.976 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 23 May 2026 15:29:12 -0400 (0:00:00.016) 0:02:15.992 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 23 May 2026 15:29:12 -0400 (0:00:00.019) 0:02:16.012 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 23 May 2026 15:29:12 -0400 (0:00:00.330) 0:02:16.343 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 23 May 2026 15:29:12 -0400 (0:00:00.331) 0:02:16.674 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1779564552.7820687-13635-163915468450929/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 23 May 2026 15:29:13 -0400 (0:00:00.663) 0:02:17.338 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 23 May 2026 15:29:13 -0400 (0:00:00.021) 0:02:17.359 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 23 May 2026 15:29:13 -0400 (0:00:00.019) 0:02:17.379 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 23 May 2026 15:29:13 -0400 (0:00:00.331) 0:02:17.711 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 23 May 2026 15:29:13 -0400 (0:00:00.018) 0:02:17.730 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 23 May 2026 15:29:13 -0400 (0:00:00.005) 0:02:17.735 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-23 15:29:11 EDT", "ActiveEnterTimestampMonotonic": "429725094", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-23 15:29:11 EDT", "AssertTimestampMonotonic": "429672835", "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-05-23 15:29:11 EDT", "ConditionTimestampMonotonic": "429672833", "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": "47066", "ExecMainStartTimestamp": "Sat 2026-05-23 15:29:11 EDT", "ExecMainStartTimestampMonotonic": "429683105", "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-05-23 15:29:11 EDT] ; stop_time=[n/a] ; pid=47066 ; 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-05-23 15:29:11 EDT] ; stop_time=[Sat 2026-05-23 15:29:11 EDT] ; pid=47064 ; 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-05-23 15:29:11 EDT", "InactiveExitTimestampMonotonic": "429673910", "InvocationID": "9e04b056c3da4d139ed1387af90c8cb1", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47066", "MemoryAccounting": "yes", "MemoryCurrent": "18436096", "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-05-23 15:29:11 EDT", "StateChangeTimestampMonotonic": "429725094", "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": "22406", "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-05-23 15:29:11 EDT", "WatchdogTimestampMonotonic": "429725091", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 23 May 2026 15:29:14 -0400 (0:00:00.935) 0:02:18.671 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008192", "end": "2026-05-23 15:29:15.022186", "rc": 0, "start": "2026-05-23 15:29:15.013994" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 23 May 2026 15:29:15 -0400 (0:00:00.326) 0:02:18.998 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008591", "end": "2026-05-23 15:29:15.349942", "rc": 0, "start": "2026-05-23 15:29:15.341351" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 23 May 2026 15:29:15 -0400 (0:00:00.327) 0:02:19.325 ********** ASYNC OK on managed-node2: jid=j776841484340.48272 ok: [managed-node2] => { "ansible_job_id": "j776841484340.48272", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012680", "end": "2026-05-23 15:29:15.905718", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j776841484340.48272", "start": "2026-05-23 15:29:15.893038", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 23 May 2026 15:29:31 -0400 (0:00:15.982) 0:02:35.308 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009111", "end": "2026-05-23 15:29:31.678714", "rc": 0, "start": "2026-05-23 15:29:31.669603" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 23 May 2026 15:29:31 -0400 (0:00:00.350) 0:02:35.658 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 23 May 2026 15:29:31 -0400 (0:00:00.034) 0:02:35.692 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009699", "end": "2026-05-23 15:29:32.062557", "rc": 0, "start": "2026-05-23 15:29:32.052858" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 23 May 2026 15:29:32 -0400 (0:00:00.348) 0:02:36.041 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 23 May 2026 15:29:32 -0400 (0:00:00.032) 0:02:36.073 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008640", "end": "2026-05-23 15:29:32.427696", "failed_when_result": false, "rc": 0, "start": "2026-05-23 15:29:32.419056" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 23 May 2026 15:29:32 -0400 (0:00:00.363) 0:02:36.437 ********** included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 23 May 2026 15:29:32 -0400 (0:00:00.033) 0:02:36.470 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 23 May 2026 15:29:32 -0400 (0:00:00.004) 0:02:36.475 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 23 May 2026 15:29:37 -0400 (0:00:04.741) 0:02:41.216 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 23 May 2026 15:29:37 -0400 (0:00:00.019) 0:02:41.236 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 23 May 2026 15:29:37 -0400 (0:00:00.370) 0:02:41.607 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 23 May 2026 15:29:38 -0400 (0:00:01.262) 0:02:42.869 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007722", "end": "2026-05-23 15:29:39.222118", "rc": 0, "start": "2026-05-23 15:29:39.214396" } STDOUT: -- Logs begin at Sat 2026-05-23 15:22:02 EDT, end at Sat 2026-05-23 15:29:39 EDT. -- May 23 15:25:31 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:31 managed-node2 postmaster[10357]: 2026-05-23 15:25:31.393 EDT [10357] LOG: redirecting log output to logging collector process May 23 15:25:31 managed-node2 postmaster[10357]: 2026-05-23 15:25:31.393 EDT [10357] HINT: Future log output will appear in directory "log". May 23 15:25:31 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Killing process 10358 (postmaster) with signal SIGKILL. May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:25:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:39 managed-node2 postmaster[12619]: 2026-05-23 15:25:39.165 EDT [12619] LOG: redirecting log output to logging collector process May 23 15:25:39 managed-node2 postmaster[12619]: 2026-05-23 15:25:39.165 EDT [12619] HINT: Future log output will appear in directory "log". May 23 15:25:39 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:43 managed-node2 systemd[1]: postgresql.service: Killing process 12621 (postmaster) with signal SIGKILL. May 23 15:25:43 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:25:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:14 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:14 managed-node2 postmaster[19243]: 2026-05-23 15:26:14.723 EDT [19243] LOG: redirecting log output to logging collector process May 23 15:26:14 managed-node2 postmaster[19243]: 2026-05-23 15:26:14.723 EDT [19243] HINT: Future log output will appear in directory "log". May 23 15:26:14 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:20 managed-node2 systemd[1]: postgresql.service: Killing process 19244 (postmaster) with signal SIGKILL. May 23 15:26:20 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:20 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:20 managed-node2 postmaster[20783]: 2026-05-23 15:26:20.380 EDT [20783] LOG: redirecting log output to logging collector process May 23 15:26:20 managed-node2 postmaster[20783]: 2026-05-23 15:26:20.380 EDT [20783] HINT: Future log output will appear in directory "log". May 23 15:26:20 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:25 managed-node2 systemd[1]: postgresql.service: Killing process 20785 (postmaster) with signal SIGKILL. May 23 15:26:25 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:44 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:44 managed-node2 postmaster[25159]: 2026-05-23 15:26:44.592 EDT [25159] LOG: redirecting log output to logging collector process May 23 15:26:44 managed-node2 postmaster[25159]: 2026-05-23 15:26:44.592 EDT [25159] HINT: Future log output will appear in directory "log". May 23 15:26:44 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:48 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:48 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:48 managed-node2 postmaster[25899]: 2026-05-23 15:26:48.058 EDT [25899] LOG: redirecting log output to logging collector process May 23 15:26:48 managed-node2 postmaster[25899]: 2026-05-23 15:26:48.058 EDT [25899] HINT: Future log output will appear in directory "log". May 23 15:26:48 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:51 managed-node2 systemd[1]: postgresql.service: Killing process 25900 (postmaster) with signal SIGKILL. May 23 15:26:51 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:10 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:10 managed-node2 postmaster[30142]: 2026-05-23 15:27:10.783 EDT [30142] LOG: redirecting log output to logging collector process May 23 15:27:10 managed-node2 postmaster[30142]: 2026-05-23 15:27:10.783 EDT [30142] HINT: Future log output will appear in directory "log". May 23 15:27:10 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:14 managed-node2 systemd[1]: postgresql.service: Killing process 30143 (postmaster) with signal SIGKILL. May 23 15:27:14 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:14 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:14 managed-node2 postmaster[30950]: 2026-05-23 15:27:14.221 EDT [30950] LOG: redirecting log output to logging collector process May 23 15:27:14 managed-node2 postmaster[30950]: 2026-05-23 15:27:14.221 EDT [30950] HINT: Future log output will appear in directory "log". May 23 15:27:14 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:36 managed-node2 systemd[1]: postgresql.service: Killing process 30951 (postmaster) with signal SIGKILL. May 23 15:27:36 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:51 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.062 EDT [35760] LOG: listening on IPv6 address "::1", port 5432 May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.062 EDT [35760] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.065 EDT [35760] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.069 EDT [35760] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.079 EDT [35760] LOG: redirecting log output to logging collector process May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.079 EDT [35760] HINT: Future log output will appear in directory "log". May 23 15:27:51 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:54 managed-node2 systemd[1]: postgresql.service: Killing process 35761 (postmaster) with signal SIGKILL. May 23 15:27:54 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:54 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.030 EDT [36567] LOG: listening on IPv6 address "::1", port 5432 May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.030 EDT [36567] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.032 EDT [36567] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.035 EDT [36567] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.065 EDT [36567] LOG: redirecting log output to logging collector process May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.065 EDT [36567] HINT: Future log output will appear in directory "log". May 23 15:27:54 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:15 managed-node2 systemd[1]: postgresql.service: Killing process 36569 (postmaster) with signal SIGKILL. May 23 15:28:15 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:28:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:28:31 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:28:31 managed-node2 postgres[41413]: 2026-05-23 15:28:31.311 EDT [41413] LOG: redirecting log output to logging collector process May 23 15:28:31 managed-node2 postgres[41413]: 2026-05-23 15:28:31.311 EDT [41413] HINT: Future log output will appear in directory "log". May 23 15:28:31 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:34 managed-node2 systemd[1]: postgresql.service: Killing process 41414 (postgres) with signal SIGKILL. May 23 15:28:34 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:28:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:28:34 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:28:34 managed-node2 postgres[42220]: 2026-05-23 15:28:34.309 EDT [42220] LOG: redirecting log output to logging collector process May 23 15:28:34 managed-node2 postgres[42220]: 2026-05-23 15:28:34.309 EDT [42220] HINT: Future log output will appear in directory "log". May 23 15:28:34 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:56 managed-node2 systemd[1]: postgresql.service: Killing process 42221 (postgres) with signal SIGKILL. May 23 15:28:56 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:28:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:29:11 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:29:11 managed-node2 postmaster[47066]: 2026-05-23 15:29:11.689 EDT [47066] LOG: redirecting log output to logging collector process May 23 15:29:11 managed-node2 postmaster[47066]: 2026-05-23 15:29:11.689 EDT [47066] HINT: Future log output will appear in directory "log". May 23 15:29:11 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:29:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:29:14 managed-node2 systemd[1]: postgresql.service: Killing process 47068 (postmaster) with signal SIGKILL. May 23 15:29:14 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:29:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:29:14 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:29:14 managed-node2 postmaster[47874]: 2026-05-23 15:29:14.661 EDT [47874] LOG: redirecting log output to logging collector process May 23 15:29:14 managed-node2 postmaster[47874]: 2026-05-23 15:29:14.661 EDT [47874] HINT: Future log output will appear in directory "log". May 23 15:29:14 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:29:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:29:36 managed-node2 systemd[1]: postgresql.service: Killing process 47875 (postmaster) with signal SIGKILL. May 23 15:29:36 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:29:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 23 May 2026 15:29:39 -0400 (0:00:00.330) 0:02:43.200 ********** included: /tmp/collections-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 23 May 2026 15:29:39 -0400 (0:00:00.029) 0:02:43.230 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 23 May 2026 15:29:39 -0400 (0:00:00.001) 0:02:43.231 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 23 May 2026 15:29:39 -0400 (0:00:00.015) 0:02:43.247 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 23 May 2026 15:29:39 -0400 (0:00:00.041) 0:02:43.288 ********** included: /tmp/collections-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 23 May 2026 15:29:39 -0400 (0:00:00.024) 0:02:43.313 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 23 May 2026 15:29:40 -0400 (0:00:00.760) 0:02:44.073 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 23 May 2026 15:29:40 -0400 (0:00:00.319) 0:02:44.392 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 23 May 2026 15:29:40 -0400 (0:00:00.017) 0:02:44.410 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 23 May 2026 15:29:40 -0400 (0:00:00.017) 0:02:44.427 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 23 May 2026 15:29:40 -0400 (0:00:00.016) 0:02:44.444 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 23 May 2026 15:29:40 -0400 (0:00:00.015) 0:02:44.459 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 23 May 2026 15:29:40 -0400 (0:00:00.015) 0:02:44.475 ********** 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-xW0/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-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 23 May 2026 15:29:40 -0400 (0:00:00.038) 0:02:44.514 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 23 May 2026 15:29:40 -0400 (0:00:00.316) 0:02:44.830 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 23 May 2026 15:29:41 -0400 (0:00:00.312) 0:02:45.142 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 23 May 2026 15:29:41 -0400 (0:00:00.319) 0:02:45.462 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 23 May 2026 15:29:42 -0400 (0:00:01.402) 0:02:46.864 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 23 May 2026 15:29:42 -0400 (0:00:00.028) 0:02:46.893 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 23 May 2026 15:29:42 -0400 (0:00:00.024) 0:02:46.917 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 23 May 2026 15:29:43 -0400 (0:00:00.024) 0:02:46.942 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 23 May 2026 15:29:43 -0400 (0:00:00.020) 0:02:46.962 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 23 May 2026 15:29:49 -0400 (0:00:06.122) 0:02:53.085 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.677130", "end": "2026-05-23 15:29:50.135664", "rc": 0, "start": "2026-05-23 15:29:49.458534" } 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 23 May 2026 15:29:50 -0400 (0:00:01.027) 0:02:54.112 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 23 May 2026 15:29:50 -0400 (0:00:00.021) 0:02:54.134 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 23 May 2026 15:29:50 -0400 (0:00:00.018) 0:02:54.153 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 23 May 2026 15:29:50 -0400 (0:00:00.017) 0:02:54.170 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target systemd-journald.socket network.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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "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": "22406", "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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 23 May 2026 15:29:51 -0400 (0:00:01.046) 0:02:55.217 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.022) 0:02:55.239 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.020) 0:02:55.260 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.021) 0:02:55.281 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.016) 0:02:55.298 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.021) 0:02:55.320 ********** included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.029) 0:02:55.349 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.017) 0:02:55.367 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.019) 0:02:55.386 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.017) 0:02:55.404 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.017) 0:02:55.422 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.017) 0:02:55.439 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.046) 0:02:55.486 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.019) 0:02:55.505 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.017) 0:02:55.522 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.016) 0:02:55.539 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.022) 0:02:55.562 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 23 May 2026 15:29:51 -0400 (0:00:00.334) 0:02:55.897 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 23 May 2026 15:29:52 -0400 (0:00:00.332) 0:02:56.230 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1779564592.339282-14045-207715475580513/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 23 May 2026 15:29:52 -0400 (0:00:00.672) 0:02:56.902 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 23 May 2026 15:29:52 -0400 (0:00:00.023) 0:02:56.926 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 23 May 2026 15:29:53 -0400 (0:00:00.021) 0:02:56.947 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 23 May 2026 15:29:53 -0400 (0:00:00.335) 0:02:57.283 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 23 May 2026 15:29:53 -0400 (0:00:00.020) 0:02:57.303 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 23 May 2026 15:29:53 -0400 (0:00:00.004) 0:02:57.308 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-23 15:29:51 EDT", "ActiveEnterTimestampMonotonic": "469245188", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target sysinit.target systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-23 15:29:51 EDT", "AssertTimestampMonotonic": "469193273", "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-05-23 15:29:51 EDT", "ConditionTimestampMonotonic": "469193271", "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": "52712", "ExecMainStartTimestamp": "Sat 2026-05-23 15:29:51 EDT", "ExecMainStartTimestampMonotonic": "469203401", "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-05-23 15:29:51 EDT] ; stop_time=[n/a] ; pid=52712 ; 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-05-23 15:29:51 EDT] ; stop_time=[Sat 2026-05-23 15:29:51 EDT] ; pid=52709 ; 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-05-23 15:29:51 EDT", "InactiveExitTimestampMonotonic": "469194639", "InvocationID": "2f2168ab98134ad3951bda0b29afbaba", "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": "14004", "LimitNPROCSoft": "14004", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14004", "LimitSIGPENDINGSoft": "14004", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52712", "MemoryAccounting": "yes", "MemoryCurrent": "17858560", "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-05-23 15:29:51 EDT", "StateChangeTimestampMonotonic": "469245188", "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": "22406", "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-05-23 15:29:51 EDT", "WatchdogTimestampMonotonic": "469245185", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 23 May 2026 15:29:54 -0400 (0:00:00.951) 0:02:58.260 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007922", "end": "2026-05-23 15:29:54.621792", "rc": 0, "start": "2026-05-23 15:29:54.613870" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 23 May 2026 15:29:54 -0400 (0:00:00.338) 0:02:58.598 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008606", "end": "2026-05-23 15:29:54.952853", "rc": 0, "start": "2026-05-23 15:29:54.944247" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 23 May 2026 15:29:55 -0400 (0:00:00.331) 0:02:58.930 ********** ASYNC OK on managed-node2: jid=j379770488997.53919 ok: [managed-node2] => { "ansible_job_id": "j379770488997.53919", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012093", "end": "2026-05-23 15:29:55.508733", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j379770488997.53919", "start": "2026-05-23 15:29:55.496640", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 23 May 2026 15:30:10 -0400 (0:00:15.991) 0:03:14.921 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009979", "end": "2026-05-23 15:30:11.294304", "rc": 0, "start": "2026-05-23 15:30:11.284325" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 23 May 2026 15:30:11 -0400 (0:00:00.350) 0:03:15.271 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 23 May 2026 15:30:11 -0400 (0:00:00.032) 0:03:15.304 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009810", "end": "2026-05-23 15:30:11.678012", "rc": 0, "start": "2026-05-23 15:30:11.668202" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 23 May 2026 15:30:11 -0400 (0:00:00.354) 0:03:15.658 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 23 May 2026 15:30:11 -0400 (0:00:00.032) 0:03:15.691 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009504", "end": "2026-05-23 15:30:12.056363", "failed_when_result": false, "rc": 0, "start": "2026-05-23 15:30:12.046859" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 23 May 2026 15:30:12 -0400 (0:00:00.347) 0:03:16.038 ********** included: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 23 May 2026 15:30:12 -0400 (0:00:00.034) 0:03:16.072 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 23 May 2026 15:30:12 -0400 (0:00:00.005) 0:03:16.078 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 23 May 2026 15:30:16 -0400 (0:00:04.732) 0:03:20.810 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 23 May 2026 15:30:16 -0400 (0:00:00.018) 0:03:20.828 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 23 May 2026 15:30:17 -0400 (0:00:00.375) 0:03:21.203 ********** 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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 23 May 2026 15:30:18 -0400 (0:00:01.268) 0:03:22.471 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008231", "end": "2026-05-23 15:30:18.829749", "rc": 0, "start": "2026-05-23 15:30:18.821518" } STDOUT: -- Logs begin at Sat 2026-05-23 15:22:02 EDT, end at Sat 2026-05-23 15:30:18 EDT. -- May 23 15:25:31 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:31 managed-node2 postmaster[10357]: 2026-05-23 15:25:31.393 EDT [10357] LOG: redirecting log output to logging collector process May 23 15:25:31 managed-node2 postmaster[10357]: 2026-05-23 15:25:31.393 EDT [10357] HINT: Future log output will appear in directory "log". May 23 15:25:31 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Killing process 10358 (postmaster) with signal SIGKILL. May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:25:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:39 managed-node2 postmaster[12619]: 2026-05-23 15:25:39.165 EDT [12619] LOG: redirecting log output to logging collector process May 23 15:25:39 managed-node2 postmaster[12619]: 2026-05-23 15:25:39.165 EDT [12619] HINT: Future log output will appear in directory "log". May 23 15:25:39 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:43 managed-node2 systemd[1]: postgresql.service: Killing process 12621 (postmaster) with signal SIGKILL. May 23 15:25:43 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:25:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:14 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:14 managed-node2 postmaster[19243]: 2026-05-23 15:26:14.723 EDT [19243] LOG: redirecting log output to logging collector process May 23 15:26:14 managed-node2 postmaster[19243]: 2026-05-23 15:26:14.723 EDT [19243] HINT: Future log output will appear in directory "log". May 23 15:26:14 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:20 managed-node2 systemd[1]: postgresql.service: Killing process 19244 (postmaster) with signal SIGKILL. May 23 15:26:20 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:20 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:20 managed-node2 postmaster[20783]: 2026-05-23 15:26:20.380 EDT [20783] LOG: redirecting log output to logging collector process May 23 15:26:20 managed-node2 postmaster[20783]: 2026-05-23 15:26:20.380 EDT [20783] HINT: Future log output will appear in directory "log". May 23 15:26:20 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:25 managed-node2 systemd[1]: postgresql.service: Killing process 20785 (postmaster) with signal SIGKILL. May 23 15:26:25 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:44 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:44 managed-node2 postmaster[25159]: 2026-05-23 15:26:44.592 EDT [25159] LOG: redirecting log output to logging collector process May 23 15:26:44 managed-node2 postmaster[25159]: 2026-05-23 15:26:44.592 EDT [25159] HINT: Future log output will appear in directory "log". May 23 15:26:44 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:47 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:48 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:48 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:48 managed-node2 postmaster[25899]: 2026-05-23 15:26:48.058 EDT [25899] LOG: redirecting log output to logging collector process May 23 15:26:48 managed-node2 postmaster[25899]: 2026-05-23 15:26:48.058 EDT [25899] HINT: Future log output will appear in directory "log". May 23 15:26:48 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:51 managed-node2 systemd[1]: postgresql.service: Killing process 25900 (postmaster) with signal SIGKILL. May 23 15:26:51 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:26:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:10 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:10 managed-node2 postmaster[30142]: 2026-05-23 15:27:10.783 EDT [30142] LOG: redirecting log output to logging collector process May 23 15:27:10 managed-node2 postmaster[30142]: 2026-05-23 15:27:10.783 EDT [30142] HINT: Future log output will appear in directory "log". May 23 15:27:10 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:14 managed-node2 systemd[1]: postgresql.service: Killing process 30143 (postmaster) with signal SIGKILL. May 23 15:27:14 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:14 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:14 managed-node2 postmaster[30950]: 2026-05-23 15:27:14.221 EDT [30950] LOG: redirecting log output to logging collector process May 23 15:27:14 managed-node2 postmaster[30950]: 2026-05-23 15:27:14.221 EDT [30950] HINT: Future log output will appear in directory "log". May 23 15:27:14 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:36 managed-node2 systemd[1]: postgresql.service: Killing process 30951 (postmaster) with signal SIGKILL. May 23 15:27:36 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:51 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.062 EDT [35760] LOG: listening on IPv6 address "::1", port 5432 May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.062 EDT [35760] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.065 EDT [35760] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.069 EDT [35760] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.079 EDT [35760] LOG: redirecting log output to logging collector process May 23 15:27:51 managed-node2 postmaster[35760]: 2026-05-23 15:27:51.079 EDT [35760] HINT: Future log output will appear in directory "log". May 23 15:27:51 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:54 managed-node2 systemd[1]: postgresql.service: Killing process 35761 (postmaster) with signal SIGKILL. May 23 15:27:54 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:27:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:54 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.030 EDT [36567] LOG: listening on IPv6 address "::1", port 5432 May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.030 EDT [36567] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.032 EDT [36567] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.035 EDT [36567] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.065 EDT [36567] LOG: redirecting log output to logging collector process May 23 15:27:54 managed-node2 postmaster[36567]: 2026-05-23 15:27:54.065 EDT [36567] HINT: Future log output will appear in directory "log". May 23 15:27:54 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:15 managed-node2 systemd[1]: postgresql.service: Killing process 36569 (postmaster) with signal SIGKILL. May 23 15:28:15 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:28:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:28:31 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:28:31 managed-node2 postgres[41413]: 2026-05-23 15:28:31.311 EDT [41413] LOG: redirecting log output to logging collector process May 23 15:28:31 managed-node2 postgres[41413]: 2026-05-23 15:28:31.311 EDT [41413] HINT: Future log output will appear in directory "log". May 23 15:28:31 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:34 managed-node2 systemd[1]: postgresql.service: Killing process 41414 (postgres) with signal SIGKILL. May 23 15:28:34 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:28:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:28:34 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:28:34 managed-node2 postgres[42220]: 2026-05-23 15:28:34.309 EDT [42220] LOG: redirecting log output to logging collector process May 23 15:28:34 managed-node2 postgres[42220]: 2026-05-23 15:28:34.309 EDT [42220] HINT: Future log output will appear in directory "log". May 23 15:28:34 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:56 managed-node2 systemd[1]: postgresql.service: Killing process 42221 (postgres) with signal SIGKILL. May 23 15:28:56 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:28:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:29:11 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:29:11 managed-node2 postmaster[47066]: 2026-05-23 15:29:11.689 EDT [47066] LOG: redirecting log output to logging collector process May 23 15:29:11 managed-node2 postmaster[47066]: 2026-05-23 15:29:11.689 EDT [47066] HINT: Future log output will appear in directory "log". May 23 15:29:11 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:29:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:29:14 managed-node2 systemd[1]: postgresql.service: Killing process 47068 (postmaster) with signal SIGKILL. May 23 15:29:14 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:29:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:29:14 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:29:14 managed-node2 postmaster[47874]: 2026-05-23 15:29:14.661 EDT [47874] LOG: redirecting log output to logging collector process May 23 15:29:14 managed-node2 postmaster[47874]: 2026-05-23 15:29:14.661 EDT [47874] HINT: Future log output will appear in directory "log". May 23 15:29:14 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:29:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:29:36 managed-node2 systemd[1]: postgresql.service: Killing process 47875 (postmaster) with signal SIGKILL. May 23 15:29:36 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:29:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:29:51 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:29:51 managed-node2 postmaster[52712]: 2026-05-23 15:29:51.199 EDT [52712] 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 May 23 15:29:51 managed-node2 postmaster[52712]: 2026-05-23 15:29:51.199 EDT [52712] LOG: listening on IPv6 address "::1", port 5432 May 23 15:29:51 managed-node2 postmaster[52712]: 2026-05-23 15:29:51.200 EDT [52712] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 23 15:29:51 managed-node2 postmaster[52712]: 2026-05-23 15:29:51.202 EDT [52712] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 23 15:29:51 managed-node2 postmaster[52712]: 2026-05-23 15:29:51.206 EDT [52712] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 23 15:29:51 managed-node2 postmaster[52712]: 2026-05-23 15:29:51.216 EDT [52712] LOG: redirecting log output to logging collector process May 23 15:29:51 managed-node2 postmaster[52712]: 2026-05-23 15:29:51.216 EDT [52712] HINT: Future log output will appear in directory "log". May 23 15:29:51 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:29:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:29:54 managed-node2 systemd[1]: postgresql.service: Killing process 52713 (postmaster) with signal SIGKILL. May 23 15:29:54 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:29:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:29:54 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:29:54 managed-node2 postmaster[53520]: 2026-05-23 15:29:54.225 EDT [53520] 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 May 23 15:29:54 managed-node2 postmaster[53520]: 2026-05-23 15:29:54.225 EDT [53520] LOG: listening on IPv6 address "::1", port 5432 May 23 15:29:54 managed-node2 postmaster[53520]: 2026-05-23 15:29:54.225 EDT [53520] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 23 15:29:54 managed-node2 postmaster[53520]: 2026-05-23 15:29:54.227 EDT [53520] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 23 15:29:54 managed-node2 postmaster[53520]: 2026-05-23 15:29:54.231 EDT [53520] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 23 15:29:54 managed-node2 postmaster[53520]: 2026-05-23 15:29:54.261 EDT [53520] LOG: redirecting log output to logging collector process May 23 15:29:54 managed-node2 postmaster[53520]: 2026-05-23 15:29:54.261 EDT [53520] HINT: Future log output will appear in directory "log". May 23 15:29:54 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:30:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:30:15 managed-node2 systemd[1]: postgresql.service: Killing process 53521 (postmaster) with signal SIGKILL. May 23 15:30:15 managed-node2 systemd[1]: postgresql.service: Succeeded. May 23 15:30:15 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 23 May 2026 15:30:18 -0400 (0:00:00.331) 0:03:22.803 ********** =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.16s /tmp/collections-xW0/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-xW0/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-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 15.98s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.85s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.78s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.29s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.12s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.02s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.79s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.75s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.74s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.73s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.71s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.64s /tmp/collections-xW0/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-xW0/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-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.40s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.40s /tmp/collections-xW0/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8