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-hjY 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-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 22 August 2026 14:44:24 -0400 (0:00:00.028) 0:00:00.028 ******* [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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 22 August 2026 14:44:25 -0400 (0:00:01.072) 0:00:01.100 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 22 August 2026 14:44:25 -0400 (0:00:00.005) 0:00:01.106 ******* included: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:44:25 -0400 (0:00:00.035) 0:00:01.141 ******* included: /tmp/collections-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 22 August 2026 14:44:25 -0400 (0:00:00.038) 0:00:01.180 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:44:25 -0400 (0:00:00.000) 0:00:01.180 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:44:25 -0400 (0:00:00.015) 0:00:01.196 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:44:25 -0400 (0:00:00.077) 0:00:01.273 ******* included: /tmp/collections-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:44:25 -0400 (0:00:00.026) 0:00:01.300 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:44:26 -0400 (0:00:00.802) 0:00:02.102 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-22T14:44:27-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:44:27 -0400 (0:00:00.429) 0:00:02.532 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:44:27 -0400 (0:00:00.423) 0:00:02.956 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:44:27 -0400 (0:00:00.020) 0:00:02.976 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008039", "end": "2026-08-22 14:44:27.950220", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:44:27.942181" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:44:27 -0400 (0:00:00.429) 0:00:03.405 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:44:28 -0400 (0:00:00.017) 0:00:03.423 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:44:28 -0400 (0:00:00.019) 0:00:03.443 ******* 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-hjY/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-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:44:28 -0400 (0:00:00.040) 0:00:03.484 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:44:28 -0400 (0:00:00.335) 0:00:03.820 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:44:28 -0400 (0:00:00.332) 0:00:04.152 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:44:29 -0400 (0:00:00.337) 0:00:04.490 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:44:30 -0400 (0:00:00.964) 0:00:05.454 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:44:30 -0400 (0:00:00.023) 0:00:05.478 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:44:30 -0400 (0:00:00.034) 0:00:05.512 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:44:30 -0400 (0:00:00.024) 0:00:05.537 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:44:30 -0400 (0:00:00.018) 0:00:05.556 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Installed: postgresql-server-13.23-3.el9.x86_64", "Installed: postgresql-private-libs-13.23-3.el9.x86_64", "Installed: postgresql-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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:44:33 -0400 (0:00:03.521) 0:00:09.077 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.704682", "end": "2026-08-22 14:44:34.670548", "rc": 0, "start": "2026-08-22 14:44:33.965866" } 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:44:34 -0400 (0:00:01.055) 0:00:10.133 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:44:34 -0400 (0:00:00.023) 0:00:10.157 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:44:34 -0400 (0:00:00.017) 0:00:10.174 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:44:34 -0400 (0:00:00.017) 0:00:10.192 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice basic.target sysinit.target network.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13486", "LimitNPROCSoft": "13486", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13486", "LimitSIGPENDINGSoft": "13486", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "2", "RestartMode": "normal", "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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:44:36 -0400 (0:00:01.330) 0:00:11.523 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.033) 0:00:11.557 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.032) 0:00:11.590 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.021) 0:00:11.611 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.022) 0:00:11.633 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.021) 0:00:11.655 ******* included: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.037) 0:00:11.693 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.026) 0:00:11.720 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.021) 0:00:11.741 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.019) 0:00:11.760 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.020) 0:00:11.781 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.020) 0:00:11.802 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.019) 0:00:11.821 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.018) 0:00:11.839 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.016) 0:00:11.856 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.018) 0:00:11.875 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.020) 0:00:11.896 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:44:36 -0400 (0:00:00.509) 0:00:12.405 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:44:37 -0400 (0:00:00.513) 0:00:12.918 ******* 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-1787424277.5533044-13320-132476786491789/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:44:38 -0400 (0:00:00.845) 0:00:13.764 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:44:38 -0400 (0:00:00.043) 0:00:13.808 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:44:38 -0400 (0:00:00.021) 0:00:13.830 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-22T14:44:38-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:44:38 -0400 (0:00:00.354) 0:00:14.184 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 22 August 2026 14:44:38 -0400 (0:00:00.018) 0:00:14.203 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:44:38 -0400 (0:00:00.004) 0:00:14.208 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-22 14:44:36 EDT", "ActiveEnterTimestampMonotonic": "280571250", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target system.slice basic.target network.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:44:35 EDT", "AssertTimestampMonotonic": "280528312", "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": "33677000", "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-22 14:44:35 EDT", "ConditionTimestampMonotonic": "280528311", "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": "34551", "ExecMainStartTimestamp": "Sat 2026-08-22 14:44:36 EDT", "ExecMainStartTimestampMonotonic": "280538284", "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-22 14:44:36 EDT] ; stop_time=[n/a] ; pid=34551 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-22 14:44:36 EDT] ; stop_time=[n/a] ; pid=34551 ; 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-22 14:44:36 EDT] ; stop_time=[Sat 2026-08-22 14:44:36 EDT] ; pid=34549 ; 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-22 14:44:36 EDT] ; stop_time=[Sat 2026-08-22 14:44:36 EDT] ; pid=34549 ; 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-22 14:44:36 EDT", "InactiveExitTimestampMonotonic": "280533303", "InvocationID": "0183c7518ee449b692798a2d33047914", "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": "34551", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17649664", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "17981440", "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", "RestartMode": "normal", "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-22 14:44:36 EDT", "StateChangeTimestampMonotonic": "280571250", "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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:44:39 -0400 (0:00:00.917) 0:00:15.125 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008512", "end": "2026-08-22 14:44:40.024403", "rc": 0, "start": "2026-08-22 14:44:40.015891" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:44:40 -0400 (0:00:00.375) 0:00:15.501 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008829", "end": "2026-08-22 14:44:40.402614", "rc": 0, "start": "2026-08-22 14:44:40.393785" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:44:40 -0400 (0:00:00.362) 0:00:15.863 ******* ASYNC OK on managed-node2: jid=j354603941653.35996 ok: [managed-node2] => { "ansible_job_id": "j354603941653.35996", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013099", "end": "2026-08-22 14:44:41.075181", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j354603941653.35996", "start": "2026-08-22 14:44:41.062082", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:44:56 -0400 (0:00:16.240) 0:00:32.104 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010221", "end": "2026-08-22 14:44:57.008508", "rc": 0, "start": "2026-08-22 14:44:56.998287" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.366) 0:00:32.470 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.030) 0:00:32.501 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010366", "end": "2026-08-22 14:44:57.402758", "rc": 0, "start": "2026-08-22 14:44:57.392392" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.363) 0:00:32.864 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.030) 0:00:32.895 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009432", "end": "2026-08-22 14:44:57.784228", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:44:57.774796" } STDOUT: postgres (PostgreSQL) 13.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.358) 0:00:33.253 ******* included: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.032) 0:00:33.286 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:44:57 -0400 (0:00:00.004) 0:00:33.290 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:44:59 -0400 (0:00:01.859) 0:00:35.149 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:44:59 -0400 (0:00:00.019) 0:00:35.169 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:45:00 -0400 (0:00:00.388) 0:00:35.557 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:45:01 -0400 (0:00:01.333) 0:00:36.890 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007454", "end": "2026-08-22 14:45:01.776418", "rc": 0, "start": "2026-08-22 14:45:01.768964" } STDOUT: Aug 22 14:43:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:14 managed-node2 postmaster[12349]: 2026-08-22 14:43:14.452 EDT [12349] LOG: redirecting log output to logging collector process Aug 22 14:43:14 managed-node2 postmaster[12349]: 2026-08-22 14:43:14.452 EDT [12349] HINT: Future log output will appear in directory "log". Aug 22 14:43:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:22 managed-node2 systemd[1]: postgresql.service: Killing process 12350 (postmaster) with signal SIGKILL. Aug 22 14:43:22 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:22 managed-node2 postmaster[15064]: 2026-08-22 14:43:22.533 EDT [15064] LOG: redirecting log output to logging collector process Aug 22 14:43:22 managed-node2 postmaster[15064]: 2026-08-22 14:43:22.533 EDT [15064] HINT: Future log output will appear in directory "log". Aug 22 14:43:22 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Killing process 15065 (postmaster) with signal SIGKILL. Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:50 managed-node2 postmaster[22515]: 2026-08-22 14:43:50.708 EDT [22515] LOG: redirecting log output to logging collector process Aug 22 14:43:50 managed-node2 postmaster[22515]: 2026-08-22 14:43:50.708 EDT [22515] HINT: Future log output will appear in directory "log". Aug 22 14:43:50 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:56 managed-node2 systemd[1]: postgresql.service: Killing process 22516 (postmaster) with signal SIGKILL. Aug 22 14:43:56 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:56 managed-node2 postmaster[24359]: 2026-08-22 14:43:56.606 EDT [24359] LOG: redirecting log output to logging collector process Aug 22 14:43:56 managed-node2 postmaster[24359]: 2026-08-22 14:43:56.606 EDT [24359] HINT: Future log output will appear in directory "log". Aug 22 14:43:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 24360 (postmaster) with signal SIGKILL. Aug 22 14:43:59 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:14 managed-node2 postmaster[29094]: 2026-08-22 14:44:14.632 EDT [29094] LOG: redirecting log output to logging collector process Aug 22 14:44:14 managed-node2 postmaster[29094]: 2026-08-22 14:44:14.632 EDT [29094] HINT: Future log output will appear in directory "log". Aug 22 14:44:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:18 managed-node2 systemd[1]: postgresql.service: Killing process 29095 (postmaster) with signal SIGKILL. Aug 22 14:44:18 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:18 managed-node2 postmaster[29979]: 2026-08-22 14:44:18.053 EDT [29979] LOG: redirecting log output to logging collector process Aug 22 14:44:18 managed-node2 postmaster[29979]: 2026-08-22 14:44:18.053 EDT [29979] HINT: Future log output will appear in directory "log". Aug 22 14:44:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:19 managed-node2 systemd[1]: postgresql.service: Killing process 29980 (postmaster) with signal SIGKILL. Aug 22 14:44:19 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:36 managed-node2 postmaster[34551]: 2026-08-22 14:44:36.028 EDT [34551] LOG: redirecting log output to logging collector process Aug 22 14:44:36 managed-node2 postmaster[34551]: 2026-08-22 14:44:36.028 EDT [34551] HINT: Future log output will appear in directory "log". Aug 22 14:44:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:39 managed-node2 systemd[1]: postgresql.service: Killing process 34552 (postmaster) with signal SIGKILL. Aug 22 14:44:39 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:39 managed-node2 postmaster[35513]: 2026-08-22 14:44:39.631 EDT [35513] LOG: redirecting log output to logging collector process Aug 22 14:44:39 managed-node2 postmaster[35513]: 2026-08-22 14:44:39.631 EDT [35513] HINT: Future log output will appear in directory "log". Aug 22 14:44:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:59 managed-node2 systemd[1]: postgresql.service: Killing process 35514 (postmaster) with signal SIGKILL. Aug 22 14:44:59 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 22 August 2026 14:45:01 -0400 (0:00:00.345) 0:00:37.236 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 22 August 2026 14:45:01 -0400 (0:00:00.012) 0:00:37.249 ******* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 22 August 2026 14:45:01 -0400 (0:00:00.025) 0:00:37.274 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=18) included: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:45:01 -0400 (0:00:00.076) 0:00:37.350 ******* included: /tmp/collections-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 22 August 2026 14:45:01 -0400 (0:00:00.028) 0:00:37.378 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:45:01 -0400 (0:00:00.000) 0:00:37.379 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:45:01 -0400 (0:00:00.015) 0:00:37.394 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:45:02 -0400 (0:00:00.040) 0:00:37.435 ******* included: /tmp/collections-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:45:02 -0400 (0:00:00.025) 0:00:37.460 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:45:02 -0400 (0:00:00.778) 0:00:38.239 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-22T14:45:03-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:45:03 -0400 (0:00:00.337) 0:00:38.577 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:45:03 -0400 (0:00:00.016) 0:00:38.593 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:45:03 -0400 (0:00:00.015) 0:00:38.609 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:45:03 -0400 (0:00:00.015) 0:00:38.625 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:45:03 -0400 (0:00:00.016) 0:00:38.641 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:45:03 -0400 (0:00:00.015) 0:00:38.657 ******* [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-hjY/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-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:45:03 -0400 (0:00:00.038) 0:00:38.696 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:45:03 -0400 (0:00:00.336) 0:00:39.032 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:45:03 -0400 (0:00:00.331) 0:00:39.364 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:45:04 -0400 (0:00:00.336) 0:00:39.700 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:45:05 -0400 (0:00:00.754) 0:00:40.455 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:45:05 -0400 (0:00:00.025) 0:00:40.480 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:45:05 -0400 (0:00:00.028) 0:00:40.509 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:45:05 -0400 (0:00:00.094) 0:00:40.604 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:45:05 -0400 (0:00:00.022) 0:00:40.626 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:45:09 -0400 (0:00:04.078) 0:00:44.704 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.805579", "end": "2026-08-22 14:45:10.433279", "rc": 0, "start": "2026-08-22 14:45:09.627700" } 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:45:10 -0400 (0:00:01.192) 0:00:45.897 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:45:10 -0400 (0:00:00.020) 0:00:45.917 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:45:10 -0400 (0:00:00.018) 0:00:45.936 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:45:10 -0400 (0:00:00.018) 0:00:45.955 ******* 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 systemd-journald.socket network-online.target sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13486", "LimitNPROCSoft": "13486", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13486", "LimitSIGPENDINGSoft": "13486", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartMode": "normal", "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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:45:11 -0400 (0:00:01.098) 0:00:47.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 : Set password for super user] ****** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.022) 0:00:47.076 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.021) 0:00:47.098 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.020) 0:00:47.118 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.016) 0:00:47.135 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.021) 0:00:47.156 ******* included: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.029) 0:00:47.185 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.017) 0:00:47.203 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.018) 0:00:47.222 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.017) 0:00:47.239 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.017) 0:00:47.257 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.018) 0:00:47.275 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.020) 0:00:47.296 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.019) 0:00:47.315 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.016) 0:00:47.332 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.016) 0:00:47.348 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:45:11 -0400 (0:00:00.021) 0:00:47.369 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:45:12 -0400 (0:00:00.354) 0:00:47.724 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:45:12 -0400 (0:00:00.347) 0:00:48.071 ******* 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-1787424312.7053864-13927-255083616335288/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:45:13 -0400 (0:00:00.679) 0:00:48.750 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:45:13 -0400 (0:00:00.021) 0:00:48.772 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:45:13 -0400 (0:00:00.020) 0:00:48.792 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-22T14:45:13-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:45:13 -0400 (0:00:00.352) 0:00:49.145 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 22 August 2026 14:45:13 -0400 (0:00:00.019) 0:00:49.164 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:45:13 -0400 (0:00:00.004) 0:00:49.169 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-22 14:45:11 EDT", "ActiveEnterTimestampMonotonic": "316110874", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice network-online.target basic.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:45:11 EDT", "AssertTimestampMonotonic": "316056156", "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": "37973000", "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-22 14:45:11 EDT", "ConditionTimestampMonotonic": "316056154", "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": "40822", "ExecMainStartTimestamp": "Sat 2026-08-22 14:45:11 EDT", "ExecMainStartTimestampMonotonic": "316067311", "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-22 14:45:11 EDT] ; stop_time=[n/a] ; pid=40822 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-22 14:45:11 EDT] ; stop_time=[n/a] ; pid=40822 ; 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-22 14:45:11 EDT] ; stop_time=[Sat 2026-08-22 14:45:11 EDT] ; pid=40820 ; 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-22 14:45:11 EDT] ; stop_time=[Sat 2026-08-22 14:45:11 EDT] ; pid=40820 ; 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-22 14:45:11 EDT", "InactiveExitTimestampMonotonic": "316062372", "InvocationID": "a57063516ed148758f7f6dc7e6679bca", "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": "40822", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "23257088", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "23339008", "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", "RestartMode": "normal", "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-22 14:45:11 EDT", "StateChangeTimestampMonotonic": "316110874", "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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:45:14 -0400 (0:00:00.931) 0:00:50.100 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008215", "end": "2026-08-22 14:45:14.991250", "rc": 0, "start": "2026-08-22 14:45:14.983035" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:45:15 -0400 (0:00:00.351) 0:00:50.451 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008660", "end": "2026-08-22 14:45:15.340912", "rc": 0, "start": "2026-08-22 14:45:15.332252" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:45:15 -0400 (0:00:00.350) 0:00:50.802 ******* ASYNC OK on managed-node2: jid=j669947012440.42271 ok: [managed-node2] => { "ansible_job_id": "j669947012440.42271", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014615", "end": "2026-08-22 14:45:15.905464", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j669947012440.42271", "start": "2026-08-22 14:45:15.890849", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:45:31 -0400 (0:00:16.044) 0:01:06.847 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011068", "end": "2026-08-22 14:45:31.754237", "rc": 0, "start": "2026-08-22 14:45:31.743169" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:45:31 -0400 (0:00:00.369) 0:01:07.216 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:45:31 -0400 (0:00:00.030) 0:01:07.246 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010835", "end": "2026-08-22 14:45:32.153656", "rc": 0, "start": "2026-08-22 14:45:32.142821" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:45:32 -0400 (0:00:00.370) 0:01:07.617 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:45:32 -0400 (0:00:00.031) 0:01:07.648 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009989", "end": "2026-08-22 14:45:32.541131", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:45:32.531142" } STDOUT: postgres (PostgreSQL) 18.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:45:32 -0400 (0:00:00.357) 0:01:08.006 ******* included: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 22 August 2026 14:45:32 -0400 (0:00:00.036) 0:01:08.042 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:45:32 -0400 (0:00:00.029) 0:01:08.072 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:45:34 -0400 (0:00:01.948) 0:01:10.021 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:45:34 -0400 (0:00:00.017) 0:01:10.039 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:45:35 -0400 (0:00:00.398) 0:01:10.437 ******* [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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:45:36 -0400 (0:00:01.346) 0:01:11.784 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007645", "end": "2026-08-22 14:45:36.673644", "rc": 0, "start": "2026-08-22 14:45:36.665999" } STDOUT: Aug 22 14:43:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:14 managed-node2 postmaster[12349]: 2026-08-22 14:43:14.452 EDT [12349] LOG: redirecting log output to logging collector process Aug 22 14:43:14 managed-node2 postmaster[12349]: 2026-08-22 14:43:14.452 EDT [12349] HINT: Future log output will appear in directory "log". Aug 22 14:43:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:22 managed-node2 systemd[1]: postgresql.service: Killing process 12350 (postmaster) with signal SIGKILL. Aug 22 14:43:22 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:22 managed-node2 postmaster[15064]: 2026-08-22 14:43:22.533 EDT [15064] LOG: redirecting log output to logging collector process Aug 22 14:43:22 managed-node2 postmaster[15064]: 2026-08-22 14:43:22.533 EDT [15064] HINT: Future log output will appear in directory "log". Aug 22 14:43:22 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Killing process 15065 (postmaster) with signal SIGKILL. Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:50 managed-node2 postmaster[22515]: 2026-08-22 14:43:50.708 EDT [22515] LOG: redirecting log output to logging collector process Aug 22 14:43:50 managed-node2 postmaster[22515]: 2026-08-22 14:43:50.708 EDT [22515] HINT: Future log output will appear in directory "log". Aug 22 14:43:50 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:56 managed-node2 systemd[1]: postgresql.service: Killing process 22516 (postmaster) with signal SIGKILL. Aug 22 14:43:56 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:56 managed-node2 postmaster[24359]: 2026-08-22 14:43:56.606 EDT [24359] LOG: redirecting log output to logging collector process Aug 22 14:43:56 managed-node2 postmaster[24359]: 2026-08-22 14:43:56.606 EDT [24359] HINT: Future log output will appear in directory "log". Aug 22 14:43:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 24360 (postmaster) with signal SIGKILL. Aug 22 14:43:59 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:14 managed-node2 postmaster[29094]: 2026-08-22 14:44:14.632 EDT [29094] LOG: redirecting log output to logging collector process Aug 22 14:44:14 managed-node2 postmaster[29094]: 2026-08-22 14:44:14.632 EDT [29094] HINT: Future log output will appear in directory "log". Aug 22 14:44:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:18 managed-node2 systemd[1]: postgresql.service: Killing process 29095 (postmaster) with signal SIGKILL. Aug 22 14:44:18 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:18 managed-node2 postmaster[29979]: 2026-08-22 14:44:18.053 EDT [29979] LOG: redirecting log output to logging collector process Aug 22 14:44:18 managed-node2 postmaster[29979]: 2026-08-22 14:44:18.053 EDT [29979] HINT: Future log output will appear in directory "log". Aug 22 14:44:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:19 managed-node2 systemd[1]: postgresql.service: Killing process 29980 (postmaster) with signal SIGKILL. Aug 22 14:44:19 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:36 managed-node2 postmaster[34551]: 2026-08-22 14:44:36.028 EDT [34551] LOG: redirecting log output to logging collector process Aug 22 14:44:36 managed-node2 postmaster[34551]: 2026-08-22 14:44:36.028 EDT [34551] HINT: Future log output will appear in directory "log". Aug 22 14:44:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:39 managed-node2 systemd[1]: postgresql.service: Killing process 34552 (postmaster) with signal SIGKILL. Aug 22 14:44:39 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:39 managed-node2 postmaster[35513]: 2026-08-22 14:44:39.631 EDT [35513] LOG: redirecting log output to logging collector process Aug 22 14:44:39 managed-node2 postmaster[35513]: 2026-08-22 14:44:39.631 EDT [35513] HINT: Future log output will appear in directory "log". Aug 22 14:44:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:59 managed-node2 systemd[1]: postgresql.service: Killing process 35514 (postmaster) with signal SIGKILL. Aug 22 14:44:59 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:11 managed-node2 postgres[40822]: 2026-08-22 14:45:11.561 EDT [40822] LOG: redirecting log output to logging collector process Aug 22 14:45:11 managed-node2 postgres[40822]: 2026-08-22 14:45:11.561 EDT [40822] HINT: Future log output will appear in directory "log". Aug 22 14:45:11 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:14 managed-node2 systemd[1]: postgresql.service: Killing process 40823 (postgres) with signal SIGKILL. Aug 22 14:45:14 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:45:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:14 managed-node2 postgres[41786]: 2026-08-22 14:45:14.609 EDT [41786] LOG: redirecting log output to logging collector process Aug 22 14:45:14 managed-node2 postgres[41786]: 2026-08-22 14:45:14.609 EDT [41786] HINT: Future log output will appear in directory "log". Aug 22 14:45:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:34 managed-node2 systemd[1]: postgresql.service: Killing process 41787 (postgres) with signal SIGKILL. Aug 22 14:45:34 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:45:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.351) 0:01:12.135 ******* included: /tmp/collections-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.030) 0:01:12.166 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.001) 0:01:12.167 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.016) 0:01:12.184 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.041) 0:01:12.225 ******* included: /tmp/collections-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:45:36 -0400 (0:00:00.025) 0:01:12.251 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.776) 0:01:13.027 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-22T14:45:37-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.340) 0:01:13.367 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.016) 0:01:13.384 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:45:37 -0400 (0:00:00.015) 0:01:13.399 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.016) 0:01:13.416 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.016) 0:01:13.432 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.015) 0:01:13.447 ******* 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-hjY/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-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.037) 0:01:13.484 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.337) 0:01:13.821 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:45:38 -0400 (0:00:00.335) 0:01:14.157 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.337) 0:01:14.494 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.757) 0:01:15.252 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.024) 0:01:15.276 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.028) 0:01:15.305 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.024) 0:01:15.330 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:45:39 -0400 (0:00:00.021) 0:01:15.351 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:45:44 -0400 (0:00:04.233) 0:01:19.585 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.773472", "end": "2026-08-22 14:45:45.273412", "rc": 0, "start": "2026-08-22 14:45:44.499940" } 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:45:45 -0400 (0:00:01.152) 0:01:20.737 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:45:45 -0400 (0:00:00.018) 0:01:20.756 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:45:45 -0400 (0:00:00.018) 0:01:20.774 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:45:45 -0400 (0:00:00.018) 0:01:20.793 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice network-online.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": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartMode": "normal", "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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:45:46 -0400 (0:00:01.106) 0:01:21.899 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.021) 0:01:21.921 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.020) 0:01:21.941 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.019) 0:01:21.961 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.017) 0:01:21.978 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.020) 0:01:21.999 ******* included: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.031) 0:01:22.030 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.018) 0:01:22.049 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.018) 0:01:22.067 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.017) 0:01:22.085 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.018) 0:01:22.104 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.017) 0:01:22.121 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.017) 0:01:22.139 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.022) 0:01:22.161 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.017) 0:01:22.178 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.041) 0:01:22.220 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:45:46 -0400 (0:00:00.021) 0:01:22.241 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:45:47 -0400 (0:00:00.355) 0:01:22.597 ******* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:45:47 -0400 (0:00:00.349) 0:01:22.946 ******* 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-1787424347.5813696-14321-254020542662166/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:45:48 -0400 (0:00:00.693) 0:01:23.640 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:45:48 -0400 (0:00:00.022) 0:01:23.662 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:45:48 -0400 (0:00:00.022) 0:01:23.684 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-22T14:45:48-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:45:48 -0400 (0:00:00.359) 0:01:24.044 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 22 August 2026 14:45:48 -0400 (0:00:00.020) 0:01:24.064 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:45:48 -0400 (0:00:00.005) 0:01:24.069 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-22 14:45:46 EDT", "ActiveEnterTimestampMonotonic": "350955696", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target sysinit.target system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:45:46 EDT", "AssertTimestampMonotonic": "350896448", "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": "33372000", "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-22 14:45:46 EDT", "ConditionTimestampMonotonic": "350896446", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7799", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "47087", "ExecMainStartTimestamp": "Sat 2026-08-22 14:45:46 EDT", "ExecMainStartTimestampMonotonic": "350915272", "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-22 14:45:46 EDT] ; stop_time=[n/a] ; pid=47087 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-22 14:45:46 EDT] ; stop_time=[n/a] ; pid=47087 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-22 14:45:46 EDT] ; stop_time=[Sat 2026-08-22 14:45:46 EDT] ; pid=47085 ; code=exited ; status=0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[Sat 2026-08-22 14:45:46 EDT] ; stop_time=[Sat 2026-08-22 14:45:46 EDT] ; pid=47085 ; code=exited ; status=0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-08-22 14:45:46 EDT", "InactiveExitTimestampMonotonic": "350910246", "InvocationID": "bb1c24d2e00c412e8fd69f41b367eaa3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13486", "LimitNPROCSoft": "13486", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13486", "LimitSIGPENDINGSoft": "13486", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47087", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18526208", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18821120", "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", "RestartMode": "normal", "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-22 14:45:46 EDT", "StateChangeTimestampMonotonic": "350955696", "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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:45:49 -0400 (0:00:00.927) 0:01:24.997 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008559", "end": "2026-08-22 14:45:49.886968", "rc": 0, "start": "2026-08-22 14:45:49.878409" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:45:49 -0400 (0:00:00.349) 0:01:25.347 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008643", "end": "2026-08-22 14:45:50.233482", "rc": 0, "start": "2026-08-22 14:45:50.224839" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:45:50 -0400 (0:00:00.346) 0:01:25.693 ******* ASYNC OK on managed-node2: jid=j318619221672.48530 ok: [managed-node2] => { "ansible_job_id": "j318619221672.48530", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013494", "end": "2026-08-22 14:45:50.793432", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j318619221672.48530", "start": "2026-08-22 14:45:50.779938", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:46:06 -0400 (0:00:16.042) 0:01:41.735 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010645", "end": "2026-08-22 14:46:06.644627", "rc": 0, "start": "2026-08-22 14:46:06.633982" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:46:06 -0400 (0:00:00.373) 0:01:42.109 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:46:06 -0400 (0:00:00.032) 0:01:42.141 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010748", "end": "2026-08-22 14:46:07.050575", "rc": 0, "start": "2026-08-22 14:46:07.039827" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.371) 0:01:42.513 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.032) 0:01:42.546 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009799", "end": "2026-08-22 14:46:07.441428", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:46:07.431629" } STDOUT: postgres (PostgreSQL) 15.12 TASK [Clean up] **************************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.362) 0:01:42.909 ******* included: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.033) 0:01:42.942 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:46:07 -0400 (0:00:00.005) 0:01:42.947 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:46:09 -0400 (0:00:01.954) 0:01:44.901 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:46:09 -0400 (0:00:00.018) 0:01:44.919 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:46:09 -0400 (0:00:00.386) 0:01:45.306 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:46:11 -0400 (0:00:01.328) 0:01:46.635 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007889", "end": "2026-08-22 14:46:11.520051", "rc": 0, "start": "2026-08-22 14:46:11.512162" } STDOUT: Aug 22 14:43:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:14 managed-node2 postmaster[12349]: 2026-08-22 14:43:14.452 EDT [12349] LOG: redirecting log output to logging collector process Aug 22 14:43:14 managed-node2 postmaster[12349]: 2026-08-22 14:43:14.452 EDT [12349] HINT: Future log output will appear in directory "log". Aug 22 14:43:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:22 managed-node2 systemd[1]: postgresql.service: Killing process 12350 (postmaster) with signal SIGKILL. Aug 22 14:43:22 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:22 managed-node2 postmaster[15064]: 2026-08-22 14:43:22.533 EDT [15064] LOG: redirecting log output to logging collector process Aug 22 14:43:22 managed-node2 postmaster[15064]: 2026-08-22 14:43:22.533 EDT [15064] HINT: Future log output will appear in directory "log". Aug 22 14:43:22 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Killing process 15065 (postmaster) with signal SIGKILL. Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:50 managed-node2 postmaster[22515]: 2026-08-22 14:43:50.708 EDT [22515] LOG: redirecting log output to logging collector process Aug 22 14:43:50 managed-node2 postmaster[22515]: 2026-08-22 14:43:50.708 EDT [22515] HINT: Future log output will appear in directory "log". Aug 22 14:43:50 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:56 managed-node2 systemd[1]: postgresql.service: Killing process 22516 (postmaster) with signal SIGKILL. Aug 22 14:43:56 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:56 managed-node2 postmaster[24359]: 2026-08-22 14:43:56.606 EDT [24359] LOG: redirecting log output to logging collector process Aug 22 14:43:56 managed-node2 postmaster[24359]: 2026-08-22 14:43:56.606 EDT [24359] HINT: Future log output will appear in directory "log". Aug 22 14:43:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 24360 (postmaster) with signal SIGKILL. Aug 22 14:43:59 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:14 managed-node2 postmaster[29094]: 2026-08-22 14:44:14.632 EDT [29094] LOG: redirecting log output to logging collector process Aug 22 14:44:14 managed-node2 postmaster[29094]: 2026-08-22 14:44:14.632 EDT [29094] HINT: Future log output will appear in directory "log". Aug 22 14:44:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:18 managed-node2 systemd[1]: postgresql.service: Killing process 29095 (postmaster) with signal SIGKILL. Aug 22 14:44:18 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:18 managed-node2 postmaster[29979]: 2026-08-22 14:44:18.053 EDT [29979] LOG: redirecting log output to logging collector process Aug 22 14:44:18 managed-node2 postmaster[29979]: 2026-08-22 14:44:18.053 EDT [29979] HINT: Future log output will appear in directory "log". Aug 22 14:44:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:19 managed-node2 systemd[1]: postgresql.service: Killing process 29980 (postmaster) with signal SIGKILL. Aug 22 14:44:19 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:36 managed-node2 postmaster[34551]: 2026-08-22 14:44:36.028 EDT [34551] LOG: redirecting log output to logging collector process Aug 22 14:44:36 managed-node2 postmaster[34551]: 2026-08-22 14:44:36.028 EDT [34551] HINT: Future log output will appear in directory "log". Aug 22 14:44:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:39 managed-node2 systemd[1]: postgresql.service: Killing process 34552 (postmaster) with signal SIGKILL. Aug 22 14:44:39 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:39 managed-node2 postmaster[35513]: 2026-08-22 14:44:39.631 EDT [35513] LOG: redirecting log output to logging collector process Aug 22 14:44:39 managed-node2 postmaster[35513]: 2026-08-22 14:44:39.631 EDT [35513] HINT: Future log output will appear in directory "log". Aug 22 14:44:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:59 managed-node2 systemd[1]: postgresql.service: Killing process 35514 (postmaster) with signal SIGKILL. Aug 22 14:44:59 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:11 managed-node2 postgres[40822]: 2026-08-22 14:45:11.561 EDT [40822] LOG: redirecting log output to logging collector process Aug 22 14:45:11 managed-node2 postgres[40822]: 2026-08-22 14:45:11.561 EDT [40822] HINT: Future log output will appear in directory "log". Aug 22 14:45:11 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:14 managed-node2 systemd[1]: postgresql.service: Killing process 40823 (postgres) with signal SIGKILL. Aug 22 14:45:14 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:45:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:14 managed-node2 postgres[41786]: 2026-08-22 14:45:14.609 EDT [41786] LOG: redirecting log output to logging collector process Aug 22 14:45:14 managed-node2 postgres[41786]: 2026-08-22 14:45:14.609 EDT [41786] HINT: Future log output will appear in directory "log". Aug 22 14:45:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:34 managed-node2 systemd[1]: postgresql.service: Killing process 41787 (postgres) with signal SIGKILL. Aug 22 14:45:34 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:45:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:46 managed-node2 postmaster[47087]: 2026-08-22 14:45:46.408 EDT [47087] LOG: redirecting log output to logging collector process Aug 22 14:45:46 managed-node2 postmaster[47087]: 2026-08-22 14:45:46.408 EDT [47087] HINT: Future log output will appear in directory "log". Aug 22 14:45:46 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:49 managed-node2 systemd[1]: postgresql.service: Killing process 47088 (postmaster) with signal SIGKILL. Aug 22 14:45:49 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:45:49 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:49 managed-node2 postmaster[48048]: 2026-08-22 14:45:49.506 EDT [48048] LOG: redirecting log output to logging collector process Aug 22 14:45:49 managed-node2 postmaster[48048]: 2026-08-22 14:45:49.506 EDT [48048] HINT: Future log output will appear in directory "log". Aug 22 14:45:49 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:08 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:08 managed-node2 systemd[1]: postgresql.service: Killing process 48049 (postmaster) with signal SIGKILL. Aug 22 14:46:08 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:46:08 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 22 August 2026 14:46:11 -0400 (0:00:00.347) 0:01:46.983 ******* included: /tmp/collections-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 22 August 2026 14:46:11 -0400 (0:00:00.029) 0:01:47.012 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 22 August 2026 14:46:11 -0400 (0:00:00.001) 0:01:47.013 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 22 August 2026 14:46:11 -0400 (0:00:00.016) 0:01:47.030 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 22 August 2026 14:46:11 -0400 (0:00:00.042) 0:01:47.072 ******* included: /tmp/collections-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 22 August 2026 14:46:11 -0400 (0:00:00.025) 0:01:47.098 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 22 August 2026 14:46:12 -0400 (0:00:00.786) 0:01:47.885 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-22T14:46:12-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 22 August 2026 14:46:12 -0400 (0:00:00.339) 0:01:48.224 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 22 August 2026 14:46:12 -0400 (0:00:00.018) 0:01:48.242 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 22 August 2026 14:46:12 -0400 (0:00:00.017) 0:01:48.260 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 22 August 2026 14:46:12 -0400 (0:00:00.017) 0:01:48.278 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 22 August 2026 14:46:12 -0400 (0:00:00.017) 0:01:48.295 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 22 August 2026 14:46:12 -0400 (0:00:00.017) 0:01:48.313 ******* 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-hjY/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-hjY/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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 22 August 2026 14:46:12 -0400 (0:00:00.039) 0:01:48.352 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 22 August 2026 14:46:13 -0400 (0:00:00.343) 0:01:48.696 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 22 August 2026 14:46:13 -0400 (0:00:00.336) 0:01:49.032 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 22 August 2026 14:46:13 -0400 (0:00:00.335) 0:01:49.367 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 22 August 2026 14:46:14 -0400 (0:00:00.760) 0:01:50.128 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 22 August 2026 14:46:14 -0400 (0:00:00.025) 0:01:50.154 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 22 August 2026 14:46:14 -0400 (0:00:00.027) 0:01:50.182 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 22 August 2026 14:46:14 -0400 (0:00:00.024) 0:01:50.206 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 22 August 2026 14:46:14 -0400 (0:00:00.050) 0:01:50.257 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 22 August 2026 14:46:18 -0400 (0:00:03.814) 0:01:54.072 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.775798", "end": "2026-08-22 14:46:19.765767", "rc": 0, "start": "2026-08-22 14:46:18.989969" } 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 22 August 2026 14:46:19 -0400 (0:00:01.156) 0:01:55.228 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 22 August 2026 14:46:19 -0400 (0:00:00.018) 0:01:55.247 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 22 August 2026 14:46:19 -0400 (0:00:00.019) 0:01:55.267 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 22 August 2026 14:46:19 -0400 (0:00:00.017) 0:01:55.284 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target basic.target system.slice 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", "RestartMode": "normal", "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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 22 August 2026 14:46:20 -0400 (0:00:01.100) 0:01:56.384 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 22 August 2026 14:46:20 -0400 (0:00:00.022) 0:01:56.406 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.023) 0:01:56.430 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.026) 0:01:56.456 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.017) 0:01:56.474 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.021) 0:01:56.495 ******* included: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.032) 0:01:56.527 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.019) 0:01:56.547 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.018) 0:01:56.566 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.020) 0:01:56.586 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.019) 0:01:56.606 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.020) 0:01:56.626 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.020) 0:01:56.646 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.021) 0:01:56.668 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.018) 0:01:56.686 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.018) 0:01:56.705 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.021) 0:01:56.727 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 22 August 2026 14:46:21 -0400 (0:00:00.356) 0:01:57.084 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 22 August 2026 14:46:22 -0400 (0:00:00.348) 0:01:57.432 ******* 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-1787424382.0714529-14715-126776835022891/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 22 August 2026 14:46:22 -0400 (0:00:00.694) 0:01:58.126 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 22 August 2026 14:46:22 -0400 (0:00:00.022) 0:01:58.149 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 22 August 2026 14:46:22 -0400 (0:00:00.023) 0:01:58.172 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-22T14:46:23-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 22 August 2026 14:46:23 -0400 (0:00:00.357) 0:01:58.530 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 22 August 2026 14:46:23 -0400 (0:00:00.019) 0:01:58.550 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 22 August 2026 14:46:23 -0400 (0:00:00.006) 0:01:58.556 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-22 14:46:20 EDT", "ActiveEnterTimestampMonotonic": "385441917", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target network-online.target sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-22 14:46:20 EDT", "AssertTimestampMonotonic": "385384473", "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": "33057000", "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-22 14:46:20 EDT", "ConditionTimestampMonotonic": "385384471", "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": "53343", "ExecMainStartTimestamp": "Sat 2026-08-22 14:46:20 EDT", "ExecMainStartTimestampMonotonic": "385401398", "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-22 14:46:20 EDT] ; stop_time=[n/a] ; pid=53343 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-22 14:46:20 EDT] ; stop_time=[n/a] ; pid=53343 ; 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-22 14:46:20 EDT] ; stop_time=[Sat 2026-08-22 14:46:20 EDT] ; pid=53341 ; 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-22 14:46:20 EDT] ; stop_time=[Sat 2026-08-22 14:46:20 EDT] ; pid=53341 ; 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-22 14:46:20 EDT", "InactiveExitTimestampMonotonic": "385396363", "InvocationID": "625c1795532c4af0838b2ffd825bf745", "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": "53343", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18620416", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18886656", "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", "RestartMode": "normal", "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-22 14:46:20 EDT", "StateChangeTimestampMonotonic": "385441917", "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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 22 August 2026 14:46:24 -0400 (0:00:00.927) 0:01:59.484 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008526", "end": "2026-08-22 14:46:24.372209", "rc": 0, "start": "2026-08-22 14:46:24.363683" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 22 August 2026 14:46:24 -0400 (0:00:00.347) 0:01:59.832 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008734", "end": "2026-08-22 14:46:24.720422", "rc": 0, "start": "2026-08-22 14:46:24.711688" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 22 August 2026 14:46:24 -0400 (0:00:00.349) 0:02:00.181 ******* ASYNC OK on managed-node2: jid=j327970404838.54786 ok: [managed-node2] => { "ansible_job_id": "j327970404838.54786", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013378", "end": "2026-08-22 14:46:25.281844", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j327970404838.54786", "start": "2026-08-22 14:46:25.268466", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 22 August 2026 14:46:40 -0400 (0:00:16.042) 0:02:16.223 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010340", "end": "2026-08-22 14:46:41.130299", "rc": 0, "start": "2026-08-22 14:46:41.119959" } STDOUT: shared_buffers ---------------- 853MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 22 August 2026 14:46:41 -0400 (0:00:00.369) 0:02:16.593 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 22 August 2026 14:46:41 -0400 (0:00:00.035) 0:02:16.628 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010582", "end": "2026-08-22 14:46:41.532329", "rc": 0, "start": "2026-08-22 14:46:41.521747" } STDOUT: effective_cache_size ---------------------- 1707MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 22 August 2026 14:46:41 -0400 (0:00:00.366) 0:02:16.994 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 22 August 2026 14:46:41 -0400 (0:00:00.033) 0:02:17.027 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009780", "end": "2026-08-22 14:46:41.919619", "failed_when_result": false, "rc": 0, "start": "2026-08-22 14:46:41.909839" } STDOUT: postgres (PostgreSQL) 16.8 TASK [Clean up] **************************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 22 August 2026 14:46:41 -0400 (0:00:00.357) 0:02:17.385 ******* included: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 22 August 2026 14:46:42 -0400 (0:00:00.032) 0:02:17.417 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 22 August 2026 14:46:42 -0400 (0:00:00.005) 0:02:17.423 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 22 August 2026 14:46:43 -0400 (0:00:01.976) 0:02:19.399 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.019) 0:02:19.419 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 22 August 2026 14:46:44 -0400 (0:00:00.386) 0:02:19.805 ******* 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-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 22 August 2026 14:46:45 -0400 (0:00:01.329) 0:02:21.135 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008307", "end": "2026-08-22 14:46:46.020787", "rc": 0, "start": "2026-08-22 14:46:46.012480" } STDOUT: Aug 22 14:43:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:14 managed-node2 postmaster[12349]: 2026-08-22 14:43:14.452 EDT [12349] LOG: redirecting log output to logging collector process Aug 22 14:43:14 managed-node2 postmaster[12349]: 2026-08-22 14:43:14.452 EDT [12349] HINT: Future log output will appear in directory "log". Aug 22 14:43:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:22 managed-node2 systemd[1]: postgresql.service: Killing process 12350 (postmaster) with signal SIGKILL. Aug 22 14:43:22 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:22 managed-node2 postmaster[15064]: 2026-08-22 14:43:22.533 EDT [15064] LOG: redirecting log output to logging collector process Aug 22 14:43:22 managed-node2 postmaster[15064]: 2026-08-22 14:43:22.533 EDT [15064] HINT: Future log output will appear in directory "log". Aug 22 14:43:22 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Killing process 15065 (postmaster) with signal SIGKILL. Aug 22 14:43:23 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:50 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:50 managed-node2 postmaster[22515]: 2026-08-22 14:43:50.708 EDT [22515] LOG: redirecting log output to logging collector process Aug 22 14:43:50 managed-node2 postmaster[22515]: 2026-08-22 14:43:50.708 EDT [22515] HINT: Future log output will appear in directory "log". Aug 22 14:43:50 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:56 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:56 managed-node2 systemd[1]: postgresql.service: Killing process 22516 (postmaster) with signal SIGKILL. Aug 22 14:43:56 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:56 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:43:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:43:56 managed-node2 postmaster[24359]: 2026-08-22 14:43:56.606 EDT [24359] LOG: redirecting log output to logging collector process Aug 22 14:43:56 managed-node2 postmaster[24359]: 2026-08-22 14:43:56.606 EDT [24359] HINT: Future log output will appear in directory "log". Aug 22 14:43:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:43:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:43:59 managed-node2 systemd[1]: postgresql.service: Killing process 24360 (postmaster) with signal SIGKILL. Aug 22 14:43:59 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:43:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:14 managed-node2 postmaster[29094]: 2026-08-22 14:44:14.632 EDT [29094] LOG: redirecting log output to logging collector process Aug 22 14:44:14 managed-node2 postmaster[29094]: 2026-08-22 14:44:14.632 EDT [29094] HINT: Future log output will appear in directory "log". Aug 22 14:44:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:17 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:18 managed-node2 systemd[1]: postgresql.service: Killing process 29095 (postmaster) with signal SIGKILL. Aug 22 14:44:18 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:18 managed-node2 postmaster[29979]: 2026-08-22 14:44:18.053 EDT [29979] LOG: redirecting log output to logging collector process Aug 22 14:44:18 managed-node2 postmaster[29979]: 2026-08-22 14:44:18.053 EDT [29979] HINT: Future log output will appear in directory "log". Aug 22 14:44:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:19 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:19 managed-node2 systemd[1]: postgresql.service: Killing process 29980 (postmaster) with signal SIGKILL. Aug 22 14:44:19 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:19 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:36 managed-node2 postmaster[34551]: 2026-08-22 14:44:36.028 EDT [34551] LOG: redirecting log output to logging collector process Aug 22 14:44:36 managed-node2 postmaster[34551]: 2026-08-22 14:44:36.028 EDT [34551] HINT: Future log output will appear in directory "log". Aug 22 14:44:36 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:39 managed-node2 systemd[1]: postgresql.service: Killing process 34552 (postmaster) with signal SIGKILL. Aug 22 14:44:39 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:44:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:44:39 managed-node2 postmaster[35513]: 2026-08-22 14:44:39.631 EDT [35513] LOG: redirecting log output to logging collector process Aug 22 14:44:39 managed-node2 postmaster[35513]: 2026-08-22 14:44:39.631 EDT [35513] HINT: Future log output will appear in directory "log". Aug 22 14:44:39 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:44:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:44:59 managed-node2 systemd[1]: postgresql.service: Killing process 35514 (postmaster) with signal SIGKILL. Aug 22 14:44:59 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:44:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:11 managed-node2 postgres[40822]: 2026-08-22 14:45:11.561 EDT [40822] LOG: redirecting log output to logging collector process Aug 22 14:45:11 managed-node2 postgres[40822]: 2026-08-22 14:45:11.561 EDT [40822] HINT: Future log output will appear in directory "log". Aug 22 14:45:11 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:14 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:14 managed-node2 systemd[1]: postgresql.service: Killing process 40823 (postgres) with signal SIGKILL. Aug 22 14:45:14 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:45:14 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:14 managed-node2 postgres[41786]: 2026-08-22 14:45:14.609 EDT [41786] LOG: redirecting log output to logging collector process Aug 22 14:45:14 managed-node2 postgres[41786]: 2026-08-22 14:45:14.609 EDT [41786] HINT: Future log output will appear in directory "log". Aug 22 14:45:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:34 managed-node2 systemd[1]: postgresql.service: Killing process 41787 (postgres) with signal SIGKILL. Aug 22 14:45:34 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:45:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:46 managed-node2 postmaster[47087]: 2026-08-22 14:45:46.408 EDT [47087] LOG: redirecting log output to logging collector process Aug 22 14:45:46 managed-node2 postmaster[47087]: 2026-08-22 14:45:46.408 EDT [47087] HINT: Future log output will appear in directory "log". Aug 22 14:45:46 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:45:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:45:49 managed-node2 systemd[1]: postgresql.service: Killing process 47088 (postmaster) with signal SIGKILL. Aug 22 14:45:49 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:45:49 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:45:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:45:49 managed-node2 postmaster[48048]: 2026-08-22 14:45:49.506 EDT [48048] LOG: redirecting log output to logging collector process Aug 22 14:45:49 managed-node2 postmaster[48048]: 2026-08-22 14:45:49.506 EDT [48048] HINT: Future log output will appear in directory "log". Aug 22 14:45:49 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:08 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:08 managed-node2 systemd[1]: postgresql.service: Killing process 48049 (postmaster) with signal SIGKILL. Aug 22 14:46:08 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:46:08 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:20 managed-node2 postgres[53343]: 2026-08-22 14:46:20.893 EDT [53343] LOG: redirecting log output to logging collector process Aug 22 14:46:20 managed-node2 postgres[53343]: 2026-08-22 14:46:20.893 EDT [53343] HINT: Future log output will appear in directory "log". Aug 22 14:46:20 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:23 managed-node2 systemd[1]: postgresql.service: Killing process 53344 (postgres) with signal SIGKILL. Aug 22 14:46:23 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:46:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 22 14:46:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 22 14:46:23 managed-node2 postgres[54304]: 2026-08-22 14:46:23.994 EDT [54304] LOG: redirecting log output to logging collector process Aug 22 14:46:23 managed-node2 postgres[54304]: 2026-08-22 14:46:23.994 EDT [54304] HINT: Future log output will appear in directory "log". Aug 22 14:46:24 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 22 14:46:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 22 14:46:43 managed-node2 systemd[1]: postgresql.service: Killing process 54305 (postgres) with signal SIGKILL. Aug 22 14:46:43 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 22 14:46:43 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 22 August 2026 14:46:46 -0400 (0:00:00.341) 0:02:21.477 ******* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.24s /tmp/collections-hjY/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-hjY/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-hjY/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-hjY/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.23s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.08s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.81s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.52s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 1.98s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.95s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.95s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.86s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Remove config files ----------------------------------------------------- 1.35s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.33s /tmp/collections-hjY/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.33s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Remove config files ----------------------------------------------------- 1.33s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.33s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 1.19s /tmp/collections-hjY/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.16s /tmp/collections-hjY/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.15s /tmp/collections-hjY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58