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-UhB executable location = /usr/local/bin/ansible-playbook python version = 3.12.13 (main, Jul 20 2026, 00:00:00) [GCC 11.5.0 20240719 (Red Hat 11.5.0-14)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 08 August 2026 14:53:28 -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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 08 August 2026 14:53:29 -0400 (0:00:01.066) 0:00:01.084 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 08 August 2026 14:53:29 -0400 (0:00:00.005) 0:00:01.089 ******* included: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:53:30 -0400 (0:00:00.036) 0:00:01.126 ******* included: /tmp/collections-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 08 August 2026 14:53:30 -0400 (0:00:00.038) 0:00:01.165 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:53:30 -0400 (0:00:00.000) 0:00:01.166 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:53:30 -0400 (0:00:00.015) 0:00:01.181 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:53:30 -0400 (0:00:00.077) 0:00:01.258 ******* included: /tmp/collections-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:53:30 -0400 (0:00:00.026) 0:00:01.284 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:53:30 -0400 (0:00:00.785) 0:00:02.069 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-08T14:53:31-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:53:31 -0400 (0:00:00.443) 0:00:02.513 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:53:31 -0400 (0:00:00.431) 0:00:02.944 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:53:31 -0400 (0:00:00.020) 0:00:02.964 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008508", "end": "2026-08-08 14:53:32.230431", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:53:32.221923" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:53:32 -0400 (0:00:00.434) 0:00:03.398 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:53:32 -0400 (0:00:00.021) 0:00:03.420 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:53:32 -0400 (0:00:00.023) 0:00:03.444 ******* 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-UhB/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-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:53:32 -0400 (0:00:00.057) 0:00:03.501 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:53:32 -0400 (0:00:00.357) 0:00:03.859 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:53:33 -0400 (0:00:00.348) 0:00:04.208 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:53:33 -0400 (0:00:00.344) 0:00:04.552 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:53:34 -0400 (0:00:00.991) 0:00:05.543 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:53:34 -0400 (0:00:00.026) 0:00:05.570 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:53:34 -0400 (0:00:00.037) 0:00:05.608 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:53:34 -0400 (0:00:00.036) 0:00:05.644 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:53:34 -0400 (0:00:00.019) 0:00:05.664 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:53:38 -0400 (0:00:03.494) 0:00:09.158 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.738568", "end": "2026-08-08 14:53:39.114183", "rc": 0, "start": "2026-08-08 14:53:38.375615" } 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:53:39 -0400 (0:00:01.131) 0:00:10.290 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:53:39 -0400 (0:00:00.026) 0:00:10.317 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:53:39 -0400 (0:00:00.020) 0:00:10.337 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:53:39 -0400 (0:00:00.028) 0:00:10.366 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target sysinit.target network.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": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:53:40 -0400 (0:00:01.341) 0:00:11.708 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.021) 0:00:11.729 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.019) 0:00:11.749 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.019) 0:00:11.768 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.015) 0:00:11.784 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.020) 0:00:11.804 ******* included: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.029) 0:00:11.834 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.017) 0:00:11.852 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.016) 0:00:11.868 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.017) 0:00:11.885 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.016) 0:00:11.902 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.018) 0:00:11.921 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.017) 0:00:11.938 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.017) 0:00:11.956 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.015) 0:00:11.971 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.016) 0:00:11.988 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:53:40 -0400 (0:00:00.019) 0:00:12.007 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:53:41 -0400 (0:00:00.480) 0:00:12.488 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:53:41 -0400 (0:00:00.503) 0:00:12.992 ******* 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-1786215221.9165483-13359-203786640124385/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:53:42 -0400 (0:00:00.845) 0:00:13.838 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:53:42 -0400 (0:00:00.048) 0:00:13.886 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:53:42 -0400 (0:00:00.024) 0:00:13.911 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-08T14:53:43-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:53:43 -0400 (0:00:00.375) 0:00:14.287 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 08 August 2026 14:53:43 -0400 (0:00:00.019) 0:00:14.306 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:53:43 -0400 (0:00:00.005) 0:00:14.312 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-08 14:53:40 EDT", "ActiveEnterTimestampMonotonic": "291018980", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket sysinit.target basic.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:53:40 EDT", "AssertTimestampMonotonic": "290959679", "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": "35597000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-08 14:53:40 EDT", "ConditionTimestampMonotonic": "290959676", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "6523", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "34550", "ExecMainStartTimestamp": "Sat 2026-08-08 14:53:40 EDT", "ExecMainStartTimestampMonotonic": "290977607", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-08 14:53:40 EDT] ; stop_time=[n/a] ; pid=34550 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-08 14:53:40 EDT] ; stop_time=[n/a] ; pid=34550 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-08 14:53:40 EDT] ; stop_time=[Sat 2026-08-08 14:53:40 EDT] ; pid=34548 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[Sat 2026-08-08 14:53:40 EDT] ; stop_time=[Sat 2026-08-08 14:53:40 EDT] ; pid=34548 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-08 14:53:40 EDT", "InactiveExitTimestampMonotonic": "290972305", "InvocationID": "da66cb4fdb5d446681c2503aad0650da", "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": "34550", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17653760", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18022400", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-08 14:53:40 EDT", "StateChangeTimestampMonotonic": "291018980", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:53:44 -0400 (0:00:00.952) 0:00:15.265 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008979", "end": "2026-08-08 14:53:44.451691", "rc": 0, "start": "2026-08-08 14:53:44.442712" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:53:44 -0400 (0:00:00.363) 0:00:15.628 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009439", "end": "2026-08-08 14:53:44.822438", "rc": 0, "start": "2026-08-08 14:53:44.812999" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:53:44 -0400 (0:00:00.367) 0:00:15.995 ******* ASYNC OK on managed-node2: jid=j772194443895.35995 ok: [managed-node2] => { "ansible_job_id": "j772194443895.35995", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013649", "end": "2026-08-08 14:53:45.506827", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j772194443895.35995", "start": "2026-08-08 14:53:45.493178", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:54:01 -0400 (0:00:16.246) 0:00:32.242 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010916", "end": "2026-08-08 14:54:01.444102", "rc": 0, "start": "2026-08-08 14:54:01.433186" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:54:01 -0400 (0:00:00.377) 0:00:32.619 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:54:01 -0400 (0:00:00.031) 0:00:32.651 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010819", "end": "2026-08-08 14:54:01.852330", "rc": 0, "start": "2026-08-08 14:54:01.841511" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:54:01 -0400 (0:00:00.376) 0:00:33.027 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:54:01 -0400 (0:00:00.030) 0:00:33.058 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010296", "end": "2026-08-08 14:54:02.248929", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:54:02.238633" } STDOUT: postgres (PostgreSQL) 13.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:54:02 -0400 (0:00:00.374) 0:00:33.433 ******* included: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 08 August 2026 14:54:02 -0400 (0:00:00.032) 0:00:33.465 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:54:02 -0400 (0:00:00.004) 0:00:33.470 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:54:04 -0400 (0:00:01.911) 0:00:35.381 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:54:04 -0400 (0:00:00.018) 0:00:35.400 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:54:04 -0400 (0:00:00.398) 0:00:35.798 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:54:06 -0400 (0:00:01.355) 0:00:37.154 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007908", "end": "2026-08-08 14:54:06.332907", "rc": 0, "start": "2026-08-08 14:54:06.324999" } STDOUT: Aug 08 14:52:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:18 managed-node2 postmaster[12367]: 2026-08-08 14:52:18.354 EDT [12367] LOG: redirecting log output to logging collector process Aug 08 14:52:18 managed-node2 postmaster[12367]: 2026-08-08 14:52:18.354 EDT [12367] HINT: Future log output will appear in directory "log". Aug 08 14:52:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:26 managed-node2 systemd[1]: postgresql.service: Killing process 12368 (postmaster) with signal SIGKILL. Aug 08 14:52:26 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:52:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:26 managed-node2 postmaster[15082]: 2026-08-08 14:52:26.481 EDT [15082] LOG: redirecting log output to logging collector process Aug 08 14:52:26 managed-node2 postmaster[15082]: 2026-08-08 14:52:26.481 EDT [15082] HINT: Future log output will appear in directory "log". Aug 08 14:52:26 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:27 managed-node2 systemd[1]: postgresql.service: Killing process 15083 (postmaster) with signal SIGKILL. Aug 08 14:52:27 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:52:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:55 managed-node2 postmaster[22316]: 2026-08-08 14:52:55.379 EDT [22316] LOG: redirecting log output to logging collector process Aug 08 14:52:55 managed-node2 postmaster[22316]: 2026-08-08 14:52:55.379 EDT [22316] HINT: Future log output will appear in directory "log". Aug 08 14:52:55 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:00 managed-node2 systemd[1]: postgresql.service: Killing process 22317 (postmaster) with signal SIGKILL. Aug 08 14:53:00 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:01 managed-node2 postmaster[24160]: 2026-08-08 14:53:01.048 EDT [24160] LOG: redirecting log output to logging collector process Aug 08 14:53:01 managed-node2 postmaster[24160]: 2026-08-08 14:53:01.048 EDT [24160] HINT: Future log output will appear in directory "log". Aug 08 14:53:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:03 managed-node2 systemd[1]: postgresql.service: Killing process 24161 (postmaster) with signal SIGKILL. Aug 08 14:53:03 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:19 managed-node2 postmaster[28918]: 2026-08-08 14:53:19.190 EDT [28918] LOG: redirecting log output to logging collector process Aug 08 14:53:19 managed-node2 postmaster[28918]: 2026-08-08 14:53:19.190 EDT [28918] HINT: Future log output will appear in directory "log". Aug 08 14:53:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:22 managed-node2 systemd[1]: postgresql.service: Killing process 28919 (postmaster) with signal SIGKILL. Aug 08 14:53:22 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:22 managed-node2 postmaster[29803]: 2026-08-08 14:53:22.772 EDT [29803] LOG: redirecting log output to logging collector process Aug 08 14:53:22 managed-node2 postmaster[29803]: 2026-08-08 14:53:22.772 EDT [29803] HINT: Future log output will appear in directory "log". Aug 08 14:53:22 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:23 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:40 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:40 managed-node2 postmaster[34550]: 2026-08-08 14:53:40.502 EDT [34550] LOG: redirecting log output to logging collector process Aug 08 14:53:40 managed-node2 postmaster[34550]: 2026-08-08 14:53:40.502 EDT [34550] HINT: Future log output will appear in directory "log". Aug 08 14:53:40 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:44 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:44 managed-node2 postmaster[35512]: 2026-08-08 14:53:44.057 EDT [35512] LOG: redirecting log output to logging collector process Aug 08 14:53:44 managed-node2 postmaster[35512]: 2026-08-08 14:53:44.057 EDT [35512] HINT: Future log output will appear in directory "log". Aug 08 14:53:44 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:03 managed-node2 systemd[1]: postgresql.service: Killing process 35513 (postmaster) with signal SIGKILL. Aug 08 14:54:03 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:54:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 08 August 2026 14:54:06 -0400 (0:00:00.351) 0:00:37.506 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 08 August 2026 14:54:06 -0400 (0:00:00.012) 0:00:37.518 ******* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 08 August 2026 14:54:06 -0400 (0:00:00.024) 0:00:37.543 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:54:06 -0400 (0:00:00.074) 0:00:37.617 ******* included: /tmp/collections-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 08 August 2026 14:54:06 -0400 (0:00:00.027) 0:00:37.645 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:54:06 -0400 (0:00:00.001) 0:00:37.646 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:54:06 -0400 (0:00:00.015) 0:00:37.661 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:54:06 -0400 (0:00:00.040) 0:00:37.701 ******* included: /tmp/collections-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:54:06 -0400 (0:00:00.024) 0:00:37.725 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:54:07 -0400 (0:00:00.777) 0:00:38.503 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-08T14:54:07-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:54:07 -0400 (0:00:00.343) 0:00:38.847 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:54:07 -0400 (0:00:00.016) 0:00:38.863 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:54:07 -0400 (0:00:00.015) 0:00:38.879 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:54:07 -0400 (0:00:00.015) 0:00:38.895 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:54:07 -0400 (0:00:00.015) 0:00:38.910 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:54:07 -0400 (0:00:00.019) 0:00:38.930 ******* [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-UhB/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-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:54:07 -0400 (0:00:00.036) 0:00:38.967 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:54:08 -0400 (0:00:00.340) 0:00:39.308 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:54:08 -0400 (0:00:00.341) 0:00:39.649 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:54:08 -0400 (0:00:00.338) 0:00:39.988 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:54:09 -0400 (0:00:00.751) 0:00:40.739 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:54:09 -0400 (0:00:00.024) 0:00:40.763 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:54:09 -0400 (0:00:00.026) 0:00:40.789 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:54:09 -0400 (0:00:00.080) 0:00:40.870 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:54:09 -0400 (0:00:00.020) 0:00:40.891 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:54:14 -0400 (0:00:04.388) 0:00:45.279 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.792451", "end": "2026-08-08 14:54:15.270019", "rc": 0, "start": "2026-08-08 14:54:14.477568" } 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:54:15 -0400 (0:00:01.166) 0:00:46.445 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:54:15 -0400 (0:00:00.020) 0:00:46.466 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:54:15 -0400 (0:00:00.018) 0:00:46.484 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:54:15 -0400 (0:00:00.017) 0:00:46.502 ******* 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 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": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:54:16 -0400 (0:00:01.133) 0:00:47.636 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.023) 0:00:47.659 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.020) 0:00:47.680 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.020) 0:00:47.700 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.016) 0:00:47.717 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.021) 0:00:47.739 ******* included: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.029) 0:00:47.768 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.017) 0:00:47.786 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.018) 0:00:47.805 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.017) 0:00:47.823 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.017) 0:00:47.841 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.017) 0:00:47.858 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.018) 0:00:47.877 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.017) 0:00:47.894 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.015) 0:00:47.910 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.015) 0:00:47.926 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:54:16 -0400 (0:00:00.020) 0:00:47.947 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:54:17 -0400 (0:00:00.358) 0:00:48.306 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:54:17 -0400 (0:00:00.354) 0:00:48.660 ******* 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-1786215257.5846038-13943-220952482407483/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:54:18 -0400 (0:00:00.704) 0:00:49.364 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:54:18 -0400 (0:00:00.022) 0:00:49.386 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:54:18 -0400 (0:00:00.020) 0:00:49.406 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-08T14:54:18-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:54:18 -0400 (0:00:00.359) 0:00:49.766 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 08 August 2026 14:54:18 -0400 (0:00:00.019) 0:00:49.786 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:54:18 -0400 (0:00:00.004) 0:00:49.791 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-08 14:54:16 EDT", "ActiveEnterTimestampMonotonic": "326945557", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice network-online.target sysinit.target basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:54:16 EDT", "AssertTimestampMonotonic": "326888335", "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": "34234000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-08 14:54:16 EDT", "ConditionTimestampMonotonic": "326888333", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7161", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "40811", "ExecMainStartTimestamp": "Sat 2026-08-08 14:54:16 EDT", "ExecMainStartTimestampMonotonic": "326904064", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-08 14:54:16 EDT] ; stop_time=[n/a] ; pid=40811 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-08 14:54:16 EDT] ; stop_time=[n/a] ; pid=40811 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-08 14:54:16 EDT] ; stop_time=[Sat 2026-08-08 14:54:16 EDT] ; pid=40809 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[Sat 2026-08-08 14:54:16 EDT] ; stop_time=[Sat 2026-08-08 14:54:16 EDT] ; pid=40809 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-08 14:54:16 EDT", "InactiveExitTimestampMonotonic": "326898387", "InvocationID": "01de1807abd345cab8ebe34eb32ac362", "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": "40811", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18518016", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18743296", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-08 14:54:16 EDT", "StateChangeTimestampMonotonic": "326945557", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:54:19 -0400 (0:00:00.939) 0:00:50.731 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008632", "end": "2026-08-08 14:54:19.913971", "rc": 0, "start": "2026-08-08 14:54:19.905339" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:54:19 -0400 (0:00:00.355) 0:00:51.086 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009510", "end": "2026-08-08 14:54:20.267973", "rc": 0, "start": "2026-08-08 14:54:20.258463" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:54:20 -0400 (0:00:00.356) 0:00:51.443 ******* ASYNC OK on managed-node2: jid=j556973023616.42254 ok: [managed-node2] => { "ansible_job_id": "j556973023616.42254", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014092", "end": "2026-08-08 14:54:20.842034", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j556973023616.42254", "start": "2026-08-08 14:54:20.827942", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:54:36 -0400 (0:00:16.043) 0:01:07.486 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011134", "end": "2026-08-08 14:54:36.685743", "rc": 0, "start": "2026-08-08 14:54:36.674609" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.374) 0:01:07.860 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:54:36 -0400 (0:00:00.030) 0:01:07.891 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011124", "end": "2026-08-08 14:54:37.091096", "rc": 0, "start": "2026-08-08 14:54:37.079972" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.376) 0:01:08.267 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.030) 0:01:08.298 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010427", "end": "2026-08-08 14:54:37.482988", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:54:37.472561" } STDOUT: postgres (PostgreSQL) 15.12 TASK [Clean up] **************************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.362) 0:01:08.661 ******* included: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.032) 0:01:08.693 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:54:37 -0400 (0:00:00.029) 0:01:08.723 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:54:39 -0400 (0:00:01.985) 0:01:10.708 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:54:39 -0400 (0:00:00.018) 0:01:10.726 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:54:40 -0400 (0:00:00.404) 0:01:11.131 ******* [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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:54:41 -0400 (0:00:01.384) 0:01:12.515 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008361", "end": "2026-08-08 14:54:41.700324", "rc": 0, "start": "2026-08-08 14:54:41.691963" } STDOUT: Aug 08 14:52:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:18 managed-node2 postmaster[12367]: 2026-08-08 14:52:18.354 EDT [12367] LOG: redirecting log output to logging collector process Aug 08 14:52:18 managed-node2 postmaster[12367]: 2026-08-08 14:52:18.354 EDT [12367] HINT: Future log output will appear in directory "log". Aug 08 14:52:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:26 managed-node2 systemd[1]: postgresql.service: Killing process 12368 (postmaster) with signal SIGKILL. Aug 08 14:52:26 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:52:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:26 managed-node2 postmaster[15082]: 2026-08-08 14:52:26.481 EDT [15082] LOG: redirecting log output to logging collector process Aug 08 14:52:26 managed-node2 postmaster[15082]: 2026-08-08 14:52:26.481 EDT [15082] HINT: Future log output will appear in directory "log". Aug 08 14:52:26 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:27 managed-node2 systemd[1]: postgresql.service: Killing process 15083 (postmaster) with signal SIGKILL. Aug 08 14:52:27 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:52:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:55 managed-node2 postmaster[22316]: 2026-08-08 14:52:55.379 EDT [22316] LOG: redirecting log output to logging collector process Aug 08 14:52:55 managed-node2 postmaster[22316]: 2026-08-08 14:52:55.379 EDT [22316] HINT: Future log output will appear in directory "log". Aug 08 14:52:55 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:00 managed-node2 systemd[1]: postgresql.service: Killing process 22317 (postmaster) with signal SIGKILL. Aug 08 14:53:00 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:01 managed-node2 postmaster[24160]: 2026-08-08 14:53:01.048 EDT [24160] LOG: redirecting log output to logging collector process Aug 08 14:53:01 managed-node2 postmaster[24160]: 2026-08-08 14:53:01.048 EDT [24160] HINT: Future log output will appear in directory "log". Aug 08 14:53:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:03 managed-node2 systemd[1]: postgresql.service: Killing process 24161 (postmaster) with signal SIGKILL. Aug 08 14:53:03 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:19 managed-node2 postmaster[28918]: 2026-08-08 14:53:19.190 EDT [28918] LOG: redirecting log output to logging collector process Aug 08 14:53:19 managed-node2 postmaster[28918]: 2026-08-08 14:53:19.190 EDT [28918] HINT: Future log output will appear in directory "log". Aug 08 14:53:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:22 managed-node2 systemd[1]: postgresql.service: Killing process 28919 (postmaster) with signal SIGKILL. Aug 08 14:53:22 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:22 managed-node2 postmaster[29803]: 2026-08-08 14:53:22.772 EDT [29803] LOG: redirecting log output to logging collector process Aug 08 14:53:22 managed-node2 postmaster[29803]: 2026-08-08 14:53:22.772 EDT [29803] HINT: Future log output will appear in directory "log". Aug 08 14:53:22 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:23 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:40 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:40 managed-node2 postmaster[34550]: 2026-08-08 14:53:40.502 EDT [34550] LOG: redirecting log output to logging collector process Aug 08 14:53:40 managed-node2 postmaster[34550]: 2026-08-08 14:53:40.502 EDT [34550] HINT: Future log output will appear in directory "log". Aug 08 14:53:40 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:44 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:44 managed-node2 postmaster[35512]: 2026-08-08 14:53:44.057 EDT [35512] LOG: redirecting log output to logging collector process Aug 08 14:53:44 managed-node2 postmaster[35512]: 2026-08-08 14:53:44.057 EDT [35512] HINT: Future log output will appear in directory "log". Aug 08 14:53:44 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:03 managed-node2 systemd[1]: postgresql.service: Killing process 35513 (postmaster) with signal SIGKILL. Aug 08 14:54:03 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:54:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:16 managed-node2 postmaster[40811]: 2026-08-08 14:54:16.428 EDT [40811] LOG: redirecting log output to logging collector process Aug 08 14:54:16 managed-node2 postmaster[40811]: 2026-08-08 14:54:16.428 EDT [40811] HINT: Future log output will appear in directory "log". Aug 08 14:54:16 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:19 managed-node2 systemd[1]: postgresql.service: Killing process 40812 (postmaster) with signal SIGKILL. Aug 08 14:54:19 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:54:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:19 managed-node2 postmaster[41772]: 2026-08-08 14:54:19.530 EDT [41772] LOG: redirecting log output to logging collector process Aug 08 14:54:19 managed-node2 postmaster[41772]: 2026-08-08 14:54:19.530 EDT [41772] HINT: Future log output will appear in directory "log". Aug 08 14:54:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:54:41 -0400 (0:00:00.359) 0:01:12.875 ******* included: /tmp/collections-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 08 August 2026 14:54:41 -0400 (0:00:00.029) 0:01:12.905 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:54:41 -0400 (0:00:00.001) 0:01:12.906 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:54:41 -0400 (0:00:00.015) 0:01:12.922 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:54:41 -0400 (0:00:00.040) 0:01:12.962 ******* included: /tmp/collections-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:54:41 -0400 (0:00:00.024) 0:01:12.986 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:54:42 -0400 (0:00:00.786) 0:01:13.773 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-08T14:54:42-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:54:42 -0400 (0:00:00.342) 0:01:14.116 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:54:43 -0400 (0:00:00.016) 0:01:14.132 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:54:43 -0400 (0:00:00.015) 0:01:14.148 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:54:43 -0400 (0:00:00.015) 0:01:14.164 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:54:43 -0400 (0:00:00.015) 0:01:14.180 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:54:43 -0400 (0:00:00.015) 0:01:14.195 ******* 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-UhB/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-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:54:43 -0400 (0:00:00.042) 0:01:14.237 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:54:43 -0400 (0:00:00.341) 0:01:14.579 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:54:43 -0400 (0:00:00.340) 0:01:14.919 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:54:44 -0400 (0:00:00.344) 0:01:15.264 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:54:44 -0400 (0:00:00.764) 0:01:16.029 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:54:44 -0400 (0:00:00.025) 0:01:16.054 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:54:44 -0400 (0:00:00.029) 0:01:16.083 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:54:44 -0400 (0:00:00.025) 0:01:16.108 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:54:45 -0400 (0:00:00.020) 0:01:16.129 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:54:48 -0400 (0:00:03.472) 0:01:19.602 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.787887", "end": "2026-08-08 14:54:49.593238", "rc": 0, "start": "2026-08-08 14:54:48.805351" } 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:54:49 -0400 (0:00:01.167) 0:01:20.769 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:54:49 -0400 (0:00:00.018) 0:01:20.788 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:54:49 -0400 (0:00:00.017) 0:01:20.805 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:54:49 -0400 (0:00:00.016) 0:01:20.822 ******* 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": "basic.target system.slice systemd-journald.socket network-online.target sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13486", "LimitNPROCSoft": "13486", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13486", "LimitSIGPENDINGSoft": "13486", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:54:50 -0400 (0:00:01.113) 0:01:21.936 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:54:50 -0400 (0:00:00.021) 0:01:21.957 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:54:50 -0400 (0:00:00.020) 0:01:21.977 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:54:50 -0400 (0:00:00.019) 0:01:21.997 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:54:50 -0400 (0:00:00.017) 0:01:22.014 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:54:50 -0400 (0:00:00.019) 0:01:22.034 ******* included: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:54:50 -0400 (0:00:00.030) 0:01:22.065 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:54:50 -0400 (0:00:00.017) 0:01:22.083 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:54:50 -0400 (0:00:00.017) 0:01:22.100 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:54:50 -0400 (0:00:00.017) 0:01:22.117 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:54:51 -0400 (0:00:00.018) 0:01:22.136 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:54:51 -0400 (0:00:00.017) 0:01:22.154 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:54:51 -0400 (0:00:00.017) 0:01:22.171 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:54:51 -0400 (0:00:00.017) 0:01:22.188 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:54:51 -0400 (0:00:00.017) 0:01:22.206 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:54:51 -0400 (0:00:00.041) 0:01:22.247 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:54:51 -0400 (0:00:00.021) 0:01:22.269 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:54:51 -0400 (0:00:00.361) 0:01:22.631 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:54:51 -0400 (0:00:00.355) 0:01:22.986 ******* 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-1786215291.9108655-14337-121262548921726/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:54:52 -0400 (0:00:00.703) 0:01:23.689 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:54:52 -0400 (0:00:00.021) 0:01:23.711 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:54:52 -0400 (0:00:00.020) 0:01:23.731 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-08T14:54:52-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:54:52 -0400 (0:00:00.362) 0:01:24.093 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 08 August 2026 14:54:52 -0400 (0:00:00.018) 0:01:24.112 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:54:52 -0400 (0:00:00.005) 0:01:24.117 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-08 14:54:50 EDT", "ActiveEnterTimestampMonotonic": "361247924", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target systemd-journald.socket network-online.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:54:50 EDT", "AssertTimestampMonotonic": "361195682", "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": "34102000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-08 14:54:50 EDT", "ConditionTimestampMonotonic": "361195680", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7799", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "47066", "ExecMainStartTimestamp": "Sat 2026-08-08 14:54:50 EDT", "ExecMainStartTimestampMonotonic": "361207484", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-08 14:54:50 EDT] ; stop_time=[n/a] ; pid=47066 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-08 14:54:50 EDT] ; stop_time=[n/a] ; pid=47066 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-08 14:54:50 EDT] ; stop_time=[Sat 2026-08-08 14:54:50 EDT] ; pid=47064 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[Sat 2026-08-08 14:54:50 EDT] ; stop_time=[Sat 2026-08-08 14:54:50 EDT] ; pid=47064 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-08 14:54:50 EDT", "InactiveExitTimestampMonotonic": "361202356", "InvocationID": "87bc37918a694e499f6c63e857a91375", "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": "47066", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18591744", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18878464", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-08 14:54:50 EDT", "StateChangeTimestampMonotonic": "361247924", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:54:53 -0400 (0:00:00.942) 0:01:25.060 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.009053", "end": "2026-08-08 14:54:54.243152", "rc": 0, "start": "2026-08-08 14:54:54.234099" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:54:54 -0400 (0:00:00.356) 0:01:25.416 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009874", "end": "2026-08-08 14:54:54.600460", "rc": 0, "start": "2026-08-08 14:54:54.590586" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:54:54 -0400 (0:00:00.358) 0:01:25.774 ******* ASYNC OK on managed-node2: jid=j918301487155.48509 ok: [managed-node2] => { "ansible_job_id": "j918301487155.48509", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014471", "end": "2026-08-08 14:54:55.182020", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j918301487155.48509", "start": "2026-08-08 14:54:55.167549", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:55:10 -0400 (0:00:16.072) 0:01:41.847 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011224", "end": "2026-08-08 14:55:11.052739", "rc": 0, "start": "2026-08-08 14:55:11.041515" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:55:11 -0400 (0:00:00.383) 0:01:42.230 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:55:11 -0400 (0:00:00.030) 0:01:42.261 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011105", "end": "2026-08-08 14:55:11.465990", "rc": 0, "start": "2026-08-08 14:55:11.454885" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:55:11 -0400 (0:00:00.381) 0:01:42.642 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:55:11 -0400 (0:00:00.031) 0:01:42.673 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010707", "end": "2026-08-08 14:55:11.863521", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:55:11.852814" } STDOUT: postgres (PostgreSQL) 16.8 TASK [Clean up] **************************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:55:11 -0400 (0:00:00.370) 0:01:43.044 ******* included: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 08 August 2026 14:55:11 -0400 (0:00:00.031) 0:01:43.076 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:55:11 -0400 (0:00:00.004) 0:01:43.080 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:55:13 -0400 (0:00:01.985) 0:01:45.066 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:55:13 -0400 (0:00:00.019) 0:01:45.085 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:55:14 -0400 (0:00:00.395) 0:01:45.481 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:55:15 -0400 (0:00:01.366) 0:01:46.847 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008541", "end": "2026-08-08 14:55:16.030693", "rc": 0, "start": "2026-08-08 14:55:16.022152" } STDOUT: Aug 08 14:52:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:18 managed-node2 postmaster[12367]: 2026-08-08 14:52:18.354 EDT [12367] LOG: redirecting log output to logging collector process Aug 08 14:52:18 managed-node2 postmaster[12367]: 2026-08-08 14:52:18.354 EDT [12367] HINT: Future log output will appear in directory "log". Aug 08 14:52:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:26 managed-node2 systemd[1]: postgresql.service: Killing process 12368 (postmaster) with signal SIGKILL. Aug 08 14:52:26 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:52:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:26 managed-node2 postmaster[15082]: 2026-08-08 14:52:26.481 EDT [15082] LOG: redirecting log output to logging collector process Aug 08 14:52:26 managed-node2 postmaster[15082]: 2026-08-08 14:52:26.481 EDT [15082] HINT: Future log output will appear in directory "log". Aug 08 14:52:26 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:27 managed-node2 systemd[1]: postgresql.service: Killing process 15083 (postmaster) with signal SIGKILL. Aug 08 14:52:27 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:52:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:55 managed-node2 postmaster[22316]: 2026-08-08 14:52:55.379 EDT [22316] LOG: redirecting log output to logging collector process Aug 08 14:52:55 managed-node2 postmaster[22316]: 2026-08-08 14:52:55.379 EDT [22316] HINT: Future log output will appear in directory "log". Aug 08 14:52:55 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:00 managed-node2 systemd[1]: postgresql.service: Killing process 22317 (postmaster) with signal SIGKILL. Aug 08 14:53:00 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:01 managed-node2 postmaster[24160]: 2026-08-08 14:53:01.048 EDT [24160] LOG: redirecting log output to logging collector process Aug 08 14:53:01 managed-node2 postmaster[24160]: 2026-08-08 14:53:01.048 EDT [24160] HINT: Future log output will appear in directory "log". Aug 08 14:53:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:03 managed-node2 systemd[1]: postgresql.service: Killing process 24161 (postmaster) with signal SIGKILL. Aug 08 14:53:03 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:19 managed-node2 postmaster[28918]: 2026-08-08 14:53:19.190 EDT [28918] LOG: redirecting log output to logging collector process Aug 08 14:53:19 managed-node2 postmaster[28918]: 2026-08-08 14:53:19.190 EDT [28918] HINT: Future log output will appear in directory "log". Aug 08 14:53:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:22 managed-node2 systemd[1]: postgresql.service: Killing process 28919 (postmaster) with signal SIGKILL. Aug 08 14:53:22 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:22 managed-node2 postmaster[29803]: 2026-08-08 14:53:22.772 EDT [29803] LOG: redirecting log output to logging collector process Aug 08 14:53:22 managed-node2 postmaster[29803]: 2026-08-08 14:53:22.772 EDT [29803] HINT: Future log output will appear in directory "log". Aug 08 14:53:22 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:23 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:40 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:40 managed-node2 postmaster[34550]: 2026-08-08 14:53:40.502 EDT [34550] LOG: redirecting log output to logging collector process Aug 08 14:53:40 managed-node2 postmaster[34550]: 2026-08-08 14:53:40.502 EDT [34550] HINT: Future log output will appear in directory "log". Aug 08 14:53:40 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:44 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:44 managed-node2 postmaster[35512]: 2026-08-08 14:53:44.057 EDT [35512] LOG: redirecting log output to logging collector process Aug 08 14:53:44 managed-node2 postmaster[35512]: 2026-08-08 14:53:44.057 EDT [35512] HINT: Future log output will appear in directory "log". Aug 08 14:53:44 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:03 managed-node2 systemd[1]: postgresql.service: Killing process 35513 (postmaster) with signal SIGKILL. Aug 08 14:54:03 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:54:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:16 managed-node2 postmaster[40811]: 2026-08-08 14:54:16.428 EDT [40811] LOG: redirecting log output to logging collector process Aug 08 14:54:16 managed-node2 postmaster[40811]: 2026-08-08 14:54:16.428 EDT [40811] HINT: Future log output will appear in directory "log". Aug 08 14:54:16 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:19 managed-node2 systemd[1]: postgresql.service: Killing process 40812 (postmaster) with signal SIGKILL. Aug 08 14:54:19 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:54:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:19 managed-node2 postmaster[41772]: 2026-08-08 14:54:19.530 EDT [41772] LOG: redirecting log output to logging collector process Aug 08 14:54:19 managed-node2 postmaster[41772]: 2026-08-08 14:54:19.530 EDT [41772] HINT: Future log output will appear in directory "log". Aug 08 14:54:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:50 managed-node2 postgres[47066]: 2026-08-08 14:54:50.731 EDT [47066] LOG: redirecting log output to logging collector process Aug 08 14:54:50 managed-node2 postgres[47066]: 2026-08-08 14:54:50.731 EDT [47066] HINT: Future log output will appear in directory "log". Aug 08 14:54:50 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:53 managed-node2 systemd[1]: postgresql.service: Killing process 47067 (postgres) with signal SIGKILL. Aug 08 14:54:53 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:54:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:53 managed-node2 postgres[48027]: 2026-08-08 14:54:53.857 EDT [48027] LOG: redirecting log output to logging collector process Aug 08 14:54:53 managed-node2 postgres[48027]: 2026-08-08 14:54:53.857 EDT [48027] HINT: Future log output will appear in directory "log". Aug 08 14:54:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:13 managed-node2 systemd[1]: postgresql.service: Killing process 48028 (postgres) with signal SIGKILL. Aug 08 14:55:13 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:55:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.359) 0:01:47.207 ******* included: /tmp/collections-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.028) 0:01:47.236 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.001) 0:01:47.237 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.016) 0:01:47.253 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.042) 0:01:47.295 ******* included: /tmp/collections-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.025) 0:01:47.321 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 08 August 2026 14:55:16 -0400 (0:00:00.785) 0:01:48.106 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-08T14:55:17-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "begin" } } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.346) 0:01:48.452 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.017) 0:01:48.470 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.018) 0:01:48.489 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.017) 0:01:48.506 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.016) 0:01:48.522 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.016) 0:01:48.539 ******* 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-UhB/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-UhB/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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.036) 0:01:48.576 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 08 August 2026 14:55:17 -0400 (0:00:00.340) 0:01:48.916 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 08 August 2026 14:55:18 -0400 (0:00:00.339) 0:01:49.256 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 08 August 2026 14:55:18 -0400 (0:00:00.339) 0:01:49.596 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 08 August 2026 14:55:19 -0400 (0:00:00.758) 0:01:50.354 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 08 August 2026 14:55:19 -0400 (0:00:00.024) 0:01:50.378 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 08 August 2026 14:55:19 -0400 (0:00:00.026) 0:01:50.405 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 08 August 2026 14:55:19 -0400 (0:00:00.023) 0:01:50.428 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 08 August 2026 14:55:19 -0400 (0:00:00.047) 0:01:50.476 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 08 August 2026 14:55:23 -0400 (0:00:04.134) 0:01:54.610 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.816443", "end": "2026-08-08 14:55:24.634578", "rc": 0, "start": "2026-08-08 14:55:23.818135" } 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 08 August 2026 14:55:24 -0400 (0:00:01.199) 0:01:55.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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 08 August 2026 14:55:24 -0400 (0:00:00.019) 0:01:55.829 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 08 August 2026 14:55:24 -0400 (0:00:00.018) 0:01:55.848 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 08 August 2026 14:55:24 -0400 (0:00:00.017) 0:01:55.865 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice network-online.target basic.target sysinit.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": "system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "infinity" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 08 August 2026 14:55:25 -0400 (0:00:01.145) 0:01:57.010 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 08 August 2026 14:55:25 -0400 (0:00:00.021) 0:01:57.032 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 08 August 2026 14:55:25 -0400 (0:00:00.021) 0:01:57.054 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 08 August 2026 14:55:25 -0400 (0:00:00.020) 0:01:57.074 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 08 August 2026 14:55:25 -0400 (0:00:00.016) 0:01:57.091 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 08 August 2026 14:55:25 -0400 (0:00:00.020) 0:01:57.111 ******* included: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.030) 0:01:57.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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.018) 0:01:57.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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.017) 0:01:57.178 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.018) 0:01:57.196 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.017) 0:01:57.214 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.017) 0:01:57.232 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.017) 0:01:57.250 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.019) 0:01:57.269 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.016) 0:01:57.285 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.015) 0:01:57.301 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.019) 0:01:57.321 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.357) 0:01:57.678 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 08 August 2026 14:55:26 -0400 (0:00:00.353) 0:01:58.031 ******* 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-1786215326.9560935-14734-102727640917339/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 08 August 2026 14:55:27 -0400 (0:00:00.698) 0:01:58.729 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 08 August 2026 14:55:27 -0400 (0:00:00.021) 0:01:58.751 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 08 August 2026 14:55:27 -0400 (0:00:00.021) 0:01:58.772 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-08T14:55:27-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 08 August 2026 14:55:28 -0400 (0:00:00.359) 0:01:59.132 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 08 August 2026 14:55:28 -0400 (0:00:00.018) 0:01:59.150 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 08 August 2026 14:55:28 -0400 (0:00:00.006) 0:01:59.156 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-08 14:55:25 EDT", "ActiveEnterTimestampMonotonic": "396321242", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice systemd-journald.socket basic.target network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-08 14:55:25 EDT", "AssertTimestampMonotonic": "396256655", "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": "40515000", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-08-08 14:55:25 EDT", "ConditionTimestampMonotonic": "396256653", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "8437", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "53335", "ExecMainStartTimestamp": "Sat 2026-08-08 14:55:25 EDT", "ExecMainStartTimestampMonotonic": "396277188", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-08-08 14:55:25 EDT] ; stop_time=[n/a] ; pid=53335 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-08 14:55:25 EDT] ; stop_time=[n/a] ; pid=53335 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-08 14:55:25 EDT] ; stop_time=[Sat 2026-08-08 14:55:25 EDT] ; pid=53333 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[Sat 2026-08-08 14:55:25 EDT] ; stop_time=[Sat 2026-08-08 14:55:25 EDT] ; pid=53333 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-08 14:55:25 EDT", "InactiveExitTimestampMonotonic": "396271358", "InvocationID": "b6e664a788094761bcd4f5efc7465586", "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": "53335", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "23334912", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "23392256", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-08-08 14:55:25 EDT", "StateChangeTimestampMonotonic": "396321242", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "10", "TasksMax": "21578", "TimeoutAbortUSec": "infinity", "TimeoutCleanUSec": "infinity", "TimeoutStartFailureMode": "terminate", "TimeoutStartUSec": "infinity", "TimeoutStopFailureMode": "terminate", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogSignal": "6", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 08 August 2026 14:55:28 -0400 (0:00:00.957) 0:02:00.114 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008690", "end": "2026-08-08 14:55:29.299510", "rc": 0, "start": "2026-08-08 14:55:29.290820" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 08 August 2026 14:55:29 -0400 (0:00:00.358) 0:02:00.473 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009235", "end": "2026-08-08 14:55:29.660265", "rc": 0, "start": "2026-08-08 14:55:29.651030" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 08 August 2026 14:55:29 -0400 (0:00:00.360) 0:02:00.833 ******* ASYNC OK on managed-node2: jid=j754846938834.54784 ok: [managed-node2] => { "ansible_job_id": "j754846938834.54784", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.015095", "end": "2026-08-08 14:55:30.236090", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j754846938834.54784", "start": "2026-08-08 14:55:30.220995", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 08 August 2026 14:55:45 -0400 (0:00:16.050) 0:02:16.884 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011521", "end": "2026-08-08 14:55:46.086063", "rc": 0, "start": "2026-08-08 14:55:46.074542" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 08 August 2026 14:55:46 -0400 (0:00:00.376) 0:02:17.261 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 08 August 2026 14:55:46 -0400 (0:00:00.031) 0:02:17.292 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011306", "end": "2026-08-08 14:55:46.492282", "rc": 0, "start": "2026-08-08 14:55:46.480976" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 08 August 2026 14:55:46 -0400 (0:00:00.375) 0:02:17.667 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 08 August 2026 14:55:46 -0400 (0:00:00.032) 0:02:17.700 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010447", "end": "2026-08-08 14:55:46.888666", "failed_when_result": false, "rc": 0, "start": "2026-08-08 14:55:46.878219" } STDOUT: postgres (PostgreSQL) 18.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 08 August 2026 14:55:46 -0400 (0:00:00.366) 0:02:18.067 ******* included: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 08 August 2026 14:55:46 -0400 (0:00:00.032) 0:02:18.099 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 08 August 2026 14:55:46 -0400 (0:00:00.005) 0:02:18.105 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 08 August 2026 14:55:49 -0400 (0:00:02.017) 0:02:20.123 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 08 August 2026 14:55:49 -0400 (0:00:00.018) 0:02:20.142 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 08 August 2026 14:55:49 -0400 (0:00:00.394) 0:02:20.536 ******* 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-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 08 August 2026 14:55:50 -0400 (0:00:01.366) 0:02:21.903 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008776", "end": "2026-08-08 14:55:51.084268", "rc": 0, "start": "2026-08-08 14:55:51.075492" } STDOUT: Aug 08 14:52:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:18 managed-node2 postmaster[12367]: 2026-08-08 14:52:18.354 EDT [12367] LOG: redirecting log output to logging collector process Aug 08 14:52:18 managed-node2 postmaster[12367]: 2026-08-08 14:52:18.354 EDT [12367] HINT: Future log output will appear in directory "log". Aug 08 14:52:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:26 managed-node2 systemd[1]: postgresql.service: Killing process 12368 (postmaster) with signal SIGKILL. Aug 08 14:52:26 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:52:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:26 managed-node2 postmaster[15082]: 2026-08-08 14:52:26.481 EDT [15082] LOG: redirecting log output to logging collector process Aug 08 14:52:26 managed-node2 postmaster[15082]: 2026-08-08 14:52:26.481 EDT [15082] HINT: Future log output will appear in directory "log". Aug 08 14:52:26 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:52:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:52:27 managed-node2 systemd[1]: postgresql.service: Killing process 15083 (postmaster) with signal SIGKILL. Aug 08 14:52:27 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:52:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:52:55 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:52:55 managed-node2 postmaster[22316]: 2026-08-08 14:52:55.379 EDT [22316] LOG: redirecting log output to logging collector process Aug 08 14:52:55 managed-node2 postmaster[22316]: 2026-08-08 14:52:55.379 EDT [22316] HINT: Future log output will appear in directory "log". Aug 08 14:52:55 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:00 managed-node2 systemd[1]: postgresql.service: Killing process 22317 (postmaster) with signal SIGKILL. Aug 08 14:53:00 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:01 managed-node2 postmaster[24160]: 2026-08-08 14:53:01.048 EDT [24160] LOG: redirecting log output to logging collector process Aug 08 14:53:01 managed-node2 postmaster[24160]: 2026-08-08 14:53:01.048 EDT [24160] HINT: Future log output will appear in directory "log". Aug 08 14:53:01 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:03 managed-node2 systemd[1]: postgresql.service: Killing process 24161 (postmaster) with signal SIGKILL. Aug 08 14:53:03 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:19 managed-node2 postmaster[28918]: 2026-08-08 14:53:19.190 EDT [28918] LOG: redirecting log output to logging collector process Aug 08 14:53:19 managed-node2 postmaster[28918]: 2026-08-08 14:53:19.190 EDT [28918] HINT: Future log output will appear in directory "log". Aug 08 14:53:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:22 managed-node2 systemd[1]: postgresql.service: Killing process 28919 (postmaster) with signal SIGKILL. Aug 08 14:53:22 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:22 managed-node2 postmaster[29803]: 2026-08-08 14:53:22.772 EDT [29803] LOG: redirecting log output to logging collector process Aug 08 14:53:22 managed-node2 postmaster[29803]: 2026-08-08 14:53:22.772 EDT [29803] HINT: Future log output will appear in directory "log". Aug 08 14:53:22 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:23 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:40 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:40 managed-node2 postmaster[34550]: 2026-08-08 14:53:40.502 EDT [34550] LOG: redirecting log output to logging collector process Aug 08 14:53:40 managed-node2 postmaster[34550]: 2026-08-08 14:53:40.502 EDT [34550] HINT: Future log output will appear in directory "log". Aug 08 14:53:40 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:53:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:53:44 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:53:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:53:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:53:44 managed-node2 postmaster[35512]: 2026-08-08 14:53:44.057 EDT [35512] LOG: redirecting log output to logging collector process Aug 08 14:53:44 managed-node2 postmaster[35512]: 2026-08-08 14:53:44.057 EDT [35512] HINT: Future log output will appear in directory "log". Aug 08 14:53:44 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:03 managed-node2 systemd[1]: postgresql.service: Killing process 35513 (postmaster) with signal SIGKILL. Aug 08 14:54:03 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:54:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:16 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:16 managed-node2 postmaster[40811]: 2026-08-08 14:54:16.428 EDT [40811] LOG: redirecting log output to logging collector process Aug 08 14:54:16 managed-node2 postmaster[40811]: 2026-08-08 14:54:16.428 EDT [40811] HINT: Future log output will appear in directory "log". Aug 08 14:54:16 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:19 managed-node2 systemd[1]: postgresql.service: Killing process 40812 (postmaster) with signal SIGKILL. Aug 08 14:54:19 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:54:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:19 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:19 managed-node2 postmaster[41772]: 2026-08-08 14:54:19.530 EDT [41772] LOG: redirecting log output to logging collector process Aug 08 14:54:19 managed-node2 postmaster[41772]: 2026-08-08 14:54:19.530 EDT [41772] HINT: Future log output will appear in directory "log". Aug 08 14:54:19 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:39 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:54:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:50 managed-node2 postgres[47066]: 2026-08-08 14:54:50.731 EDT [47066] LOG: redirecting log output to logging collector process Aug 08 14:54:50 managed-node2 postgres[47066]: 2026-08-08 14:54:50.731 EDT [47066] HINT: Future log output will appear in directory "log". Aug 08 14:54:50 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:54:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:54:53 managed-node2 systemd[1]: postgresql.service: Killing process 47067 (postgres) with signal SIGKILL. Aug 08 14:54:53 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:54:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:54:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:54:53 managed-node2 postgres[48027]: 2026-08-08 14:54:53.857 EDT [48027] LOG: redirecting log output to logging collector process Aug 08 14:54:53 managed-node2 postgres[48027]: 2026-08-08 14:54:53.857 EDT [48027] HINT: Future log output will appear in directory "log". Aug 08 14:54:53 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:13 managed-node2 systemd[1]: postgresql.service: Killing process 48028 (postgres) with signal SIGKILL. Aug 08 14:55:13 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:55:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:25 managed-node2 postgres[53335]: 2026-08-08 14:55:25.803 EDT [53335] LOG: redirecting log output to logging collector process Aug 08 14:55:25 managed-node2 postgres[53335]: 2026-08-08 14:55:25.803 EDT [53335] HINT: Future log output will appear in directory "log". Aug 08 14:55:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:28 managed-node2 systemd[1]: postgresql.service: Killing process 53336 (postgres) with signal SIGKILL. Aug 08 14:55:28 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:55:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 08 14:55:28 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 08 14:55:28 managed-node2 postgres[54299]: 2026-08-08 14:55:28.910 EDT [54299] LOG: redirecting log output to logging collector process Aug 08 14:55:28 managed-node2 postgres[54299]: 2026-08-08 14:55:28.910 EDT [54299] HINT: Future log output will appear in directory "log". Aug 08 14:55:28 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 08 14:55:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 08 14:55:48 managed-node2 systemd[1]: postgresql.service: Killing process 54300 (postgres) with signal SIGKILL. Aug 08 14:55:48 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 08 14:55:48 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 08 August 2026 14:55:51 -0400 (0:00:00.350) 0:02:22.253 ******* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.25s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 16.07s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 16.05s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 16.04s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.39s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.13s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.49s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.47s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 2.02s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.99s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.99s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.91s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Remove config files ----------------------------------------------------- 1.38s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.37s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.37s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.36s /tmp/collections-UhB/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.34s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 1.20s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 1.17s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 1.17s /tmp/collections-UhB/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58