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-Dtg executable location = /usr/local/bin/ansible-playbook python version = 3.12.12 (main, Mar 9 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-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 23 May 2026 15:26:40 -0400 (0:00:00.025) 0:00:00.025 ********** [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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 23 May 2026 15:26:41 -0400 (0:00:01.042) 0:00:01.067 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 23 May 2026 15:26:41 -0400 (0:00:00.005) 0:00:01.073 ********** included: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 23 May 2026 15:26:41 -0400 (0:00:00.048) 0:00:01.121 ********** included: /tmp/collections-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 23 May 2026 15:26:41 -0400 (0:00:00.059) 0:00:01.181 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 23 May 2026 15:26:41 -0400 (0:00:00.001) 0:00:01.182 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 23 May 2026 15:26:41 -0400 (0:00:00.020) 0:00:01.203 ********** included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 23 May 2026 15:26:41 -0400 (0:00:00.117) 0:00:01.321 ********** included: /tmp/collections-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 23 May 2026 15:26:41 -0400 (0:00:00.041) 0:00:01.362 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 23 May 2026 15:26:42 -0400 (0:00:00.794) 0:00:02.157 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 23 May 2026 15:26:43 -0400 (0:00:00.478) 0:00:02.635 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 23 May 2026 15:26:43 -0400 (0:00:00.446) 0:00:03.081 ********** ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 23 May 2026 15:26:43 -0400 (0:00:00.029) 0:00:03.111 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008916", "end": "2026-05-23 15:26:44.059394", "failed_when_result": false, "rc": 0, "start": "2026-05-23 15:26:44.050478" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 23 May 2026 15:26:44 -0400 (0:00:00.461) 0:00:03.573 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 23 May 2026 15:26:44 -0400 (0:00:00.030) 0:00:03.603 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 23 May 2026 15:26:44 -0400 (0:00:00.021) 0:00:03.624 ********** 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-Dtg/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-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 23 May 2026 15:26:44 -0400 (0:00:00.039) 0:00:03.664 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 23 May 2026 15:26:44 -0400 (0:00:00.346) 0:00:04.011 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 23 May 2026 15:26:44 -0400 (0:00:00.369) 0:00:04.380 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 23 May 2026 15:26:45 -0400 (0:00:00.382) 0:00:04.763 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 23 May 2026 15:26:46 -0400 (0:00:01.014) 0:00:05.777 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 23 May 2026 15:26:46 -0400 (0:00:00.028) 0:00:05.806 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 23 May 2026 15:26:46 -0400 (0:00:00.033) 0:00:05.839 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 23 May 2026 15:26:46 -0400 (0:00:00.027) 0:00:05.867 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 23 May 2026 15:26:46 -0400 (0:00:00.024) 0:00:05.892 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Installed: postgresql-13.23-3.el9.x86_64", "Installed: postgresql-server-13.23-3.el9.x86_64", "Installed: postgresql-private-libs-13.23-3.el9.x86_64" ] } lsrpackages: postgresql-server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 23 May 2026 15:26:50 -0400 (0:00:03.584) 0:00:09.476 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.711654", "end": "2026-05-23 15:26:51.063288", "rc": 0, "start": "2026-05-23 15:26:50.351634" } 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 23 May 2026 15:26:51 -0400 (0:00:01.104) 0:00:10.581 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 23 May 2026 15:26:51 -0400 (0:00:00.022) 0:00:10.604 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 23 May 2026 15:26:51 -0400 (0:00:00.020) 0:00:10.624 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 23 May 2026 15:26:51 -0400 (0:00:00.018) 0:00:10.643 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target system.slice sysinit.target network.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13683", "LimitNPROCSoft": "13683", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13683", "LimitSIGPENDINGSoft": "13683", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21893", "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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 23 May 2026 15:26:52 -0400 (0:00:01.367) 0:00:12.011 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.020) 0:00:12.031 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.020) 0:00:12.051 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.018) 0:00:12.070 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.014) 0:00:12.084 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.019) 0:00:12.104 ********** included: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.045) 0:00:12.149 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.025) 0:00:12.174 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.018) 0:00:12.193 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.016) 0:00:12.209 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.016) 0:00:12.226 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.017) 0:00:12.243 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.015) 0:00:12.259 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.015) 0:00:12.275 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.015) 0:00:12.291 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.018) 0:00:12.310 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 23 May 2026 15:26:52 -0400 (0:00:00.018) 0:00:12.328 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 23 May 2026 15:26:53 -0400 (0:00:00.472) 0:00:12.800 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 23 May 2026 15:26:53 -0400 (0:00:00.468) 0:00:13.269 ********** changed: [managed-node2] => { "changed": true, "checksum": "92a2b0bf9a2393e4ec79a60ffdb9d185bc039ac6", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "930e58d93cad577062b62ebfdefb8675", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1779564413.8488886-13363-126639401868056/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 23 May 2026 15:26:54 -0400 (0:00:00.820) 0:00:14.090 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 23 May 2026 15:26:54 -0400 (0:00:00.040) 0:00:14.130 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 23 May 2026 15:26:54 -0400 (0:00:00.020) 0:00:14.150 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 23 May 2026 15:26:55 -0400 (0:00:00.350) 0:00:14.500 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 23 May 2026 15:26:55 -0400 (0:00:00.019) 0:00:14.520 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 23 May 2026 15:26:55 -0400 (0:00:00.004) 0:00:14.524 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-05-23 15:26:52 EDT", "ActiveEnterTimestampMonotonic": "287840516", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-23 15:26:52 EDT", "AssertTimestampMonotonic": "287770903", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "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-05-23 15:26:52 EDT", "ConditionTimestampMonotonic": "287770899", "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": "34185", "ExecMainStartTimestamp": "Sat 2026-05-23 15:26:52 EDT", "ExecMainStartTimestampMonotonic": "287797077", "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-05-23 15:26:52 EDT] ; stop_time=[n/a] ; pid=34185 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-05-23 15:26:52 EDT] ; stop_time=[n/a] ; pid=34185 ; 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-05-23 15:26:52 EDT] ; stop_time=[Sat 2026-05-23 15:26:52 EDT] ; pid=34183 ; 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-05-23 15:26:52 EDT] ; stop_time=[Sat 2026-05-23 15:26:52 EDT] ; pid=34183 ; 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-05-23 15:26:52 EDT", "InactiveExitTimestampMonotonic": "287781439", "InvocationID": "e0aa7f1db235483f9c294ebe148716c7", "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": "13683", "LimitNPROCSoft": "13683", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13683", "LimitSIGPENDINGSoft": "13683", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "34185", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17678336", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "17993728", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-05-23 15:26:52 EDT", "StateChangeTimestampMonotonic": "287840516", "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": "21893", "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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 23 May 2026 15:26:56 -0400 (0:00:00.962) 0:00:15.487 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.009828", "end": "2026-05-23 15:26:56.326391", "rc": 0, "start": "2026-05-23 15:26:56.316563" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 23 May 2026 15:26:56 -0400 (0:00:00.358) 0:00:15.845 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009455", "end": "2026-05-23 15:26:56.678912", "rc": 0, "start": "2026-05-23 15:26:56.669457" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 23 May 2026 15:26:56 -0400 (0:00:00.350) 0:00:16.196 ********** ASYNC OK on managed-node2: jid=j491790197834.35630 ok: [managed-node2] => { "ansible_job_id": "j491790197834.35630", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014304", "end": "2026-05-23 15:26:57.339782", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j491790197834.35630", "start": "2026-05-23 15:26:57.325478", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 23 May 2026 15:27:12 -0400 (0:00:16.228) 0:00:32.425 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011420", "end": "2026-05-23 15:27:13.277879", "rc": 0, "start": "2026-05-23 15:27:13.266459" } STDOUT: shared_buffers ---------------- 866MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 23 May 2026 15:27:13 -0400 (0:00:00.371) 0:00:32.796 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 23 May 2026 15:27:13 -0400 (0:00:00.031) 0:00:32.828 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011119", "end": "2026-05-23 15:27:13.684160", "rc": 0, "start": "2026-05-23 15:27:13.673041" } STDOUT: effective_cache_size ---------------------- 1732MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 23 May 2026 15:27:13 -0400 (0:00:00.373) 0:00:33.201 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 23 May 2026 15:27:13 -0400 (0:00:00.031) 0:00:33.233 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009915", "end": "2026-05-23 15:27:14.069488", "failed_when_result": false, "rc": 0, "start": "2026-05-23 15:27:14.059573" } STDOUT: postgres (PostgreSQL) 13.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 23 May 2026 15:27:14 -0400 (0:00:00.363) 0:00:33.596 ********** included: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 23 May 2026 15:27:14 -0400 (0:00:00.033) 0:00:33.630 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 23 May 2026 15:27:14 -0400 (0:00:00.004) 0:00:33.634 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Removed: postgresql-13.23-3.el9.x86_64", "Removed: postgresql-private-libs-13.23-3.el9.x86_64", "Removed: postgresql-server-13.23-3.el9.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 23 May 2026 15:27:16 -0400 (0:00:01.975) 0:00:35.609 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 23 May 2026 15:27:16 -0400 (0:00:00.019) 0:00:35.629 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 23 May 2026 15:27:16 -0400 (0:00:00.404) 0:00:36.034 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 23 May 2026 15:27:17 -0400 (0:00:01.356) 0:00:37.391 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008422", "end": "2026-05-23 15:27:18.227824", "rc": 0, "start": "2026-05-23 15:27:18.219402" } STDOUT: May 23 15:25:30 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:30 managed-node2 postmaster[12190]: 2026-05-23 15:25:30.086 EDT [12190] LOG: redirecting log output to logging collector process May 23 15:25:30 managed-node2 postmaster[12190]: 2026-05-23 15:25:30.086 EDT [12190] HINT: Future log output will appear in directory "log". May 23 15:25:30 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:38 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:25:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:25:38 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:38 managed-node2 postmaster[14905]: 2026-05-23 15:25:38.103 EDT [14905] LOG: redirecting log output to logging collector process May 23 15:25:38 managed-node2 postmaster[14905]: 2026-05-23 15:25:38.103 EDT [14905] HINT: Future log output will appear in directory "log". May 23 15:25:38 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Killing process 14906 (postmaster) with signal SIGKILL. May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:25:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:06 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:06 managed-node2 postmaster[22121]: 2026-05-23 15:26:06.702 EDT [22121] LOG: redirecting log output to logging collector process May 23 15:26:06 managed-node2 postmaster[22121]: 2026-05-23 15:26:06.702 EDT [22121] HINT: Future log output will appear in directory "log". May 23 15:26:06 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:12 managed-node2 systemd[1]: postgresql.service: Killing process 22122 (postmaster) with signal SIGKILL. May 23 15:26:12 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:12 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:12 managed-node2 postmaster[23965]: 2026-05-23 15:26:12.377 EDT [23965] LOG: redirecting log output to logging collector process May 23 15:26:12 managed-node2 postmaster[23965]: 2026-05-23 15:26:12.377 EDT [23965] HINT: Future log output will appear in directory "log". May 23 15:26:12 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:15 managed-node2 systemd[1]: postgresql.service: Killing process 23966 (postmaster) with signal SIGKILL. May 23 15:26:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:31 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:31 managed-node2 postmaster[28712]: 2026-05-23 15:26:31.367 EDT [28712] LOG: redirecting log output to logging collector process May 23 15:26:31 managed-node2 postmaster[28712]: 2026-05-23 15:26:31.367 EDT [28712] HINT: Future log output will appear in directory "log". May 23 15:26:31 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:34 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:35 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:35 managed-node2 postmaster[29597]: 2026-05-23 15:26:35.054 EDT [29597] LOG: redirecting log output to logging collector process May 23 15:26:35 managed-node2 postmaster[29597]: 2026-05-23 15:26:35.054 EDT [29597] HINT: Future log output will appear in directory "log". May 23 15:26:35 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:36 managed-node2 systemd[1]: postgresql.service: Killing process 29598 (postmaster) with signal SIGKILL. May 23 15:26:36 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:52 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:52 managed-node2 postmaster[34185]: 2026-05-23 15:26:52.461 EDT [34185] LOG: redirecting log output to logging collector process May 23 15:26:52 managed-node2 postmaster[34185]: 2026-05-23 15:26:52.461 EDT [34185] HINT: Future log output will appear in directory "log". May 23 15:26:52 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:55 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:55 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:55 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:55 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:55 managed-node2 postmaster[35147]: 2026-05-23 15:26:55.940 EDT [35147] LOG: redirecting log output to logging collector process May 23 15:26:55 managed-node2 postmaster[35147]: 2026-05-23 15:26:55.940 EDT [35147] HINT: Future log output will appear in directory "log". May 23 15:26:55 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:15 managed-node2 systemd[1]: postgresql.service: Killing process 35148 (postmaster) with signal SIGKILL. May 23 15:27:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:27:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 23 May 2026 15:27:18 -0400 (0:00:00.355) 0:00:37.746 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 23 May 2026 15:27:18 -0400 (0:00:00.012) 0:00:37.758 ********** ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 23 May 2026 15:27:18 -0400 (0:00:00.025) 0:00:37.783 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=18) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 23 May 2026 15:27:18 -0400 (0:00:00.075) 0:00:37.859 ********** included: /tmp/collections-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 23 May 2026 15:27:18 -0400 (0:00:00.034) 0:00:37.893 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 23 May 2026 15:27:18 -0400 (0:00:00.000) 0:00:37.894 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 23 May 2026 15:27:18 -0400 (0:00:00.015) 0:00:37.910 ********** included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 23 May 2026 15:27:18 -0400 (0:00:00.041) 0:00:37.951 ********** included: /tmp/collections-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 23 May 2026 15:27:18 -0400 (0:00:00.023) 0:00:37.975 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 23 May 2026 15:27:19 -0400 (0:00:00.783) 0:00:38.758 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 23 May 2026 15:27:19 -0400 (0:00:00.340) 0:00:39.098 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 23 May 2026 15:27:19 -0400 (0:00:00.016) 0:00:39.115 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 23 May 2026 15:27:19 -0400 (0:00:00.016) 0:00:39.132 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 23 May 2026 15:27:19 -0400 (0:00:00.015) 0:00:39.147 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 23 May 2026 15:27:19 -0400 (0:00:00.014) 0:00:39.162 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 23 May 2026 15:27:19 -0400 (0:00:00.015) 0:00:39.177 ********** [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-Dtg/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-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 23 May 2026 15:27:19 -0400 (0:00:00.035) 0:00:39.213 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 23 May 2026 15:27:20 -0400 (0:00:00.337) 0:00:39.550 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 23 May 2026 15:27:20 -0400 (0:00:00.339) 0:00:39.889 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 23 May 2026 15:27:20 -0400 (0:00:00.343) 0:00:40.233 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 23 May 2026 15:27:21 -0400 (0:00:00.764) 0:00:40.997 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 23 May 2026 15:27:21 -0400 (0:00:00.023) 0:00:41.021 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 23 May 2026 15:27:21 -0400 (0:00:00.025) 0:00:41.047 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 23 May 2026 15:27:21 -0400 (0:00:00.023) 0:00:41.070 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 23 May 2026 15:27:21 -0400 (0:00:00.070) 0:00:41.141 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 23 May 2026 15:27:25 -0400 (0:00:03.665) 0:00:44.807 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.767742", "end": "2026-05-23 15:27:26.442284", "rc": 0, "start": "2026-05-23 15:27:25.674542" } 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 23 May 2026 15:27:26 -0400 (0:00:01.158) 0:00:45.965 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 23 May 2026 15:27:26 -0400 (0:00:00.019) 0:00:45.984 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 23 May 2026 15:27:26 -0400 (0:00:00.018) 0:00:46.002 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 23 May 2026 15:27:26 -0400 (0:00:00.016) 0:00:46.019 ********** 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 basic.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/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": "13683", "LimitNPROCSoft": "13683", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13683", "LimitSIGPENDINGSoft": "13683", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21893", "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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 23 May 2026 15:27:27 -0400 (0:00:01.115) 0:00:47.134 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.022) 0:00:47.156 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.020) 0:00:47.176 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.019) 0:00:47.196 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.015) 0:00:47.212 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.020) 0:00:47.232 ********** included: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.028) 0:00:47.261 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.017) 0:00:47.279 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.018) 0:00:47.297 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.017) 0:00:47.315 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.018) 0:00:47.333 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.017) 0:00:47.351 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.019) 0:00:47.370 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.017) 0:00:47.388 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.016) 0:00:47.405 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.016) 0:00:47.421 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 23 May 2026 15:27:27 -0400 (0:00:00.021) 0:00:47.442 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 23 May 2026 15:27:28 -0400 (0:00:00.355) 0:00:47.798 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 23 May 2026 15:27:28 -0400 (0:00:00.351) 0:00:48.149 ********** changed: [managed-node2] => { "changed": true, "checksum": "92a2b0bf9a2393e4ec79a60ffdb9d185bc039ac6", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "930e58d93cad577062b62ebfdefb8675", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1779564448.727426-13764-102202683764020/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 23 May 2026 15:27:29 -0400 (0:00:00.693) 0:00:48.843 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 23 May 2026 15:27:29 -0400 (0:00:00.023) 0:00:48.866 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 23 May 2026 15:27:29 -0400 (0:00:00.020) 0:00:48.886 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 23 May 2026 15:27:29 -0400 (0:00:00.339) 0:00:49.225 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 23 May 2026 15:27:29 -0400 (0:00:00.020) 0:00:49.246 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 23 May 2026 15:27:29 -0400 (0:00:00.004) 0:00:49.251 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-05-23 15:27:27 EDT", "ActiveEnterTimestampMonotonic": "322965323", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target sysinit.target system.slice network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-23 15:27:27 EDT", "AssertTimestampMonotonic": "322911514", "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": "36650000", "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-05-23 15:27:27 EDT", "ConditionTimestampMonotonic": "322911511", "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": "40499", "ExecMainStartTimestamp": "Sat 2026-05-23 15:27:27 EDT", "ExecMainStartTimestampMonotonic": "322920984", "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-05-23 15:27:27 EDT] ; stop_time=[n/a] ; pid=40499 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-05-23 15:27:27 EDT] ; stop_time=[n/a] ; pid=40499 ; 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-05-23 15:27:27 EDT] ; stop_time=[Sat 2026-05-23 15:27:27 EDT] ; pid=40497 ; 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-05-23 15:27:27 EDT] ; stop_time=[Sat 2026-05-23 15:27:27 EDT] ; pid=40497 ; 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-05-23 15:27:27 EDT", "InactiveExitTimestampMonotonic": "322915266", "InvocationID": "b62cb918bf4b4dfcb7f732f91bdaf91d", "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": "13683", "LimitNPROCSoft": "13683", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13683", "LimitSIGPENDINGSoft": "13683", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "40499", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18636800", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18956288", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-05-23 15:27:27 EDT", "StateChangeTimestampMonotonic": "322965323", "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": "21893", "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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 23 May 2026 15:27:30 -0400 (0:00:00.945) 0:00:50.197 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008424", "end": "2026-05-23 15:27:31.030727", "rc": 0, "start": "2026-05-23 15:27:31.022303" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 23 May 2026 15:27:31 -0400 (0:00:00.349) 0:00:50.546 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009651", "end": "2026-05-23 15:27:31.382575", "rc": 0, "start": "2026-05-23 15:27:31.372924" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 23 May 2026 15:27:31 -0400 (0:00:00.354) 0:00:50.900 ********** ASYNC OK on managed-node2: jid=j849043114643.41942 ok: [managed-node2] => { "ansible_job_id": "j849043114643.41942", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014557", "end": "2026-05-23 15:27:31.957374", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j849043114643.41942", "start": "2026-05-23 15:27:31.942817", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 23 May 2026 15:27:47 -0400 (0:00:16.050) 0:01:06.951 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011437", "end": "2026-05-23 15:27:47.807082", "rc": 0, "start": "2026-05-23 15:27:47.795645" } STDOUT: shared_buffers ---------------- 866MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 23 May 2026 15:27:47 -0400 (0:00:00.376) 0:01:07.327 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 23 May 2026 15:27:47 -0400 (0:00:00.030) 0:01:07.357 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011427", "end": "2026-05-23 15:27:48.214221", "rc": 0, "start": "2026-05-23 15:27:48.202794" } STDOUT: effective_cache_size ---------------------- 1732MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 23 May 2026 15:27:48 -0400 (0:00:00.376) 0:01:07.734 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 23 May 2026 15:27:48 -0400 (0:00:00.031) 0:01:07.765 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010768", "end": "2026-05-23 15:27:48.603905", "failed_when_result": false, "rc": 0, "start": "2026-05-23 15:27:48.593137" } STDOUT: postgres (PostgreSQL) 16.8 TASK [Clean up] **************************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 23 May 2026 15:27:48 -0400 (0:00:00.366) 0:01:08.131 ********** included: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 23 May 2026 15:27:48 -0400 (0:00:00.033) 0:01:08.164 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 23 May 2026 15:27:48 -0400 (0:00:00.028) 0:01:08.193 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server removed.", "Removed: postgresql-16.8-1.module_el9+1265+61707298.x86_64", "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" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 23 May 2026 15:27:50 -0400 (0:00:02.061) 0:01:10.254 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 23 May 2026 15:27:50 -0400 (0:00:00.017) 0:01:10.272 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 23 May 2026 15:27:51 -0400 (0:00:00.402) 0:01:10.674 ********** [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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 23 May 2026 15:27:52 -0400 (0:00:01.347) 0:01:12.021 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008152", "end": "2026-05-23 15:27:52.856324", "rc": 0, "start": "2026-05-23 15:27:52.848172" } STDOUT: May 23 15:25:30 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:30 managed-node2 postmaster[12190]: 2026-05-23 15:25:30.086 EDT [12190] LOG: redirecting log output to logging collector process May 23 15:25:30 managed-node2 postmaster[12190]: 2026-05-23 15:25:30.086 EDT [12190] HINT: Future log output will appear in directory "log". May 23 15:25:30 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:38 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:25:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:25:38 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:38 managed-node2 postmaster[14905]: 2026-05-23 15:25:38.103 EDT [14905] LOG: redirecting log output to logging collector process May 23 15:25:38 managed-node2 postmaster[14905]: 2026-05-23 15:25:38.103 EDT [14905] HINT: Future log output will appear in directory "log". May 23 15:25:38 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Killing process 14906 (postmaster) with signal SIGKILL. May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:25:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:06 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:06 managed-node2 postmaster[22121]: 2026-05-23 15:26:06.702 EDT [22121] LOG: redirecting log output to logging collector process May 23 15:26:06 managed-node2 postmaster[22121]: 2026-05-23 15:26:06.702 EDT [22121] HINT: Future log output will appear in directory "log". May 23 15:26:06 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:12 managed-node2 systemd[1]: postgresql.service: Killing process 22122 (postmaster) with signal SIGKILL. May 23 15:26:12 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:12 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:12 managed-node2 postmaster[23965]: 2026-05-23 15:26:12.377 EDT [23965] LOG: redirecting log output to logging collector process May 23 15:26:12 managed-node2 postmaster[23965]: 2026-05-23 15:26:12.377 EDT [23965] HINT: Future log output will appear in directory "log". May 23 15:26:12 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:15 managed-node2 systemd[1]: postgresql.service: Killing process 23966 (postmaster) with signal SIGKILL. May 23 15:26:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:31 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:31 managed-node2 postmaster[28712]: 2026-05-23 15:26:31.367 EDT [28712] LOG: redirecting log output to logging collector process May 23 15:26:31 managed-node2 postmaster[28712]: 2026-05-23 15:26:31.367 EDT [28712] HINT: Future log output will appear in directory "log". May 23 15:26:31 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:34 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:35 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:35 managed-node2 postmaster[29597]: 2026-05-23 15:26:35.054 EDT [29597] LOG: redirecting log output to logging collector process May 23 15:26:35 managed-node2 postmaster[29597]: 2026-05-23 15:26:35.054 EDT [29597] HINT: Future log output will appear in directory "log". May 23 15:26:35 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:36 managed-node2 systemd[1]: postgresql.service: Killing process 29598 (postmaster) with signal SIGKILL. May 23 15:26:36 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:52 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:52 managed-node2 postmaster[34185]: 2026-05-23 15:26:52.461 EDT [34185] LOG: redirecting log output to logging collector process May 23 15:26:52 managed-node2 postmaster[34185]: 2026-05-23 15:26:52.461 EDT [34185] HINT: Future log output will appear in directory "log". May 23 15:26:52 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:55 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:55 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:55 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:55 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:55 managed-node2 postmaster[35147]: 2026-05-23 15:26:55.940 EDT [35147] LOG: redirecting log output to logging collector process May 23 15:26:55 managed-node2 postmaster[35147]: 2026-05-23 15:26:55.940 EDT [35147] HINT: Future log output will appear in directory "log". May 23 15:26:55 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:15 managed-node2 systemd[1]: postgresql.service: Killing process 35148 (postmaster) with signal SIGKILL. May 23 15:27:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:27:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:27 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:27 managed-node2 postgres[40499]: 2026-05-23 15:27:27.585 EDT [40499] LOG: redirecting log output to logging collector process May 23 15:27:27 managed-node2 postgres[40499]: 2026-05-23 15:27:27.585 EDT [40499] HINT: Future log output will appear in directory "log". May 23 15:27:27 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:30 managed-node2 systemd[1]: postgresql.service: Killing process 40500 (postgres) with signal SIGKILL. May 23 15:27:30 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:27:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:30 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:30 managed-node2 postgres[41460]: 2026-05-23 15:27:30.650 EDT [41460] LOG: redirecting log output to logging collector process May 23 15:27:30 managed-node2 postgres[41460]: 2026-05-23 15:27:30.650 EDT [41460] HINT: Future log output will appear in directory "log". May 23 15:27:30 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:50 managed-node2 systemd[1]: postgresql.service: Killing process 41461 (postgres) with signal SIGKILL. May 23 15:27:50 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:27:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 23 May 2026 15:27:52 -0400 (0:00:00.353) 0:01:12.375 ********** included: /tmp/collections-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 23 May 2026 15:27:52 -0400 (0:00:00.029) 0:01:12.405 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 23 May 2026 15:27:52 -0400 (0:00:00.001) 0:01:12.406 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 23 May 2026 15:27:52 -0400 (0:00:00.015) 0:01:12.421 ********** included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 23 May 2026 15:27:52 -0400 (0:00:00.039) 0:01:12.461 ********** included: /tmp/collections-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 23 May 2026 15:27:53 -0400 (0:00:00.024) 0:01:12.485 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 23 May 2026 15:27:53 -0400 (0:00:00.781) 0:01:13.267 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 23 May 2026 15:27:54 -0400 (0:00:00.335) 0:01:13.602 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 23 May 2026 15:27:54 -0400 (0:00:00.016) 0:01:13.619 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 23 May 2026 15:27:54 -0400 (0:00:00.016) 0:01:13.636 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 23 May 2026 15:27:54 -0400 (0:00:00.015) 0:01:13.651 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 23 May 2026 15:27:54 -0400 (0:00:00.015) 0:01:13.666 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 23 May 2026 15:27:54 -0400 (0:00:00.015) 0:01:13.681 ********** 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-Dtg/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-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 23 May 2026 15:27:54 -0400 (0:00:00.037) 0:01:13.719 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 23 May 2026 15:27:54 -0400 (0:00:00.342) 0:01:14.061 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 23 May 2026 15:27:54 -0400 (0:00:00.342) 0:01:14.403 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 23 May 2026 15:27:55 -0400 (0:00:00.338) 0:01:14.742 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 23 May 2026 15:27:56 -0400 (0:00:00.770) 0:01:15.513 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 23 May 2026 15:27:56 -0400 (0:00:00.023) 0:01:15.537 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 23 May 2026 15:27:56 -0400 (0:00:00.027) 0:01:15.564 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 23 May 2026 15:27:56 -0400 (0:00:00.023) 0:01:15.588 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 23 May 2026 15:27:56 -0400 (0:00:00.019) 0:01:15.608 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 23 May 2026 15:28:00 -0400 (0:00:04.351) 0:01:19.959 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.747449", "end": "2026-05-23 15:28:01.575352", "rc": 0, "start": "2026-05-23 15:28:00.827903" } 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 23 May 2026 15:28:01 -0400 (0:00:01.134) 0:01:21.094 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 23 May 2026 15:28:01 -0400 (0:00:00.018) 0:01:21.113 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 23 May 2026 15:28:01 -0400 (0:00:00.016) 0:01:21.130 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 23 May 2026 15:28:01 -0400 (0:00:00.016) 0:01:21.146 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target basic.target system.slice sysinit.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/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": "13683", "LimitNPROCSoft": "13683", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13683", "LimitSIGPENDINGSoft": "13683", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21893", "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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 23 May 2026 15:28:02 -0400 (0:00:01.122) 0:01:22.268 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 23 May 2026 15:28:02 -0400 (0:00:00.021) 0:01:22.289 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 23 May 2026 15:28:02 -0400 (0:00:00.020) 0:01:22.310 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 23 May 2026 15:28:02 -0400 (0:00:00.019) 0:01:22.329 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 23 May 2026 15:28:02 -0400 (0:00:00.016) 0:01:22.346 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 23 May 2026 15:28:02 -0400 (0:00:00.019) 0:01:22.366 ********** included: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 23 May 2026 15:28:02 -0400 (0:00:00.028) 0:01:22.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 from the default path] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 23 May 2026 15:28:02 -0400 (0:00:00.018) 0:01:22.413 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 23 May 2026 15:28:02 -0400 (0:00:00.017) 0:01:22.431 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 23 May 2026 15:28:02 -0400 (0:00:00.016) 0:01:22.447 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 23 May 2026 15:28:03 -0400 (0:00:00.016) 0:01:22.464 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 23 May 2026 15:28:03 -0400 (0:00:00.017) 0:01:22.481 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 23 May 2026 15:28:03 -0400 (0:00:00.016) 0:01:22.498 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 23 May 2026 15:28:03 -0400 (0:00:00.017) 0:01:22.515 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 23 May 2026 15:28:03 -0400 (0:00:00.015) 0:01:22.530 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 23 May 2026 15:28:03 -0400 (0:00:00.016) 0:01:22.547 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 23 May 2026 15:28:03 -0400 (0:00:00.044) 0:01:22.591 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 23 May 2026 15:28:03 -0400 (0:00:00.356) 0:01:22.948 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 23 May 2026 15:28:03 -0400 (0:00:00.358) 0:01:23.307 ********** changed: [managed-node2] => { "changed": true, "checksum": "92a2b0bf9a2393e4ec79a60ffdb9d185bc039ac6", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "930e58d93cad577062b62ebfdefb8675", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1779564483.8865232-14161-61154186996682/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 23 May 2026 15:28:04 -0400 (0:00:00.701) 0:01:24.008 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 23 May 2026 15:28:04 -0400 (0:00:00.023) 0:01:24.032 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 23 May 2026 15:28:04 -0400 (0:00:00.021) 0:01:24.053 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 23 May 2026 15:28:04 -0400 (0:00:00.344) 0:01:24.397 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 23 May 2026 15:28:04 -0400 (0:00:00.018) 0:01:24.416 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 23 May 2026 15:28:04 -0400 (0:00:00.005) 0:01:24.421 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-05-23 15:28:02 EDT", "ActiveEnterTimestampMonotonic": "358100345", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target sysinit.target systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-23 15:28:02 EDT", "AssertTimestampMonotonic": "358043746", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "37888000", "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-05-23 15:28:02 EDT", "ConditionTimestampMonotonic": "358043742", "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": "46767", "ExecMainStartTimestamp": "Sat 2026-05-23 15:28:02 EDT", "ExecMainStartTimestampMonotonic": "358055478", "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-05-23 15:28:02 EDT] ; stop_time=[n/a] ; pid=46767 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-05-23 15:28:02 EDT] ; stop_time=[n/a] ; pid=46767 ; 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-05-23 15:28:02 EDT] ; stop_time=[Sat 2026-05-23 15:28:02 EDT] ; pid=46765 ; 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-05-23 15:28:02 EDT] ; stop_time=[Sat 2026-05-23 15:28:02 EDT] ; pid=46765 ; 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-05-23 15:28:02 EDT", "InactiveExitTimestampMonotonic": "358049325", "InvocationID": "0a128dbb7b74492e8c50ed789abf38f3", "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": "13683", "LimitNPROCSoft": "13683", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13683", "LimitSIGPENDINGSoft": "13683", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "46767", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18526208", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18874368", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-05-23 15:28:02 EDT", "StateChangeTimestampMonotonic": "358100345", "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": "21893", "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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 23 May 2026 15:28:05 -0400 (0:00:00.932) 0:01:25.354 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008267", "end": "2026-05-23 15:28:06.181318", "rc": 0, "start": "2026-05-23 15:28:06.173051" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 23 May 2026 15:28:06 -0400 (0:00:00.342) 0:01:25.696 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009653", "end": "2026-05-23 15:28:06.520656", "rc": 0, "start": "2026-05-23 15:28:06.511003" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 23 May 2026 15:28:06 -0400 (0:00:00.338) 0:01:26.034 ********** ASYNC OK on managed-node2: jid=j412398736957.48210 ok: [managed-node2] => { "ansible_job_id": "j412398736957.48210", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014345", "end": "2026-05-23 15:28:07.077583", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j412398736957.48210", "start": "2026-05-23 15:28:07.063238", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 23 May 2026 15:28:22 -0400 (0:00:16.034) 0:01:42.069 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011192", "end": "2026-05-23 15:28:22.918100", "rc": 0, "start": "2026-05-23 15:28:22.906908" } STDOUT: shared_buffers ---------------- 866MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 23 May 2026 15:28:22 -0400 (0:00:00.366) 0:01:42.435 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 23 May 2026 15:28:23 -0400 (0:00:00.032) 0:01:42.468 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010870", "end": "2026-05-23 15:28:23.316690", "rc": 0, "start": "2026-05-23 15:28:23.305820" } STDOUT: effective_cache_size ---------------------- 1732MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 23 May 2026 15:28:23 -0400 (0:00:00.365) 0:01:42.833 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 23 May 2026 15:28:23 -0400 (0:00:00.030) 0:01:42.864 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010451", "end": "2026-05-23 15:28:23.696747", "failed_when_result": false, "rc": 0, "start": "2026-05-23 15:28:23.686296" } STDOUT: postgres (PostgreSQL) 15.12 TASK [Clean up] **************************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 23 May 2026 15:28:23 -0400 (0:00:00.354) 0:01:43.218 ********** included: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 23 May 2026 15:28:23 -0400 (0:00:00.033) 0:01:43.252 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 23 May 2026 15:28:23 -0400 (0:00:00.004) 0:01:43.256 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server removed.", "Removed: postgresql-15.12-1.module_el9+1199+0a6782cc.x86_64", "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" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 23 May 2026 15:28:25 -0400 (0:00:01.994) 0:01:45.251 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 23 May 2026 15:28:25 -0400 (0:00:00.019) 0:01:45.270 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 23 May 2026 15:28:26 -0400 (0:00:00.396) 0:01:45.667 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 23 May 2026 15:28:27 -0400 (0:00:01.324) 0:01:46.991 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008796", "end": "2026-05-23 15:28:27.825095", "rc": 0, "start": "2026-05-23 15:28:27.816299" } STDOUT: May 23 15:25:30 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:30 managed-node2 postmaster[12190]: 2026-05-23 15:25:30.086 EDT [12190] LOG: redirecting log output to logging collector process May 23 15:25:30 managed-node2 postmaster[12190]: 2026-05-23 15:25:30.086 EDT [12190] HINT: Future log output will appear in directory "log". May 23 15:25:30 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:38 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:25:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:25:38 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:38 managed-node2 postmaster[14905]: 2026-05-23 15:25:38.103 EDT [14905] LOG: redirecting log output to logging collector process May 23 15:25:38 managed-node2 postmaster[14905]: 2026-05-23 15:25:38.103 EDT [14905] HINT: Future log output will appear in directory "log". May 23 15:25:38 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Killing process 14906 (postmaster) with signal SIGKILL. May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:25:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:06 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:06 managed-node2 postmaster[22121]: 2026-05-23 15:26:06.702 EDT [22121] LOG: redirecting log output to logging collector process May 23 15:26:06 managed-node2 postmaster[22121]: 2026-05-23 15:26:06.702 EDT [22121] HINT: Future log output will appear in directory "log". May 23 15:26:06 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:12 managed-node2 systemd[1]: postgresql.service: Killing process 22122 (postmaster) with signal SIGKILL. May 23 15:26:12 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:12 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:12 managed-node2 postmaster[23965]: 2026-05-23 15:26:12.377 EDT [23965] LOG: redirecting log output to logging collector process May 23 15:26:12 managed-node2 postmaster[23965]: 2026-05-23 15:26:12.377 EDT [23965] HINT: Future log output will appear in directory "log". May 23 15:26:12 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:15 managed-node2 systemd[1]: postgresql.service: Killing process 23966 (postmaster) with signal SIGKILL. May 23 15:26:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:31 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:31 managed-node2 postmaster[28712]: 2026-05-23 15:26:31.367 EDT [28712] LOG: redirecting log output to logging collector process May 23 15:26:31 managed-node2 postmaster[28712]: 2026-05-23 15:26:31.367 EDT [28712] HINT: Future log output will appear in directory "log". May 23 15:26:31 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:34 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:35 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:35 managed-node2 postmaster[29597]: 2026-05-23 15:26:35.054 EDT [29597] LOG: redirecting log output to logging collector process May 23 15:26:35 managed-node2 postmaster[29597]: 2026-05-23 15:26:35.054 EDT [29597] HINT: Future log output will appear in directory "log". May 23 15:26:35 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:36 managed-node2 systemd[1]: postgresql.service: Killing process 29598 (postmaster) with signal SIGKILL. May 23 15:26:36 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:52 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:52 managed-node2 postmaster[34185]: 2026-05-23 15:26:52.461 EDT [34185] LOG: redirecting log output to logging collector process May 23 15:26:52 managed-node2 postmaster[34185]: 2026-05-23 15:26:52.461 EDT [34185] HINT: Future log output will appear in directory "log". May 23 15:26:52 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:55 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:55 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:55 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:55 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:55 managed-node2 postmaster[35147]: 2026-05-23 15:26:55.940 EDT [35147] LOG: redirecting log output to logging collector process May 23 15:26:55 managed-node2 postmaster[35147]: 2026-05-23 15:26:55.940 EDT [35147] HINT: Future log output will appear in directory "log". May 23 15:26:55 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:15 managed-node2 systemd[1]: postgresql.service: Killing process 35148 (postmaster) with signal SIGKILL. May 23 15:27:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:27:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:27 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:27 managed-node2 postgres[40499]: 2026-05-23 15:27:27.585 EDT [40499] LOG: redirecting log output to logging collector process May 23 15:27:27 managed-node2 postgres[40499]: 2026-05-23 15:27:27.585 EDT [40499] HINT: Future log output will appear in directory "log". May 23 15:27:27 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:30 managed-node2 systemd[1]: postgresql.service: Killing process 40500 (postgres) with signal SIGKILL. May 23 15:27:30 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:27:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:30 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:30 managed-node2 postgres[41460]: 2026-05-23 15:27:30.650 EDT [41460] LOG: redirecting log output to logging collector process May 23 15:27:30 managed-node2 postgres[41460]: 2026-05-23 15:27:30.650 EDT [41460] HINT: Future log output will appear in directory "log". May 23 15:27:30 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:50 managed-node2 systemd[1]: postgresql.service: Killing process 41461 (postgres) with signal SIGKILL. May 23 15:27:50 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:27:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:28:02 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:28:02 managed-node2 postmaster[46767]: 2026-05-23 15:28:02.721 EDT [46767] LOG: redirecting log output to logging collector process May 23 15:28:02 managed-node2 postmaster[46767]: 2026-05-23 15:28:02.721 EDT [46767] HINT: Future log output will appear in directory "log". May 23 15:28:02 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:05 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:28:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:28:05 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:28:05 managed-node2 postmaster[47728]: 2026-05-23 15:28:05.810 EDT [47728] LOG: redirecting log output to logging collector process May 23 15:28:05 managed-node2 postmaster[47728]: 2026-05-23 15:28:05.810 EDT [47728] HINT: Future log output will appear in directory "log". May 23 15:28:05 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:25 managed-node2 systemd[1]: postgresql.service: Killing process 47729 (postmaster) with signal SIGKILL. May 23 15:28:25 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:28:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 23 May 2026 15:28:27 -0400 (0:00:00.350) 0:01:47.342 ********** included: /tmp/collections-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 23 May 2026 15:28:27 -0400 (0:00:00.030) 0:01:47.372 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 23 May 2026 15:28:27 -0400 (0:00:00.001) 0:01:47.374 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 23 May 2026 15:28:27 -0400 (0:00:00.016) 0:01:47.390 ********** included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 23 May 2026 15:28:27 -0400 (0:00:00.046) 0:01:47.437 ********** included: /tmp/collections-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 23 May 2026 15:28:27 -0400 (0:00:00.025) 0:01:47.463 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 23 May 2026 15:28:28 -0400 (0:00:00.773) 0:01:48.237 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 23 May 2026 15:28:29 -0400 (0:00:00.334) 0:01:48.571 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 23 May 2026 15:28:29 -0400 (0:00:00.018) 0:01:48.589 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 23 May 2026 15:28:29 -0400 (0:00:00.017) 0:01:48.607 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 23 May 2026 15:28:29 -0400 (0:00:00.015) 0:01:48.622 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 23 May 2026 15:28:29 -0400 (0:00:00.015) 0:01:48.637 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 23 May 2026 15:28:29 -0400 (0:00:00.016) 0:01:48.653 ********** 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-Dtg/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-Dtg/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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 23 May 2026 15:28:29 -0400 (0:00:00.036) 0:01:48.690 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 23 May 2026 15:28:29 -0400 (0:00:00.333) 0:01:49.024 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 23 May 2026 15:28:29 -0400 (0:00:00.332) 0:01:49.357 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 23 May 2026 15:28:30 -0400 (0:00:00.333) 0:01:49.690 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 23 May 2026 15:28:30 -0400 (0:00:00.764) 0:01:50.454 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"8\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.026) 0:01:50.481 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.026) 0:01:50.507 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.023) 0:01:50.531 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 23 May 2026 15:28:31 -0400 (0:00:00.019) 0:01:50.551 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 23 May 2026 15:28:35 -0400 (0:00:04.368) 0:01:54.919 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.753050", "end": "2026-05-23 15:28:36.538148", "rc": 0, "start": "2026-05-23 15:28:35.785098" } 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 23 May 2026 15:28:36 -0400 (0:00:01.136) 0:01:56.055 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 23 May 2026 15:28:36 -0400 (0:00:00.019) 0:01:56.074 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 23 May 2026 15:28:36 -0400 (0:00:00.016) 0:01:56.091 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 23 May 2026 15:28:36 -0400 (0:00:00.018) 0:01:56.110 ********** 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 sysinit.target system.slice systemd-journald.socket network-online.target", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "13683", "LimitNPROCSoft": "13683", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13683", "LimitSIGPENDINGSoft": "13683", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18446744073709551615", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "2147483646", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "21893", "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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 23 May 2026 15:28:37 -0400 (0:00:01.125) 0:01:57.236 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 23 May 2026 15:28:37 -0400 (0:00:00.021) 0:01:57.258 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 23 May 2026 15:28:37 -0400 (0:00:00.020) 0:01:57.278 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 23 May 2026 15:28:37 -0400 (0:00:00.021) 0:01:57.299 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 23 May 2026 15:28:37 -0400 (0:00:00.016) 0:01:57.316 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 23 May 2026 15:28:37 -0400 (0:00:00.019) 0:01:57.335 ********** included: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 23 May 2026 15:28:37 -0400 (0:00:00.030) 0:01:57.366 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 23 May 2026 15:28:37 -0400 (0:00:00.016) 0:01:57.383 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 23 May 2026 15:28:37 -0400 (0:00:00.018) 0:01:57.401 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 23 May 2026 15:28:37 -0400 (0:00:00.017) 0:01:57.419 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 23 May 2026 15:28:37 -0400 (0:00:00.019) 0:01:57.439 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 23 May 2026 15:28:37 -0400 (0:00:00.016) 0:01:57.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 custom path] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 23 May 2026 15:28:38 -0400 (0:00:00.016) 0:01:57.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 file] ********* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 23 May 2026 15:28:38 -0400 (0:00:00.016) 0:01:57.490 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 23 May 2026 15:28:38 -0400 (0:00:00.021) 0:01:57.511 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 23 May 2026 15:28:38 -0400 (0:00:00.015) 0:01:57.527 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 23 May 2026 15:28:38 -0400 (0:00:00.019) 0:01:57.546 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 23 May 2026 15:28:38 -0400 (0:00:00.355) 0:01:57.902 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 23 May 2026 15:28:38 -0400 (0:00:00.351) 0:01:58.253 ********** changed: [managed-node2] => { "changed": true, "checksum": "92a2b0bf9a2393e4ec79a60ffdb9d185bc039ac6", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "930e58d93cad577062b62ebfdefb8675", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1779564518.8337083-14555-198848971255647/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 23 May 2026 15:28:39 -0400 (0:00:00.697) 0:01:58.951 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 23 May 2026 15:28:39 -0400 (0:00:00.022) 0:01:58.973 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 23 May 2026 15:28:39 -0400 (0:00:00.021) 0:01:58.994 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 23 May 2026 15:28:39 -0400 (0:00:00.341) 0:01:59.336 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 23 May 2026 15:28:39 -0400 (0:00:00.017) 0:01:59.354 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 23 May 2026 15:28:39 -0400 (0:00:00.005) 0:01:59.359 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-05-23 15:28:37 EDT", "ActiveEnterTimestampMonotonic": "393065290", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target systemd-journald.socket sysinit.target system.slice basic.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-23 15:28:37 EDT", "AssertTimestampMonotonic": "393005730", "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": "42503000", "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-05-23 15:28:37 EDT", "ConditionTimestampMonotonic": "393005726", "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": "53044", "ExecMainStartTimestamp": "Sat 2026-05-23 15:28:37 EDT", "ExecMainStartTimestampMonotonic": "393018239", "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-05-23 15:28:37 EDT] ; stop_time=[n/a] ; pid=53044 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-05-23 15:28:37 EDT] ; stop_time=[n/a] ; pid=53044 ; 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-05-23 15:28:37 EDT] ; stop_time=[Sat 2026-05-23 15:28:37 EDT] ; pid=53042 ; 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-05-23 15:28:37 EDT] ; stop_time=[Sat 2026-05-23 15:28:37 EDT] ; pid=53042 ; 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-05-23 15:28:37 EDT", "InactiveExitTimestampMonotonic": "393011389", "InvocationID": "cfe72dd0f0d846e0a69fed229db92666", "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": "13683", "LimitNPROCSoft": "13683", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13683", "LimitSIGPENDINGSoft": "13683", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "53044", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "23318528", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "23449600", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMPolicy": "stop", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "OnSuccessJobMode": "fail", "Perpetual": "no", "PrivateDevices": "no", "PrivateIPC": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProcSubset": "all", "ProtectClock": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectHostname": "no", "ProtectKernelLogs": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectProc": "default", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "ReloadResult": "success", "ReloadSignal": "1", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartKillSignal": "2", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "RuntimeRandomizedExtraUSec": "0", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-05-23 15:28:37 EDT", "StateChangeTimestampMonotonic": "393065290", "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": "21893", "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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 23 May 2026 15:28:40 -0400 (0:00:00.947) 0:02:00.307 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.009354", "end": "2026-05-23 15:28:41.138016", "rc": 0, "start": "2026-05-23 15:28:41.128662" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 23 May 2026 15:28:41 -0400 (0:00:00.348) 0:02:00.656 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009882", "end": "2026-05-23 15:28:41.488367", "rc": 0, "start": "2026-05-23 15:28:41.478485" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 23 May 2026 15:28:41 -0400 (0:00:00.347) 0:02:01.004 ********** ASYNC OK on managed-node2: jid=j670782362563.54493 ok: [managed-node2] => { "ansible_job_id": "j670782362563.54493", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.015576", "end": "2026-05-23 15:28:42.061122", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j670782362563.54493", "start": "2026-05-23 15:28:42.045546", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 23 May 2026 15:28:57 -0400 (0:00:16.036) 0:02:17.040 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.011843", "end": "2026-05-23 15:28:57.891176", "rc": 0, "start": "2026-05-23 15:28:57.879333" } STDOUT: shared_buffers ---------------- 866MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 23 May 2026 15:28:57 -0400 (0:00:00.369) 0:02:17.410 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 23 May 2026 15:28:57 -0400 (0:00:00.030) 0:02:17.441 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.011632", "end": "2026-05-23 15:28:58.289667", "rc": 0, "start": "2026-05-23 15:28:58.278035" } STDOUT: effective_cache_size ---------------------- 1732MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 23 May 2026 15:28:58 -0400 (0:00:00.366) 0:02:17.807 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 23 May 2026 15:28:58 -0400 (0:00:00.030) 0:02:17.837 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010635", "end": "2026-05-23 15:28:58.671870", "failed_when_result": false, "rc": 0, "start": "2026-05-23 15:28:58.661235" } STDOUT: postgres (PostgreSQL) 18.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 23 May 2026 15:28:58 -0400 (0:00:00.358) 0:02:18.195 ********** included: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 23 May 2026 15:28:58 -0400 (0:00:00.031) 0:02:18.227 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 23 May 2026 15:28:58 -0400 (0:00:00.004) 0:02:18.231 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:18/server removed.", "Removed: postgresql-18.1-1.module_el9+1300+1c4aa8df.x86_64", "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" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 23 May 2026 15:29:00 -0400 (0:00:02.002) 0:02:20.234 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 23 May 2026 15:29:00 -0400 (0:00:00.041) 0:02:20.276 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 23 May 2026 15:29:01 -0400 (0:00:00.388) 0:02:20.664 ********** 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-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 23 May 2026 15:29:02 -0400 (0:00:01.335) 0:02:22.000 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.009193", "end": "2026-05-23 15:29:02.831126", "rc": 0, "start": "2026-05-23 15:29:02.821933" } STDOUT: May 23 15:25:30 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:30 managed-node2 postmaster[12190]: 2026-05-23 15:25:30.086 EDT [12190] LOG: redirecting log output to logging collector process May 23 15:25:30 managed-node2 postmaster[12190]: 2026-05-23 15:25:30.086 EDT [12190] HINT: Future log output will appear in directory "log". May 23 15:25:30 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:38 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:25:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:25:38 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:25:38 managed-node2 postmaster[14905]: 2026-05-23 15:25:38.103 EDT [14905] LOG: redirecting log output to logging collector process May 23 15:25:38 managed-node2 postmaster[14905]: 2026-05-23 15:25:38.103 EDT [14905] HINT: Future log output will appear in directory "log". May 23 15:25:38 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:25:39 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Killing process 14906 (postmaster) with signal SIGKILL. May 23 15:25:39 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:25:39 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:06 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:06 managed-node2 postmaster[22121]: 2026-05-23 15:26:06.702 EDT [22121] LOG: redirecting log output to logging collector process May 23 15:26:06 managed-node2 postmaster[22121]: 2026-05-23 15:26:06.702 EDT [22121] HINT: Future log output will appear in directory "log". May 23 15:26:06 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:12 managed-node2 systemd[1]: postgresql.service: Killing process 22122 (postmaster) with signal SIGKILL. May 23 15:26:12 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:12 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:12 managed-node2 postmaster[23965]: 2026-05-23 15:26:12.377 EDT [23965] LOG: redirecting log output to logging collector process May 23 15:26:12 managed-node2 postmaster[23965]: 2026-05-23 15:26:12.377 EDT [23965] HINT: Future log output will appear in directory "log". May 23 15:26:12 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:15 managed-node2 systemd[1]: postgresql.service: Killing process 23966 (postmaster) with signal SIGKILL. May 23 15:26:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:31 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:31 managed-node2 postmaster[28712]: 2026-05-23 15:26:31.367 EDT [28712] LOG: redirecting log output to logging collector process May 23 15:26:31 managed-node2 postmaster[28712]: 2026-05-23 15:26:31.367 EDT [28712] HINT: Future log output will appear in directory "log". May 23 15:26:31 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:34 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:34 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:34 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:35 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:35 managed-node2 postmaster[29597]: 2026-05-23 15:26:35.054 EDT [29597] LOG: redirecting log output to logging collector process May 23 15:26:35 managed-node2 postmaster[29597]: 2026-05-23 15:26:35.054 EDT [29597] HINT: Future log output will appear in directory "log". May 23 15:26:35 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:36 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:36 managed-node2 systemd[1]: postgresql.service: Killing process 29598 (postmaster) with signal SIGKILL. May 23 15:26:36 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:36 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:52 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:52 managed-node2 postmaster[34185]: 2026-05-23 15:26:52.461 EDT [34185] LOG: redirecting log output to logging collector process May 23 15:26:52 managed-node2 postmaster[34185]: 2026-05-23 15:26:52.461 EDT [34185] HINT: Future log output will appear in directory "log". May 23 15:26:52 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:26:55 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:26:55 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:26:55 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:26:55 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:26:55 managed-node2 postmaster[35147]: 2026-05-23 15:26:55.940 EDT [35147] LOG: redirecting log output to logging collector process May 23 15:26:55 managed-node2 postmaster[35147]: 2026-05-23 15:26:55.940 EDT [35147] HINT: Future log output will appear in directory "log". May 23 15:26:55 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:15 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:15 managed-node2 systemd[1]: postgresql.service: Killing process 35148 (postmaster) with signal SIGKILL. May 23 15:27:15 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:27:15 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:27 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:27 managed-node2 postgres[40499]: 2026-05-23 15:27:27.585 EDT [40499] LOG: redirecting log output to logging collector process May 23 15:27:27 managed-node2 postgres[40499]: 2026-05-23 15:27:27.585 EDT [40499] HINT: Future log output will appear in directory "log". May 23 15:27:27 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:30 managed-node2 systemd[1]: postgresql.service: Killing process 40500 (postgres) with signal SIGKILL. May 23 15:27:30 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:27:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:27:30 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:27:30 managed-node2 postgres[41460]: 2026-05-23 15:27:30.650 EDT [41460] LOG: redirecting log output to logging collector process May 23 15:27:30 managed-node2 postgres[41460]: 2026-05-23 15:27:30.650 EDT [41460] HINT: Future log output will appear in directory "log". May 23 15:27:30 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:27:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:27:50 managed-node2 systemd[1]: postgresql.service: Killing process 41461 (postgres) with signal SIGKILL. May 23 15:27:50 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:27:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:28:02 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:28:02 managed-node2 postmaster[46767]: 2026-05-23 15:28:02.721 EDT [46767] LOG: redirecting log output to logging collector process May 23 15:28:02 managed-node2 postmaster[46767]: 2026-05-23 15:28:02.721 EDT [46767] HINT: Future log output will appear in directory "log". May 23 15:28:02 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:05 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:28:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:28:05 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:28:05 managed-node2 postmaster[47728]: 2026-05-23 15:28:05.810 EDT [47728] LOG: redirecting log output to logging collector process May 23 15:28:05 managed-node2 postmaster[47728]: 2026-05-23 15:28:05.810 EDT [47728] HINT: Future log output will appear in directory "log". May 23 15:28:05 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:25 managed-node2 systemd[1]: postgresql.service: Killing process 47729 (postmaster) with signal SIGKILL. May 23 15:28:25 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:28:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:28:37 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:28:37 managed-node2 postgres[53044]: 2026-05-23 15:28:37.684 EDT [53044] LOG: redirecting log output to logging collector process May 23 15:28:37 managed-node2 postgres[53044]: 2026-05-23 15:28:37.684 EDT [53044] HINT: Future log output will appear in directory "log". May 23 15:28:37 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:28:40 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:28:40 managed-node2 systemd[1]: postgresql.service: Killing process 53045 (postgres) with signal SIGKILL. May 23 15:28:40 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:28:40 managed-node2 systemd[1]: Stopped PostgreSQL database server. May 23 15:28:40 managed-node2 systemd[1]: Starting PostgreSQL database server... May 23 15:28:40 managed-node2 postgres[54008]: 2026-05-23 15:28:40.759 EDT [54008] LOG: redirecting log output to logging collector process May 23 15:28:40 managed-node2 postgres[54008]: 2026-05-23 15:28:40.759 EDT [54008] HINT: Future log output will appear in directory "log". May 23 15:28:40 managed-node2 systemd[1]: Started PostgreSQL database server. May 23 15:29:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... May 23 15:29:00 managed-node2 systemd[1]: postgresql.service: Killing process 54009 (postgres) with signal SIGKILL. May 23 15:29:00 managed-node2 systemd[1]: postgresql.service: Deactivated successfully. May 23 15:29:00 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 23 May 2026 15:29:02 -0400 (0:00:00.343) 0:02:22.343 ********** =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.23s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.05s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.04s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.03s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.37s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.35s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.67s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.58s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 2.06s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 2.00s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.99s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.98s /tmp/collections-Dtg/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.37s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Remove config files ----------------------------------------------------- 1.36s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.35s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.34s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.32s /tmp/collections-Dtg/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.16s /tmp/collections-Dtg/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.14s /tmp/collections-Dtg/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.13s /tmp/collections-Dtg/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58