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-qw2 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-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 29 August 2026 16:54:10 -0400 (0:00:00.016) 0:00:00.016 ******* [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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 29 August 2026 16:54:11 -0400 (0:00:00.971) 0:00:00.987 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 29 August 2026 16:54:11 -0400 (0:00:00.005) 0:00:00.993 ******* included: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:54:11 -0400 (0:00:00.032) 0:00:01.025 ******* included: /tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 29 August 2026 16:54:11 -0400 (0:00:00.035) 0:00:01.060 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:54:11 -0400 (0:00:00.000) 0:00:01.061 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:54:11 -0400 (0:00:00.013) 0:00:01.075 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:54:11 -0400 (0:00:00.069) 0:00:01.144 ******* included: /tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:54:11 -0400 (0:00:00.023) 0:00:01.168 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:54:12 -0400 (0:00:00.725) 0:00:01.893 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-29T16:54:12-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:54:13 -0400 (0:00:00.386) 0:00:02.280 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:54:13 -0400 (0:00:00.391) 0:00:02.671 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:54:13 -0400 (0:00:00.020) 0:00:02.691 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008325", "end": "2026-08-29 16:54:13.776207", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:54:13.767882" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:54:13 -0400 (0:00:00.405) 0:00:03.097 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:54:13 -0400 (0:00:00.017) 0:00:03.114 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:54:13 -0400 (0:00:00.018) 0:00:03.133 ******* 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-qw2/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-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:54:13 -0400 (0:00:00.033) 0:00:03.166 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:54:14 -0400 (0:00:00.307) 0:00:03.474 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:54:14 -0400 (0:00:00.312) 0:00:03.786 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:54:14 -0400 (0:00:00.314) 0:00:04.100 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:54:15 -0400 (0:00:00.985) 0:00:05.086 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:54:15 -0400 (0:00:00.025) 0:00:05.112 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:54:15 -0400 (0:00:00.036) 0:00:05.149 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:54:15 -0400 (0:00:00.039) 0:00:05.188 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:54:15 -0400 (0:00:00.031) 0:00:05.220 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Installed: postgresql-13.23-7.el9.x86_64", "Installed: postgresql-server-13.23-7.el9.x86_64", "Installed: postgresql-private-libs-13.23-7.el9.x86_64" ] } lsrpackages: postgresql-server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:54:19 -0400 (0:00:03.529) 0:00:08.750 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.719760", "end": "2026-08-29 16:54:20.496694", "rc": 0, "start": "2026-08-29 16:54:19.776934" } 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:54:20 -0400 (0:00:01.073) 0:00:09.823 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:54:20 -0400 (0:00:00.017) 0:00:09.841 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:54:20 -0400 (0:00:00.015) 0:00:09.857 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:54:20 -0400 (0:00:00.015) 0:00:09.873 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice sysinit.target network-online.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": "13598", "LimitNPROCSoft": "13598", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13598", "LimitSIGPENDINGSoft": "13598", "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": "21757", "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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:54:21 -0400 (0:00:01.253) 0:00:11.127 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:54:21 -0400 (0:00:00.020) 0:00:11.147 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:54:21 -0400 (0:00:00.017) 0:00:11.165 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:54:21 -0400 (0:00:00.017) 0:00:11.183 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:54:21 -0400 (0:00:00.014) 0:00:11.197 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:54:21 -0400 (0:00:00.018) 0:00:11.215 ******* included: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:54:21 -0400 (0:00:00.027) 0:00:11.242 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:54:21 -0400 (0:00:00.016) 0:00:11.258 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:54:21 -0400 (0:00:00.015) 0:00:11.274 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:54:22 -0400 (0:00:00.015) 0:00:11.289 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:54:22 -0400 (0:00:00.015) 0:00:11.305 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:54:22 -0400 (0:00:00.016) 0:00:11.321 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:54:22 -0400 (0:00:00.015) 0:00:11.337 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:54:22 -0400 (0:00:00.015) 0:00:11.353 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:54:22 -0400 (0:00:00.014) 0:00:11.367 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:54:22 -0400 (0:00:00.015) 0:00:11.383 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:54:22 -0400 (0:00:00.017) 0:00:11.401 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:54:22 -0400 (0:00:00.435) 0:00:11.836 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:54:22 -0400 (0:00:00.426) 0:00:12.263 ******* changed: [managed-node2] => { "changed": true, "checksum": "77990c8f8d81b90e3df9838fecb90e9f12e49050", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "51e1c20280ac0bd41788d7bd41904930", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788036863.024132-13282-32029554766015/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:54:23 -0400 (0:00:00.796) 0:00:13.059 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:54:23 -0400 (0:00:00.051) 0:00:13.110 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:54:23 -0400 (0:00:00.021) 0:00:13.132 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-29T16:54:24-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:54:24 -0400 (0:00:00.324) 0:00:13.456 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 29 August 2026 16:54:24 -0400 (0:00:00.022) 0:00:13.479 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:54:24 -0400 (0:00:00.004) 0:00:13.484 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-29 16:54:21 EDT", "ActiveEnterTimestampMonotonic": "281224787", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network-online.target sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:54:21 EDT", "AssertTimestampMonotonic": "281175606", "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": "32858000", "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-29 16:54:21 EDT", "ConditionTimestampMonotonic": "281175604", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "6483", "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": "34564", "ExecMainStartTimestamp": "Sat 2026-08-29 16:54:21 EDT", "ExecMainStartTimestampMonotonic": "281185157", "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-29 16:54:21 EDT] ; stop_time=[n/a] ; pid=34564 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-29 16:54:21 EDT] ; stop_time=[n/a] ; pid=34564 ; 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-29 16:54:21 EDT] ; stop_time=[Sat 2026-08-29 16:54:21 EDT] ; pid=34562 ; 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-29 16:54:21 EDT] ; stop_time=[Sat 2026-08-29 16:54:21 EDT] ; pid=34562 ; 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-29 16:54:21 EDT", "InactiveExitTimestampMonotonic": "281180365", "InvocationID": "c736fec5722c48b9aa22a0934c627df0", "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": "13598", "LimitNPROCSoft": "13598", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13598", "LimitSIGPENDINGSoft": "13598", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "34564", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17657856", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "17969152", "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-29 16:54:21 EDT", "StateChangeTimestampMonotonic": "281224787", "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": "21757", "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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:54:25 -0400 (0:00:00.903) 0:00:14.387 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008351", "end": "2026-08-29 16:54:25.396486", "rc": 0, "start": "2026-08-29 16:54:25.388135" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:54:25 -0400 (0:00:00.334) 0:00:14.722 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008873", "end": "2026-08-29 16:54:25.713785", "rc": 0, "start": "2026-08-29 16:54:25.704912" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:54:25 -0400 (0:00:00.321) 0:00:15.043 ******* ASYNC OK on managed-node2: jid=j32386839666.36009 ok: [managed-node2] => { "ansible_job_id": "j32386839666.36009", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012718", "end": "2026-08-29 16:54:26.321654", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j32386839666.36009", "start": "2026-08-29 16:54:26.308936", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:54:41 -0400 (0:00:16.102) 0:00:31.146 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010602", "end": "2026-08-29 16:54:42.155172", "rc": 0, "start": "2026-08-29 16:54:42.144570" } STDOUT: shared_buffers ---------------- 860MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:54:42 -0400 (0:00:00.336) 0:00:31.482 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:54:42 -0400 (0:00:00.029) 0:00:31.512 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010023", "end": "2026-08-29 16:54:42.524250", "rc": 0, "start": "2026-08-29 16:54:42.514227" } STDOUT: effective_cache_size ---------------------- 1721MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:54:42 -0400 (0:00:00.338) 0:00:31.851 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:54:42 -0400 (0:00:00.028) 0:00:31.879 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009635", "end": "2026-08-29 16:54:42.876074", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:54:42.866439" } STDOUT: postgres (PostgreSQL) 13.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:54:42 -0400 (0:00:00.332) 0:00:32.211 ******* included: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 29 August 2026 16:54:42 -0400 (0:00:00.030) 0:00:32.242 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:54:42 -0400 (0:00:00.004) 0:00:32.246 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Removed: postgresql-private-libs-13.23-7.el9.x86_64", "Removed: postgresql-server-13.23-7.el9.x86_64", "Removed: postgresql-13.23-7.el9.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:54:44 -0400 (0:00:01.857) 0:00:34.103 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:54:44 -0400 (0:00:00.017) 0:00:34.121 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:54:45 -0400 (0:00:00.355) 0:00:34.476 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:54:46 -0400 (0:00:01.215) 0:00:35.691 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007635", "end": "2026-08-29 16:54:46.685699", "rc": 0, "start": "2026-08-29 16:54:46.678064" } STDOUT: Aug 29 16:53:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:06 managed-node2 postgres[12348]: 2026-08-29 16:53:06.410 EDT [12348] LOG: redirecting log output to logging collector process Aug 29 16:53:06 managed-node2 postgres[12348]: 2026-08-29 16:53:06.410 EDT [12348] HINT: Future log output will appear in directory "log". Aug 29 16:53:06 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:13 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:13 managed-node2 postgres[15063]: 2026-08-29 16:53:13.707 EDT [15063] LOG: redirecting log output to logging collector process Aug 29 16:53:13 managed-node2 postgres[15063]: 2026-08-29 16:53:13.707 EDT [15063] HINT: Future log output will appear in directory "log". Aug 29 16:53:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:15 managed-node2 systemd[1]: postgresql.service: Killing process 15064 (postgres) with signal SIGKILL. Aug 29 16:53:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:40 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:40 managed-node2 postgres[22518]: 2026-08-29 16:53:40.453 EDT [22518] LOG: redirecting log output to logging collector process Aug 29 16:53:40 managed-node2 postgres[22518]: 2026-08-29 16:53:40.453 EDT [22518] HINT: Future log output will appear in directory "log". Aug 29 16:53:40 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:45 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:45 managed-node2 postgres[24362]: 2026-08-29 16:53:45.505 EDT [24362] LOG: redirecting log output to logging collector process Aug 29 16:53:45 managed-node2 postgres[24362]: 2026-08-29 16:53:45.505 EDT [24362] HINT: Future log output will appear in directory "log". Aug 29 16:53:45 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:48 managed-node2 systemd[1]: postgresql.service: Killing process 24363 (postgres) with signal SIGKILL. Aug 29 16:53:48 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:02 managed-node2 postgres[29102]: 2026-08-29 16:54:02.223 EDT [29102] LOG: redirecting log output to logging collector process Aug 29 16:54:02 managed-node2 postgres[29102]: 2026-08-29 16:54:02.223 EDT [29102] HINT: Future log output will appear in directory "log". Aug 29 16:54:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:05 managed-node2 systemd[1]: postgresql.service: Killing process 29103 (postgres) with signal SIGKILL. Aug 29 16:54:05 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:05 managed-node2 postgres[29987]: 2026-08-29 16:54:05.414 EDT [29987] LOG: redirecting log output to logging collector process Aug 29 16:54:05 managed-node2 postgres[29987]: 2026-08-29 16:54:05.414 EDT [29987] HINT: Future log output will appear in directory "log". Aug 29 16:54:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:06 managed-node2 systemd[1]: postgresql.service: Killing process 29988 (postgres) with signal SIGKILL. Aug 29 16:54:06 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:21 managed-node2 postgres[34564]: 2026-08-29 16:54:21.774 EDT [34564] LOG: redirecting log output to logging collector process Aug 29 16:54:21 managed-node2 postgres[34564]: 2026-08-29 16:54:21.774 EDT [34564] HINT: Future log output will appear in directory "log". Aug 29 16:54:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:24 managed-node2 systemd[1]: postgresql.service: Killing process 34565 (postgres) with signal SIGKILL. Aug 29 16:54:24 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:25 managed-node2 postgres[35526]: 2026-08-29 16:54:25.020 EDT [35526] LOG: redirecting log output to logging collector process Aug 29 16:54:25 managed-node2 postgres[35526]: 2026-08-29 16:54:25.020 EDT [35526] HINT: Future log output will appear in directory "log". Aug 29 16:54:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:44 managed-node2 systemd[1]: postgresql.service: Killing process 35527 (postgres) with signal SIGKILL. Aug 29 16:54:44 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.319) 0:00:36.011 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.011) 0:00:36.023 ******* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.022) 0:00:36.045 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=18) included: /tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.070) 0:00:36.115 ******* included: /tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.025) 0:00:36.141 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.000) 0:00:36.142 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.013) 0:00:36.155 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.036) 0:00:36.192 ******* included: /tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:54:46 -0400 (0:00:00.022) 0:00:36.214 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:54:47 -0400 (0:00:00.725) 0:00:36.940 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-29T16:54:47-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:54:47 -0400 (0:00:00.306) 0:00:37.246 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:54:47 -0400 (0:00:00.015) 0:00:37.262 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:54:47 -0400 (0:00:00.014) 0:00:37.276 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:54:48 -0400 (0:00:00.014) 0:00:37.290 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:54:48 -0400 (0:00:00.014) 0:00:37.304 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:54:48 -0400 (0:00:00.013) 0:00:37.318 ******* [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-qw2/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-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:54:48 -0400 (0:00:00.034) 0:00:37.352 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:54:48 -0400 (0:00:00.304) 0:00:37.656 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:54:48 -0400 (0:00:00.305) 0:00:37.962 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:54:48 -0400 (0:00:00.303) 0:00:38.266 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:54:49 -0400 (0:00:00.706) 0:00:38.972 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:54:49 -0400 (0:00:00.022) 0:00:38.994 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:54:49 -0400 (0:00:00.024) 0:00:39.018 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:54:49 -0400 (0:00:00.072) 0:00:39.091 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:54:49 -0400 (0:00:00.018) 0:00:39.110 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server installed.", "Installed: postgresql-15.12-1.module_el9+1199+0a6782cc.x86_64", "Installed: postgresql-server-15.12-1.module_el9+1199+0a6782cc.x86_64", "Installed: postgresql-private-libs-15.12-1.module_el9+1199+0a6782cc.x86_64" ] } lsrpackages: @postgresql:15/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:54:53 -0400 (0:00:04.128) 0:00:43.238 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.759008", "end": "2026-08-29 16:54:55.014372", "rc": 0, "start": "2026-08-29 16:54:54.255364" } 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:54:55 -0400 (0:00:01.102) 0:00:44.341 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:54:55 -0400 (0:00:00.018) 0:00:44.360 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:54:55 -0400 (0:00:00.015) 0:00:44.375 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:54:55 -0400 (0:00:00.015) 0:00:44.391 ******* 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 systemd-journald.socket system.slice basic.target sysinit.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/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": "13598", "LimitNPROCSoft": "13598", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13598", "LimitSIGPENDINGSoft": "13598", "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": "21757", "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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:54:56 -0400 (0:00:01.032) 0:00:45.424 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.020) 0:00:45.444 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.018) 0:00:45.463 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.018) 0:00:45.481 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.014) 0:00:45.496 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.019) 0:00:45.515 ******* included: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.026) 0:00:45.542 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.016) 0:00:45.558 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.016) 0:00:45.574 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.015) 0:00:45.590 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.015) 0:00:45.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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.015) 0:00:45.621 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.016) 0:00:45.638 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.015) 0:00:45.654 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.014) 0:00:45.668 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.014) 0:00:45.683 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.019) 0:00:45.702 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:54:56 -0400 (0:00:00.321) 0:00:46.024 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:54:57 -0400 (0:00:00.318) 0:00:46.342 ******* changed: [managed-node2] => { "changed": true, "checksum": "77990c8f8d81b90e3df9838fecb90e9f12e49050", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "51e1c20280ac0bd41788d7bd41904930", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788036897.1037662-13872-243914653085184/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:54:57 -0400 (0:00:00.632) 0:00:46.975 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:54:57 -0400 (0:00:00.020) 0:00:46.996 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:54:57 -0400 (0:00:00.018) 0:00:47.015 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-29T16:54:58-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.326) 0:00:47.341 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.018) 0:00:47.359 ******* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.004) 0:00:47.364 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-29 16:54:56 EDT", "ActiveEnterTimestampMonotonic": "315520110", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target systemd-journald.socket sysinit.target basic.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:54:56 EDT", "AssertTimestampMonotonic": "315470565", "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": "33295000", "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-29 16:54:56 EDT", "ConditionTimestampMonotonic": "315470563", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7111", "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": "40825", "ExecMainStartTimestamp": "Sat 2026-08-29 16:54:56 EDT", "ExecMainStartTimestampMonotonic": "315479589", "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-29 16:54:56 EDT] ; stop_time=[n/a] ; pid=40825 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-29 16:54:56 EDT] ; stop_time=[n/a] ; pid=40825 ; 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-29 16:54:56 EDT] ; stop_time=[Sat 2026-08-29 16:54:56 EDT] ; pid=40823 ; 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-29 16:54:56 EDT] ; stop_time=[Sat 2026-08-29 16:54:56 EDT] ; pid=40823 ; 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-29 16:54:56 EDT", "InactiveExitTimestampMonotonic": "315474344", "InvocationID": "a2e28a0e6203485db77e340c669c7cd5", "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": "13598", "LimitNPROCSoft": "13598", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13598", "LimitSIGPENDINGSoft": "13598", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "40825", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18567168", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18976768", "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-29 16:54:56 EDT", "StateChangeTimestampMonotonic": "315520110", "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": "21757", "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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:54:58 -0400 (0:00:00.889) 0:00:48.253 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008435", "end": "2026-08-29 16:54:59.254058", "rc": 0, "start": "2026-08-29 16:54:59.245623" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:54:59 -0400 (0:00:00.326) 0:00:48.580 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009128", "end": "2026-08-29 16:54:59.577493", "rc": 0, "start": "2026-08-29 16:54:59.568365" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:54:59 -0400 (0:00:00.323) 0:00:48.903 ******* ASYNC OK on managed-node2: jid=j608626485575.42268 ok: [managed-node2] => { "ansible_job_id": "j608626485575.42268", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013356", "end": "2026-08-29 16:55:00.104326", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j608626485575.42268", "start": "2026-08-29 16:55:00.090970", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:55:15 -0400 (0:00:15.953) 0:01:04.857 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010685", "end": "2026-08-29 16:55:15.867313", "rc": 0, "start": "2026-08-29 16:55:15.856628" } STDOUT: shared_buffers ---------------- 860MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:55:15 -0400 (0:00:00.337) 0:01:05.194 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:55:15 -0400 (0:00:00.028) 0:01:05.223 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010696", "end": "2026-08-29 16:55:16.235523", "rc": 0, "start": "2026-08-29 16:55:16.224827" } STDOUT: effective_cache_size ---------------------- 1721MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:55:16 -0400 (0:00:00.340) 0:01:05.564 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:55:16 -0400 (0:00:00.028) 0:01:05.592 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009958", "end": "2026-08-29 16:55:16.588831", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:55:16.578873" } STDOUT: postgres (PostgreSQL) 15.12 TASK [Clean up] **************************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:55:16 -0400 (0:00:00.325) 0:01:05.918 ******* included: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 29 August 2026 16:55:16 -0400 (0:00:00.030) 0:01:05.948 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:55:16 -0400 (0:00:00.025) 0:01:05.974 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:55:18 -0400 (0:00:01.907) 0:01:07.881 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:55:18 -0400 (0:00:00.017) 0:01:07.898 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:55:18 -0400 (0:00:00.358) 0:01:08.257 ******* [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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:55:20 -0400 (0:00:01.212) 0:01:09.470 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007848", "end": "2026-08-29 16:55:20.463330", "rc": 0, "start": "2026-08-29 16:55:20.455482" } STDOUT: Aug 29 16:53:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:06 managed-node2 postgres[12348]: 2026-08-29 16:53:06.410 EDT [12348] LOG: redirecting log output to logging collector process Aug 29 16:53:06 managed-node2 postgres[12348]: 2026-08-29 16:53:06.410 EDT [12348] HINT: Future log output will appear in directory "log". Aug 29 16:53:06 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:13 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:13 managed-node2 postgres[15063]: 2026-08-29 16:53:13.707 EDT [15063] LOG: redirecting log output to logging collector process Aug 29 16:53:13 managed-node2 postgres[15063]: 2026-08-29 16:53:13.707 EDT [15063] HINT: Future log output will appear in directory "log". Aug 29 16:53:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:15 managed-node2 systemd[1]: postgresql.service: Killing process 15064 (postgres) with signal SIGKILL. Aug 29 16:53:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:40 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:40 managed-node2 postgres[22518]: 2026-08-29 16:53:40.453 EDT [22518] LOG: redirecting log output to logging collector process Aug 29 16:53:40 managed-node2 postgres[22518]: 2026-08-29 16:53:40.453 EDT [22518] HINT: Future log output will appear in directory "log". Aug 29 16:53:40 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:45 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:45 managed-node2 postgres[24362]: 2026-08-29 16:53:45.505 EDT [24362] LOG: redirecting log output to logging collector process Aug 29 16:53:45 managed-node2 postgres[24362]: 2026-08-29 16:53:45.505 EDT [24362] HINT: Future log output will appear in directory "log". Aug 29 16:53:45 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:48 managed-node2 systemd[1]: postgresql.service: Killing process 24363 (postgres) with signal SIGKILL. Aug 29 16:53:48 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:02 managed-node2 postgres[29102]: 2026-08-29 16:54:02.223 EDT [29102] LOG: redirecting log output to logging collector process Aug 29 16:54:02 managed-node2 postgres[29102]: 2026-08-29 16:54:02.223 EDT [29102] HINT: Future log output will appear in directory "log". Aug 29 16:54:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:05 managed-node2 systemd[1]: postgresql.service: Killing process 29103 (postgres) with signal SIGKILL. Aug 29 16:54:05 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:05 managed-node2 postgres[29987]: 2026-08-29 16:54:05.414 EDT [29987] LOG: redirecting log output to logging collector process Aug 29 16:54:05 managed-node2 postgres[29987]: 2026-08-29 16:54:05.414 EDT [29987] HINT: Future log output will appear in directory "log". Aug 29 16:54:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:06 managed-node2 systemd[1]: postgresql.service: Killing process 29988 (postgres) with signal SIGKILL. Aug 29 16:54:06 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:21 managed-node2 postgres[34564]: 2026-08-29 16:54:21.774 EDT [34564] LOG: redirecting log output to logging collector process Aug 29 16:54:21 managed-node2 postgres[34564]: 2026-08-29 16:54:21.774 EDT [34564] HINT: Future log output will appear in directory "log". Aug 29 16:54:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:24 managed-node2 systemd[1]: postgresql.service: Killing process 34565 (postgres) with signal SIGKILL. Aug 29 16:54:24 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:25 managed-node2 postgres[35526]: 2026-08-29 16:54:25.020 EDT [35526] LOG: redirecting log output to logging collector process Aug 29 16:54:25 managed-node2 postgres[35526]: 2026-08-29 16:54:25.020 EDT [35526] HINT: Future log output will appear in directory "log". Aug 29 16:54:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:44 managed-node2 systemd[1]: postgresql.service: Killing process 35527 (postgres) with signal SIGKILL. Aug 29 16:54:44 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:56 managed-node2 postmaster[40825]: 2026-08-29 16:54:56.069 EDT [40825] LOG: redirecting log output to logging collector process Aug 29 16:54:56 managed-node2 postmaster[40825]: 2026-08-29 16:54:56.069 EDT [40825] HINT: Future log output will appear in directory "log". Aug 29 16:54:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:58 managed-node2 systemd[1]: postgresql.service: Killing process 40826 (postmaster) with signal SIGKILL. Aug 29 16:54:58 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:58 managed-node2 postmaster[41786]: 2026-08-29 16:54:58.899 EDT [41786] LOG: redirecting log output to logging collector process Aug 29 16:54:58 managed-node2 postmaster[41786]: 2026-08-29 16:54:58.899 EDT [41786] HINT: Future log output will appear in directory "log". Aug 29 16:54:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:18 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:55:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:55:20 -0400 (0:00:00.318) 0:01:09.789 ******* included: /tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 29 August 2026 16:55:20 -0400 (0:00:00.027) 0:01:09.816 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:55:20 -0400 (0:00:00.000) 0:01:09.817 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:55:20 -0400 (0:00:00.014) 0:01:09.831 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:55:20 -0400 (0:00:00.036) 0:01:09.868 ******* included: /tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:55:20 -0400 (0:00:00.022) 0:01:09.890 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:55:21 -0400 (0:00:00.736) 0:01:10.627 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-29T16:55:21-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:55:21 -0400 (0:00:00.306) 0:01:10.934 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:55:21 -0400 (0:00:00.015) 0:01:10.950 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:55:21 -0400 (0:00:00.014) 0:01:10.964 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:55:21 -0400 (0:00:00.014) 0:01:10.978 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:55:21 -0400 (0:00:00.014) 0:01:10.992 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:55:21 -0400 (0:00:00.013) 0:01:11.006 ******* 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-qw2/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-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:55:21 -0400 (0:00:00.037) 0:01:11.044 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:55:22 -0400 (0:00:00.304) 0:01:11.348 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:55:22 -0400 (0:00:00.303) 0:01:11.651 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:55:22 -0400 (0:00:00.303) 0:01:11.955 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:55:23 -0400 (0:00:00.709) 0:01:12.664 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:55:23 -0400 (0:00:00.022) 0:01:12.687 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:55:23 -0400 (0:00:00.025) 0:01:12.712 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:55:23 -0400 (0:00:00.021) 0:01:12.733 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:55:23 -0400 (0:00:00.017) 0:01:12.751 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:18/server installed.", "Installed: postgresql-18.1-1.module_el9+1300+1c4aa8df.x86_64", "Installed: postgresql-server-18.1-1.module_el9+1300+1c4aa8df.x86_64", "Installed: postgresql-private-libs-18.1-1.module_el9+1300+1c4aa8df.x86_64" ] } lsrpackages: @postgresql:18/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:55:27 -0400 (0:00:04.298) 0:01:17.049 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.794374", "end": "2026-08-29 16:55:28.858819", "rc": 0, "start": "2026-08-29 16:55:28.064445" } 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:55:28 -0400 (0:00:01.137) 0:01:18.187 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:55:28 -0400 (0:00:00.017) 0:01:18.204 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:55:28 -0400 (0:00:00.015) 0:01:18.220 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:55:28 -0400 (0:00:00.015) 0:01:18.235 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target network-online.target systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13598", "LimitNPROCSoft": "13598", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13598", "LimitSIGPENDINGSoft": "13598", "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": "21757", "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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:55:30 -0400 (0:00:01.054) 0:01:19.290 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.019) 0:01:19.309 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.018) 0:01:19.328 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.018) 0:01:19.346 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.016) 0:01:19.362 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.018) 0:01:19.381 ******* included: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.027) 0:01:19.408 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.016) 0:01:19.424 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.015) 0:01:19.440 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.015) 0:01:19.456 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.017) 0:01:19.473 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.015) 0:01:19.489 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.016) 0:01:19.505 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.015) 0:01:19.521 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.015) 0:01:19.536 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.037) 0:01:19.574 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.019) 0:01:19.594 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.322) 0:01:19.916 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:55:30 -0400 (0:00:00.319) 0:01:20.236 ******* changed: [managed-node2] => { "changed": true, "checksum": "77990c8f8d81b90e3df9838fecb90e9f12e49050", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "51e1c20280ac0bd41788d7bd41904930", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788036930.9971242-14266-201678011377508/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:55:31 -0400 (0:00:00.630) 0:01:20.867 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:55:31 -0400 (0:00:00.019) 0:01:20.887 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:55:31 -0400 (0:00:00.018) 0:01:20.905 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-29T16:55:31-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:55:31 -0400 (0:00:00.321) 0:01:21.227 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 29 August 2026 16:55:31 -0400 (0:00:00.017) 0:01:21.245 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:55:31 -0400 (0:00:00.004) 0:01:21.249 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-29 16:55:29 EDT", "ActiveEnterTimestampMonotonic": "349383026", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target basic.target systemd-journald.socket network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:55:29 EDT", "AssertTimestampMonotonic": "349325288", "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": "37893000", "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-29 16:55:29 EDT", "ConditionTimestampMonotonic": "349325286", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7739", "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": "47094", "ExecMainStartTimestamp": "Sat 2026-08-29 16:55:29 EDT", "ExecMainStartTimestampMonotonic": "349339398", "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-29 16:55:29 EDT] ; stop_time=[n/a] ; pid=47094 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-29 16:55:29 EDT] ; stop_time=[n/a] ; pid=47094 ; 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-29 16:55:29 EDT] ; stop_time=[Sat 2026-08-29 16:55:29 EDT] ; pid=47092 ; 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-29 16:55:29 EDT] ; stop_time=[Sat 2026-08-29 16:55:29 EDT] ; pid=47092 ; 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-29 16:55:29 EDT", "InactiveExitTimestampMonotonic": "349334387", "InvocationID": "e7b28b26c08b4b4e8bbac89b4eba36aa", "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": "13598", "LimitNPROCSoft": "13598", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13598", "LimitSIGPENDINGSoft": "13598", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47094", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "23302144", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "23416832", "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-29 16:55:29 EDT", "StateChangeTimestampMonotonic": "349383026", "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": "21757", "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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:55:32 -0400 (0:00:00.880) 0:01:22.130 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008192", "end": "2026-08-29 16:55:33.123900", "rc": 0, "start": "2026-08-29 16:55:33.115708" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:55:33 -0400 (0:00:00.318) 0:01:22.449 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008962", "end": "2026-08-29 16:55:33.441391", "rc": 0, "start": "2026-08-29 16:55:33.432429" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:55:33 -0400 (0:00:00.322) 0:01:22.772 ******* ASYNC OK on managed-node2: jid=j36275747068.48543 ok: [managed-node2] => { "ansible_job_id": "j36275747068.48543", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014463", "end": "2026-08-29 16:55:33.969117", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j36275747068.48543", "start": "2026-08-29 16:55:33.954654", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:55:49 -0400 (0:00:15.949) 0:01:38.721 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011061", "end": "2026-08-29 16:55:49.731858", "rc": 0, "start": "2026-08-29 16:55:49.720797" } STDOUT: shared_buffers ---------------- 860MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:55:49 -0400 (0:00:00.338) 0:01:39.060 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:55:49 -0400 (0:00:00.028) 0:01:39.088 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010490", "end": "2026-08-29 16:55:50.101977", "rc": 0, "start": "2026-08-29 16:55:50.091487" } STDOUT: effective_cache_size ---------------------- 1721MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:55:50 -0400 (0:00:00.340) 0:01:39.429 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:55:50 -0400 (0:00:00.028) 0:01:39.458 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009907", "end": "2026-08-29 16:55:50.455159", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:55:50.445252" } STDOUT: postgres (PostgreSQL) 18.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:55:50 -0400 (0:00:00.328) 0:01:39.786 ******* included: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 29 August 2026 16:55:50 -0400 (0:00:00.029) 0:01:39.816 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:55:50 -0400 (0:00:00.004) 0:01:39.820 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:55:52 -0400 (0:00:01.887) 0:01:41.708 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:55:52 -0400 (0:00:00.017) 0:01:41.725 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:55:52 -0400 (0:00:00.358) 0:01:42.084 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:55:54 -0400 (0:00:01.220) 0:01:43.304 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007972", "end": "2026-08-29 16:55:54.294599", "rc": 0, "start": "2026-08-29 16:55:54.286627" } STDOUT: Aug 29 16:53:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:06 managed-node2 postgres[12348]: 2026-08-29 16:53:06.410 EDT [12348] LOG: redirecting log output to logging collector process Aug 29 16:53:06 managed-node2 postgres[12348]: 2026-08-29 16:53:06.410 EDT [12348] HINT: Future log output will appear in directory "log". Aug 29 16:53:06 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:13 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:13 managed-node2 postgres[15063]: 2026-08-29 16:53:13.707 EDT [15063] LOG: redirecting log output to logging collector process Aug 29 16:53:13 managed-node2 postgres[15063]: 2026-08-29 16:53:13.707 EDT [15063] HINT: Future log output will appear in directory "log". Aug 29 16:53:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:15 managed-node2 systemd[1]: postgresql.service: Killing process 15064 (postgres) with signal SIGKILL. Aug 29 16:53:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:40 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:40 managed-node2 postgres[22518]: 2026-08-29 16:53:40.453 EDT [22518] LOG: redirecting log output to logging collector process Aug 29 16:53:40 managed-node2 postgres[22518]: 2026-08-29 16:53:40.453 EDT [22518] HINT: Future log output will appear in directory "log". Aug 29 16:53:40 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:45 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:45 managed-node2 postgres[24362]: 2026-08-29 16:53:45.505 EDT [24362] LOG: redirecting log output to logging collector process Aug 29 16:53:45 managed-node2 postgres[24362]: 2026-08-29 16:53:45.505 EDT [24362] HINT: Future log output will appear in directory "log". Aug 29 16:53:45 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:48 managed-node2 systemd[1]: postgresql.service: Killing process 24363 (postgres) with signal SIGKILL. Aug 29 16:53:48 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:02 managed-node2 postgres[29102]: 2026-08-29 16:54:02.223 EDT [29102] LOG: redirecting log output to logging collector process Aug 29 16:54:02 managed-node2 postgres[29102]: 2026-08-29 16:54:02.223 EDT [29102] HINT: Future log output will appear in directory "log". Aug 29 16:54:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:05 managed-node2 systemd[1]: postgresql.service: Killing process 29103 (postgres) with signal SIGKILL. Aug 29 16:54:05 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:05 managed-node2 postgres[29987]: 2026-08-29 16:54:05.414 EDT [29987] LOG: redirecting log output to logging collector process Aug 29 16:54:05 managed-node2 postgres[29987]: 2026-08-29 16:54:05.414 EDT [29987] HINT: Future log output will appear in directory "log". Aug 29 16:54:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:06 managed-node2 systemd[1]: postgresql.service: Killing process 29988 (postgres) with signal SIGKILL. Aug 29 16:54:06 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:21 managed-node2 postgres[34564]: 2026-08-29 16:54:21.774 EDT [34564] LOG: redirecting log output to logging collector process Aug 29 16:54:21 managed-node2 postgres[34564]: 2026-08-29 16:54:21.774 EDT [34564] HINT: Future log output will appear in directory "log". Aug 29 16:54:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:24 managed-node2 systemd[1]: postgresql.service: Killing process 34565 (postgres) with signal SIGKILL. Aug 29 16:54:24 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:25 managed-node2 postgres[35526]: 2026-08-29 16:54:25.020 EDT [35526] LOG: redirecting log output to logging collector process Aug 29 16:54:25 managed-node2 postgres[35526]: 2026-08-29 16:54:25.020 EDT [35526] HINT: Future log output will appear in directory "log". Aug 29 16:54:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:44 managed-node2 systemd[1]: postgresql.service: Killing process 35527 (postgres) with signal SIGKILL. Aug 29 16:54:44 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:56 managed-node2 postmaster[40825]: 2026-08-29 16:54:56.069 EDT [40825] LOG: redirecting log output to logging collector process Aug 29 16:54:56 managed-node2 postmaster[40825]: 2026-08-29 16:54:56.069 EDT [40825] HINT: Future log output will appear in directory "log". Aug 29 16:54:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:58 managed-node2 systemd[1]: postgresql.service: Killing process 40826 (postmaster) with signal SIGKILL. Aug 29 16:54:58 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:58 managed-node2 postmaster[41786]: 2026-08-29 16:54:58.899 EDT [41786] LOG: redirecting log output to logging collector process Aug 29 16:54:58 managed-node2 postmaster[41786]: 2026-08-29 16:54:58.899 EDT [41786] HINT: Future log output will appear in directory "log". Aug 29 16:54:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:18 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:55:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:29 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:29 managed-node2 postgres[47094]: 2026-08-29 16:55:29.930 EDT [47094] LOG: redirecting log output to logging collector process Aug 29 16:55:29 managed-node2 postgres[47094]: 2026-08-29 16:55:29.930 EDT [47094] HINT: Future log output will appear in directory "log". Aug 29 16:55:29 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:32 managed-node2 systemd[1]: postgresql.service: Killing process 47095 (postgres) with signal SIGKILL. Aug 29 16:55:32 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:55:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:32 managed-node2 postgres[48058]: 2026-08-29 16:55:32.774 EDT [48058] LOG: redirecting log output to logging collector process Aug 29 16:55:32 managed-node2 postgres[48058]: 2026-08-29 16:55:32.774 EDT [48058] HINT: Future log output will appear in directory "log". Aug 29 16:55:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:51 managed-node2 systemd[1]: postgresql.service: Killing process 48059 (postgres) with signal SIGKILL. Aug 29 16:55:51 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:55:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 29 August 2026 16:55:54 -0400 (0:00:00.317) 0:01:43.622 ******* included: /tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 29 August 2026 16:55:54 -0400 (0:00:00.026) 0:01:43.648 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 29 August 2026 16:55:54 -0400 (0:00:00.000) 0:01:43.649 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 29 August 2026 16:55:54 -0400 (0:00:00.014) 0:01:43.663 ******* included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 29 August 2026 16:55:54 -0400 (0:00:00.037) 0:01:43.701 ******* included: /tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 29 August 2026 16:55:54 -0400 (0:00:00.022) 0:01:43.724 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 29 August 2026 16:55:55 -0400 (0:00:00.727) 0:01:44.451 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-29T16:55:55-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:20 Saturday 29 August 2026 16:55:55 -0400 (0:00:00.309) 0:01:44.760 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:25 Saturday 29 August 2026 16:55:55 -0400 (0:00:00.016) 0:01:44.777 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:32 Saturday 29 August 2026 16:55:55 -0400 (0:00:00.015) 0:01:44.792 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:40 Saturday 29 August 2026 16:55:55 -0400 (0:00:00.014) 0:01:44.807 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:45 Saturday 29 August 2026 16:55:55 -0400 (0:00:00.014) 0:01:44.822 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:50 Saturday 29 August 2026 16:55:55 -0400 (0:00:00.014) 0:01:44.836 ******* 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-qw2/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-qw2/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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:65 Saturday 29 August 2026 16:55:55 -0400 (0:00:00.034) 0:01:44.871 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:70 Saturday 29 August 2026 16:55:55 -0400 (0:00:00.304) 0:01:45.175 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:75 Saturday 29 August 2026 16:55:56 -0400 (0:00:00.307) 0:01:45.483 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 29 August 2026 16:55:56 -0400 (0:00:00.308) 0:01:45.791 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 29 August 2026 16:55:57 -0400 (0:00:00.706) 0:01:46.498 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 29 August 2026 16:55:57 -0400 (0:00:00.022) 0:01:46.521 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 29 August 2026 16:55:57 -0400 (0:00:00.024) 0:01:46.545 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 29 August 2026 16:55:57 -0400 (0:00:00.021) 0:01:46.566 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 29 August 2026 16:55:57 -0400 (0:00:00.043) 0:01:46.610 ******* changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server installed.", "Installed: postgresql-16.8-1.module_el9+1265+61707298.x86_64", "Installed: postgresql-server-16.8-1.module_el9+1265+61707298.x86_64", "Installed: postgresql-private-libs-16.8-1.module_el9+1265+61707298.x86_64" ] } lsrpackages: @postgresql:16/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 29 August 2026 16:56:00 -0400 (0:00:03.345) 0:01:49.955 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.756959", "end": "2026-08-29 16:56:01.737864", "rc": 0, "start": "2026-08-29 16:56:00.980905" } 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 29 August 2026 16:56:01 -0400 (0:00:01.110) 0:01:51.066 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 29 August 2026 16:56:01 -0400 (0:00:00.017) 0:01:51.084 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 29 August 2026 16:56:01 -0400 (0:00:00.017) 0:01:51.101 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 29 August 2026 16:56:01 -0400 (0:00:00.016) 0:01:51.118 ******* 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 systemd-journald.socket basic.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": "13598", "LimitNPROCSoft": "13598", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13598", "LimitSIGPENDINGSoft": "13598", "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": "21757", "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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 29 August 2026 16:56:02 -0400 (0:00:01.051) 0:01:52.169 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 29 August 2026 16:56:02 -0400 (0:00:00.020) 0:01:52.189 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 29 August 2026 16:56:02 -0400 (0:00:00.020) 0:01:52.210 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 29 August 2026 16:56:02 -0400 (0:00:00.019) 0:01:52.229 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 29 August 2026 16:56:02 -0400 (0:00:00.015) 0:01:52.244 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 29 August 2026 16:56:02 -0400 (0:00:00.018) 0:01:52.263 ******* included: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.028) 0:01:52.291 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.016) 0:01:52.308 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.020) 0:01:52.329 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.017) 0:01:52.346 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.016) 0:01:52.362 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.015) 0:01:52.378 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.015) 0:01:52.394 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.017) 0:01:52.412 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.015) 0:01:52.427 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.014) 0:01:52.442 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.018) 0:01:52.460 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.321) 0:01:52.782 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 29 August 2026 16:56:03 -0400 (0:00:00.318) 0:01:53.101 ******* changed: [managed-node2] => { "changed": true, "checksum": "77990c8f8d81b90e3df9838fecb90e9f12e49050", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "51e1c20280ac0bd41788d7bd41904930", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1788036963.861739-14654-19550748242950/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.628) 0:01:53.729 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.019) 0:01:53.749 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.020) 0:01:53.769 ******* ok: [managed-node2] => { "changed": false, "fingerprint": { "ansible_check_mode": false, "ansible_version": "2.17.14", "date": "2026-08-29T16:56:04-04:00", "managed_node_distro": "CentOS-9", "play_hosts_number": 1, "role_name": "postgresql", "role_path": "/tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql", "status": "success" } } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:12 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.322) 0:01:54.091 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:19 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.017) 0:01:54.109 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 29 August 2026 16:56:04 -0400 (0:00:00.005) 0:01:54.115 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-08-29 16:56:02 EDT", "ActiveEnterTimestampMonotonic": "382266926", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network-online.target systemd-journald.socket sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-29 16:56:02 EDT", "AssertTimestampMonotonic": "382209161", "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": "32867000", "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-29 16:56:02 EDT", "ConditionTimestampMonotonic": "382209159", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "8367", "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": "53355", "ExecMainStartTimestamp": "Sat 2026-08-29 16:56:02 EDT", "ExecMainStartTimestampMonotonic": "382226472", "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-29 16:56:02 EDT] ; stop_time=[n/a] ; pid=53355 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-08-29 16:56:02 EDT] ; stop_time=[n/a] ; pid=53355 ; 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-29 16:56:02 EDT] ; stop_time=[Sat 2026-08-29 16:56:02 EDT] ; pid=53353 ; 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-29 16:56:02 EDT] ; stop_time=[Sat 2026-08-29 16:56:02 EDT] ; pid=53353 ; 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-29 16:56:02 EDT", "InactiveExitTimestampMonotonic": "382221374", "InvocationID": "24e76f3d2a8349a192ea2348cf4143bc", "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": "13598", "LimitNPROCSoft": "13598", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13598", "LimitSIGPENDINGSoft": "13598", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "53355", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18649088", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18825216", "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-29 16:56:02 EDT", "StateChangeTimestampMonotonic": "382266926", "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": "21757", "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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:22 Saturday 29 August 2026 16:56:05 -0400 (0:00:00.873) 0:01:54.988 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008266", "end": "2026-08-29 16:56:05.984234", "rc": 0, "start": "2026-08-29 16:56:05.975968" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:28 Saturday 29 August 2026 16:56:06 -0400 (0:00:00.321) 0:01:55.309 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008943", "end": "2026-08-29 16:56:06.305193", "rc": 0, "start": "2026-08-29 16:56:06.296250" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Saturday 29 August 2026 16:56:06 -0400 (0:00:00.320) 0:01:55.630 ******* ASYNC OK on managed-node2: jid=j229254375573.54798 ok: [managed-node2] => { "ansible_job_id": "j229254375573.54798", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012758", "end": "2026-08-29 16:56:06.829848", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j229254375573.54798", "start": "2026-08-29 16:56:06.817090", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:45 Saturday 29 August 2026 16:56:22 -0400 (0:00:15.956) 0:02:11.587 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010744", "end": "2026-08-29 16:56:22.599389", "rc": 0, "start": "2026-08-29 16:56:22.588645" } STDOUT: shared_buffers ---------------- 860MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:57 Saturday 29 August 2026 16:56:22 -0400 (0:00:00.339) 0:02:11.926 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:68 Saturday 29 August 2026 16:56:22 -0400 (0:00:00.028) 0:02:11.955 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010565", "end": "2026-08-29 16:56:22.967138", "rc": 0, "start": "2026-08-29 16:56:22.956573" } STDOUT: effective_cache_size ---------------------- 1721MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:80 Saturday 29 August 2026 16:56:23 -0400 (0:00:00.338) 0:02:12.293 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:91 Saturday 29 August 2026 16:56:23 -0400 (0:00:00.030) 0:02:12.324 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009904", "end": "2026-08-29 16:56:23.322247", "failed_when_result": false, "rc": 0, "start": "2026-08-29 16:56:23.312343" } STDOUT: postgres (PostgreSQL) 16.8 TASK [Clean up] **************************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:99 Saturday 29 August 2026 16:56:23 -0400 (0:00:00.328) 0:02:12.652 ******* included: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 29 August 2026 16:56:23 -0400 (0:00:00.029) 0:02:12.682 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 29 August 2026 16:56:23 -0400 (0:00:00.005) 0:02:12.687 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 29 August 2026 16:56:25 -0400 (0:00:01.931) 0:02:14.618 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 29 August 2026 16:56:25 -0400 (0:00:00.017) 0:02:14.636 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 29 August 2026 16:56:25 -0400 (0:00:00.358) 0:02:14.994 ******* 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-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 29 August 2026 16:56:26 -0400 (0:00:01.218) 0:02:16.212 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008480", "end": "2026-08-29 16:56:27.206253", "rc": 0, "start": "2026-08-29 16:56:27.197773" } STDOUT: Aug 29 16:53:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:06 managed-node2 postgres[12348]: 2026-08-29 16:53:06.410 EDT [12348] LOG: redirecting log output to logging collector process Aug 29 16:53:06 managed-node2 postgres[12348]: 2026-08-29 16:53:06.410 EDT [12348] HINT: Future log output will appear in directory "log". Aug 29 16:53:06 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:13 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:13 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:13 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:13 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:13 managed-node2 postgres[15063]: 2026-08-29 16:53:13.707 EDT [15063] LOG: redirecting log output to logging collector process Aug 29 16:53:13 managed-node2 postgres[15063]: 2026-08-29 16:53:13.707 EDT [15063] HINT: Future log output will appear in directory "log". Aug 29 16:53:13 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:15 managed-node2 systemd[1]: postgresql.service: Killing process 15064 (postgres) with signal SIGKILL. Aug 29 16:53:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:40 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:40 managed-node2 postgres[22518]: 2026-08-29 16:53:40.453 EDT [22518] LOG: redirecting log output to logging collector process Aug 29 16:53:40 managed-node2 postgres[22518]: 2026-08-29 16:53:40.453 EDT [22518] HINT: Future log output will appear in directory "log". Aug 29 16:53:40 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:45 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:53:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:53:45 managed-node2 postgres[24362]: 2026-08-29 16:53:45.505 EDT [24362] LOG: redirecting log output to logging collector process Aug 29 16:53:45 managed-node2 postgres[24362]: 2026-08-29 16:53:45.505 EDT [24362] HINT: Future log output will appear in directory "log". Aug 29 16:53:45 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:53:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:53:48 managed-node2 systemd[1]: postgresql.service: Killing process 24363 (postgres) with signal SIGKILL. Aug 29 16:53:48 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:53:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:02 managed-node2 postgres[29102]: 2026-08-29 16:54:02.223 EDT [29102] LOG: redirecting log output to logging collector process Aug 29 16:54:02 managed-node2 postgres[29102]: 2026-08-29 16:54:02.223 EDT [29102] HINT: Future log output will appear in directory "log". Aug 29 16:54:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:05 managed-node2 systemd[1]: postgresql.service: Killing process 29103 (postgres) with signal SIGKILL. Aug 29 16:54:05 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:05 managed-node2 postgres[29987]: 2026-08-29 16:54:05.414 EDT [29987] LOG: redirecting log output to logging collector process Aug 29 16:54:05 managed-node2 postgres[29987]: 2026-08-29 16:54:05.414 EDT [29987] HINT: Future log output will appear in directory "log". Aug 29 16:54:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:06 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:06 managed-node2 systemd[1]: postgresql.service: Killing process 29988 (postgres) with signal SIGKILL. Aug 29 16:54:06 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:06 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:21 managed-node2 postgres[34564]: 2026-08-29 16:54:21.774 EDT [34564] LOG: redirecting log output to logging collector process Aug 29 16:54:21 managed-node2 postgres[34564]: 2026-08-29 16:54:21.774 EDT [34564] HINT: Future log output will appear in directory "log". Aug 29 16:54:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:24 managed-node2 systemd[1]: postgresql.service: Killing process 34565 (postgres) with signal SIGKILL. Aug 29 16:54:24 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:25 managed-node2 postgres[35526]: 2026-08-29 16:54:25.020 EDT [35526] LOG: redirecting log output to logging collector process Aug 29 16:54:25 managed-node2 postgres[35526]: 2026-08-29 16:54:25.020 EDT [35526] HINT: Future log output will appear in directory "log". Aug 29 16:54:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:44 managed-node2 systemd[1]: postgresql.service: Killing process 35527 (postgres) with signal SIGKILL. Aug 29 16:54:44 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:56 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:56 managed-node2 postmaster[40825]: 2026-08-29 16:54:56.069 EDT [40825] LOG: redirecting log output to logging collector process Aug 29 16:54:56 managed-node2 postmaster[40825]: 2026-08-29 16:54:56.069 EDT [40825] HINT: Future log output will appear in directory "log". Aug 29 16:54:56 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:54:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:54:58 managed-node2 systemd[1]: postgresql.service: Killing process 40826 (postmaster) with signal SIGKILL. Aug 29 16:54:58 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:54:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:54:58 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:54:58 managed-node2 postmaster[41786]: 2026-08-29 16:54:58.899 EDT [41786] LOG: redirecting log output to logging collector process Aug 29 16:54:58 managed-node2 postmaster[41786]: 2026-08-29 16:54:58.899 EDT [41786] HINT: Future log output will appear in directory "log". Aug 29 16:54:58 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:18 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:18 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:55:18 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:29 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:29 managed-node2 postgres[47094]: 2026-08-29 16:55:29.930 EDT [47094] LOG: redirecting log output to logging collector process Aug 29 16:55:29 managed-node2 postgres[47094]: 2026-08-29 16:55:29.930 EDT [47094] HINT: Future log output will appear in directory "log". Aug 29 16:55:29 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:32 managed-node2 systemd[1]: postgresql.service: Killing process 47095 (postgres) with signal SIGKILL. Aug 29 16:55:32 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:55:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:55:32 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:55:32 managed-node2 postgres[48058]: 2026-08-29 16:55:32.774 EDT [48058] LOG: redirecting log output to logging collector process Aug 29 16:55:32 managed-node2 postgres[48058]: 2026-08-29 16:55:32.774 EDT [48058] HINT: Future log output will appear in directory "log". Aug 29 16:55:32 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:55:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:55:51 managed-node2 systemd[1]: postgresql.service: Killing process 48059 (postgres) with signal SIGKILL. Aug 29 16:55:51 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:55:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:02 managed-node2 postgres[53355]: 2026-08-29 16:56:02.815 EDT [53355] LOG: redirecting log output to logging collector process Aug 29 16:56:02 managed-node2 postgres[53355]: 2026-08-29 16:56:02.815 EDT [53355] HINT: Future log output will appear in directory "log". Aug 29 16:56:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:05 managed-node2 systemd[1]: postgresql.service: Killing process 53356 (postgres) with signal SIGKILL. Aug 29 16:56:05 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:56:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 29 16:56:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 29 16:56:05 managed-node2 postgres[54316]: 2026-08-29 16:56:05.634 EDT [54316] LOG: redirecting log output to logging collector process Aug 29 16:56:05 managed-node2 postgres[54316]: 2026-08-29 16:56:05.634 EDT [54316] HINT: Future log output will appear in directory "log". Aug 29 16:56:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 29 16:56:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 29 16:56:24 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. Aug 29 16:56:24 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 29 August 2026 16:56:27 -0400 (0:00:00.315) 0:02:16.527 ******* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.10s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.96s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.95s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:33 Test - database is accessible for super user using Unix socket --------- 15.95s /tmp/collections-qw2/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.30s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.13s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.53s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.35s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 1.93s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.91s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.89s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.86s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server --- 1.25s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Remove config files ----------------------------------------------------- 1.22s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.22s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.22s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.21s /tmp/collections-qw2/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.14s /tmp/collections-qw2/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.11s /tmp/collections-qw2/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.10s /tmp/collections-qw2/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58