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-Gn2 executable location = /usr/local/bin/ansible-playbook python version = 3.12.13 (main, Jun 1 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-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 25 July 2026 15:23:15 -0400 (0:00:00.017) 0:00:00.017 ********* [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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 25 July 2026 15:23:17 -0400 (0:00:01.076) 0:00:01.094 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 25 July 2026 15:23:17 -0400 (0:00:00.005) 0:00:01.099 ********* included: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 25 July 2026 15:23:17 -0400 (0:00:00.035) 0:00:01.134 ********* included: /tmp/collections-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 25 July 2026 15:23:17 -0400 (0:00:00.038) 0:00:01.172 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 25 July 2026 15:23:17 -0400 (0:00:00.000) 0:00:01.173 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 25 July 2026 15:23:17 -0400 (0:00:00.014) 0:00:01.188 ********* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 25 July 2026 15:23:17 -0400 (0:00:00.074) 0:00:01.263 ********* included: /tmp/collections-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 25 July 2026 15:23:17 -0400 (0:00:00.024) 0:00:01.288 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 25 July 2026 15:23:18 -0400 (0:00:00.792) 0:00:02.081 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 25 July 2026 15:23:18 -0400 (0:00:00.442) 0:00:02.523 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 25 July 2026 15:23:18 -0400 (0:00:00.439) 0:00:02.963 ********* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 25 July 2026 15:23:18 -0400 (0:00:00.020) 0:00:02.983 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008878", "end": "2026-07-25 15:23:19.332743", "failed_when_result": false, "rc": 0, "start": "2026-07-25 15:23:19.323865" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 25 July 2026 15:23:19 -0400 (0:00:00.458) 0:00:03.442 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 25 July 2026 15:23:19 -0400 (0:00:00.027) 0:00:03.469 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 25 July 2026 15:23:19 -0400 (0:00:00.032) 0:00:03.502 ********* 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-Gn2/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-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 25 July 2026 15:23:19 -0400 (0:00:00.060) 0:00:03.562 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 25 July 2026 15:23:19 -0400 (0:00:00.354) 0:00:03.916 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 25 July 2026 15:23:20 -0400 (0:00:00.366) 0:00:04.282 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 25 July 2026 15:23:20 -0400 (0:00:00.343) 0:00:04.626 ********* ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in the system (RHEL8)] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 25 July 2026 15:23:21 -0400 (0:00:01.020) 0:00:05.647 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 25 July 2026 15:23:21 -0400 (0:00:00.026) 0:00:05.674 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 25 July 2026 15:23:21 -0400 (0:00:00.029) 0:00:05.703 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 25 July 2026 15:23:21 -0400 (0:00:00.023) 0:00:05.727 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 25 July 2026 15:23:21 -0400 (0:00:00.019) 0:00:05.746 ********* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Installed: postgresql-private-libs-13.23-3.el9.x86_64", "Installed: postgresql-13.23-3.el9.x86_64", "Installed: postgresql-server-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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 25 July 2026 15:23:25 -0400 (0:00:03.689) 0:00:09.436 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.749512", "end": "2026-07-25 15:23:26.463706", "rc": 0, "start": "2026-07-25 15:23:25.714194" } 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 25 July 2026 15:23:26 -0400 (0:00:01.134) 0:00:10.571 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 25 July 2026 15:23:26 -0400 (0:00:00.020) 0:00:10.591 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 25 July 2026 15:23:26 -0400 (0:00:00.020) 0:00:10.612 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 25 July 2026 15:23:26 -0400 (0:00:00.022) 0:00:10.634 ********* 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.target system.slice sysinit.target basic.target 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": "21577", "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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 25 July 2026 15:23:27 -0400 (0:00:01.381) 0:00:12.016 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 25 July 2026 15:23:27 -0400 (0:00:00.021) 0:00:12.037 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.019) 0:00:12.057 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.019) 0:00:12.076 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.015) 0:00:12.092 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.020) 0:00:12.113 ********* included: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.029) 0:00:12.142 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.018) 0:00:12.160 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.017) 0:00:12.177 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.017) 0:00:12.194 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.017) 0:00:12.212 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.018) 0:00:12.230 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.017) 0:00:12.247 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.016) 0:00:12.264 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.015) 0:00:12.280 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.016) 0:00:12.297 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.019) 0:00:12.316 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 25 July 2026 15:23:28 -0400 (0:00:00.486) 0:00:12.802 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 25 July 2026 15:23:29 -0400 (0:00:00.495) 0:00:13.297 ********* 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-1785007409.2945998-13334-146420105434689/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 25 July 2026 15:23:30 -0400 (0:00:00.841) 0:00:14.139 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 25 July 2026 15:23:30 -0400 (0:00:00.045) 0:00:14.185 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 25 July 2026 15:23:30 -0400 (0:00:00.029) 0:00:14.214 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 25 July 2026 15:23:30 -0400 (0:00:00.368) 0:00:14.583 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 25 July 2026 15:23:30 -0400 (0:00:00.022) 0:00:14.605 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 25 July 2026 15:23:30 -0400 (0:00:00.006) 0:00:14.612 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-07-25 15:23:27 EDT", "ActiveEnterTimestampMonotonic": "288448609", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice sysinit.target systemd-journald.socket network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-25 15:23:27 EDT", "AssertTimestampMonotonic": "288392611", "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": "36063000", "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-07-25 15:23:27 EDT", "ConditionTimestampMonotonic": "288392609", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "6522", "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": "34502", "ExecMainStartTimestamp": "Sat 2026-07-25 15:23:27 EDT", "ExecMainStartTimestampMonotonic": "288407071", "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-07-25 15:23:27 EDT] ; stop_time=[n/a] ; pid=34502 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-07-25 15:23:27 EDT] ; stop_time=[n/a] ; pid=34502 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-07-25 15:23:27 EDT] ; stop_time=[Sat 2026-07-25 15:23:27 EDT] ; pid=34500 ; 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-07-25 15:23:27 EDT] ; stop_time=[Sat 2026-07-25 15:23:27 EDT] ; pid=34500 ; 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-07-25 15:23:27 EDT", "InactiveExitTimestampMonotonic": "288401319", "InvocationID": "38d03bcd32174be0b2febcb2a5cb10f8", "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": "34502", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17686528", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "17997824", "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-07-25 15:23:27 EDT", "StateChangeTimestampMonotonic": "288448609", "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": "21577", "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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 25 July 2026 15:23:31 -0400 (0:00:00.955) 0:00:15.568 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.009154", "end": "2026-07-25 15:23:31.834711", "rc": 0, "start": "2026-07-25 15:23:31.825557" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 25 July 2026 15:23:31 -0400 (0:00:00.372) 0:00:15.941 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009592", "end": "2026-07-25 15:23:32.195957", "rc": 0, "start": "2026-07-25 15:23:32.186365" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 25 July 2026 15:23:32 -0400 (0:00:00.360) 0:00:16.301 ********* ASYNC OK on managed-node2: jid=j386435440446.35947 ok: [managed-node2] => { "ansible_job_id": "j386435440446.35947", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014096", "end": "2026-07-25 15:23:32.857605", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j386435440446.35947", "start": "2026-07-25 15:23:32.843509", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 25 July 2026 15:23:48 -0400 (0:00:16.243) 0:00:32.545 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011655", "end": "2026-07-25 15:23:48.822847", "rc": 0, "start": "2026-07-25 15:23:48.811192" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 25 July 2026 15:23:48 -0400 (0:00:00.385) 0:00:32.931 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 25 July 2026 15:23:48 -0400 (0:00:00.030) 0:00:32.961 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011464", "end": "2026-07-25 15:23:49.239052", "rc": 0, "start": "2026-07-25 15:23:49.227588" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 25 July 2026 15:23:49 -0400 (0:00:00.385) 0:00:33.347 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 25 July 2026 15:23:49 -0400 (0:00:00.029) 0:00:33.377 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010346", "end": "2026-07-25 15:23:49.635995", "failed_when_result": false, "rc": 0, "start": "2026-07-25 15:23:49.625649" } STDOUT: postgres (PostgreSQL) 13.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 25 July 2026 15:23:49 -0400 (0:00:00.374) 0:00:33.751 ********* included: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 25 July 2026 15:23:49 -0400 (0:00:00.032) 0:00:33.783 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 25 July 2026 15:23:49 -0400 (0:00:00.004) 0:00:33.788 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 25 July 2026 15:23:51 -0400 (0:00:01.972) 0:00:35.760 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 25 July 2026 15:23:51 -0400 (0:00:00.018) 0:00:35.779 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 25 July 2026 15:23:52 -0400 (0:00:00.399) 0:00:36.178 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 25 July 2026 15:23:53 -0400 (0:00:01.371) 0:00:37.550 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008091", "end": "2026-07-25 15:23:53.804812", "rc": 0, "start": "2026-07-25 15:23:53.796721" } STDOUT: Jul 25 15:22:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:05 managed-node2 postmaster[12352]: 2026-07-25 15:22:05.798 EDT [12352] LOG: redirecting log output to logging collector process Jul 25 15:22:05 managed-node2 postmaster[12352]: 2026-07-25 15:22:05.798 EDT [12352] HINT: Future log output will appear in directory "log". Jul 25 15:22:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:13 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:13 managed-node2 postmaster[15067]: 2026-07-25 15:22:13.917 EDT [15067] LOG: redirecting log output to logging collector process Jul 25 15:22:13 managed-node2 postmaster[15067]: 2026-07-25 15:22:13.917 EDT [15067] HINT: Future log output will appear in directory "log". Jul 25 15:22:13 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:15 managed-node2 systemd[1]: postgresql.service: Killing process 15068 (postmaster) with signal SIGKILL. Jul 25 15:22:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:42 managed-node2 postmaster[22339]: 2026-07-25 15:22:42.322 EDT [22339] LOG: redirecting log output to logging collector process Jul 25 15:22:42 managed-node2 postmaster[22339]: 2026-07-25 15:22:42.322 EDT [22339] HINT: Future log output will appear in directory "log". Jul 25 15:22:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:48 managed-node2 systemd[1]: postgresql.service: Killing process 22340 (postmaster) with signal SIGKILL. Jul 25 15:22:48 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:48 managed-node2 postmaster[24183]: 2026-07-25 15:22:48.084 EDT [24183] LOG: redirecting log output to logging collector process Jul 25 15:22:48 managed-node2 postmaster[24183]: 2026-07-25 15:22:48.084 EDT [24183] HINT: Future log output will appear in directory "log". Jul 25 15:22:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:51 managed-node2 systemd[1]: postgresql.service: Killing process 24184 (postmaster) with signal SIGKILL. Jul 25 15:22:51 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:06 managed-node2 postmaster[29045]: 2026-07-25 15:23:06.257 EDT [29045] LOG: redirecting log output to logging collector process Jul 25 15:23:06 managed-node2 postmaster[29045]: 2026-07-25 15:23:06.257 EDT [29045] HINT: Future log output will appear in directory "log". Jul 25 15:23:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:09 managed-node2 systemd[1]: postgresql.service: Killing process 29046 (postmaster) with signal SIGKILL. Jul 25 15:23:09 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:09 managed-node2 postmaster[29930]: 2026-07-25 15:23:09.843 EDT [29930] LOG: redirecting log output to logging collector process Jul 25 15:23:09 managed-node2 postmaster[29930]: 2026-07-25 15:23:09.843 EDT [29930] HINT: Future log output will appear in directory "log". Jul 25 15:23:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:11 managed-node2 systemd[1]: postgresql.service: Killing process 29931 (postmaster) with signal SIGKILL. Jul 25 15:23:11 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:27 managed-node2 postmaster[34502]: 2026-07-25 15:23:27.881 EDT [34502] LOG: redirecting log output to logging collector process Jul 25 15:23:27 managed-node2 postmaster[34502]: 2026-07-25 15:23:27.881 EDT [34502] HINT: Future log output will appear in directory "log". Jul 25 15:23:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:31 managed-node2 systemd[1]: postgresql.service: Killing process 34503 (postmaster) with signal SIGKILL. Jul 25 15:23:31 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:31 managed-node2 postmaster[35464]: 2026-07-25 15:23:31.435 EDT [35464] LOG: redirecting log output to logging collector process Jul 25 15:23:31 managed-node2 postmaster[35464]: 2026-07-25 15:23:31.435 EDT [35464] HINT: Future log output will appear in directory "log". Jul 25 15:23:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:51 managed-node2 systemd[1]: postgresql.service: Killing process 35465 (postmaster) with signal SIGKILL. Jul 25 15:23:51 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 25 July 2026 15:23:53 -0400 (0:00:00.367) 0:00:37.918 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 25 July 2026 15:23:53 -0400 (0:00:00.012) 0:00:37.930 ********* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 25 July 2026 15:23:53 -0400 (0:00:00.024) 0:00:37.955 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=18) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 25 July 2026 15:23:53 -0400 (0:00:00.074) 0:00:38.029 ********* included: /tmp/collections-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 25 July 2026 15:23:54 -0400 (0:00:00.027) 0:00:38.057 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 25 July 2026 15:23:54 -0400 (0:00:00.001) 0:00:38.058 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 25 July 2026 15:23:54 -0400 (0:00:00.015) 0:00:38.074 ********* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 25 July 2026 15:23:54 -0400 (0:00:00.040) 0:00:38.114 ********* included: /tmp/collections-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 25 July 2026 15:23:54 -0400 (0:00:00.024) 0:00:38.139 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 25 July 2026 15:23:54 -0400 (0:00:00.789) 0:00:38.929 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 25 July 2026 15:23:55 -0400 (0:00:00.347) 0:00:39.276 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 25 July 2026 15:23:55 -0400 (0:00:00.016) 0:00:39.293 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 25 July 2026 15:23:55 -0400 (0:00:00.016) 0:00:39.310 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 25 July 2026 15:23:55 -0400 (0:00:00.015) 0:00:39.326 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 25 July 2026 15:23:55 -0400 (0:00:00.016) 0:00:39.342 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 25 July 2026 15:23:55 -0400 (0:00:00.015) 0:00:39.358 ********* [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-Gn2/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-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 25 July 2026 15:23:55 -0400 (0:00:00.037) 0:00:39.396 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 25 July 2026 15:23:55 -0400 (0:00:00.346) 0:00:39.742 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 25 July 2026 15:23:56 -0400 (0:00:00.349) 0:00:40.092 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 25 July 2026 15:23:56 -0400 (0:00:00.345) 0:00:40.437 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 25 July 2026 15:23:57 -0400 (0:00:00.755) 0:00:41.193 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 25 July 2026 15:23:57 -0400 (0:00:00.024) 0:00:41.217 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 25 July 2026 15:23:57 -0400 (0:00:00.026) 0:00:41.243 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 25 July 2026 15:23:57 -0400 (0:00:00.025) 0:00:41.269 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 25 July 2026 15:23:57 -0400 (0:00:00.078) 0:00:41.347 ********* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server installed.", "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", "Installed: postgresql-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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 25 July 2026 15:24:01 -0400 (0:00:04.268) 0:00:45.615 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.802981", "end": "2026-07-25 15:24:02.703061", "rc": 0, "start": "2026-07-25 15:24:01.900080" } 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 25 July 2026 15:24:02 -0400 (0:00:01.194) 0:00:46.810 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 25 July 2026 15:24:02 -0400 (0:00:00.020) 0:00:46.831 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 25 July 2026 15:24:02 -0400 (0:00:00.019) 0:00:46.851 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 25 July 2026 15:24:02 -0400 (0:00:00.018) 0:00:46.870 ********* 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": "sysinit.target systemd-journald.socket basic.target system.slice 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/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": "21577", "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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 25 July 2026 15:24:03 -0400 (0:00:01.145) 0:00:48.015 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 25 July 2026 15:24:03 -0400 (0:00:00.021) 0:00:48.037 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.020) 0:00:48.057 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.020) 0:00:48.077 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.016) 0:00:48.094 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.021) 0:00:48.116 ********* included: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.028) 0:00:48.145 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.017) 0:00:48.163 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.018) 0:00:48.181 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.017) 0:00:48.198 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.017) 0:00:48.216 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.017) 0:00:48.233 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.018) 0:00:48.252 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.017) 0:00:48.270 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.016) 0:00:48.286 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.016) 0:00:48.302 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.021) 0:00:48.324 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 25 July 2026 15:24:04 -0400 (0:00:00.366) 0:00:48.690 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 25 July 2026 15:24:05 -0400 (0:00:00.366) 0:00:49.057 ********* 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-1785007445.0510125-13914-79017378147830/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 25 July 2026 15:24:05 -0400 (0:00:00.718) 0:00:49.775 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 25 July 2026 15:24:05 -0400 (0:00:00.022) 0:00:49.797 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 25 July 2026 15:24:05 -0400 (0:00:00.020) 0:00:49.817 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 25 July 2026 15:24:06 -0400 (0:00:00.358) 0:00:50.176 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 25 July 2026 15:24:06 -0400 (0:00:00.020) 0:00:50.196 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 25 July 2026 15:24:06 -0400 (0:00:00.004) 0:00:50.201 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-07-25 15:24:03 EDT", "ActiveEnterTimestampMonotonic": "324446416", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target system.slice basic.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-25 15:24:03 EDT", "AssertTimestampMonotonic": "324392774", "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": "36255000", "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-07-25 15:24:03 EDT", "ConditionTimestampMonotonic": "324392772", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7150", "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": "40794", "ExecMainStartTimestamp": "Sat 2026-07-25 15:24:03 EDT", "ExecMainStartTimestampMonotonic": "324403957", "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-07-25 15:24:03 EDT] ; stop_time=[n/a] ; pid=40794 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-07-25 15:24:03 EDT] ; stop_time=[n/a] ; pid=40794 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-07-25 15:24:03 EDT] ; stop_time=[Sat 2026-07-25 15:24:03 EDT] ; pid=40792 ; 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-07-25 15:24:03 EDT] ; stop_time=[Sat 2026-07-25 15:24:03 EDT] ; pid=40792 ; 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-07-25 15:24:03 EDT", "InactiveExitTimestampMonotonic": "324398386", "InvocationID": "610f8541537e4d6db2ecf9649bd88fd5", "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": "40794", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18481152", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18657280", "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-07-25 15:24:03 EDT", "StateChangeTimestampMonotonic": "324446416", "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": "21577", "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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 25 July 2026 15:24:07 -0400 (0:00:00.952) 0:00:51.153 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008844", "end": "2026-07-25 15:24:07.408960", "rc": 0, "start": "2026-07-25 15:24:07.400116" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 25 July 2026 15:24:07 -0400 (0:00:00.360) 0:00:51.514 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009601", "end": "2026-07-25 15:24:07.766848", "rc": 0, "start": "2026-07-25 15:24:07.757247" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 25 July 2026 15:24:07 -0400 (0:00:00.358) 0:00:51.873 ********* ASYNC OK on managed-node2: jid=j916203268273.42237 ok: [managed-node2] => { "ansible_job_id": "j916203268273.42237", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014100", "end": "2026-07-25 15:24:08.347230", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j916203268273.42237", "start": "2026-07-25 15:24:08.333130", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 25 July 2026 15:24:23 -0400 (0:00:16.065) 0:01:07.938 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011532", "end": "2026-07-25 15:24:24.214034", "rc": 0, "start": "2026-07-25 15:24:24.202502" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 25 July 2026 15:24:24 -0400 (0:00:00.383) 0:01:08.322 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 25 July 2026 15:24:24 -0400 (0:00:00.031) 0:01:08.353 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010940", "end": "2026-07-25 15:24:24.629463", "rc": 0, "start": "2026-07-25 15:24:24.618523" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 25 July 2026 15:24:24 -0400 (0:00:00.384) 0:01:08.738 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 25 July 2026 15:24:24 -0400 (0:00:00.031) 0:01:08.770 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010712", "end": "2026-07-25 15:24:25.033240", "failed_when_result": false, "rc": 0, "start": "2026-07-25 15:24:25.022528" } STDOUT: postgres (PostgreSQL) 15.12 TASK [Clean up] **************************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 25 July 2026 15:24:25 -0400 (0:00:00.376) 0:01:09.146 ********* included: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 25 July 2026 15:24:25 -0400 (0:00:00.035) 0:01:09.182 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 25 July 2026 15:24:25 -0400 (0:00:00.029) 0:01:09.211 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 25 July 2026 15:24:27 -0400 (0:00:02.026) 0:01:11.238 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 25 July 2026 15:24:27 -0400 (0:00:00.018) 0:01:11.256 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 25 July 2026 15:24:27 -0400 (0:00:00.402) 0:01:11.658 ********* [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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 25 July 2026 15:24:28 -0400 (0:00:01.373) 0:01:13.032 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008274", "end": "2026-07-25 15:24:29.284187", "rc": 0, "start": "2026-07-25 15:24:29.275913" } STDOUT: Jul 25 15:22:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:05 managed-node2 postmaster[12352]: 2026-07-25 15:22:05.798 EDT [12352] LOG: redirecting log output to logging collector process Jul 25 15:22:05 managed-node2 postmaster[12352]: 2026-07-25 15:22:05.798 EDT [12352] HINT: Future log output will appear in directory "log". Jul 25 15:22:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:13 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:13 managed-node2 postmaster[15067]: 2026-07-25 15:22:13.917 EDT [15067] LOG: redirecting log output to logging collector process Jul 25 15:22:13 managed-node2 postmaster[15067]: 2026-07-25 15:22:13.917 EDT [15067] HINT: Future log output will appear in directory "log". Jul 25 15:22:13 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:15 managed-node2 systemd[1]: postgresql.service: Killing process 15068 (postmaster) with signal SIGKILL. Jul 25 15:22:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:42 managed-node2 postmaster[22339]: 2026-07-25 15:22:42.322 EDT [22339] LOG: redirecting log output to logging collector process Jul 25 15:22:42 managed-node2 postmaster[22339]: 2026-07-25 15:22:42.322 EDT [22339] HINT: Future log output will appear in directory "log". Jul 25 15:22:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:48 managed-node2 systemd[1]: postgresql.service: Killing process 22340 (postmaster) with signal SIGKILL. Jul 25 15:22:48 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:48 managed-node2 postmaster[24183]: 2026-07-25 15:22:48.084 EDT [24183] LOG: redirecting log output to logging collector process Jul 25 15:22:48 managed-node2 postmaster[24183]: 2026-07-25 15:22:48.084 EDT [24183] HINT: Future log output will appear in directory "log". Jul 25 15:22:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:51 managed-node2 systemd[1]: postgresql.service: Killing process 24184 (postmaster) with signal SIGKILL. Jul 25 15:22:51 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:06 managed-node2 postmaster[29045]: 2026-07-25 15:23:06.257 EDT [29045] LOG: redirecting log output to logging collector process Jul 25 15:23:06 managed-node2 postmaster[29045]: 2026-07-25 15:23:06.257 EDT [29045] HINT: Future log output will appear in directory "log". Jul 25 15:23:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:09 managed-node2 systemd[1]: postgresql.service: Killing process 29046 (postmaster) with signal SIGKILL. Jul 25 15:23:09 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:09 managed-node2 postmaster[29930]: 2026-07-25 15:23:09.843 EDT [29930] LOG: redirecting log output to logging collector process Jul 25 15:23:09 managed-node2 postmaster[29930]: 2026-07-25 15:23:09.843 EDT [29930] HINT: Future log output will appear in directory "log". Jul 25 15:23:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:11 managed-node2 systemd[1]: postgresql.service: Killing process 29931 (postmaster) with signal SIGKILL. Jul 25 15:23:11 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:27 managed-node2 postmaster[34502]: 2026-07-25 15:23:27.881 EDT [34502] LOG: redirecting log output to logging collector process Jul 25 15:23:27 managed-node2 postmaster[34502]: 2026-07-25 15:23:27.881 EDT [34502] HINT: Future log output will appear in directory "log". Jul 25 15:23:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:31 managed-node2 systemd[1]: postgresql.service: Killing process 34503 (postmaster) with signal SIGKILL. Jul 25 15:23:31 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:31 managed-node2 postmaster[35464]: 2026-07-25 15:23:31.435 EDT [35464] LOG: redirecting log output to logging collector process Jul 25 15:23:31 managed-node2 postmaster[35464]: 2026-07-25 15:23:31.435 EDT [35464] HINT: Future log output will appear in directory "log". Jul 25 15:23:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:51 managed-node2 systemd[1]: postgresql.service: Killing process 35465 (postmaster) with signal SIGKILL. Jul 25 15:23:51 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:03 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:03 managed-node2 postmaster[40794]: 2026-07-25 15:24:03.879 EDT [40794] LOG: redirecting log output to logging collector process Jul 25 15:24:03 managed-node2 postmaster[40794]: 2026-07-25 15:24:03.879 EDT [40794] HINT: Future log output will appear in directory "log". Jul 25 15:24:03 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:06 managed-node2 systemd[1]: postgresql.service: Killing process 40795 (postmaster) with signal SIGKILL. Jul 25 15:24:06 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:24:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:07 managed-node2 postmaster[41755]: 2026-07-25 15:24:07.019 EDT [41755] LOG: redirecting log output to logging collector process Jul 25 15:24:07 managed-node2 postmaster[41755]: 2026-07-25 15:24:07.019 EDT [41755] HINT: Future log output will appear in directory "log". Jul 25 15:24:07 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:26 managed-node2 systemd[1]: postgresql.service: Killing process 41756 (postmaster) with signal SIGKILL. Jul 25 15:24:26 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:24:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 25 July 2026 15:24:29 -0400 (0:00:00.357) 0:01:13.389 ********* included: /tmp/collections-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 25 July 2026 15:24:29 -0400 (0:00:00.029) 0:01:13.418 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 25 July 2026 15:24:29 -0400 (0:00:00.001) 0:01:13.420 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 25 July 2026 15:24:29 -0400 (0:00:00.016) 0:01:13.436 ********* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 25 July 2026 15:24:29 -0400 (0:00:00.040) 0:01:13.476 ********* included: /tmp/collections-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 25 July 2026 15:24:29 -0400 (0:00:00.023) 0:01:13.500 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 25 July 2026 15:24:30 -0400 (0:00:00.785) 0:01:14.285 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 25 July 2026 15:24:30 -0400 (0:00:00.341) 0:01:14.627 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 25 July 2026 15:24:30 -0400 (0:00:00.016) 0:01:14.643 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 25 July 2026 15:24:30 -0400 (0:00:00.016) 0:01:14.659 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 25 July 2026 15:24:30 -0400 (0:00:00.015) 0:01:14.675 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 25 July 2026 15:24:30 -0400 (0:00:00.015) 0:01:14.691 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 25 July 2026 15:24:30 -0400 (0:00:00.016) 0:01:14.707 ********* 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-Gn2/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-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 25 July 2026 15:24:30 -0400 (0:00:00.037) 0:01:14.744 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 25 July 2026 15:24:31 -0400 (0:00:00.344) 0:01:15.089 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 25 July 2026 15:24:31 -0400 (0:00:00.345) 0:01:15.434 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 25 July 2026 15:24:31 -0400 (0:00:00.344) 0:01:15.779 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 25 July 2026 15:24:32 -0400 (0:00:00.757) 0:01:16.537 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 25 July 2026 15:24:32 -0400 (0:00:00.023) 0:01:16.561 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 25 July 2026 15:24:32 -0400 (0:00:00.027) 0:01:16.588 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 25 July 2026 15:24:32 -0400 (0:00:00.023) 0:01:16.612 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 25 July 2026 15:24:32 -0400 (0:00:00.019) 0:01:16.632 ********* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server installed.", "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", "Installed: postgresql-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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 25 July 2026 15:24:36 -0400 (0:00:04.107) 0:01:20.739 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.799005", "end": "2026-07-25 15:24:37.831824", "rc": 0, "start": "2026-07-25 15:24:37.032819" } 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 25 July 2026 15:24:37 -0400 (0:00:01.199) 0:01:21.938 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 25 July 2026 15:24:37 -0400 (0:00:00.018) 0:01:21.957 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 25 July 2026 15:24:37 -0400 (0:00:00.017) 0:01:21.974 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 25 July 2026 15:24:37 -0400 (0:00:00.016) 0:01:21.991 ********* 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 basic.target sysinit.target systemd-journald.socket system.slice", "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": "21577", "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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 25 July 2026 15:24:39 -0400 (0:00:01.135) 0:01:23.126 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.021) 0:01:23.148 ********* skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.postgresql : Enable logging in by password] **** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.020) 0:01:23.168 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.020) 0:01:23.189 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.017) 0:01:23.207 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.021) 0:01:23.228 ********* included: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.030) 0:01:23.259 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.023) 0:01:23.283 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.018) 0:01:23.301 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.018) 0:01:23.319 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.020) 0:01:23.340 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.019) 0:01:23.359 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.019) 0:01:23.378 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.018) 0:01:23.396 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.018) 0:01:23.414 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.045) 0:01:23.459 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.022) 0:01:23.481 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 25 July 2026 15:24:39 -0400 (0:00:00.362) 0:01:23.844 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 25 July 2026 15:24:40 -0400 (0:00:00.360) 0:01:24.205 ********* 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-1785007480.1978896-14308-272183006210820/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 25 July 2026 15:24:40 -0400 (0:00:00.734) 0:01:24.939 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 25 July 2026 15:24:40 -0400 (0:00:00.021) 0:01:24.960 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 25 July 2026 15:24:40 -0400 (0:00:00.021) 0:01:24.982 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 25 July 2026 15:24:41 -0400 (0:00:00.358) 0:01:25.340 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 25 July 2026 15:24:41 -0400 (0:00:00.018) 0:01:25.359 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 25 July 2026 15:24:41 -0400 (0:00:00.005) 0:01:25.364 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-07-25 15:24:39 EDT", "ActiveEnterTimestampMonotonic": "359558877", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket sysinit.target basic.target network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-25 15:24:38 EDT", "AssertTimestampMonotonic": "359502897", "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": "34419000", "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-07-25 15:24:38 EDT", "ConditionTimestampMonotonic": "359502895", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7778", "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": "47049", "ExecMainStartTimestamp": "Sat 2026-07-25 15:24:38 EDT", "ExecMainStartTimestampMonotonic": "359517891", "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-07-25 15:24:38 EDT] ; stop_time=[n/a] ; pid=47049 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-07-25 15:24:38 EDT] ; stop_time=[n/a] ; pid=47049 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-07-25 15:24:38 EDT] ; stop_time=[Sat 2026-07-25 15:24:38 EDT] ; pid=47047 ; 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-07-25 15:24:38 EDT] ; stop_time=[Sat 2026-07-25 15:24:38 EDT] ; pid=47047 ; 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-07-25 15:24:38 EDT", "InactiveExitTimestampMonotonic": "359512389", "InvocationID": "4de18bc6ce4e41588feaf04020fd8dfc", "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": "47049", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18579456", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18714624", "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-07-25 15:24:39 EDT", "StateChangeTimestampMonotonic": "359558877", "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": "21577", "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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 25 July 2026 15:24:42 -0400 (0:00:00.954) 0:01:26.319 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008864", "end": "2026-07-25 15:24:42.579468", "rc": 0, "start": "2026-07-25 15:24:42.570604" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 25 July 2026 15:24:42 -0400 (0:00:00.366) 0:01:26.685 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009743", "end": "2026-07-25 15:24:42.938499", "rc": 0, "start": "2026-07-25 15:24:42.928756" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 25 July 2026 15:24:42 -0400 (0:00:00.358) 0:01:27.043 ********* ASYNC OK on managed-node2: jid=j878782804639.48492 ok: [managed-node2] => { "ansible_job_id": "j878782804639.48492", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014164", "end": "2026-07-25 15:24:43.518285", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j878782804639.48492", "start": "2026-07-25 15:24:43.504121", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 25 July 2026 15:24:59 -0400 (0:00:16.068) 0:01:43.112 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011394", "end": "2026-07-25 15:24:59.386282", "rc": 0, "start": "2026-07-25 15:24:59.374888" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 25 July 2026 15:24:59 -0400 (0:00:00.382) 0:01:43.495 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 25 July 2026 15:24:59 -0400 (0:00:00.031) 0:01:43.526 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011159", "end": "2026-07-25 15:24:59.799384", "rc": 0, "start": "2026-07-25 15:24:59.788225" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 25 July 2026 15:24:59 -0400 (0:00:00.380) 0:01:43.907 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 25 July 2026 15:24:59 -0400 (0:00:00.031) 0:01:43.939 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010557", "end": "2026-07-25 15:25:00.200687", "failed_when_result": false, "rc": 0, "start": "2026-07-25 15:25:00.190130" } STDOUT: postgres (PostgreSQL) 16.8 TASK [Clean up] **************************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 25 July 2026 15:25:00 -0400 (0:00:00.373) 0:01:44.312 ********* included: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 25 July 2026 15:25:00 -0400 (0:00:00.031) 0:01:44.344 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 25 July 2026 15:25:00 -0400 (0:00:00.004) 0:01:44.349 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 25 July 2026 15:25:02 -0400 (0:00:02.028) 0:01:46.377 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 25 July 2026 15:25:02 -0400 (0:00:00.018) 0:01:46.395 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 25 July 2026 15:25:02 -0400 (0:00:00.398) 0:01:46.794 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 25 July 2026 15:25:04 -0400 (0:00:01.399) 0:01:48.194 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008708", "end": "2026-07-25 15:25:04.449781", "rc": 0, "start": "2026-07-25 15:25:04.441073" } STDOUT: Jul 25 15:22:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:05 managed-node2 postmaster[12352]: 2026-07-25 15:22:05.798 EDT [12352] LOG: redirecting log output to logging collector process Jul 25 15:22:05 managed-node2 postmaster[12352]: 2026-07-25 15:22:05.798 EDT [12352] HINT: Future log output will appear in directory "log". Jul 25 15:22:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:13 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:13 managed-node2 postmaster[15067]: 2026-07-25 15:22:13.917 EDT [15067] LOG: redirecting log output to logging collector process Jul 25 15:22:13 managed-node2 postmaster[15067]: 2026-07-25 15:22:13.917 EDT [15067] HINT: Future log output will appear in directory "log". Jul 25 15:22:13 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:15 managed-node2 systemd[1]: postgresql.service: Killing process 15068 (postmaster) with signal SIGKILL. Jul 25 15:22:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:42 managed-node2 postmaster[22339]: 2026-07-25 15:22:42.322 EDT [22339] LOG: redirecting log output to logging collector process Jul 25 15:22:42 managed-node2 postmaster[22339]: 2026-07-25 15:22:42.322 EDT [22339] HINT: Future log output will appear in directory "log". Jul 25 15:22:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:48 managed-node2 systemd[1]: postgresql.service: Killing process 22340 (postmaster) with signal SIGKILL. Jul 25 15:22:48 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:48 managed-node2 postmaster[24183]: 2026-07-25 15:22:48.084 EDT [24183] LOG: redirecting log output to logging collector process Jul 25 15:22:48 managed-node2 postmaster[24183]: 2026-07-25 15:22:48.084 EDT [24183] HINT: Future log output will appear in directory "log". Jul 25 15:22:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:51 managed-node2 systemd[1]: postgresql.service: Killing process 24184 (postmaster) with signal SIGKILL. Jul 25 15:22:51 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:06 managed-node2 postmaster[29045]: 2026-07-25 15:23:06.257 EDT [29045] LOG: redirecting log output to logging collector process Jul 25 15:23:06 managed-node2 postmaster[29045]: 2026-07-25 15:23:06.257 EDT [29045] HINT: Future log output will appear in directory "log". Jul 25 15:23:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:09 managed-node2 systemd[1]: postgresql.service: Killing process 29046 (postmaster) with signal SIGKILL. Jul 25 15:23:09 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:09 managed-node2 postmaster[29930]: 2026-07-25 15:23:09.843 EDT [29930] LOG: redirecting log output to logging collector process Jul 25 15:23:09 managed-node2 postmaster[29930]: 2026-07-25 15:23:09.843 EDT [29930] HINT: Future log output will appear in directory "log". Jul 25 15:23:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:11 managed-node2 systemd[1]: postgresql.service: Killing process 29931 (postmaster) with signal SIGKILL. Jul 25 15:23:11 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:27 managed-node2 postmaster[34502]: 2026-07-25 15:23:27.881 EDT [34502] LOG: redirecting log output to logging collector process Jul 25 15:23:27 managed-node2 postmaster[34502]: 2026-07-25 15:23:27.881 EDT [34502] HINT: Future log output will appear in directory "log". Jul 25 15:23:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:31 managed-node2 systemd[1]: postgresql.service: Killing process 34503 (postmaster) with signal SIGKILL. Jul 25 15:23:31 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:31 managed-node2 postmaster[35464]: 2026-07-25 15:23:31.435 EDT [35464] LOG: redirecting log output to logging collector process Jul 25 15:23:31 managed-node2 postmaster[35464]: 2026-07-25 15:23:31.435 EDT [35464] HINT: Future log output will appear in directory "log". Jul 25 15:23:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:51 managed-node2 systemd[1]: postgresql.service: Killing process 35465 (postmaster) with signal SIGKILL. Jul 25 15:23:51 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:03 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:03 managed-node2 postmaster[40794]: 2026-07-25 15:24:03.879 EDT [40794] LOG: redirecting log output to logging collector process Jul 25 15:24:03 managed-node2 postmaster[40794]: 2026-07-25 15:24:03.879 EDT [40794] HINT: Future log output will appear in directory "log". Jul 25 15:24:03 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:06 managed-node2 systemd[1]: postgresql.service: Killing process 40795 (postmaster) with signal SIGKILL. Jul 25 15:24:06 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:24:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:07 managed-node2 postmaster[41755]: 2026-07-25 15:24:07.019 EDT [41755] LOG: redirecting log output to logging collector process Jul 25 15:24:07 managed-node2 postmaster[41755]: 2026-07-25 15:24:07.019 EDT [41755] HINT: Future log output will appear in directory "log". Jul 25 15:24:07 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:26 managed-node2 systemd[1]: postgresql.service: Killing process 41756 (postmaster) with signal SIGKILL. Jul 25 15:24:26 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:24:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:38 managed-node2 postgres[47049]: 2026-07-25 15:24:38.991 EDT [47049] LOG: redirecting log output to logging collector process Jul 25 15:24:38 managed-node2 postgres[47049]: 2026-07-25 15:24:38.991 EDT [47049] HINT: Future log output will appear in directory "log". Jul 25 15:24:39 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:42 managed-node2 systemd[1]: postgresql.service: Killing process 47050 (postgres) with signal SIGKILL. Jul 25 15:24:42 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:24:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:42 managed-node2 postgres[48010]: 2026-07-25 15:24:42.185 EDT [48010] LOG: redirecting log output to logging collector process Jul 25 15:24:42 managed-node2 postgres[48010]: 2026-07-25 15:24:42.185 EDT [48010] HINT: Future log output will appear in directory "log". Jul 25 15:24:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:25:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:25:01 managed-node2 systemd[1]: postgresql.service: Killing process 48011 (postgres) with signal SIGKILL. Jul 25 15:25:01 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:25:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 25 July 2026 15:25:04 -0400 (0:00:00.365) 0:01:48.559 ********* included: /tmp/collections-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 25 July 2026 15:25:04 -0400 (0:00:00.028) 0:01:48.587 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 25 July 2026 15:25:04 -0400 (0:00:00.001) 0:01:48.588 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 25 July 2026 15:25:04 -0400 (0:00:00.016) 0:01:48.604 ********* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 25 July 2026 15:25:04 -0400 (0:00:00.041) 0:01:48.646 ********* included: /tmp/collections-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 25 July 2026 15:25:04 -0400 (0:00:00.024) 0:01:48.670 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 25 July 2026 15:25:05 -0400 (0:00:00.798) 0:01:49.469 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 25 July 2026 15:25:05 -0400 (0:00:00.350) 0:01:49.820 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 25 July 2026 15:25:05 -0400 (0:00:00.017) 0:01:49.837 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 25 July 2026 15:25:05 -0400 (0:00:00.017) 0:01:49.854 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 25 July 2026 15:25:05 -0400 (0:00:00.015) 0:01:49.870 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 25 July 2026 15:25:05 -0400 (0:00:00.015) 0:01:49.886 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 25 July 2026 15:25:05 -0400 (0:00:00.015) 0:01:49.902 ********* 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-Gn2/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-Gn2/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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 25 July 2026 15:25:05 -0400 (0:00:00.037) 0:01:49.940 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.347) 0:01:50.288 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.342) 0:01:50.631 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.340) 0:01:50.972 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 25 July 2026 15:25:07 -0400 (0:00:00.752) 0:01:51.724 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 25 July 2026 15:25:07 -0400 (0:00:00.024) 0:01:51.748 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 25 July 2026 15:25:07 -0400 (0:00:00.026) 0:01:51.775 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 25 July 2026 15:25:07 -0400 (0:00:00.023) 0:01:51.799 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 25 July 2026 15:25:07 -0400 (0:00:00.021) 0:01:51.820 ********* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:18/server installed.", "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", "Installed: postgresql-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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 25 July 2026 15:25:12 -0400 (0:00:04.288) 0:01:56.108 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.835875", "end": "2026-07-25 15:25:13.228381", "rc": 0, "start": "2026-07-25 15:25:12.392506" } 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 25 July 2026 15:25:13 -0400 (0:00:01.226) 0:01:57.335 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 25 July 2026 15:25:13 -0400 (0:00:00.018) 0:01:57.353 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 25 July 2026 15:25:13 -0400 (0:00:00.017) 0:01:57.371 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 25 July 2026 15:25:13 -0400 (0:00:00.018) 0:01:57.389 ********* 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": "sysinit.target network-online.target system.slice basic.target 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/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": "21577", "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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 25 July 2026 15:25:14 -0400 (0:00:01.133) 0:01:58.522 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.026) 0:01:58.549 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.021) 0:01:58.571 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.020) 0:01:58.592 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.017) 0:01:58.610 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.021) 0:01:58.631 ********* included: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.031) 0:01:58.662 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.018) 0:01:58.680 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.017) 0:01:58.698 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.018) 0:01:58.717 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.017) 0:01:58.735 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.017) 0:01:58.753 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.018) 0:01:58.771 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.019) 0:01:58.791 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.016) 0:01:58.807 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.015) 0:01:58.823 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 25 July 2026 15:25:14 -0400 (0:00:00.019) 0:01:58.843 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 25 July 2026 15:25:15 -0400 (0:00:00.366) 0:01:59.210 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 25 July 2026 15:25:15 -0400 (0:00:00.365) 0:01:59.575 ********* 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-1785007515.568401-14708-118721953699247/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 25 July 2026 15:25:16 -0400 (0:00:00.720) 0:02:00.296 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 25 July 2026 15:25:16 -0400 (0:00:00.021) 0:02:00.317 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 25 July 2026 15:25:16 -0400 (0:00:00.022) 0:02:00.340 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 25 July 2026 15:25:16 -0400 (0:00:00.361) 0:02:00.701 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 25 July 2026 15:25:16 -0400 (0:00:00.018) 0:02:00.720 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 25 July 2026 15:25:16 -0400 (0:00:00.006) 0:02:00.726 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-07-25 15:25:14 EDT", "ActiveEnterTimestampMonotonic": "394954181", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network-online.target basic.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-25 15:25:14 EDT", "AssertTimestampMonotonic": "394894533", "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": "40555000", "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-07-25 15:25:14 EDT", "ConditionTimestampMonotonic": "394894532", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "8406", "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": "53337", "ExecMainStartTimestamp": "Sat 2026-07-25 15:25:14 EDT", "ExecMainStartTimestampMonotonic": "394908874", "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-07-25 15:25:14 EDT] ; stop_time=[n/a] ; pid=53337 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-07-25 15:25:14 EDT] ; stop_time=[n/a] ; pid=53337 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-07-25 15:25:14 EDT] ; stop_time=[Sat 2026-07-25 15:25:14 EDT] ; pid=53335 ; 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-07-25 15:25:14 EDT] ; stop_time=[Sat 2026-07-25 15:25:14 EDT] ; pid=53335 ; 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-07-25 15:25:14 EDT", "InactiveExitTimestampMonotonic": "394903283", "InvocationID": "71aba1e31a0549c9aa2d284f07135678", "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": "53337", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "23257088", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "23502848", "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-07-25 15:25:14 EDT", "StateChangeTimestampMonotonic": "394954181", "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": "21577", "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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 25 July 2026 15:25:17 -0400 (0:00:00.963) 0:02:01.690 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008810", "end": "2026-07-25 15:25:17.948232", "rc": 0, "start": "2026-07-25 15:25:17.939422" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 25 July 2026 15:25:18 -0400 (0:00:00.364) 0:02:02.055 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009825", "end": "2026-07-25 15:25:18.317255", "rc": 0, "start": "2026-07-25 15:25:18.307430" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 25 July 2026 15:25:18 -0400 (0:00:00.369) 0:02:02.424 ********* ASYNC OK on managed-node2: jid=j515974559583.54786 ok: [managed-node2] => { "ansible_job_id": "j515974559583.54786", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.015110", "end": "2026-07-25 15:25:18.912922", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j515974559583.54786", "start": "2026-07-25 15:25:18.897812", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 25 July 2026 15:25:34 -0400 (0:00:16.098) 0:02:18.523 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011492", "end": "2026-07-25 15:25:34.804924", "rc": 0, "start": "2026-07-25 15:25:34.793432" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 25 July 2026 15:25:34 -0400 (0:00:00.391) 0:02:18.914 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 25 July 2026 15:25:34 -0400 (0:00:00.031) 0:02:18.946 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.012027", "end": "2026-07-25 15:25:35.225462", "rc": 0, "start": "2026-07-25 15:25:35.213435" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.388) 0:02:19.334 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.032) 0:02:19.367 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010744", "end": "2026-07-25 15:25:35.629734", "failed_when_result": false, "rc": 0, "start": "2026-07-25 15:25:35.618990" } STDOUT: postgres (PostgreSQL) 18.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.376) 0:02:19.743 ********* included: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.031) 0:02:19.774 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.005) 0:02:19.780 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 25 July 2026 15:25:37 -0400 (0:00:02.068) 0:02:21.848 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 25 July 2026 15:25:37 -0400 (0:00:00.018) 0:02:21.867 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 25 July 2026 15:25:38 -0400 (0:00:00.401) 0:02:22.269 ********* 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-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 25 July 2026 15:25:39 -0400 (0:00:01.399) 0:02:23.668 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.009027", "end": "2026-07-25 15:25:39.924806", "rc": 0, "start": "2026-07-25 15:25:39.915779" } STDOUT: Jul 25 15:22:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:05 managed-node2 postmaster[12352]: 2026-07-25 15:22:05.798 EDT [12352] LOG: redirecting log output to logging collector process Jul 25 15:22:05 managed-node2 postmaster[12352]: 2026-07-25 15:22:05.798 EDT [12352] HINT: Future log output will appear in directory "log". Jul 25 15:22:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:13 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:13 managed-node2 postmaster[15067]: 2026-07-25 15:22:13.917 EDT [15067] LOG: redirecting log output to logging collector process Jul 25 15:22:13 managed-node2 postmaster[15067]: 2026-07-25 15:22:13.917 EDT [15067] HINT: Future log output will appear in directory "log". Jul 25 15:22:13 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:15 managed-node2 systemd[1]: postgresql.service: Killing process 15068 (postmaster) with signal SIGKILL. Jul 25 15:22:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:42 managed-node2 postmaster[22339]: 2026-07-25 15:22:42.322 EDT [22339] LOG: redirecting log output to logging collector process Jul 25 15:22:42 managed-node2 postmaster[22339]: 2026-07-25 15:22:42.322 EDT [22339] HINT: Future log output will appear in directory "log". Jul 25 15:22:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:48 managed-node2 systemd[1]: postgresql.service: Killing process 22340 (postmaster) with signal SIGKILL. Jul 25 15:22:48 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:48 managed-node2 postmaster[24183]: 2026-07-25 15:22:48.084 EDT [24183] LOG: redirecting log output to logging collector process Jul 25 15:22:48 managed-node2 postmaster[24183]: 2026-07-25 15:22:48.084 EDT [24183] HINT: Future log output will appear in directory "log". Jul 25 15:22:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:51 managed-node2 systemd[1]: postgresql.service: Killing process 24184 (postmaster) with signal SIGKILL. Jul 25 15:22:51 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:22:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:06 managed-node2 postmaster[29045]: 2026-07-25 15:23:06.257 EDT [29045] LOG: redirecting log output to logging collector process Jul 25 15:23:06 managed-node2 postmaster[29045]: 2026-07-25 15:23:06.257 EDT [29045] HINT: Future log output will appear in directory "log". Jul 25 15:23:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:09 managed-node2 systemd[1]: postgresql.service: Killing process 29046 (postmaster) with signal SIGKILL. Jul 25 15:23:09 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:09 managed-node2 postmaster[29930]: 2026-07-25 15:23:09.843 EDT [29930] LOG: redirecting log output to logging collector process Jul 25 15:23:09 managed-node2 postmaster[29930]: 2026-07-25 15:23:09.843 EDT [29930] HINT: Future log output will appear in directory "log". Jul 25 15:23:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:11 managed-node2 systemd[1]: postgresql.service: Killing process 29931 (postmaster) with signal SIGKILL. Jul 25 15:23:11 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:27 managed-node2 postmaster[34502]: 2026-07-25 15:23:27.881 EDT [34502] LOG: redirecting log output to logging collector process Jul 25 15:23:27 managed-node2 postmaster[34502]: 2026-07-25 15:23:27.881 EDT [34502] HINT: Future log output will appear in directory "log". Jul 25 15:23:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:31 managed-node2 systemd[1]: postgresql.service: Killing process 34503 (postmaster) with signal SIGKILL. Jul 25 15:23:31 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:31 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:31 managed-node2 postmaster[35464]: 2026-07-25 15:23:31.435 EDT [35464] LOG: redirecting log output to logging collector process Jul 25 15:23:31 managed-node2 postmaster[35464]: 2026-07-25 15:23:31.435 EDT [35464] HINT: Future log output will appear in directory "log". Jul 25 15:23:31 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:51 managed-node2 systemd[1]: postgresql.service: Killing process 35465 (postmaster) with signal SIGKILL. Jul 25 15:23:51 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:23:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:03 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:03 managed-node2 postmaster[40794]: 2026-07-25 15:24:03.879 EDT [40794] LOG: redirecting log output to logging collector process Jul 25 15:24:03 managed-node2 postmaster[40794]: 2026-07-25 15:24:03.879 EDT [40794] HINT: Future log output will appear in directory "log". Jul 25 15:24:03 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:06 managed-node2 systemd[1]: postgresql.service: Killing process 40795 (postmaster) with signal SIGKILL. Jul 25 15:24:06 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:24:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:07 managed-node2 postmaster[41755]: 2026-07-25 15:24:07.019 EDT [41755] LOG: redirecting log output to logging collector process Jul 25 15:24:07 managed-node2 postmaster[41755]: 2026-07-25 15:24:07.019 EDT [41755] HINT: Future log output will appear in directory "log". Jul 25 15:24:07 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:26 managed-node2 systemd[1]: postgresql.service: Killing process 41756 (postmaster) with signal SIGKILL. Jul 25 15:24:26 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:24:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:38 managed-node2 postgres[47049]: 2026-07-25 15:24:38.991 EDT [47049] LOG: redirecting log output to logging collector process Jul 25 15:24:38 managed-node2 postgres[47049]: 2026-07-25 15:24:38.991 EDT [47049] HINT: Future log output will appear in directory "log". Jul 25 15:24:39 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:42 managed-node2 systemd[1]: postgresql.service: Killing process 47050 (postgres) with signal SIGKILL. Jul 25 15:24:42 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:24:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:42 managed-node2 postgres[48010]: 2026-07-25 15:24:42.185 EDT [48010] LOG: redirecting log output to logging collector process Jul 25 15:24:42 managed-node2 postgres[48010]: 2026-07-25 15:24:42.185 EDT [48010] HINT: Future log output will appear in directory "log". Jul 25 15:24:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:25:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:25:01 managed-node2 systemd[1]: postgresql.service: Killing process 48011 (postgres) with signal SIGKILL. Jul 25 15:25:01 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:25:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:25:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:25:14 managed-node2 postgres[53337]: 2026-07-25 15:25:14.384 EDT [53337] LOG: redirecting log output to logging collector process Jul 25 15:25:14 managed-node2 postgres[53337]: 2026-07-25 15:25:14.384 EDT [53337] HINT: Future log output will appear in directory "log". Jul 25 15:25:14 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:25:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:25:17 managed-node2 systemd[1]: postgresql.service: Killing process 53338 (postgres) with signal SIGKILL. Jul 25 15:25:17 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:25:17 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:25:17 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:25:17 managed-node2 postgres[54301]: 2026-07-25 15:25:17.554 EDT [54301] LOG: redirecting log output to logging collector process Jul 25 15:25:17 managed-node2 postgres[54301]: 2026-07-25 15:25:17.554 EDT [54301] HINT: Future log output will appear in directory "log". Jul 25 15:25:17 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:25:37 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:25:37 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Jul 25 15:25:37 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 25 July 2026 15:25:39 -0400 (0:00:00.358) 0:02:24.027 ********* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.24s /tmp/collections-Gn2/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.10s /tmp/collections-Gn2/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-Gn2/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-Gn2/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.29s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.27s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.11s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.69s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 2.07s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 2.03s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 2.03s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.97s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Remove config files ----------------------------------------------------- 1.40s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.40s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server --- 1.38s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Remove config files ----------------------------------------------------- 1.37s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.37s /tmp/collections-Gn2/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.23s /tmp/collections-Gn2/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.20s /tmp/collections-Gn2/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.19s /tmp/collections-Gn2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58