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-kZY 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-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 16 May 2026 15:21:13 -0400 (0:00:00.018) 0:00:00.018 ********** [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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 16 May 2026 15:21:14 -0400 (0:00:01.131) 0:00:01.149 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 16 May 2026 15:21:14 -0400 (0:00:00.005) 0:00:01.154 ********** included: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:21:14 -0400 (0:00:00.034) 0:00:01.189 ********** included: /tmp/collections-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 16 May 2026 15:21:14 -0400 (0:00:00.037) 0:00:01.227 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:21:14 -0400 (0:00:00.000) 0:00:01.228 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:21:14 -0400 (0:00:00.014) 0:00:01.243 ********** included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:21:14 -0400 (0:00:00.075) 0:00:01.318 ********** included: /tmp/collections-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:21:14 -0400 (0:00:00.026) 0:00:01.345 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:21:15 -0400 (0:00:00.779) 0:00:02.124 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:21:15 -0400 (0:00:00.417) 0:00:02.541 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:21:16 -0400 (0:00:00.421) 0:00:02.964 ********** ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:21:16 -0400 (0:00:00.020) 0:00:02.984 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008767", "end": "2026-05-16 15:21:16.680729", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:21:16.671962" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:21:16 -0400 (0:00:00.442) 0:00:03.426 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:21:16 -0400 (0:00:00.036) 0:00:03.463 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:21:16 -0400 (0:00:00.024) 0:00:03.487 ********** 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-kZY/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-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:21:16 -0400 (0:00:00.040) 0:00:03.528 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:21:17 -0400 (0:00:00.338) 0:00:03.866 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:21:17 -0400 (0:00:00.333) 0:00:04.200 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:21:17 -0400 (0:00:00.334) 0:00:04.534 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:21:18 -0400 (0:00:01.022) 0:00:05.556 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:21:18 -0400 (0:00:00.023) 0:00:05.579 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:21:18 -0400 (0:00:00.029) 0:00:05.609 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:21:18 -0400 (0:00:00.024) 0:00:05.633 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:21:18 -0400 (0:00:00.019) 0:00:05.652 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Installed: postgresql-server-13.23-3.el9.x86_64", "Installed: postgresql-private-libs-13.23-3.el9.x86_64", "Installed: postgresql-13.23-3.el9.x86_64" ] } lsrpackages: postgresql-server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:21:22 -0400 (0:00:03.586) 0:00:09.239 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.711337", "end": "2026-05-16 15:21:23.595487", "rc": 0, "start": "2026-05-16 15:21:22.884150" } 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:21:23 -0400 (0:00:01.098) 0:00:10.338 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:21:23 -0400 (0:00:00.020) 0:00:10.359 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:21:23 -0400 (0:00:00.017) 0:00:10.376 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:21:23 -0400 (0:00:00.016) 0:00:10.392 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target systemd-journald.socket basic.target sysinit.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:21:25 -0400 (0:00:01.346) 0:00:11.739 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.022) 0:00:11.762 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.020) 0:00:11.782 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.021) 0:00:11.803 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.019) 0:00:11.823 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.023) 0:00:11.846 ********** included: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.051) 0:00:11.897 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.032) 0:00:11.930 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.030) 0:00:11.960 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.030) 0:00:11.991 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.024) 0:00:12.015 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.022) 0:00:12.038 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.022) 0:00:12.060 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.019) 0:00:12.079 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.025) 0:00:12.105 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.018) 0:00:12.123 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.028) 0:00:12.151 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:21:25 -0400 (0:00:00.477) 0:00:12.628 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:21:26 -0400 (0:00:00.465) 0:00:13.094 ********** 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-1778959286.447804-13184-164960396307106/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:21:27 -0400 (0:00:00.813) 0:00:13.907 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:21:27 -0400 (0:00:00.045) 0:00:13.953 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:21:27 -0400 (0:00:00.032) 0:00:13.985 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:21:27 -0400 (0:00:00.356) 0:00:14.341 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 16 May 2026 15:21:27 -0400 (0:00:00.019) 0:00:14.361 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:21:27 -0400 (0:00:00.005) 0:00:14.367 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-05-16 15:21:24 EDT", "ActiveEnterTimestampMonotonic": "287337844", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice network.target basic.target sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:21:24 EDT", "AssertTimestampMonotonic": "287280181", "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": "36238000", "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-16 15:21:24 EDT", "ConditionTimestampMonotonic": "287280178", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "6405", "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": "34259", "ExecMainStartTimestamp": "Sat 2026-05-16 15:21:24 EDT", "ExecMainStartTimestampMonotonic": "287294923", "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-16 15:21:24 EDT] ; stop_time=[n/a] ; pid=34259 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-05-16 15:21:24 EDT] ; stop_time=[n/a] ; pid=34259 ; 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-16 15:21:24 EDT] ; stop_time=[Sat 2026-05-16 15:21:24 EDT] ; pid=34257 ; 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-16 15:21:24 EDT] ; stop_time=[Sat 2026-05-16 15:21:24 EDT] ; pid=34257 ; 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-16 15:21:24 EDT", "InactiveExitTimestampMonotonic": "287289297", "InvocationID": "0a44d8359d5740f58d35c5dbfad09416", "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": "34259", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "17661952", "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": "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-16 15:21:24 EDT", "StateChangeTimestampMonotonic": "287337844", "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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:21:28 -0400 (0:00:00.971) 0:00:15.339 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.009434", "end": "2026-05-16 15:21:28.945675", "rc": 0, "start": "2026-05-16 15:21:28.936241" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:21:28 -0400 (0:00:00.348) 0:00:15.687 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009253", "end": "2026-05-16 15:21:29.304795", "rc": 0, "start": "2026-05-16 15:21:29.295542" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:21:29 -0400 (0:00:00.357) 0:00:16.044 ********** ASYNC OK on managed-node2: jid=j517802426745.35704 ok: [managed-node2] => { "ansible_job_id": "j517802426745.35704", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013606", "end": "2026-05-16 15:21:30.014028", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j517802426745.35704", "start": "2026-05-16 15:21:30.000422", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:21:45 -0400 (0:00:16.272) 0:00:32.317 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010614", "end": "2026-05-16 15:21:45.940095", "rc": 0, "start": "2026-05-16 15:21:45.929481" } STDOUT: shared_buffers ---------------- 866MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:21:45 -0400 (0:00:00.366) 0:00:32.684 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:21:46 -0400 (0:00:00.031) 0:00:32.715 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010437", "end": "2026-05-16 15:21:46.344766", "rc": 0, "start": "2026-05-16 15:21:46.334329" } STDOUT: effective_cache_size ---------------------- 1732MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:21:46 -0400 (0:00:00.372) 0:00:33.088 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:21:46 -0400 (0:00:00.030) 0:00:33.118 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010411", "end": "2026-05-16 15:21:46.735033", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:21:46.724622" } STDOUT: postgres (PostgreSQL) 13.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:21:46 -0400 (0:00:00.367) 0:00:33.486 ********** included: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 16 May 2026 15:21:46 -0400 (0:00:00.033) 0:00:33.519 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:21:46 -0400 (0:00:00.004) 0:00:33.523 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Removed: postgresql-private-libs-13.23-3.el9.x86_64", "Removed: postgresql-server-13.23-3.el9.x86_64", "Removed: postgresql-13.23-3.el9.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:21:48 -0400 (0:00:01.944) 0:00:35.468 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:21:48 -0400 (0:00:00.018) 0:00:35.487 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:21:49 -0400 (0:00:00.387) 0:00:35.874 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:21:50 -0400 (0:00:01.327) 0:00:37.202 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008059", "end": "2026-05-16 15:21:50.808551", "rc": 0, "start": "2026-05-16 15:21:50.800492" } STDOUT: May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[11947]: 2026-05-16 15:20:03.041 EDT [11947] LOG: redirecting log output to logging collector process May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[11947]: 2026-05-16 15:20:03.041 EDT [11947] HINT: Future log output will appear in directory "log". May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 11948 (postmaster) with signal SIGKILL. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[14662]: 2026-05-16 15:20:11.223 EDT [14662] LOG: redirecting log output to logging collector process May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[14662]: 2026-05-16 15:20:11.223 EDT [14662] HINT: Future log output will appear in directory "log". May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 14663 (postmaster) with signal SIGKILL. May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[22166]: 2026-05-16 15:20:39.644 EDT [22166] LOG: redirecting log output to logging collector process May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[22166]: 2026-05-16 15:20:39.644 EDT [22166] HINT: Future log output will appear in directory "log". May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 22167 (postmaster) with signal SIGKILL. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[24010]: 2026-05-16 15:20:45.521 EDT [24010] LOG: redirecting log output to logging collector process May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[24010]: 2026-05-16 15:20:45.521 EDT [24010] HINT: Future log output will appear in directory "log". May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 24011 (postmaster) with signal SIGKILL. May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[28786]: 2026-05-16 15:21:03.600 EDT [28786] LOG: redirecting log output to logging collector process May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[28786]: 2026-05-16 15:21:03.600 EDT [28786] HINT: Future log output will appear in directory "log". May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 28787 (postmaster) with signal SIGKILL. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[29671]: 2026-05-16 15:21:06.982 EDT [29671] LOG: redirecting log output to logging collector process May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[29671]: 2026-05-16 15:21:06.982 EDT [29671] HINT: Future log output will appear in directory "log". May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 29672 (postmaster) with signal SIGKILL. May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[34259]: 2026-05-16 15:21:24.969 EDT [34259] LOG: redirecting log output to logging collector process May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[34259]: 2026-05-16 15:21:24.969 EDT [34259] HINT: Future log output will appear in directory "log". May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 34260 (postmaster) with signal SIGKILL. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[35221]: 2026-05-16 15:21:28.568 EDT [35221] LOG: redirecting log output to logging collector process May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[35221]: 2026-05-16 15:21:28.568 EDT [35221] HINT: Future log output will appear in directory "log". May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 35222 (postmaster) with signal SIGKILL. May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 16 May 2026 15:21:50 -0400 (0:00:00.348) 0:00:37.550 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 16 May 2026 15:21:50 -0400 (0:00:00.012) 0:00:37.562 ********** ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 16 May 2026 15:21:50 -0400 (0:00:00.024) 0:00:37.587 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) included: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=18) included: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:21:50 -0400 (0:00:00.076) 0:00:37.664 ********** included: /tmp/collections-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 16 May 2026 15:21:51 -0400 (0:00:00.028) 0:00:37.692 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:21:51 -0400 (0:00:00.000) 0:00:37.693 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:21:51 -0400 (0:00:00.016) 0:00:37.710 ********** included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:21:51 -0400 (0:00:00.044) 0:00:37.754 ********** included: /tmp/collections-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:21:51 -0400 (0:00:00.025) 0:00:37.780 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:21:51 -0400 (0:00:00.782) 0:00:38.563 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:21:52 -0400 (0:00:00.331) 0:00:38.894 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:21:52 -0400 (0:00:00.017) 0:00:38.911 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:21:52 -0400 (0:00:00.015) 0:00:38.927 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:21:52 -0400 (0:00:00.015) 0:00:38.943 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:21:52 -0400 (0:00:00.015) 0:00:38.958 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:21:52 -0400 (0:00:00.015) 0:00:38.974 ********** [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-kZY/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-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:21:52 -0400 (0:00:00.036) 0:00:39.011 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:21:52 -0400 (0:00:00.330) 0:00:39.341 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:21:52 -0400 (0:00:00.331) 0:00:39.673 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:21:53 -0400 (0:00:00.335) 0:00:40.009 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:21:54 -0400 (0:00:00.759) 0:00:40.768 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:21:54 -0400 (0:00:00.024) 0:00:40.792 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:21:54 -0400 (0:00:00.027) 0:00:40.819 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:21:54 -0400 (0:00:00.024) 0:00:40.844 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:21:54 -0400 (0:00:00.075) 0:00:40.920 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server installed.", "Installed: postgresql-server-16.8-1.module_el9+1265+61707298.x86_64", "Installed: postgresql-private-libs-16.8-1.module_el9+1265+61707298.x86_64", "Installed: postgresql-16.8-1.module_el9+1265+61707298.x86_64" ] } lsrpackages: @postgresql:16/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:21:57 -0400 (0:00:03.505) 0:00:44.426 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.732122", "end": "2026-05-16 15:21:58.815230", "rc": 0, "start": "2026-05-16 15:21:58.083108" } 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:21:58 -0400 (0:00:01.130) 0:00:45.557 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:21:58 -0400 (0:00:00.019) 0:00:45.576 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:21:58 -0400 (0:00:00.018) 0:00:45.595 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:21:58 -0400 (0:00:00.017) 0:00:45.613 ********** 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 sysinit.target network-online.target basic.target system.slice", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPreEx": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExitType": "main", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FinalKillSignal": "9", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOReadBytes": "18446744073709551615", "IOReadOperations": "18446744073709551615", "IOSchedulingClass": "2", "IOSchedulingPriority": "4", "IOWeight": "[not set]", "IOWriteBytes": "18446744073709551615", "IOWriteOperations": "18446744073709551615", "IPAccounting": "no", "IPEgressBytes": "[no data]", "IPEgressPackets": "[no data]", "IPIngressBytes": "[no data]", "IPIngressPackets": "[no data]", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "infinity", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "8388608", "LimitMEMLOCKSoft": "8388608", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "524288", "LimitNOFILESoft": "1024", "LimitNPROC": "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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:22:00 -0400 (0:00:01.105) 0:00:46.718 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.022) 0:00:46.741 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.020) 0:00:46.762 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.020) 0:00:46.782 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.021) 0:00:46.804 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.022) 0:00:46.826 ********** included: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.030) 0:00:46.857 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.020) 0:00:46.877 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.019) 0:00:46.897 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.019) 0:00:46.917 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.019) 0:00:46.936 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.018) 0:00:46.955 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.020) 0:00:46.976 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.019) 0:00:46.995 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.017) 0:00:47.012 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.016) 0:00:47.028 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.021) 0:00:47.050 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:22:00 -0400 (0:00:00.351) 0:00:47.401 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:22:01 -0400 (0:00:00.348) 0:00:47.750 ********** 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-1778959321.1048298-13774-79775449729897/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:22:01 -0400 (0:00:00.696) 0:00:48.447 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:22:01 -0400 (0:00:00.023) 0:00:48.471 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:22:01 -0400 (0:00:00.022) 0:00:48.493 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:22:02 -0400 (0:00:00.353) 0:00:48.846 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 16 May 2026 15:22:02 -0400 (0:00:00.021) 0:00:48.868 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:22:02 -0400 (0:00:00.005) 0:00:48.873 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-05-16 15:21:59 EDT", "ActiveEnterTimestampMonotonic": "322316087", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target systemd-journald.socket basic.target network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:21:59 EDT", "AssertTimestampMonotonic": "322257767", "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": "35305000", "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-16 15:21:59 EDT", "ConditionTimestampMonotonic": "322257764", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7033", "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": "40557", "ExecMainStartTimestamp": "Sat 2026-05-16 15:21:59 EDT", "ExecMainStartTimestampMonotonic": "322272749", "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-16 15:21:59 EDT] ; stop_time=[n/a] ; pid=40557 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-05-16 15:21:59 EDT] ; stop_time=[n/a] ; pid=40557 ; 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-16 15:21:59 EDT] ; stop_time=[Sat 2026-05-16 15:21:59 EDT] ; pid=40555 ; 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-16 15:21:59 EDT] ; stop_time=[Sat 2026-05-16 15:21:59 EDT] ; pid=40555 ; 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-16 15:21:59 EDT", "InactiveExitTimestampMonotonic": "322267384", "InvocationID": "45f53f9c55474074b7e20551e7aef4ab", "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": "40557", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18690048", "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": "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-16 15:21:59 EDT", "StateChangeTimestampMonotonic": "322316087", "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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:22:03 -0400 (0:00:00.962) 0:00:49.836 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.009293", "end": "2026-05-16 15:22:03.453445", "rc": 0, "start": "2026-05-16 15:22:03.444152" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:22:03 -0400 (0:00:00.358) 0:00:50.194 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009519", "end": "2026-05-16 15:22:03.807028", "rc": 0, "start": "2026-05-16 15:22:03.797509" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:22:03 -0400 (0:00:00.355) 0:00:50.550 ********** ASYNC OK on managed-node2: jid=j424679056125.42000 ok: [managed-node2] => { "ansible_job_id": "j424679056125.42000", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.013406", "end": "2026-05-16 15:22:04.373553", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j424679056125.42000", "start": "2026-05-16 15:22:04.360147", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:22:19 -0400 (0:00:16.042) 0:01:06.593 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010599", "end": "2026-05-16 15:22:20.216750", "rc": 0, "start": "2026-05-16 15:22:20.206151" } STDOUT: shared_buffers ---------------- 866MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:22:20 -0400 (0:00:00.366) 0:01:06.959 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:22:20 -0400 (0:00:00.031) 0:01:06.991 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010898", "end": "2026-05-16 15:22:20.620362", "rc": 0, "start": "2026-05-16 15:22:20.609464" } STDOUT: effective_cache_size ---------------------- 1732MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:22:20 -0400 (0:00:00.372) 0:01:07.364 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:22:20 -0400 (0:00:00.030) 0:01:07.395 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010297", "end": "2026-05-16 15:22:21.005838", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:22:20.995541" } STDOUT: postgres (PostgreSQL) 16.8 TASK [Clean up] **************************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:22:21 -0400 (0:00:00.357) 0:01:07.752 ********** included: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 16 May 2026 15:22:21 -0400 (0:00:00.032) 0:01:07.785 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:22:21 -0400 (0:00:00.029) 0:01:07.814 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server removed.", "Removed: postgresql-private-libs-16.8-1.module_el9+1265+61707298.x86_64", "Removed: postgresql-server-16.8-1.module_el9+1265+61707298.x86_64", "Removed: postgresql-16.8-1.module_el9+1265+61707298.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:22:23 -0400 (0:00:01.999) 0:01:09.813 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.018) 0:01:09.832 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.395) 0:01:10.228 ********** [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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:22:24 -0400 (0:00:01.331) 0:01:11.559 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007875", "end": "2026-05-16 15:22:25.162778", "rc": 0, "start": "2026-05-16 15:22:25.154903" } STDOUT: May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[11947]: 2026-05-16 15:20:03.041 EDT [11947] LOG: redirecting log output to logging collector process May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[11947]: 2026-05-16 15:20:03.041 EDT [11947] HINT: Future log output will appear in directory "log". May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 11948 (postmaster) with signal SIGKILL. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[14662]: 2026-05-16 15:20:11.223 EDT [14662] LOG: redirecting log output to logging collector process May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[14662]: 2026-05-16 15:20:11.223 EDT [14662] HINT: Future log output will appear in directory "log". May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 14663 (postmaster) with signal SIGKILL. May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[22166]: 2026-05-16 15:20:39.644 EDT [22166] LOG: redirecting log output to logging collector process May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[22166]: 2026-05-16 15:20:39.644 EDT [22166] HINT: Future log output will appear in directory "log". May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 22167 (postmaster) with signal SIGKILL. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[24010]: 2026-05-16 15:20:45.521 EDT [24010] LOG: redirecting log output to logging collector process May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[24010]: 2026-05-16 15:20:45.521 EDT [24010] HINT: Future log output will appear in directory "log". May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 24011 (postmaster) with signal SIGKILL. May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[28786]: 2026-05-16 15:21:03.600 EDT [28786] LOG: redirecting log output to logging collector process May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[28786]: 2026-05-16 15:21:03.600 EDT [28786] HINT: Future log output will appear in directory "log". May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 28787 (postmaster) with signal SIGKILL. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[29671]: 2026-05-16 15:21:06.982 EDT [29671] LOG: redirecting log output to logging collector process May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[29671]: 2026-05-16 15:21:06.982 EDT [29671] HINT: Future log output will appear in directory "log". May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 29672 (postmaster) with signal SIGKILL. May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[34259]: 2026-05-16 15:21:24.969 EDT [34259] LOG: redirecting log output to logging collector process May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[34259]: 2026-05-16 15:21:24.969 EDT [34259] HINT: Future log output will appear in directory "log". May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 34260 (postmaster) with signal SIGKILL. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[35221]: 2026-05-16 15:21:28.568 EDT [35221] LOG: redirecting log output to logging collector process May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[35221]: 2026-05-16 15:21:28.568 EDT [35221] HINT: Future log output will appear in directory "log". May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 35222 (postmaster) with signal SIGKILL. May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:59 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:59 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[40557]: 2026-05-16 15:21:59.947 EDT [40557] LOG: redirecting log output to logging collector process May 16 15:21:59 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[40557]: 2026-05-16 15:21:59.947 EDT [40557] HINT: Future log output will appear in directory "log". May 16 15:21:59 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:02 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 40558 (postgres) with signal SIGKILL. May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[41518]: 2026-05-16 15:22:03.065 EDT [41518] LOG: redirecting log output to logging collector process May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[41518]: 2026-05-16 15:22:03.065 EDT [41518] HINT: Future log output will appear in directory "log". May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:22 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:22 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 41519 (postgres) with signal SIGKILL. May 16 15:22:22 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:22:22 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:22:25 -0400 (0:00:00.343) 0:01:11.903 ********** included: /tmp/collections-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 16 May 2026 15:22:25 -0400 (0:00:00.029) 0:01:11.932 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:22:25 -0400 (0:00:00.001) 0:01:11.934 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:22:25 -0400 (0:00:00.015) 0:01:11.949 ********** included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:22:25 -0400 (0:00:00.046) 0:01:11.996 ********** included: /tmp/collections-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:22:25 -0400 (0:00:00.025) 0:01:12.021 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:22:27 -0400 (0:00:01.778) 0:01:13.800 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:22:27 -0400 (0:00:00.334) 0:01:14.134 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:22:27 -0400 (0:00:00.017) 0:01:14.152 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:22:27 -0400 (0:00:00.018) 0:01:14.170 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:22:27 -0400 (0:00:00.016) 0:01:14.187 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:22:27 -0400 (0:00:00.017) 0:01:14.204 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:22:27 -0400 (0:00:00.017) 0:01:14.222 ********** 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-kZY/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-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:22:27 -0400 (0:00:00.039) 0:01:14.261 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:22:27 -0400 (0:00:00.335) 0:01:14.597 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:22:28 -0400 (0:00:00.337) 0:01:14.935 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:22:28 -0400 (0:00:00.341) 0:01:15.276 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:22:29 -0400 (0:00:00.753) 0:01:16.030 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:22:29 -0400 (0:00:00.024) 0:01:16.055 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:22:29 -0400 (0:00:00.028) 0:01:16.083 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:22:29 -0400 (0:00:00.023) 0:01:16.107 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:22:29 -0400 (0:00:00.020) 0:01:16.127 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:22:33 -0400 (0:00:04.316) 0:01:20.444 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.827135", "end": "2026-05-16 15:22:34.916725", "rc": 0, "start": "2026-05-16 15:22:34.089590" } 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:22:34 -0400 (0:00:01.217) 0:01:21.662 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:22:34 -0400 (0:00:00.019) 0:01:21.681 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:22:35 -0400 (0:00:00.017) 0:01:21.698 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:22:35 -0400 (0:00:00.016) 0:01:21.715 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target network-online.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:22:36 -0400 (0:00:01.113) 0:01:22.828 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.021) 0:01:22.849 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.020) 0:01:22.870 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.020) 0:01:22.891 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.017) 0:01:22.908 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.020) 0:01:22.929 ********** included: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.029) 0:01:22.958 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.019) 0:01:22.977 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.018) 0:01:22.996 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.017) 0:01:23.014 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.018) 0:01:23.032 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.018) 0:01:23.050 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.017) 0:01:23.068 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.021) 0:01:23.089 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.015) 0:01:23.105 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.016) 0:01:23.121 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.044) 0:01:23.166 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:22:36 -0400 (0:00:00.351) 0:01:23.518 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:22:37 -0400 (0:00:00.350) 0:01:23.868 ********** 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-1778959357.221536-14174-12305915526086/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:22:37 -0400 (0:00:00.693) 0:01:24.561 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:22:37 -0400 (0:00:00.022) 0:01:24.584 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:22:37 -0400 (0:00:00.021) 0:01:24.606 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:22:38 -0400 (0:00:00.346) 0:01:24.953 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 16 May 2026 15:22:38 -0400 (0:00:00.020) 0:01:24.973 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:22:38 -0400 (0:00:00.005) 0:01:24.978 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-05-16 15:22:36 EDT", "ActiveEnterTimestampMonotonic": "358424174", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice sysinit.target network-online.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:22:36 EDT", "AssertTimestampMonotonic": "358360993", "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": "40614000", "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-16 15:22:36 EDT", "ConditionTimestampMonotonic": "358360990", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "7661", "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": "46922", "ExecMainStartTimestamp": "Sat 2026-05-16 15:22:36 EDT", "ExecMainStartTimestampMonotonic": "358378361", "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-16 15:22:36 EDT] ; stop_time=[n/a] ; pid=46922 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; flags= ; start_time=[Sat 2026-05-16 15:22:36 EDT] ; stop_time=[n/a] ; pid=46922 ; 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-16 15:22:36 EDT] ; stop_time=[Sat 2026-05-16 15:22:36 EDT] ; pid=46920 ; 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-16 15:22:36 EDT] ; stop_time=[Sat 2026-05-16 15:22:36 EDT] ; pid=46920 ; 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-16 15:22:36 EDT", "InactiveExitTimestampMonotonic": "358372371", "InvocationID": "772645d1b7424f56945bfb22c6a9ea6d", "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": "46922", "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": "23433216", "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-16 15:22:36 EDT", "StateChangeTimestampMonotonic": "358424174", "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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:22:39 -0400 (0:00:00.972) 0:01:25.950 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008787", "end": "2026-05-16 15:22:39.565404", "rc": 0, "start": "2026-05-16 15:22:39.556617" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:22:39 -0400 (0:00:00.357) 0:01:26.308 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.010117", "end": "2026-05-16 15:22:39.916178", "rc": 0, "start": "2026-05-16 15:22:39.906061" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:22:39 -0400 (0:00:00.348) 0:01:26.657 ********** ASYNC OK on managed-node2: jid=j212952222392.48371 ok: [managed-node2] => { "ansible_job_id": "j212952222392.48371", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.015785", "end": "2026-05-16 15:22:40.484694", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j212952222392.48371", "start": "2026-05-16 15:22:40.468909", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:22:56 -0400 (0:00:16.044) 0:01:42.701 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010996", "end": "2026-05-16 15:22:56.325196", "rc": 0, "start": "2026-05-16 15:22:56.314200" } STDOUT: shared_buffers ---------------- 866MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:22:56 -0400 (0:00:00.367) 0:01:43.068 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:22:56 -0400 (0:00:00.031) 0:01:43.100 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010725", "end": "2026-05-16 15:22:56.722937", "rc": 0, "start": "2026-05-16 15:22:56.712212" } STDOUT: effective_cache_size ---------------------- 1732MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:22:56 -0400 (0:00:00.365) 0:01:43.465 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:22:56 -0400 (0:00:00.031) 0:01:43.497 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.010143", "end": "2026-05-16 15:22:57.106123", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:22:57.095980" } STDOUT: postgres (PostgreSQL) 18.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:22:57 -0400 (0:00:00.354) 0:01:43.852 ********** included: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 16 May 2026 15:22:57 -0400 (0:00:00.032) 0:01:43.884 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:22:57 -0400 (0:00:00.004) 0:01:43.889 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:18/server removed.", "Removed: postgresql-private-libs-18.1-1.module_el9+1300+1c4aa8df.x86_64", "Removed: postgresql-server-18.1-1.module_el9+1300+1c4aa8df.x86_64", "Removed: postgresql-18.1-1.module_el9+1300+1c4aa8df.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:22:59 -0400 (0:00:01.961) 0:01:45.850 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:22:59 -0400 (0:00:00.019) 0:01:45.870 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:22:59 -0400 (0:00:00.400) 0:01:46.270 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:23:00 -0400 (0:00:01.337) 0:01:47.608 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.009208", "end": "2026-05-16 15:23:01.212332", "rc": 0, "start": "2026-05-16 15:23:01.203124" } STDOUT: May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[11947]: 2026-05-16 15:20:03.041 EDT [11947] LOG: redirecting log output to logging collector process May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[11947]: 2026-05-16 15:20:03.041 EDT [11947] HINT: Future log output will appear in directory "log". May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 11948 (postmaster) with signal SIGKILL. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[14662]: 2026-05-16 15:20:11.223 EDT [14662] LOG: redirecting log output to logging collector process May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[14662]: 2026-05-16 15:20:11.223 EDT [14662] HINT: Future log output will appear in directory "log". May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 14663 (postmaster) with signal SIGKILL. May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[22166]: 2026-05-16 15:20:39.644 EDT [22166] LOG: redirecting log output to logging collector process May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[22166]: 2026-05-16 15:20:39.644 EDT [22166] HINT: Future log output will appear in directory "log". May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 22167 (postmaster) with signal SIGKILL. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[24010]: 2026-05-16 15:20:45.521 EDT [24010] LOG: redirecting log output to logging collector process May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[24010]: 2026-05-16 15:20:45.521 EDT [24010] HINT: Future log output will appear in directory "log". May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 24011 (postmaster) with signal SIGKILL. May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[28786]: 2026-05-16 15:21:03.600 EDT [28786] LOG: redirecting log output to logging collector process May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[28786]: 2026-05-16 15:21:03.600 EDT [28786] HINT: Future log output will appear in directory "log". May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 28787 (postmaster) with signal SIGKILL. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[29671]: 2026-05-16 15:21:06.982 EDT [29671] LOG: redirecting log output to logging collector process May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[29671]: 2026-05-16 15:21:06.982 EDT [29671] HINT: Future log output will appear in directory "log". May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 29672 (postmaster) with signal SIGKILL. May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[34259]: 2026-05-16 15:21:24.969 EDT [34259] LOG: redirecting log output to logging collector process May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[34259]: 2026-05-16 15:21:24.969 EDT [34259] HINT: Future log output will appear in directory "log". May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 34260 (postmaster) with signal SIGKILL. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[35221]: 2026-05-16 15:21:28.568 EDT [35221] LOG: redirecting log output to logging collector process May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[35221]: 2026-05-16 15:21:28.568 EDT [35221] HINT: Future log output will appear in directory "log". May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 35222 (postmaster) with signal SIGKILL. May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:59 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:59 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[40557]: 2026-05-16 15:21:59.947 EDT [40557] LOG: redirecting log output to logging collector process May 16 15:21:59 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[40557]: 2026-05-16 15:21:59.947 EDT [40557] HINT: Future log output will appear in directory "log". May 16 15:21:59 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:02 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 40558 (postgres) with signal SIGKILL. May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[41518]: 2026-05-16 15:22:03.065 EDT [41518] LOG: redirecting log output to logging collector process May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[41518]: 2026-05-16 15:22:03.065 EDT [41518] HINT: Future log output will appear in directory "log". May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:22 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:22 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 41519 (postgres) with signal SIGKILL. May 16 15:22:22 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:22:22 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:36 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:36 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[46922]: 2026-05-16 15:22:36.054 EDT [46922] LOG: redirecting log output to logging collector process May 16 15:22:36 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[46922]: 2026-05-16 15:22:36.054 EDT [46922] HINT: Future log output will appear in directory "log". May 16 15:22:36 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 46923 (postgres) with signal SIGKILL. May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[47886]: 2026-05-16 15:22:39.175 EDT [47886] LOG: redirecting log output to logging collector process May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[47886]: 2026-05-16 15:22:39.175 EDT [47886] HINT: Future log output will appear in directory "log". May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:58 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:58 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 47887 (postgres) with signal SIGKILL. May 16 15:22:58 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:22:58 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:23:01 -0400 (0:00:00.346) 0:01:47.954 ********** included: /tmp/collections-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 16 May 2026 15:23:01 -0400 (0:00:00.029) 0:01:47.984 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:23:01 -0400 (0:00:00.000) 0:01:47.985 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:23:01 -0400 (0:00:00.016) 0:01:48.001 ********** included: fedora.linux_system_roles.postgresql for managed-node2 TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:23:01 -0400 (0:00:00.040) 0:01:48.042 ********** included: /tmp/collections-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:23:01 -0400 (0:00:00.025) 0:01:48.068 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:23:02 -0400 (0:00:00.790) 0:01:48.858 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:23:02 -0400 (0:00:00.340) 0:01:49.199 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:23:02 -0400 (0:00:00.018) 0:01:49.218 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:23:02 -0400 (0:00:00.019) 0:01:49.237 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:23:02 -0400 (0:00:00.017) 0:01:49.255 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:23:02 -0400 (0:00:00.017) 0:01:49.273 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:23:02 -0400 (0:00:00.018) 0:01:49.291 ********** 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-kZY/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-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:23:02 -0400 (0:00:00.043) 0:01:49.336 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:23:02 -0400 (0:00:00.342) 0:01:49.679 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.339) 0:01:50.018 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.341) 0:01:50.359 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:23:04 -0400 (0:00:00.753) 0:01:51.113 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:23:04 -0400 (0:00:00.026) 0:01:51.140 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:23:04 -0400 (0:00:00.029) 0:01:51.169 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:23:04 -0400 (0:00:00.025) 0:01:51.195 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:23:04 -0400 (0:00:00.022) 0:01:51.217 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:23:08 -0400 (0:00:04.386) 0:01:55.603 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.743160", "end": "2026-05-16 15:23:09.996568", "rc": 0, "start": "2026-05-16 15:23:09.253408" } 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:23:10 -0400 (0:00:01.135) 0:01:56.739 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:23:10 -0400 (0:00:00.019) 0:01:56.758 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:23:10 -0400 (0:00:00.018) 0:01:56.776 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:23:10 -0400 (0:00:00.019) 0:01:56.795 ********** 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 network-online.target systemd-journald.socket", "AllowIsolate": "no", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "yes", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf cap_checkpoint_restore", "CleanResult": "success", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroupId": "0", "ControlPID": "0", "CoredumpFilter": "0x33", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecReloadEx": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; flags= ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:23:11 -0400 (0:00:01.107) 0:01:57.903 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.021) 0:01:57.924 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.021) 0:01:57.946 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.022) 0:01:57.969 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.017) 0:01:57.986 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.021) 0:01:58.008 ********** included: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.031) 0:01:58.040 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.019) 0:01:58.059 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.019) 0:01:58.079 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.019) 0:01:58.098 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.020) 0:01:58.119 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.018) 0:01:58.137 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.019) 0:01:58.157 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.019) 0:01:58.176 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.018) 0:01:58.195 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.016) 0:01:58.212 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.021) 0:01:58.233 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:23:11 -0400 (0:00:00.356) 0:01:58.590 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:23:12 -0400 (0:00:00.354) 0:01:58.944 ********** 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-1778959392.2985754-14571-219949219917484/.source.conf", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:23:12 -0400 (0:00:00.697) 0:01:59.641 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:23:12 -0400 (0:00:00.021) 0:01:59.663 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:23:12 -0400 (0:00:00.022) 0:01:59.685 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:23:13 -0400 (0:00:00.351) 0:02:00.036 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 16 May 2026 15:23:13 -0400 (0:00:00.019) 0:02:00.056 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:23:13 -0400 (0:00:00.005) 0:02:00.061 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "AccessSELinuxContext": "system_u:object_r:postgresql_unit_file_t:s0", "ActiveEnterTimestamp": "Sat 2026-05-16 15:23:11 EDT", "ActiveEnterTimestampMonotonic": "393500414", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target network-online.target system.slice sysinit.target", "AllowIsolate": "no", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:23:11 EDT", "AssertTimestampMonotonic": "393448406", "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": "35143000", "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-16 15:23:11 EDT", "ConditionTimestampMonotonic": "393448402", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlGroupId": "8289", "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": "53204", "ExecMainStartTimestamp": "Sat 2026-05-16 15:23:11 EDT", "ExecMainStartTimestampMonotonic": "393458408", "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-16 15:23:11 EDT] ; stop_time=[n/a] ; pid=53204 ; code=(null) ; status=0/0 }", "ExecStartEx": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; flags= ; start_time=[Sat 2026-05-16 15:23:11 EDT] ; stop_time=[n/a] ; pid=53204 ; 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-16 15:23:11 EDT] ; stop_time=[Sat 2026-05-16 15:23:11 EDT] ; pid=53202 ; 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-16 15:23:11 EDT] ; stop_time=[Sat 2026-05-16 15:23:11 EDT] ; pid=53202 ; 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-16 15:23:11 EDT", "InactiveExitTimestampMonotonic": "393452262", "InvocationID": "f54a87de2f7e43b5aa294805e1f4d486", "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": "53204", "ManagedOOMMemoryPressure": "auto", "ManagedOOMMemoryPressureLimit": "0", "ManagedOOMPreference": "none", "ManagedOOMSwap": "auto", "MemoryAccounting": "yes", "MemoryAvailable": "infinity", "MemoryCurrent": "18505728", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemoryPeak": "18583552", "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-16 15:23:11 EDT", "StateChangeTimestampMonotonic": "393500414", "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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:23:14 -0400 (0:00:00.955) 0:02:01.017 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008552", "end": "2026-05-16 15:23:14.625058", "rc": 0, "start": "2026-05-16 15:23:14.616506" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:23:14 -0400 (0:00:00.349) 0:02:01.366 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.009239", "end": "2026-05-16 15:23:14.972147", "rc": 0, "start": "2026-05-16 15:23:14.962908" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:23:15 -0400 (0:00:00.346) 0:02:01.713 ********** ASYNC OK on managed-node2: jid=j608445375798.54647 ok: [managed-node2] => { "ansible_job_id": "j608445375798.54647", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.014189", "end": "2026-05-16 15:23:15.539566", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j608445375798.54647", "start": "2026-05-16 15:23:15.525377", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:23:31 -0400 (0:00:16.040) 0:02:17.754 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010395", "end": "2026-05-16 15:23:31.380172", "rc": 0, "start": "2026-05-16 15:23:31.369777" } STDOUT: shared_buffers ---------------- 866MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.370) 0:02:18.124 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.032) 0:02:18.157 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.010386", "end": "2026-05-16 15:23:31.783235", "rc": 0, "start": "2026-05-16 15:23:31.772849" } STDOUT: effective_cache_size ---------------------- 1732MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.372) 0:02:18.530 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.032) 0:02:18.562 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009810", "end": "2026-05-16 15:23:32.173562", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:23:32.163752" } STDOUT: postgres (PostgreSQL) 15.12 TASK [Clean up] **************************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:23:32 -0400 (0:00:00.358) 0:02:18.921 ********** included: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 16 May 2026 15:23:32 -0400 (0:00:00.033) 0:02:18.954 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:23:32 -0400 (0:00:00.004) 0:02:18.959 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server removed.", "Removed: postgresql-private-libs-15.12-1.module_el9+1199+0a6782cc.x86_64", "Removed: postgresql-server-15.12-1.module_el9+1199+0a6782cc.x86_64", "Removed: postgresql-15.12-1.module_el9+1199+0a6782cc.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:23:34 -0400 (0:00:01.992) 0:02:20.951 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:23:34 -0400 (0:00:00.047) 0:02:20.999 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:23:34 -0400 (0:00:00.401) 0:02:21.400 ********** 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-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:23:36 -0400 (0:00:01.334) 0:02:22.734 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.008798", "end": "2026-05-16 15:23:36.339711", "rc": 0, "start": "2026-05-16 15:23:36.330913" } STDOUT: May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[11947]: 2026-05-16 15:20:03.041 EDT [11947] LOG: redirecting log output to logging collector process May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[11947]: 2026-05-16 15:20:03.041 EDT [11947] HINT: Future log output will appear in directory "log". May 16 15:20:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 11948 (postmaster) with signal SIGKILL. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[14662]: 2026-05-16 15:20:11.223 EDT [14662] LOG: redirecting log output to logging collector process May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[14662]: 2026-05-16 15:20:11.223 EDT [14662] HINT: Future log output will appear in directory "log". May 16 15:20:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 14663 (postmaster) with signal SIGKILL. May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:12 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[22166]: 2026-05-16 15:20:39.644 EDT [22166] LOG: redirecting log output to logging collector process May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[22166]: 2026-05-16 15:20:39.644 EDT [22166] HINT: Future log output will appear in directory "log". May 16 15:20:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 22167 (postmaster) with signal SIGKILL. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[24010]: 2026-05-16 15:20:45.521 EDT [24010] LOG: redirecting log output to logging collector process May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[24010]: 2026-05-16 15:20:45.521 EDT [24010] HINT: Future log output will appear in directory "log". May 16 15:20:45 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 24011 (postmaster) with signal SIGKILL. May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:20:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[28786]: 2026-05-16 15:21:03.600 EDT [28786] LOG: redirecting log output to logging collector process May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[28786]: 2026-05-16 15:21:03.600 EDT [28786] HINT: Future log output will appear in directory "log". May 16 15:21:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 28787 (postmaster) with signal SIGKILL. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[29671]: 2026-05-16 15:21:06.982 EDT [29671] LOG: redirecting log output to logging collector process May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[29671]: 2026-05-16 15:21:06.982 EDT [29671] HINT: Future log output will appear in directory "log". May 16 15:21:06 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 29672 (postmaster) with signal SIGKILL. May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:08 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[34259]: 2026-05-16 15:21:24.969 EDT [34259] LOG: redirecting log output to logging collector process May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[34259]: 2026-05-16 15:21:24.969 EDT [34259] HINT: Future log output will appear in directory "log". May 16 15:21:24 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 34260 (postmaster) with signal SIGKILL. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[35221]: 2026-05-16 15:21:28.568 EDT [35221] LOG: redirecting log output to logging collector process May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[35221]: 2026-05-16 15:21:28.568 EDT [35221] HINT: Future log output will appear in directory "log". May 16 15:21:28 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 35222 (postmaster) with signal SIGKILL. May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:21:48 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:59 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:59 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[40557]: 2026-05-16 15:21:59.947 EDT [40557] LOG: redirecting log output to logging collector process May 16 15:21:59 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[40557]: 2026-05-16 15:21:59.947 EDT [40557] HINT: Future log output will appear in directory "log". May 16 15:21:59 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:02 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 40558 (postgres) with signal SIGKILL. May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[41518]: 2026-05-16 15:22:03.065 EDT [41518] LOG: redirecting log output to logging collector process May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[41518]: 2026-05-16 15:22:03.065 EDT [41518] HINT: Future log output will appear in directory "log". May 16 15:22:03 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:22 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:22 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 41519 (postgres) with signal SIGKILL. May 16 15:22:22 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:22:22 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:36 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:36 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[46922]: 2026-05-16 15:22:36.054 EDT [46922] LOG: redirecting log output to logging collector process May 16 15:22:36 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[46922]: 2026-05-16 15:22:36.054 EDT [46922] HINT: Future log output will appear in directory "log". May 16 15:22:36 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 46923 (postgres) with signal SIGKILL. May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[47886]: 2026-05-16 15:22:39.175 EDT [47886] LOG: redirecting log output to logging collector process May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postgres[47886]: 2026-05-16 15:22:39.175 EDT [47886] HINT: Future log output will appear in directory "log". May 16 15:22:39 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:58 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:58 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 47887 (postgres) with signal SIGKILL. May 16 15:22:58 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:22:58 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[53204]: 2026-05-16 15:23:11.131 EDT [53204] LOG: redirecting log output to logging collector process May 16 15:23:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[53204]: 2026-05-16 15:23:11.131 EDT [53204] HINT: Future log output will appear in directory "log". May 16 15:23:11 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:14 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:14 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 53205 (postmaster) with signal SIGKILL. May 16 15:23:14 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:23:14 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:14 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:14 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[54165]: 2026-05-16 15:23:14.245 EDT [54165] LOG: redirecting log output to logging collector process May 16 15:23:14 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com postmaster[54165]: 2026-05-16 15:23:14.245 EDT [54165] HINT: Future log output will appear in directory "log". May 16 15:23:14 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:33 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:33 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 54166 (postmaster) with signal SIGKILL. May 16 15:23:33 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Deactivated successfully. May 16 15:23:33 ip-10-31-47-188.testing-farm.us-east-1.aws.redhat.com 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 16 May 2026 15:23:36 -0400 (0:00:00.342) 0:02:23.077 ********** =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.27s /tmp/collections-kZY/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-kZY/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-kZY/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-kZY/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.39s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 4.32s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.59s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 3.51s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 2.00s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.99s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.96s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 1.94s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Ensure ansible_facts used by role --- 1.78s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server --- 1.35s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Remove config files ----------------------------------------------------- 1.34s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.33s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.33s /tmp/collections-kZY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Remove config files ----------------------------------------------------- 1.33s /tmp/collections-kZY/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.22s /tmp/collections-kZY/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-kZY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58