ansible-playbook [core 2.17.14] 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-hX1 executable location = /usr/local/bin/ansible-playbook python version = 3.12.13 (main, Jul 20 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] (/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-hX1/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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 01 August 2026 15:25:09 -0400 (0:00:00.021) 0:00:00.021 ******* [WARNING]: Platform linux on host managed-node2 is using the discovered Python interpreter at /usr/bin/python3.9, but future installation of another Python interpreter could change the meaning of that path. See https://docs.ansible.com/ansible- core/2.17/reference_appendices/interpreter_discovery.html for more information. ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 01 August 2026 15:25:10 -0400 (0:00:01.151) 0:00:01.172 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 01 August 2026 15:25:10 -0400 (0:00:00.005) 0:00:01.178 ******* included: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 01 August 2026 15:25:11 -0400 (0:00:00.041) 0:00:01.219 ******* included: /tmp/collections-hX1/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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 01 August 2026 15:25:11 -0400 (0:00:00.042) 0:00:01.261 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 01 August 2026 15:25:11 -0400 (0:00:00.000) 0:00:01.262 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 01 August 2026 15:25:11 -0400 (0:00:00.014) 0:00:01.277 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 01 August 2026 15:25:11 -0400 (0:00:00.074) 0:00:01.352 ******* included: /tmp/collections-hX1/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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 01 August 2026 15:25:11 -0400 (0:00:00.024) 0:00:01.377 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 01 August 2026 15:25:11 -0400 (0:00:00.785) 0:00:02.162 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 01 August 2026 15:25:12 -0400 (0:00:00.419) 0:00:02.582 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 01 August 2026 15:25:12 -0400 (0:00:00.454) 0:00:03.036 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 01 August 2026 15:25:12 -0400 (0:00:00.025) 0:00:03.062 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008774", "end": "2026-08-01 15:25:13.248741", "failed_when_result": false, "rc": 0, "start": "2026-08-01 15:25:13.239967" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.458) 0:00:03.521 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.027) 0:00:03.548 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.031) 0:00:03.580 ******* 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_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + postgresql_version +\n '/server'] if postgresql_version != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + postgresql_version +\n '/server'] if postgresql_version != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.040) 0:00:03.621 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.345) 0:00:03.967 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 01 August 2026 15:25:14 -0400 (0:00:00.340) 0:00:04.307 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 01 August 2026 15:25:14 -0400 (0:00:00.338) 0:00:04.646 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 01 August 2026 15:25:15 -0400 (0:00:00.948) 0:00:05.595 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"8\"", "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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 01 August 2026 15:25:15 -0400 (0:00:00.023) 0:00:05.618 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el9", "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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 01 August 2026 15:25:15 -0400 (0:00:00.028) 0:00:05.647 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 01 August 2026 15:25:15 -0400 (0:00:00.023) 0:00:05.670 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 01 August 2026 15:25:15 -0400 (0:00:00.018) 0:00:05.689 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Installed: postgresql-13.23-3.el9.x86_64", "Installed: postgresql-server-13.23-3.el9.x86_64", "Installed: postgresql-private-libs-13.23-3.el9.x86_64" ] } lsrpackages: postgresql-server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 01 August 2026 15:25:18 -0400 (0:00:03.385) 0:00:09.075 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.750499", "end": "2026-08-01 15:25:19.963752", "rc": 0, "start": "2026-08-01 15:25:19.213253" } 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 01 August 2026 15:25:20 -0400 (0:00:01.153) 0:00:10.228 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 01 August 2026 15:25:20 -0400 (0:00:00.020) 0:00:10.249 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 01 August 2026 15:25:20 -0400 (0:00:00.021) 0:00:10.271 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 01 August 2026 15:25:20 -0400 (0:00:00.025) 0:00:10.296 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice sysinit.target basic.target network.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; 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 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "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": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13486", "LimitNPROCSoft": "13486", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13486", "LimitSIGPENDINGSoft": "13486", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 01 August 2026 15:25:21 -0400 (0:00:01.382) 0:00:11.678 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.036) 0:00:11.715 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.034) 0:00:11.749 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.034) 0:00:11.784 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.028) 0:00:11.812 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.036) 0:00:11.848 ******* included: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.055) 0:00:11.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 the default path] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.032) 0:00:11.937 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.031) 0:00:11.968 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.031) 0:00:11.999 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.029) 0:00:12.028 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.020) 0:00:12.049 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.022) 0:00:12.071 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.018) 0:00:12.089 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.023) 0:00:12.113 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.019) 0:00:12.132 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 01 August 2026 15:25:21 -0400 (0:00:00.027) 0:00:12.160 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 01 August 2026 15:25:22 -0400 (0:00:00.496) 0:00:12.656 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 01 August 2026 15:25:22 -0400 (0:00:00.483) 0:00:13.139 ******* changed: [managed-node2] => { "changed": true, "checksum": "56c7cdc8c614abd9b0d03e84141e710aaa9e7e78", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "7e7fa9e0cb2e76c1e0f9024388e24297", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1785612322.980183-13264-45684920225272/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 01 August 2026 15:25:23 -0400 (0:00:00.848) 0:00:13.988 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 01 August 2026 15:25:23 -0400 (0:00:00.042) 0:00:14.030 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 01 August 2026 15:25:23 -0400 (0:00:00.020) 0:00:14.051 ******* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.374) 0:00:14.426 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.019) 0:00:14.445 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.005) 0:00:14.450 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-01 15:25:21 EDT", "ActiveEnterTimestampMonotonic": "333993750", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice basic.target network.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-01 15:25:21 EDT", "AssertTimestampMonotonic": "333939061", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "35313000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-01 15:25:21 EDT", "ConditionTimestampMonotonic": "333939059", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "6523", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "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": "34351", "ExecMainStartTimestamp": "Sat 2026-08-01 15:25:21 EDT", "ExecMainStartTimestampMonotonic": "333952628", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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-08-01 15:25:21 EDT] ; stop_time=[n/a] ; pid=34351 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-01 15:25:21 EDT] ; stop_time=[n/a] ; pid=34351 ; 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-08-01 15:25:21 EDT] ; stop_time=[Sat 2026-08-01 15:25:21 EDT] ; pid=34349 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[Sat 2026-08-01 15:25:21 EDT] ; stop_time=[Sat 2026-08-01 15:25:21 EDT] ; pid=34349 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-01 15:25:21 EDT", "InactiveExitTimestampMonotonic": "333947318", "InvocationID": "637324367b4b42649b2e80b6cd3a64ce", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13486", "LimitNPROCSoft": "13486", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13486", "LimitSIGPENDINGSoft": "13486", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "34351", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17707008", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18153472", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-01 15:25:21 EDT", "StateChangeTimestampMonotonic": "333993750", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 01 August 2026 15:25:25 -0400 (0:00:00.948) 0:00:15.398 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.009181", "end": "2026-08-01 15:25:25.502545", "rc": 0, "start": "2026-08-01 15:25:25.493364" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 01 August 2026 15:25:25 -0400 (0:00:00.363) 0:00:15.762 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.010004", "end": "2026-08-01 15:25:25.868135", "rc": 0, "start": "2026-08-01 15:25:25.858131" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 01 August 2026 15:25:25 -0400 (0:00:00.367) 0:00:16.130 ******* ASYNC OK on managed-node2: jid=j265109361068.35796 ok: [managed-node2] => { "ansible_job_id": "j265109361068.35796", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013474", "end": "2026-08-01 15:25:26.529781", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j265109361068.35796", "start": "2026-08-01 15:25:26.516307", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 01 August 2026 15:25:42 -0400 (0:00:16.230) 0:00:32.360 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010840", "end": "2026-08-01 15:25:42.475767", "rc": 0, "start": "2026-08-01 15:25:42.464927" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 01 August 2026 15:25:42 -0400 (0:00:00.373) 0:00:32.734 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 01 August 2026 15:25:42 -0400 (0:00:00.036) 0:00:32.771 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010994", "end": "2026-08-01 15:25:42.887633", "rc": 0, "start": "2026-08-01 15:25:42.876639" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 01 August 2026 15:25:42 -0400 (0:00:00.374) 0:00:33.145 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 01 August 2026 15:25:42 -0400 (0:00:00.029) 0:00:33.175 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010446", "end": "2026-08-01 15:25:43.276168", "failed_when_result": false, "rc": 0, "start": "2026-08-01 15:25:43.265722" } STDOUT: postgres (PostgreSQL) 13.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 01 August 2026 15:25:43 -0400 (0:00:00.366) 0:00:33.542 ******* included: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 01 August 2026 15:25:43 -0400 (0:00:00.032) 0:00:33.574 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 01 August 2026 15:25:43 -0400 (0:00:00.004) 0:00:33.579 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Removed: postgresql-private-libs-13.23-3.el9.x86_64", "Removed: postgresql-server-13.23-3.el9.x86_64", "Removed: postgresql-13.23-3.el9.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 01 August 2026 15:25:45 -0400 (0:00:01.926) 0:00:35.506 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 01 August 2026 15:25:45 -0400 (0:00:00.018) 0:00:35.524 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 01 August 2026 15:25:45 -0400 (0:00:00.403) 0:00:35.928 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 01 August 2026 15:25:47 -0400 (0:00:01.370) 0:00:37.299 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008372", "end": "2026-08-01 15:25:47.395842", "rc": 0, "start": "2026-08-01 15:25:47.387470" } STDOUT: Aug 01 15:23:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:59 managed-node2 postmaster[12349]: 2026-08-01 15:23:59.247 EDT [12349] LOG: redirecting log output to logging collector process Aug 01 15:23:59 managed-node2 postmaster[12349]: 2026-08-01 15:23:59.247 EDT [12349] HINT: Future log output will appear in directory "log". Aug 01 15:23:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:07 managed-node2 systemd[1]: postgresql.service: Killing process 12350 (postmaster) with signal SIGKILL. Aug 01 15:24:07 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:07 managed-node2 postmaster[15064]: 2026-08-01 15:24:07.233 EDT [15064] LOG: redirecting log output to logging collector process Aug 01 15:24:07 managed-node2 postmaster[15064]: 2026-08-01 15:24:07.233 EDT [15064] HINT: Future log output will appear in directory "log". Aug 01 15:24:07 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:08 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:08 managed-node2 systemd[1]: postgresql.service: Killing process 15065 (postmaster) with signal SIGKILL. Aug 01 15:24:08 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:08 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:36 managed-node2 postmaster[22301]: 2026-08-01 15:24:36.329 EDT [22301] LOG: redirecting log output to logging collector process Aug 01 15:24:36 managed-node2 postmaster[22301]: 2026-08-01 15:24:36.329 EDT [22301] HINT: Future log output will appear in directory "log". Aug 01 15:24:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:42 managed-node2 systemd[1]: postgresql.service: Killing process 22302 (postmaster) with signal SIGKILL. Aug 01 15:24:42 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:42 managed-node2 postmaster[24145]: 2026-08-01 15:24:42.199 EDT [24145] LOG: redirecting log output to logging collector process Aug 01 15:24:42 managed-node2 postmaster[24145]: 2026-08-01 15:24:42.199 EDT [24145] HINT: Future log output will appear in directory "log". Aug 01 15:24:42 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:45 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:01 managed-node2 postmaster[28894]: 2026-08-01 15:25:01.076 EDT [28894] LOG: redirecting log output to logging collector process Aug 01 15:25:01 managed-node2 postmaster[28894]: 2026-08-01 15:25:01.076 EDT [28894] HINT: Future log output will appear in directory "log". Aug 01 15:25:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:04 managed-node2 systemd[1]: postgresql.service: Killing process 28895 (postmaster) with signal SIGKILL. Aug 01 15:25:04 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:04 managed-node2 postmaster[29779]: 2026-08-01 15:25:04.366 EDT [29779] LOG: redirecting log output to logging collector process Aug 01 15:25:04 managed-node2 postmaster[29779]: 2026-08-01 15:25:04.366 EDT [29779] HINT: Future log output will appear in directory "log". Aug 01 15:25:04 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:05 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:21 managed-node2 postmaster[34351]: 2026-08-01 15:25:21.382 EDT [34351] LOG: redirecting log output to logging collector process Aug 01 15:25:21 managed-node2 postmaster[34351]: 2026-08-01 15:25:21.382 EDT [34351] HINT: Future log output will appear in directory "log". Aug 01 15:25:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:25 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:25 managed-node2 postmaster[35313]: 2026-08-01 15:25:25.114 EDT [35313] LOG: redirecting log output to logging collector process Aug 01 15:25:25 managed-node2 postmaster[35313]: 2026-08-01 15:25:25.114 EDT [35313] HINT: Future log output will appear in directory "log". Aug 01 15:25:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:44 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 01 August 2026 15:25:47 -0400 (0:00:00.354) 0:00:37.653 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 01 August 2026 15:25:47 -0400 (0:00:00.012) 0:00:37.666 ******* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 01 August 2026 15:25:47 -0400 (0:00:00.024) 0:00:37.690 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=18) included: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 01 August 2026 15:25:47 -0400 (0:00:00.075) 0:00:37.766 ******* included: /tmp/collections-hX1/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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 01 August 2026 15:25:47 -0400 (0:00:00.032) 0:00:37.799 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 01 August 2026 15:25:47 -0400 (0:00:00.001) 0:00:37.800 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 01 August 2026 15:25:47 -0400 (0:00:00.016) 0:00:37.816 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 01 August 2026 15:25:47 -0400 (0:00:00.040) 0:00:37.857 ******* included: /tmp/collections-hX1/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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 01 August 2026 15:25:47 -0400 (0:00:00.025) 0:00:37.882 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 01 August 2026 15:25:48 -0400 (0:00:00.790) 0:00:38.673 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 01 August 2026 15:25:48 -0400 (0:00:00.347) 0:00:39.020 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 01 August 2026 15:25:48 -0400 (0:00:00.016) 0:00:39.037 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 01 August 2026 15:25:48 -0400 (0:00:00.016) 0:00:39.054 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 01 August 2026 15:25:48 -0400 (0:00:00.015) 0:00:39.069 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 01 August 2026 15:25:48 -0400 (0:00:00.015) 0:00:39.084 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 01 August 2026 15:25:48 -0400 (0:00:00.015) 0:00:39.100 ******* [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_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + postgresql_version +\n '/server'] if postgresql_version != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + postgresql_version +\n '/server'] if postgresql_version != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 01 August 2026 15:25:48 -0400 (0:00:00.036) 0:00:39.136 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 01 August 2026 15:25:49 -0400 (0:00:00.351) 0:00:39.488 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 01 August 2026 15:25:49 -0400 (0:00:00.350) 0:00:39.839 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 01 August 2026 15:25:49 -0400 (0:00:00.343) 0:00:40.182 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 01 August 2026 15:25:50 -0400 (0:00:00.765) 0:00:40.947 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"8\"", "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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 01 August 2026 15:25:50 -0400 (0:00:00.025) 0:00:40.972 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el9", "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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 01 August 2026 15:25:50 -0400 (0:00:00.028) 0:00:41.000 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 01 August 2026 15:25:50 -0400 (0:00:00.026) 0:00:41.027 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 01 August 2026 15:25:50 -0400 (0:00:00.082) 0:00:41.110 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:18/server installed.", "Installed: postgresql-18.1-1.module_el9+1300+1c4aa8df.x86_64", "Installed: postgresql-server-18.1-1.module_el9+1300+1c4aa8df.x86_64", "Installed: postgresql-private-libs-18.1-1.module_el9+1300+1c4aa8df.x86_64" ] } lsrpackages: @postgresql:18/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 01 August 2026 15:25:55 -0400 (0:00:04.288) 0:00:45.398 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.813947", "end": "2026-08-01 15:25:56.347253", "rc": 0, "start": "2026-08-01 15:25:55.533306" } 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 01 August 2026 15:25:56 -0400 (0:00:01.206) 0:00:46.605 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 01 August 2026 15:25:56 -0400 (0:00:00.018) 0:00:46.624 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 01 August 2026 15:25:56 -0400 (0:00:00.018) 0:00:46.643 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 01 August 2026 15:25:56 -0400 (0:00:00.016) 0:00:46.660 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket network-online.target system.slice sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; 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 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "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": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13486", "LimitNPROCSoft": "13486", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13486", "LimitSIGPENDINGSoft": "13486", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 01 August 2026 15:25:57 -0400 (0:00:01.119) 0:00:47.779 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.022) 0:00:47.801 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.020) 0:00:47.822 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.019) 0:00:47.842 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.016) 0:00:47.858 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.026) 0:00:47.885 ******* included: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.029) 0:00:47.914 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.017) 0:00:47.932 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.018) 0:00:47.951 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.017) 0:00:47.969 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.017) 0:00:47.986 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.017) 0:00:48.003 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.018) 0:00:48.022 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.017) 0:00:48.039 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.015) 0:00:48.055 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.015) 0:00:48.071 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 01 August 2026 15:25:57 -0400 (0:00:00.021) 0:00:48.092 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 01 August 2026 15:25:58 -0400 (0:00:00.357) 0:00:48.449 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 01 August 2026 15:25:58 -0400 (0:00:00.355) 0:00:48.805 ******* changed: [managed-node2] => { "changed": true, "checksum": "56c7cdc8c614abd9b0d03e84141e710aaa9e7e78", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "7e7fa9e0cb2e76c1e0f9024388e24297", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1785612358.6478064-13908-54191948329257/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 01 August 2026 15:25:59 -0400 (0:00:00.706) 0:00:49.511 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 01 August 2026 15:25:59 -0400 (0:00:00.022) 0:00:49.533 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 01 August 2026 15:25:59 -0400 (0:00:00.020) 0:00:49.554 ******* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 01 August 2026 15:25:59 -0400 (0:00:00.356) 0:00:49.911 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 01 August 2026 15:25:59 -0400 (0:00:00.019) 0:00:49.930 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 01 August 2026 15:25:59 -0400 (0:00:00.004) 0:00:49.935 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-01 15:25:57 EDT", "ActiveEnterTimestampMonotonic": "370102852", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target systemd-journald.socket basic.target network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-01 15:25:57 EDT", "AssertTimestampMonotonic": "370048871", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "39217000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-01 15:25:57 EDT", "ConditionTimestampMonotonic": "370048869", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7161", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "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": "40669", "ExecMainStartTimestamp": "Sat 2026-08-01 15:25:57 EDT", "ExecMainStartTimestampMonotonic": "370059360", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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-08-01 15:25:57 EDT] ; stop_time=[n/a] ; pid=40669 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-01 15:25:57 EDT] ; stop_time=[n/a] ; pid=40669 ; 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-08-01 15:25:57 EDT] ; stop_time=[Sat 2026-08-01 15:25:57 EDT] ; pid=40667 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[Sat 2026-08-01 15:25:57 EDT] ; stop_time=[Sat 2026-08-01 15:25:57 EDT] ; pid=40667 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-01 15:25:57 EDT", "InactiveExitTimestampMonotonic": "370054370", "InvocationID": "c6d59550f52e4ba0bf25b97fbd365d89", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13486", "LimitNPROCSoft": "13486", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13486", "LimitSIGPENDINGSoft": "13486", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "40669", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "23293952", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "23494656", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-01 15:25:57 EDT", "StateChangeTimestampMonotonic": "370102852", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "10", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 01 August 2026 15:26:00 -0400 (0:00:00.957) 0:00:50.893 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.009366", "end": "2026-08-01 15:26:00.995453", "rc": 0, "start": "2026-08-01 15:26:00.986087" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 01 August 2026 15:26:01 -0400 (0:00:00.359) 0:00:51.252 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009493", "end": "2026-08-01 15:26:01.350698", "rc": 0, "start": "2026-08-01 15:26:01.341205" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 01 August 2026 15:26:01 -0400 (0:00:00.356) 0:00:51.608 ******* ASYNC OK on managed-node2: jid=j266613913011.42118 ok: [managed-node2] => { "ansible_job_id": "j266613913011.42118", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.015626", "end": "2026-08-01 15:26:01.929609", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j266613913011.42118", "start": "2026-08-01 15:26:01.913983", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 01 August 2026 15:26:17 -0400 (0:00:16.059) 0:01:07.668 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011781", "end": "2026-08-01 15:26:17.783293", "rc": 0, "start": "2026-08-01 15:26:17.771512" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 01 August 2026 15:26:17 -0400 (0:00:00.374) 0:01:08.043 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 01 August 2026 15:26:17 -0400 (0:00:00.034) 0:01:08.077 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011627", "end": "2026-08-01 15:26:18.196944", "rc": 0, "start": "2026-08-01 15:26:18.185317" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 01 August 2026 15:26:18 -0400 (0:00:00.381) 0:01:08.458 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 01 August 2026 15:26:18 -0400 (0:00:00.030) 0:01:08.489 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010934", "end": "2026-08-01 15:26:18.597435", "failed_when_result": false, "rc": 0, "start": "2026-08-01 15:26:18.586501" } STDOUT: postgres (PostgreSQL) 18.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 01 August 2026 15:26:18 -0400 (0:00:00.371) 0:01:08.860 ******* included: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 01 August 2026 15:26:18 -0400 (0:00:00.032) 0:01:08.893 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 01 August 2026 15:26:18 -0400 (0:00:00.028) 0:01:08.921 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:18/server removed.", "Removed: postgresql-private-libs-18.1-1.module_el9+1300+1c4aa8df.x86_64", "Removed: postgresql-server-18.1-1.module_el9+1300+1c4aa8df.x86_64", "Removed: postgresql-18.1-1.module_el9+1300+1c4aa8df.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 01 August 2026 15:26:20 -0400 (0:00:02.045) 0:01:10.966 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 01 August 2026 15:26:20 -0400 (0:00:00.018) 0:01:10.985 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 01 August 2026 15:26:21 -0400 (0:00:00.411) 0:01:11.397 ******* [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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 01 August 2026 15:26:22 -0400 (0:00:01.376) 0:01:12.773 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008387", "end": "2026-08-01 15:26:22.871621", "rc": 0, "start": "2026-08-01 15:26:22.863234" } STDOUT: Aug 01 15:23:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:59 managed-node2 postmaster[12349]: 2026-08-01 15:23:59.247 EDT [12349] LOG: redirecting log output to logging collector process Aug 01 15:23:59 managed-node2 postmaster[12349]: 2026-08-01 15:23:59.247 EDT [12349] HINT: Future log output will appear in directory "log". Aug 01 15:23:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:07 managed-node2 systemd[1]: postgresql.service: Killing process 12350 (postmaster) with signal SIGKILL. Aug 01 15:24:07 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:07 managed-node2 postmaster[15064]: 2026-08-01 15:24:07.233 EDT [15064] LOG: redirecting log output to logging collector process Aug 01 15:24:07 managed-node2 postmaster[15064]: 2026-08-01 15:24:07.233 EDT [15064] HINT: Future log output will appear in directory "log". Aug 01 15:24:07 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:08 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:08 managed-node2 systemd[1]: postgresql.service: Killing process 15065 (postmaster) with signal SIGKILL. Aug 01 15:24:08 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:08 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:36 managed-node2 postmaster[22301]: 2026-08-01 15:24:36.329 EDT [22301] LOG: redirecting log output to logging collector process Aug 01 15:24:36 managed-node2 postmaster[22301]: 2026-08-01 15:24:36.329 EDT [22301] HINT: Future log output will appear in directory "log". Aug 01 15:24:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:42 managed-node2 systemd[1]: postgresql.service: Killing process 22302 (postmaster) with signal SIGKILL. Aug 01 15:24:42 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:42 managed-node2 postmaster[24145]: 2026-08-01 15:24:42.199 EDT [24145] LOG: redirecting log output to logging collector process Aug 01 15:24:42 managed-node2 postmaster[24145]: 2026-08-01 15:24:42.199 EDT [24145] HINT: Future log output will appear in directory "log". Aug 01 15:24:42 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:45 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:01 managed-node2 postmaster[28894]: 2026-08-01 15:25:01.076 EDT [28894] LOG: redirecting log output to logging collector process Aug 01 15:25:01 managed-node2 postmaster[28894]: 2026-08-01 15:25:01.076 EDT [28894] HINT: Future log output will appear in directory "log". Aug 01 15:25:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:04 managed-node2 systemd[1]: postgresql.service: Killing process 28895 (postmaster) with signal SIGKILL. Aug 01 15:25:04 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:04 managed-node2 postmaster[29779]: 2026-08-01 15:25:04.366 EDT [29779] LOG: redirecting log output to logging collector process Aug 01 15:25:04 managed-node2 postmaster[29779]: 2026-08-01 15:25:04.366 EDT [29779] HINT: Future log output will appear in directory "log". Aug 01 15:25:04 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:05 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:21 managed-node2 postmaster[34351]: 2026-08-01 15:25:21.382 EDT [34351] LOG: redirecting log output to logging collector process Aug 01 15:25:21 managed-node2 postmaster[34351]: 2026-08-01 15:25:21.382 EDT [34351] HINT: Future log output will appear in directory "log". Aug 01 15:25:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:25 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:25 managed-node2 postmaster[35313]: 2026-08-01 15:25:25.114 EDT [35313] LOG: redirecting log output to logging collector process Aug 01 15:25:25 managed-node2 postmaster[35313]: 2026-08-01 15:25:25.114 EDT [35313] HINT: Future log output will appear in directory "log". Aug 01 15:25:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:44 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:57 managed-node2 postgres[40669]: 2026-08-01 15:25:57.491 EDT [40669] LOG: redirecting log output to logging collector process Aug 01 15:25:57 managed-node2 postgres[40669]: 2026-08-01 15:25:57.491 EDT [40669] HINT: Future log output will appear in directory "log". Aug 01 15:25:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:00 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:26:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:00 managed-node2 postgres[41633]: 2026-08-01 15:26:00.605 EDT [41633] LOG: redirecting log output to logging collector process Aug 01 15:26:00 managed-node2 postgres[41633]: 2026-08-01 15:26:00.605 EDT [41633] HINT: Future log output will appear in directory "log". Aug 01 15:26:00 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:20 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:26:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 01 August 2026 15:26:22 -0400 (0:00:00.356) 0:01:13.129 ******* included: /tmp/collections-hX1/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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 01 August 2026 15:26:22 -0400 (0:00:00.030) 0:01:13.160 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 01 August 2026 15:26:22 -0400 (0:00:00.001) 0:01:13.161 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 01 August 2026 15:26:22 -0400 (0:00:00.015) 0:01:13.176 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 01 August 2026 15:26:23 -0400 (0:00:00.040) 0:01:13.217 ******* included: /tmp/collections-hX1/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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 01 August 2026 15:26:23 -0400 (0:00:00.024) 0:01:13.242 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 01 August 2026 15:26:23 -0400 (0:00:00.784) 0:01:14.027 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 01 August 2026 15:26:24 -0400 (0:00:00.342) 0:01:14.369 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 01 August 2026 15:26:24 -0400 (0:00:00.016) 0:01:14.386 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 01 August 2026 15:26:24 -0400 (0:00:00.015) 0:01:14.402 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 01 August 2026 15:26:24 -0400 (0:00:00.015) 0:01:14.417 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 01 August 2026 15:26:24 -0400 (0:00:00.015) 0:01:14.433 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 01 August 2026 15:26:24 -0400 (0:00:00.015) 0:01:14.448 ******* 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_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + postgresql_version +\n '/server'] if postgresql_version != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + postgresql_version +\n '/server'] if postgresql_version != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 01 August 2026 15:26:24 -0400 (0:00:00.036) 0:01:14.485 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 01 August 2026 15:26:24 -0400 (0:00:00.340) 0:01:14.825 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 01 August 2026 15:26:24 -0400 (0:00:00.340) 0:01:15.165 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 01 August 2026 15:26:25 -0400 (0:00:00.341) 0:01:15.506 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 01 August 2026 15:26:26 -0400 (0:00:00.760) 0:01:16.267 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"8\"", "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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 01 August 2026 15:26:26 -0400 (0:00:00.024) 0:01:16.291 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el9", "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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 01 August 2026 15:26:26 -0400 (0:00:00.027) 0:01:16.318 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 01 August 2026 15:26:26 -0400 (0:00:00.022) 0:01:16.341 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 01 August 2026 15:26:26 -0400 (0:00:00.019) 0:01:16.360 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server installed.", "Installed: postgresql-16.8-1.module_el9+1265+61707298.x86_64", "Installed: postgresql-server-16.8-1.module_el9+1265+61707298.x86_64", "Installed: postgresql-private-libs-16.8-1.module_el9+1265+61707298.x86_64" ] } lsrpackages: @postgresql:16/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 01 August 2026 15:26:29 -0400 (0:00:03.713) 0:01:20.074 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.790401", "end": "2026-08-01 15:26:30.986530", "rc": 0, "start": "2026-08-01 15:26:30.196129" } 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 01 August 2026 15:26:31 -0400 (0:00:01.172) 0:01:21.246 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 01 August 2026 15:26:31 -0400 (0:00:00.018) 0:01:21.265 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 01 August 2026 15:26:31 -0400 (0:00:00.017) 0:01:21.282 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 01 August 2026 15:26:31 -0400 (0:00:00.016) 0:01:21.299 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket sysinit.target basic.target network-online.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; 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 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "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": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13486", "LimitNPROCSoft": "13486", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13486", "LimitSIGPENDINGSoft": "13486", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 01 August 2026 15:26:32 -0400 (0:00:01.130) 0:01:22.429 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.020) 0:01:22.450 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.019) 0:01:22.470 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.019) 0:01:22.490 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.017) 0:01:22.507 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.019) 0:01:22.527 ******* included: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.030) 0:01:22.557 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.017) 0:01:22.575 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.017) 0:01:22.592 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.017) 0:01:22.610 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.018) 0:01:22.629 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.017) 0:01:22.646 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.016) 0:01:22.663 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.017) 0:01:22.680 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.017) 0:01:22.697 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.041) 0:01:22.739 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.021) 0:01:22.760 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.359) 0:01:23.120 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 01 August 2026 15:26:33 -0400 (0:00:00.360) 0:01:23.481 ******* changed: [managed-node2] => { "changed": true, "checksum": "56c7cdc8c614abd9b0d03e84141e710aaa9e7e78", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "7e7fa9e0cb2e76c1e0f9024388e24297", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1785612393.3220155-14306-5972755662552/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 01 August 2026 15:26:33 -0400 (0:00:00.717) 0:01:24.199 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 01 August 2026 15:26:34 -0400 (0:00:00.020) 0:01:24.220 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 01 August 2026 15:26:34 -0400 (0:00:00.020) 0:01:24.240 ******* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 01 August 2026 15:26:34 -0400 (0:00:00.367) 0:01:24.607 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 01 August 2026 15:26:34 -0400 (0:00:00.018) 0:01:24.625 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 01 August 2026 15:26:34 -0400 (0:00:00.004) 0:01:24.630 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-01 15:26:32 EDT", "ActiveEnterTimestampMonotonic": "404752632", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target systemd-journald.socket network-online.target basic.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-01 15:26:32 EDT", "AssertTimestampMonotonic": "404700496", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "34824000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-01 15:26:32 EDT", "ConditionTimestampMonotonic": "404700494", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7799", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "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": "47087", "ExecMainStartTimestamp": "Sat 2026-08-01 15:26:32 EDT", "ExecMainStartTimestampMonotonic": "404711086", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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-08-01 15:26:32 EDT] ; stop_time=[n/a] ; pid=47087 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-01 15:26:32 EDT] ; stop_time=[n/a] ; pid=47087 ; 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-08-01 15:26:32 EDT] ; stop_time=[Sat 2026-08-01 15:26:32 EDT] ; pid=47085 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[Sat 2026-08-01 15:26:32 EDT] ; stop_time=[Sat 2026-08-01 15:26:32 EDT] ; pid=47085 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-01 15:26:32 EDT", "InactiveExitTimestampMonotonic": "404705386", "InvocationID": "9faad07eb50a446984f5cfbf4aed478d", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13486", "LimitNPROCSoft": "13486", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13486", "LimitSIGPENDINGSoft": "13486", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47087", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18583552", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18739200", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-01 15:26:32 EDT", "StateChangeTimestampMonotonic": "404752632", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 01 August 2026 15:26:35 -0400 (0:00:00.961) 0:01:25.592 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008761", "end": "2026-08-01 15:26:35.692917", "rc": 0, "start": "2026-08-01 15:26:35.684156" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 01 August 2026 15:26:35 -0400 (0:00:00.358) 0:01:25.951 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009557", "end": "2026-08-01 15:26:36.053046", "rc": 0, "start": "2026-08-01 15:26:36.043489" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 01 August 2026 15:26:36 -0400 (0:00:00.359) 0:01:26.310 ******* ASYNC OK on managed-node2: jid=j653994766657.48530 ok: [managed-node2] => { "ansible_job_id": "j653994766657.48530", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014329", "end": "2026-08-01 15:26:36.630138", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j653994766657.48530", "start": "2026-08-01 15:26:36.615809", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 01 August 2026 15:26:52 -0400 (0:00:16.065) 0:01:42.375 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011470", "end": "2026-08-01 15:26:52.496085", "rc": 0, "start": "2026-08-01 15:26:52.484615" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 01 August 2026 15:26:52 -0400 (0:00:00.380) 0:01:42.756 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 01 August 2026 15:26:52 -0400 (0:00:00.031) 0:01:42.788 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011083", "end": "2026-08-01 15:26:52.908691", "rc": 0, "start": "2026-08-01 15:26:52.897608" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 01 August 2026 15:26:52 -0400 (0:00:00.380) 0:01:43.168 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 01 August 2026 15:26:52 -0400 (0:00:00.031) 0:01:43.200 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010349", "end": "2026-08-01 15:26:53.305613", "failed_when_result": false, "rc": 0, "start": "2026-08-01 15:26:53.295264" } STDOUT: postgres (PostgreSQL) 16.8 TASK [Clean up] **************************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 01 August 2026 15:26:53 -0400 (0:00:00.368) 0:01:43.569 ******* included: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 01 August 2026 15:26:53 -0400 (0:00:00.033) 0:01:43.602 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 01 August 2026 15:26:53 -0400 (0:00:00.004) 0:01:43.607 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server removed.", "Removed: postgresql-private-libs-16.8-1.module_el9+1265+61707298.x86_64", "Removed: postgresql-server-16.8-1.module_el9+1265+61707298.x86_64", "Removed: postgresql-16.8-1.module_el9+1265+61707298.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 01 August 2026 15:26:55 -0400 (0:00:02.003) 0:01:45.610 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 01 August 2026 15:26:55 -0400 (0:00:00.018) 0:01:45.628 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 01 August 2026 15:26:55 -0400 (0:00:00.395) 0:01:46.024 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 01 August 2026 15:26:57 -0400 (0:00:01.363) 0:01:47.387 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008364", "end": "2026-08-01 15:26:57.489221", "rc": 0, "start": "2026-08-01 15:26:57.480857" } STDOUT: Aug 01 15:23:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:59 managed-node2 postmaster[12349]: 2026-08-01 15:23:59.247 EDT [12349] LOG: redirecting log output to logging collector process Aug 01 15:23:59 managed-node2 postmaster[12349]: 2026-08-01 15:23:59.247 EDT [12349] HINT: Future log output will appear in directory "log". Aug 01 15:23:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:07 managed-node2 systemd[1]: postgresql.service: Killing process 12350 (postmaster) with signal SIGKILL. Aug 01 15:24:07 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:07 managed-node2 postmaster[15064]: 2026-08-01 15:24:07.233 EDT [15064] LOG: redirecting log output to logging collector process Aug 01 15:24:07 managed-node2 postmaster[15064]: 2026-08-01 15:24:07.233 EDT [15064] HINT: Future log output will appear in directory "log". Aug 01 15:24:07 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:08 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:08 managed-node2 systemd[1]: postgresql.service: Killing process 15065 (postmaster) with signal SIGKILL. Aug 01 15:24:08 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:08 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:36 managed-node2 postmaster[22301]: 2026-08-01 15:24:36.329 EDT [22301] LOG: redirecting log output to logging collector process Aug 01 15:24:36 managed-node2 postmaster[22301]: 2026-08-01 15:24:36.329 EDT [22301] HINT: Future log output will appear in directory "log". Aug 01 15:24:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:42 managed-node2 systemd[1]: postgresql.service: Killing process 22302 (postmaster) with signal SIGKILL. Aug 01 15:24:42 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:42 managed-node2 postmaster[24145]: 2026-08-01 15:24:42.199 EDT [24145] LOG: redirecting log output to logging collector process Aug 01 15:24:42 managed-node2 postmaster[24145]: 2026-08-01 15:24:42.199 EDT [24145] HINT: Future log output will appear in directory "log". Aug 01 15:24:42 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:45 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:01 managed-node2 postmaster[28894]: 2026-08-01 15:25:01.076 EDT [28894] LOG: redirecting log output to logging collector process Aug 01 15:25:01 managed-node2 postmaster[28894]: 2026-08-01 15:25:01.076 EDT [28894] HINT: Future log output will appear in directory "log". Aug 01 15:25:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:04 managed-node2 systemd[1]: postgresql.service: Killing process 28895 (postmaster) with signal SIGKILL. Aug 01 15:25:04 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:04 managed-node2 postmaster[29779]: 2026-08-01 15:25:04.366 EDT [29779] LOG: redirecting log output to logging collector process Aug 01 15:25:04 managed-node2 postmaster[29779]: 2026-08-01 15:25:04.366 EDT [29779] HINT: Future log output will appear in directory "log". Aug 01 15:25:04 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:05 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:21 managed-node2 postmaster[34351]: 2026-08-01 15:25:21.382 EDT [34351] LOG: redirecting log output to logging collector process Aug 01 15:25:21 managed-node2 postmaster[34351]: 2026-08-01 15:25:21.382 EDT [34351] HINT: Future log output will appear in directory "log". Aug 01 15:25:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:25 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:25 managed-node2 postmaster[35313]: 2026-08-01 15:25:25.114 EDT [35313] LOG: redirecting log output to logging collector process Aug 01 15:25:25 managed-node2 postmaster[35313]: 2026-08-01 15:25:25.114 EDT [35313] HINT: Future log output will appear in directory "log". Aug 01 15:25:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:44 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:57 managed-node2 postgres[40669]: 2026-08-01 15:25:57.491 EDT [40669] LOG: redirecting log output to logging collector process Aug 01 15:25:57 managed-node2 postgres[40669]: 2026-08-01 15:25:57.491 EDT [40669] HINT: Future log output will appear in directory "log". Aug 01 15:25:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:00 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:26:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:00 managed-node2 postgres[41633]: 2026-08-01 15:26:00.605 EDT [41633] LOG: redirecting log output to logging collector process Aug 01 15:26:00 managed-node2 postgres[41633]: 2026-08-01 15:26:00.605 EDT [41633] HINT: Future log output will appear in directory "log". Aug 01 15:26:00 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:20 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:26:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:32 managed-node2 postgres[47087]: 2026-08-01 15:26:32.141 EDT [47087] LOG: redirecting log output to logging collector process Aug 01 15:26:32 managed-node2 postgres[47087]: 2026-08-01 15:26:32.141 EDT [47087] HINT: Future log output will appear in directory "log". Aug 01 15:26:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:35 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:26:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:35 managed-node2 postgres[48048]: 2026-08-01 15:26:35.305 EDT [48048] LOG: redirecting log output to logging collector process Aug 01 15:26:35 managed-node2 postgres[48048]: 2026-08-01 15:26:35.305 EDT [48048] HINT: Future log output will appear in directory "log". Aug 01 15:26:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:54 managed-node2 systemd[1]: postgresql.service: Killing process 48049 (postgres) with signal SIGKILL. Aug 01 15:26:54 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:26:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 01 August 2026 15:26:57 -0400 (0:00:00.360) 0:01:47.748 ******* included: /tmp/collections-hX1/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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 01 August 2026 15:26:57 -0400 (0:00:00.029) 0:01:47.777 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 01 August 2026 15:26:57 -0400 (0:00:00.001) 0:01:47.778 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 01 August 2026 15:26:57 -0400 (0:00:00.016) 0:01:47.795 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 01 August 2026 15:26:57 -0400 (0:00:00.042) 0:01:47.837 ******* included: /tmp/collections-hX1/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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 01 August 2026 15:26:57 -0400 (0:00:00.026) 0:01:47.863 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 01 August 2026 15:26:58 -0400 (0:00:00.783) 0:01:48.646 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 01 August 2026 15:26:58 -0400 (0:00:00.341) 0:01:48.988 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 01 August 2026 15:26:58 -0400 (0:00:00.017) 0:01:49.005 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 01 August 2026 15:26:58 -0400 (0:00:00.016) 0:01:49.021 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 01 August 2026 15:26:58 -0400 (0:00:00.016) 0:01:49.037 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 01 August 2026 15:26:58 -0400 (0:00:00.016) 0:01:49.054 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 01 August 2026 15:26:58 -0400 (0:00:00.015) 0:01:49.070 ******* 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_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + postgresql_version +\n '/server'] if postgresql_version != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } ok: [managed-node2] => (item=CentOS_9.yml) => { "ansible_facts": { "__postgresql_packages": "{{ ['@postgresql:' + postgresql_version +\n '/server'] if postgresql_version != '13' else\n ['postgresql-server'] }}" }, "ansible_included_var_files": [ "/tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_9.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_9.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 01 August 2026 15:26:58 -0400 (0:00:00.037) 0:01:49.107 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 01 August 2026 15:26:59 -0400 (0:00:00.343) 0:01:49.451 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 01 August 2026 15:26:59 -0400 (0:00:00.340) 0:01:49.791 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 01 August 2026 15:26:59 -0400 (0:00:00.339) 0:01:50.131 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 01 August 2026 15:27:00 -0400 (0:00:00.759) 0:01:50.890 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"8\"", "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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 01 August 2026 15:27:00 -0400 (0:00:00.024) 0:01:50.915 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el9", "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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 01 August 2026 15:27:00 -0400 (0:00:00.026) 0:01:50.941 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 01 August 2026 15:27:00 -0400 (0:00:00.023) 0:01:50.964 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 01 August 2026 15:27:00 -0400 (0:00:00.020) 0:01:50.985 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server installed.", "Installed: postgresql-15.12-1.module_el9+1199+0a6782cc.x86_64", "Installed: postgresql-server-15.12-1.module_el9+1199+0a6782cc.x86_64", "Installed: postgresql-private-libs-15.12-1.module_el9+1199+0a6782cc.x86_64" ] } lsrpackages: @postgresql:15/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 01 August 2026 15:27:05 -0400 (0:00:04.576) 0:01:55.562 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.794351", "end": "2026-08-01 15:27:06.472628", "rc": 0, "start": "2026-08-01 15:27:05.678277" } 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 01 August 2026 15:27:06 -0400 (0:00:01.170) 0:01:56.732 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 01 August 2026 15:27:06 -0400 (0:00:00.019) 0:01:56.752 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 01 August 2026 15:27:06 -0400 (0:00:00.018) 0:01:56.770 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 01 August 2026 15:27:06 -0400 (0:00:00.019) 0:01:56.790 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target sysinit.target basic.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; 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 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "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": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13486", "LimitNPROCSoft": "13486", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13486", "LimitSIGPENDINGSoft": "13486", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "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": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 01 August 2026 15:27:07 -0400 (0:00:01.126) 0:01:57.917 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.022) 0:01:57.939 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.022) 0:01:57.961 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.020) 0:01:57.982 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.016) 0:01:57.999 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.020) 0:01:58.019 ******* included: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.031) 0:01:58.051 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.018) 0:01:58.069 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.017) 0:01:58.087 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.018) 0:01:58.105 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.017) 0:01:58.123 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.018) 0:01:58.141 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.017) 0:01:58.159 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.019) 0:01:58.178 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.016) 0:01:58.194 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.016) 0:01:58.210 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.020) 0:01:58.231 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.360) 0:01:58.592 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.357) 0:01:58.950 ******* changed: [managed-node2] => { "changed": true, "checksum": "56c7cdc8c614abd9b0d03e84141e710aaa9e7e78", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "7e7fa9e0cb2e76c1e0f9024388e24297", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1785612428.7908304-14703-206115976790169/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 01 August 2026 15:27:09 -0400 (0:00:00.703) 0:01:59.654 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 01 August 2026 15:27:09 -0400 (0:00:00.021) 0:01:59.675 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 01 August 2026 15:27:09 -0400 (0:00:00.021) 0:01:59.697 ******* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 01 August 2026 15:27:09 -0400 (0:00:00.352) 0:02:00.049 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 01 August 2026 15:27:09 -0400 (0:00:00.018) 0:02:00.068 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 01 August 2026 15:27:09 -0400 (0:00:00.006) 0:02:00.074 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-01 15:27:07 EDT", "ActiveEnterTimestampMonotonic": "440241508", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network-online.target basic.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-01 15:27:07 EDT", "AssertTimestampMonotonic": "440185518", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "34887000", "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 cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-01 15:27:07 EDT", "ConditionTimestampMonotonic": "440185516", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "8437", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "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": "53346", "ExecMainStartTimestamp": "Sat 2026-08-01 15:27:07 EDT", "ExecMainStartTimestampMonotonic": "440198787", "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 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; 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-08-01 15:27:07 EDT] ; stop_time=[n/a] ; pid=53346 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-01 15:27:07 EDT] ; stop_time=[n/a] ; pid=53346 ; 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-08-01 15:27:07 EDT] ; stop_time=[Sat 2026-08-01 15:27:07 EDT] ; pid=53344 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[Sat 2026-08-01 15:27:07 EDT] ; stop_time=[Sat 2026-08-01 15:27:07 EDT] ; pid=53344 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-01 15:27:07 EDT", "InactiveExitTimestampMonotonic": "440193300", "InvocationID": "6900d914369c4eb4a866ab4d6be32a11", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13486", "LimitNPROCSoft": "13486", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13486", "LimitSIGPENDINGSoft": "13486", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "53346", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18546688", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18698240", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-01 15:27:07 EDT", "StateChangeTimestampMonotonic": "440241508", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 01 August 2026 15:27:10 -0400 (0:00:00.941) 0:02:01.016 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008682", "end": "2026-08-01 15:27:11.114536", "rc": 0, "start": "2026-08-01 15:27:11.105854" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 01 August 2026 15:27:11 -0400 (0:00:00.355) 0:02:01.372 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009470", "end": "2026-08-01 15:27:11.469271", "rc": 0, "start": "2026-08-01 15:27:11.459801" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 01 August 2026 15:27:11 -0400 (0:00:00.354) 0:02:01.726 ******* ASYNC OK on managed-node2: jid=j542041527369.54789 ok: [managed-node2] => { "ansible_job_id": "j542041527369.54789", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014004", "end": "2026-08-01 15:27:12.041002", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j542041527369.54789", "start": "2026-08-01 15:27:12.026998", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 01 August 2026 15:27:27 -0400 (0:00:16.045) 0:02:17.771 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010958", "end": "2026-08-01 15:27:27.887722", "rc": 0, "start": "2026-08-01 15:27:27.876764" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 01 August 2026 15:27:27 -0400 (0:00:00.375) 0:02:18.147 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 01 August 2026 15:27:27 -0400 (0:00:00.031) 0:02:18.178 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011329", "end": "2026-08-01 15:27:28.295750", "rc": 0, "start": "2026-08-01 15:27:28.284421" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 01 August 2026 15:27:28 -0400 (0:00:00.376) 0:02:18.555 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 01 August 2026 15:27:28 -0400 (0:00:00.032) 0:02:18.587 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010392", "end": "2026-08-01 15:27:28.692409", "failed_when_result": false, "rc": 0, "start": "2026-08-01 15:27:28.682017" } STDOUT: postgres (PostgreSQL) 15.12 TASK [Clean up] **************************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 01 August 2026 15:27:28 -0400 (0:00:00.366) 0:02:18.954 ******* included: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 01 August 2026 15:27:28 -0400 (0:00:00.032) 0:02:18.986 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 01 August 2026 15:27:28 -0400 (0:00:00.005) 0:02:18.992 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server removed.", "Removed: postgresql-private-libs-15.12-1.module_el9+1199+0a6782cc.x86_64", "Removed: postgresql-server-15.12-1.module_el9+1199+0a6782cc.x86_64", "Removed: postgresql-15.12-1.module_el9+1199+0a6782cc.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 01 August 2026 15:27:30 -0400 (0:00:02.016) 0:02:21.008 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 01 August 2026 15:27:30 -0400 (0:00:00.018) 0:02:21.027 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 01 August 2026 15:27:31 -0400 (0:00:00.397) 0:02:21.425 ******* 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-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 01 August 2026 15:27:32 -0400 (0:00:01.355) 0:02:22.781 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.009002", "end": "2026-08-01 15:27:32.878388", "rc": 0, "start": "2026-08-01 15:27:32.869386" } STDOUT: Aug 01 15:23:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:59 managed-node2 postmaster[12349]: 2026-08-01 15:23:59.247 EDT [12349] LOG: redirecting log output to logging collector process Aug 01 15:23:59 managed-node2 postmaster[12349]: 2026-08-01 15:23:59.247 EDT [12349] HINT: Future log output will appear in directory "log". Aug 01 15:23:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:07 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:07 managed-node2 systemd[1]: postgresql.service: Killing process 12350 (postmaster) with signal SIGKILL. Aug 01 15:24:07 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:07 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:07 managed-node2 postmaster[15064]: 2026-08-01 15:24:07.233 EDT [15064] LOG: redirecting log output to logging collector process Aug 01 15:24:07 managed-node2 postmaster[15064]: 2026-08-01 15:24:07.233 EDT [15064] HINT: Future log output will appear in directory "log". Aug 01 15:24:07 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:08 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:08 managed-node2 systemd[1]: postgresql.service: Killing process 15065 (postmaster) with signal SIGKILL. Aug 01 15:24:08 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:08 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:36 managed-node2 postmaster[22301]: 2026-08-01 15:24:36.329 EDT [22301] LOG: redirecting log output to logging collector process Aug 01 15:24:36 managed-node2 postmaster[22301]: 2026-08-01 15:24:36.329 EDT [22301] HINT: Future log output will appear in directory "log". Aug 01 15:24:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:42 managed-node2 systemd[1]: postgresql.service: Killing process 22302 (postmaster) with signal SIGKILL. Aug 01 15:24:42 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:42 managed-node2 postmaster[24145]: 2026-08-01 15:24:42.199 EDT [24145] LOG: redirecting log output to logging collector process Aug 01 15:24:42 managed-node2 postmaster[24145]: 2026-08-01 15:24:42.199 EDT [24145] HINT: Future log output will appear in directory "log". Aug 01 15:24:42 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:45 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:24:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:01 managed-node2 postmaster[28894]: 2026-08-01 15:25:01.076 EDT [28894] LOG: redirecting log output to logging collector process Aug 01 15:25:01 managed-node2 postmaster[28894]: 2026-08-01 15:25:01.076 EDT [28894] HINT: Future log output will appear in directory "log". Aug 01 15:25:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:04 managed-node2 systemd[1]: postgresql.service: Killing process 28895 (postmaster) with signal SIGKILL. Aug 01 15:25:04 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:04 managed-node2 postmaster[29779]: 2026-08-01 15:25:04.366 EDT [29779] LOG: redirecting log output to logging collector process Aug 01 15:25:04 managed-node2 postmaster[29779]: 2026-08-01 15:25:04.366 EDT [29779] HINT: Future log output will appear in directory "log". Aug 01 15:25:04 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:05 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:21 managed-node2 postmaster[34351]: 2026-08-01 15:25:21.382 EDT [34351] LOG: redirecting log output to logging collector process Aug 01 15:25:21 managed-node2 postmaster[34351]: 2026-08-01 15:25:21.382 EDT [34351] HINT: Future log output will appear in directory "log". Aug 01 15:25:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:25 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:25 managed-node2 postmaster[35313]: 2026-08-01 15:25:25.114 EDT [35313] LOG: redirecting log output to logging collector process Aug 01 15:25:25 managed-node2 postmaster[35313]: 2026-08-01 15:25:25.114 EDT [35313] HINT: Future log output will appear in directory "log". Aug 01 15:25:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:44 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:25:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:57 managed-node2 postgres[40669]: 2026-08-01 15:25:57.491 EDT [40669] LOG: redirecting log output to logging collector process Aug 01 15:25:57 managed-node2 postgres[40669]: 2026-08-01 15:25:57.491 EDT [40669] HINT: Future log output will appear in directory "log". Aug 01 15:25:57 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:00 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:26:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:00 managed-node2 postgres[41633]: 2026-08-01 15:26:00.605 EDT [41633] LOG: redirecting log output to logging collector process Aug 01 15:26:00 managed-node2 postgres[41633]: 2026-08-01 15:26:00.605 EDT [41633] HINT: Future log output will appear in directory "log". Aug 01 15:26:00 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:20 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:26:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:32 managed-node2 postgres[47087]: 2026-08-01 15:26:32.141 EDT [47087] LOG: redirecting log output to logging collector process Aug 01 15:26:32 managed-node2 postgres[47087]: 2026-08-01 15:26:32.141 EDT [47087] HINT: Future log output will appear in directory "log". Aug 01 15:26:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:35 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:35 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:26:35 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:35 managed-node2 postgres[48048]: 2026-08-01 15:26:35.305 EDT [48048] LOG: redirecting log output to logging collector process Aug 01 15:26:35 managed-node2 postgres[48048]: 2026-08-01 15:26:35.305 EDT [48048] HINT: Future log output will appear in directory "log". Aug 01 15:26:35 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:54 managed-node2 systemd[1]: postgresql.service: Killing process 48049 (postgres) with signal SIGKILL. Aug 01 15:26:54 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:26:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:27:07 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:27:07 managed-node2 postmaster[53346]: 2026-08-01 15:27:07.628 EDT [53346] LOG: redirecting log output to logging collector process Aug 01 15:27:07 managed-node2 postmaster[53346]: 2026-08-01 15:27:07.628 EDT [53346] HINT: Future log output will appear in directory "log". Aug 01 15:27:07 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:27:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:27:10 managed-node2 systemd[1]: postgresql.service: Killing process 53347 (postmaster) with signal SIGKILL. Aug 01 15:27:10 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:27:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:27:10 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:27:10 managed-node2 postmaster[54307]: 2026-08-01 15:27:10.730 EDT [54307] LOG: redirecting log output to logging collector process Aug 01 15:27:10 managed-node2 postmaster[54307]: 2026-08-01 15:27:10.730 EDT [54307] HINT: Future log output will appear in directory "log". Aug 01 15:27:10 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:27:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:27:30 managed-node2 systemd[1]: postgresql.service: Killing process 54308 (postmaster) with signal SIGKILL. Aug 01 15:27:30 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 01 15:27:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. PLAY RECAP ********************************************************************* managed-node2 : ok=138 changed=36 unreachable=0 failed=0 skipped=124 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 01 August 2026 15:27:32 -0400 (0:00:00.349) 0:02:23.131 ******* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.23s /tmp/collections-hX1/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.07s /tmp/collections-hX1/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.06s /tmp/collections-hX1/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.05s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.58s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.29s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.71s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.39s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 2.05s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 2.02s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 2.00s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.93s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server --- 1.38s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Remove config files ----------------------------------------------------- 1.38s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.37s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.36s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.36s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 1.21s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 1.17s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 1.17s /tmp/collections-hX1/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58