ansible-playbook [core 2.16.18] 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-CcY executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/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-CcY/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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 16 May 2026 15:21:28 -0400 (0:00:00.018) 0:00:00.018 ********** ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 16 May 2026 15:21:29 -0400 (0:00:01.035) 0:00:01.053 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 16 May 2026 15:21:29 -0400 (0:00:00.005) 0:00:01.059 ********** included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:21:29 -0400 (0:00:00.034) 0:00:01.093 ********** included: /tmp/collections-CcY/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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 16 May 2026 15:21:29 -0400 (0:00:00.038) 0:00:01.132 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:21:29 -0400 (0:00:00.000) 0:00:01.133 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:21:29 -0400 (0:00:00.014) 0:00:01.148 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:21:29 -0400 (0:00:00.076) 0:00:01.224 ********** included: /tmp/collections-CcY/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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:21:29 -0400 (0:00:00.025) 0:00:01.249 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:21:30 -0400 (0:00:00.752) 0:00:02.002 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:21:31 -0400 (0:00:00.393) 0:00:02.395 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:21:31 -0400 (0:00:00.420) 0:00:02.816 ********** ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:21:31 -0400 (0:00:00.020) 0:00:02.836 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007066", "end": "2026-05-16 15:21:31.920340", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:21:31.913274" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:21:31 -0400 (0:00:00.416) 0:00:03.253 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:21:31 -0400 (0:00:00.019) 0:00:03.273 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:21:32 -0400 (0:00:00.020) 0:00:03.293 ********** 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_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:21:32 -0400 (0:00:00.039) 0:00:03.333 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:21:32 -0400 (0:00:00.311) 0:00:03.644 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:21:32 -0400 (0:00:00.324) 0:00:03.968 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:21:32 -0400 (0:00:00.311) 0:00:04.280 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:21:34 -0400 (0:00:01.654) 0:00:05.935 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:21:34 -0400 (0:00:00.034) 0:00:05.969 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:21:34 -0400 (0:00:00.027) 0:00:05.997 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:21:34 -0400 (0:00:00.034) 0:00:06.032 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:21:34 -0400 (0:00:00.033) 0:00:06.065 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server installed.", "Installed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Installed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } lsrpackages: @postgresql:13/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:21:40 -0400 (0:00:06.137) 0:00:12.202 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.664535", "end": "2026-05-16 15:21:41.877159", "rc": 0, "start": "2026-05-16 15:21:41.212624" } 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:21:41 -0400 (0:00:01.015) 0:00:13.218 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:21:41 -0400 (0:00:00.019) 0:00:13.237 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:21:41 -0400 (0:00:00.016) 0:00:13.254 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:21:41 -0400 (0:00:00.016) 0:00:13.270 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket basic.target network.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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 }", "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 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:21:43 -0400 (0:00:01.227) 0:00:14.498 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.020) 0:00:14.518 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.020) 0:00:14.539 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.019) 0:00:14.558 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.016) 0:00:14.575 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.018) 0:00:14.594 ********** included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.028) 0:00:14.623 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.017) 0:00:14.641 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.016) 0:00:14.658 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.017) 0:00:14.675 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.021) 0:00:14.696 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.017) 0:00:14.714 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.017) 0:00:14.732 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.017) 0:00:14.749 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.015) 0:00:14.765 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.017) 0:00:14.782 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.019) 0:00:14.801 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:21:43 -0400 (0:00:00.448) 0:00:15.250 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:21:44 -0400 (0:00:00.443) 0:00:15.694 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1778959304.444363-12182-125520047531539/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:21:45 -0400 (0:00:00.824) 0:00:16.518 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:21:45 -0400 (0:00:00.021) 0:00:16.539 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:21:45 -0400 (0:00:00.020) 0:00:16.559 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:21:45 -0400 (0:00:00.320) 0:00:16.880 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 16 May 2026 15:21:45 -0400 (0:00:00.019) 0:00:16.900 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:21:45 -0400 (0:00:00.004) 0:00:16.904 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-16 15:21:43 EDT", "ActiveEnterTimestampMonotonic": "310163117", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:21:43 EDT", "AssertTimestampMonotonic": "310115358", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-05-16 15:21:43 EDT", "ConditionTimestampMonotonic": "310115357", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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": "30127", "ExecMainStartTimestamp": "Sat 2026-05-16 15:21:43 EDT", "ExecMainStartTimestampMonotonic": "310123911", "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 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:21:43 EDT] ; stop_time=[n/a] ; pid=30127 ; 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:43 EDT] ; stop_time=[Sat 2026-05-16 15:21:43 EDT] ; pid=30125 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-05-16 15:21:43 EDT", "InactiveExitTimestampMonotonic": "310116164", "InvocationID": "33b7f7d7e39a4433b62788d004a66d4c", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30127", "MemoryAccounting": "yes", "MemoryCurrent": "17727488", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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:43 EDT", "StateChangeTimestampMonotonic": "310163117", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-05-16 15:21:43 EDT", "WatchdogTimestampMonotonic": "310163114", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:21:46 -0400 (0:00:00.922) 0:00:17.827 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007407", "end": "2026-05-16 15:21:46.818122", "rc": 0, "start": "2026-05-16 15:21:46.810715" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:21:46 -0400 (0:00:00.330) 0:00:18.157 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007364", "end": "2026-05-16 15:21:47.139021", "rc": 0, "start": "2026-05-16 15:21:47.131657" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:21:47 -0400 (0:00:00.318) 0:00:18.475 ********** ASYNC OK on managed-node2: jid=j159517133746.31335 ok: [managed-node2] => { "ansible_job_id": "j159517133746.31335", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010988", "end": "2026-05-16 15:21:47.779790", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j159517133746.31335", "start": "2026-05-16 15:21:47.768802", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:22:03 -0400 (0:00:16.167) 0:00:34.642 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009620", "end": "2026-05-16 15:22:03.645680", "rc": 0, "start": "2026-05-16 15:22:03.636060" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:22:03 -0400 (0:00:00.341) 0:00:34.984 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:22:03 -0400 (0:00:00.036) 0:00:35.021 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008995", "end": "2026-05-16 15:22:04.022264", "rc": 0, "start": "2026-05-16 15:22:04.013269" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:22:04 -0400 (0:00:00.339) 0:00:35.361 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:22:04 -0400 (0:00:00.032) 0:00:35.394 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008144", "end": "2026-05-16 15:22:04.383155", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:22:04.375011" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:22:04 -0400 (0:00:00.337) 0:00:35.731 ********** included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 16 May 2026 15:22:04 -0400 (0:00:00.035) 0:00:35.766 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:22:04 -0400 (0:00:00.004) 0:00:35.771 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:13/server removed.", "Removed: postgresql-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64", "Removed: postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:22:09 -0400 (0:00:04.647) 0:00:40.418 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:22:09 -0400 (0:00:00.019) 0:00:40.437 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:22:09 -0400 (0:00:00.360) 0:00:40.798 ********** ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:22:10 -0400 (0:00:01.228) 0:00:42.026 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006289", "end": "2026-05-16 15:22:11.009942", "rc": 0, "start": "2026-05-16 15:22:11.003653" } STDOUT: -- Logs begin at Sat 2026-05-16 15:16:33 EDT, end at Sat 2026-05-16 15:22:11 EDT. -- May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:05.710 EDT [10345] LOG: redirecting log output to logging collector process May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:05.710 EDT [10345] HINT: Future log output will appear in directory "log". May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 10346 (postmaster) with signal SIGKILL. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:20:13.334 EDT [12608] LOG: redirecting log output to logging collector process May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:20:13.334 EDT [12608] HINT: Future log output will appear in directory "log". May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 12609 (postmaster) with signal SIGKILL. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:47 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[19230]: 2026-05-16 15:20:48.006 EDT [19230] LOG: redirecting log output to logging collector process May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[19230]: 2026-05-16 15:20:48.006 EDT [19230] HINT: Future log output will appear in directory "log". May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 19231 (postmaster) with signal SIGKILL. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[20771]: 2026-05-16 15:20:53.408 EDT [20771] LOG: redirecting log output to logging collector process May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[20771]: 2026-05-16 15:20:53.408 EDT [20771] HINT: Future log output will appear in directory "log". May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 20772 (postmaster) with signal SIGKILL. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25146]: 2026-05-16 15:21:17.073 EDT [25146] LOG: redirecting log output to logging collector process May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25146]: 2026-05-16 15:21:17.073 EDT [25146] HINT: Future log output will appear in directory "log". May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25147 (postmaster) with signal SIGKILL. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25886]: 2026-05-16 15:21:20.488 EDT [25886] LOG: redirecting log output to logging collector process May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25886]: 2026-05-16 15:21:20.488 EDT [25886] HINT: Future log output will appear in directory "log". May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25887 (postmaster) with signal SIGKILL. May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30127]: 2026-05-16 15:21:43.131 EDT [30127] LOG: redirecting log output to logging collector process May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30127]: 2026-05-16 15:21:43.131 EDT [30127] HINT: Future log output will appear in directory "log". May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30129 (postmaster) with signal SIGKILL. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30935]: 2026-05-16 15:21:46.457 EDT [30935] LOG: redirecting log output to logging collector process May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30935]: 2026-05-16 15:21:46.457 EDT [30935] HINT: Future log output will appear in directory "log". May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30937 (postmaster) with signal SIGKILL. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:08 ip-10-31-8-46.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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 16 May 2026 15:22:11 -0400 (0:00:00.322) 0:00:42.348 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 16 May 2026 15:22:11 -0400 (0:00:00.012) 0:00:42.361 ********** ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 16 May 2026 15:22:11 -0400 (0:00:00.023) 0:00:42.385 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:22:11 -0400 (0:00:00.088) 0:00:42.474 ********** included: /tmp/collections-CcY/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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 16 May 2026 15:22:11 -0400 (0:00:00.028) 0:00:42.503 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:22:11 -0400 (0:00:00.000) 0:00:42.504 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:22:11 -0400 (0:00:00.016) 0:00:42.520 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:22:11 -0400 (0:00:00.041) 0:00:42.562 ********** included: /tmp/collections-CcY/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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:22:11 -0400 (0:00:00.025) 0:00:42.587 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:22:12 -0400 (0:00:00.750) 0:00:43.338 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:22:12 -0400 (0:00:00.311) 0:00:43.649 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:22:12 -0400 (0:00:00.017) 0:00:43.667 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:22:12 -0400 (0:00:00.017) 0:00:43.684 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:22:12 -0400 (0:00:00.016) 0:00:43.701 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:22:12 -0400 (0:00:00.016) 0:00:43.718 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:22:12 -0400 (0:00:00.018) 0:00:43.737 ********** [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_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:22:12 -0400 (0:00:00.042) 0:00:43.779 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:22:12 -0400 (0:00:00.315) 0:00:44.095 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:22:13 -0400 (0:00:00.311) 0:00:44.406 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:22:13 -0400 (0:00:00.308) 0:00:44.714 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:22:14 -0400 (0:00:01.410) 0:00:46.124 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:22:14 -0400 (0:00:00.028) 0:00:46.153 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:22:14 -0400 (0:00:00.087) 0:00:46.241 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:22:14 -0400 (0:00:00.026) 0:00:46.267 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:22:14 -0400 (0:00:00.021) 0:00:46.288 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:12/server installed.", "Installed: postgresql-12.15-3.module_el8+514+f9db76aa.x86_64", "Installed: postgresql-server-12.15-3.module_el8+514+f9db76aa.x86_64" ] } lsrpackages: @postgresql:12/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:22:21 -0400 (0:00:06.503) 0:00:52.792 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.649763", "end": "2026-05-16 15:22:22.443016", "rc": 0, "start": "2026-05-16 15:22:21.793253" } 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:22:22 -0400 (0:00:00.990) 0:00:53.782 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:22:22 -0400 (0:00:00.019) 0:00:53.802 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:22:22 -0400 (0:00:00.017) 0:00:53.819 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:22:22 -0400 (0:00:00.017) 0:00:53.837 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket network.target basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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 }", "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 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:22:23 -0400 (0:00:01.022) 0:00:54.860 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.021) 0:00:54.881 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.020) 0:00:54.901 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.022) 0:00:54.924 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.016) 0:00:54.940 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.020) 0:00:54.961 ********** included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.034) 0:00:54.996 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.018) 0:00:55.014 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.018) 0:00:55.033 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.018) 0:00:55.051 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.020) 0:00:55.071 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.017) 0:00:55.089 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.018) 0:00:55.108 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.018) 0:00:55.126 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.018) 0:00:55.144 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.016) 0:00:55.160 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:22:23 -0400 (0:00:00.020) 0:00:55.181 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:22:24 -0400 (0:00:00.328) 0:00:55.509 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:22:24 -0400 (0:00:00.326) 0:00:55.836 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1778959344.5808077-12783-119664300753390/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:22:25 -0400 (0:00:00.647) 0:00:56.484 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:22:25 -0400 (0:00:00.021) 0:00:56.505 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:22:25 -0400 (0:00:00.020) 0:00:56.525 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:22:25 -0400 (0:00:00.323) 0:00:56.849 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 16 May 2026 15:22:25 -0400 (0:00:00.019) 0:00:56.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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:22:25 -0400 (0:00:00.004) 0:00:56.873 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-16 15:22:23 EDT", "ActiveEnterTimestampMonotonic": "350524555", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target systemd-journald.socket network.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:22:23 EDT", "AssertTimestampMonotonic": "350474549", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-05-16 15:22:23 EDT", "ConditionTimestampMonotonic": "350474547", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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": "35775", "ExecMainStartTimestamp": "Sat 2026-05-16 15:22:23 EDT", "ExecMainStartTimestampMonotonic": "350482869", "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 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:22:23 EDT] ; stop_time=[n/a] ; pid=35775 ; 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:23 EDT] ; stop_time=[Sat 2026-05-16 15:22:23 EDT] ; pid=35772 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-05-16 15:22:23 EDT", "InactiveExitTimestampMonotonic": "350475340", "InvocationID": "a3f0177c1f0c49338f859a28f95298fb", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35775", "MemoryAccounting": "yes", "MemoryCurrent": "17866752", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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:23 EDT", "StateChangeTimestampMonotonic": "350524555", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-05-16 15:22:23 EDT", "WatchdogTimestampMonotonic": "350524553", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:22:26 -0400 (0:00:00.926) 0:00:57.799 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007177", "end": "2026-05-16 15:22:26.784331", "rc": 0, "start": "2026-05-16 15:22:26.777154" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:22:26 -0400 (0:00:00.322) 0:00:58.122 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007457", "end": "2026-05-16 15:22:27.103118", "rc": 0, "start": "2026-05-16 15:22:27.095661" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:22:27 -0400 (0:00:00.318) 0:00:58.440 ********** ASYNC OK on managed-node2: jid=j908891500087.36982 ok: [managed-node2] => { "ansible_job_id": "j908891500087.36982", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011205", "end": "2026-05-16 15:22:27.638966", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j908891500087.36982", "start": "2026-05-16 15:22:27.627761", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:22:43 -0400 (0:00:15.961) 0:01:14.401 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008866", "end": "2026-05-16 15:22:43.405826", "rc": 0, "start": "2026-05-16 15:22:43.396960" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:22:43 -0400 (0:00:00.344) 0:01:14.746 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:22:43 -0400 (0:00:00.031) 0:01:14.778 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009189", "end": "2026-05-16 15:22:43.776322", "rc": 0, "start": "2026-05-16 15:22:43.767133" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:22:43 -0400 (0:00:00.336) 0:01:15.114 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:22:43 -0400 (0:00:00.034) 0:01:15.149 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008192", "end": "2026-05-16 15:22:44.133402", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:22:44.125210" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:22:44 -0400 (0:00:00.353) 0:01:15.502 ********** included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 16 May 2026 15:22:44 -0400 (0:00:00.031) 0:01:15.534 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:22:44 -0400 (0:00:00.004) 0:01:15.539 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:12/server removed.", "Removed: postgresql-12.15-3.module_el8+514+f9db76aa.x86_64", "Removed: postgresql-server-12.15-3.module_el8+514+f9db76aa.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:22:48 -0400 (0:00:04.645) 0:01:20.184 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:22:48 -0400 (0:00:00.017) 0:01:20.202 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:22:49 -0400 (0:00:00.359) 0:01:20.562 ********** [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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:22:50 -0400 (0:00:01.223) 0:01:21.785 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006709", "end": "2026-05-16 15:22:50.765410", "rc": 0, "start": "2026-05-16 15:22:50.758701" } STDOUT: -- Logs begin at Sat 2026-05-16 15:16:33 EDT, end at Sat 2026-05-16 15:22:50 EDT. -- May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:05.710 EDT [10345] LOG: redirecting log output to logging collector process May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:05.710 EDT [10345] HINT: Future log output will appear in directory "log". May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 10346 (postmaster) with signal SIGKILL. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:20:13.334 EDT [12608] LOG: redirecting log output to logging collector process May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:20:13.334 EDT [12608] HINT: Future log output will appear in directory "log". May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 12609 (postmaster) with signal SIGKILL. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:47 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[19230]: 2026-05-16 15:20:48.006 EDT [19230] LOG: redirecting log output to logging collector process May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[19230]: 2026-05-16 15:20:48.006 EDT [19230] HINT: Future log output will appear in directory "log". May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 19231 (postmaster) with signal SIGKILL. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[20771]: 2026-05-16 15:20:53.408 EDT [20771] LOG: redirecting log output to logging collector process May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[20771]: 2026-05-16 15:20:53.408 EDT [20771] HINT: Future log output will appear in directory "log". May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 20772 (postmaster) with signal SIGKILL. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25146]: 2026-05-16 15:21:17.073 EDT [25146] LOG: redirecting log output to logging collector process May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25146]: 2026-05-16 15:21:17.073 EDT [25146] HINT: Future log output will appear in directory "log". May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25147 (postmaster) with signal SIGKILL. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25886]: 2026-05-16 15:21:20.488 EDT [25886] LOG: redirecting log output to logging collector process May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25886]: 2026-05-16 15:21:20.488 EDT [25886] HINT: Future log output will appear in directory "log". May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25887 (postmaster) with signal SIGKILL. May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30127]: 2026-05-16 15:21:43.131 EDT [30127] LOG: redirecting log output to logging collector process May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30127]: 2026-05-16 15:21:43.131 EDT [30127] HINT: Future log output will appear in directory "log". May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30129 (postmaster) with signal SIGKILL. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30935]: 2026-05-16 15:21:46.457 EDT [30935] LOG: redirecting log output to logging collector process May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30935]: 2026-05-16 15:21:46.457 EDT [30935] HINT: Future log output will appear in directory "log". May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30937 (postmaster) with signal SIGKILL. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.481 EDT [35775] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.481 EDT [35775] LOG: listening on IPv6 address "::1", port 5432 May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.481 EDT [35775] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.483 EDT [35775] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.487 EDT [35775] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.498 EDT [35775] LOG: redirecting log output to logging collector process May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.498 EDT [35775] HINT: Future log output will appear in directory "log". May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 35776 (postmaster) with signal SIGKILL. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.402 EDT [36583] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.403 EDT [36583] LOG: listening on IPv6 address "::1", port 5432 May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.403 EDT [36583] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.405 EDT [36583] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.409 EDT [36583] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.437 EDT [36583] LOG: redirecting log output to logging collector process May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.437 EDT [36583] HINT: Future log output will appear in directory "log". May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 36584 (postmaster) with signal SIGKILL. May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:22:50 -0400 (0:00:00.318) 0:01:22.104 ********** included: /tmp/collections-CcY/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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 16 May 2026 15:22:50 -0400 (0:00:00.029) 0:01:22.133 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:22:50 -0400 (0:00:00.001) 0:01:22.134 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:22:50 -0400 (0:00:00.016) 0:01:22.150 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:22:50 -0400 (0:00:00.046) 0:01:22.197 ********** included: /tmp/collections-CcY/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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:22:50 -0400 (0:00:00.025) 0:01:22.222 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:22:51 -0400 (0:00:00.746) 0:01:22.968 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:22:51 -0400 (0:00:00.308) 0:01:23.277 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:22:52 -0400 (0:00:00.017) 0:01:23.294 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:22:52 -0400 (0:00:00.016) 0:01:23.311 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:22:52 -0400 (0:00:00.015) 0:01:23.327 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:22:52 -0400 (0:00:00.015) 0:01:23.343 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:22:52 -0400 (0:00:00.016) 0:01:23.359 ********** 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_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:22:52 -0400 (0:00:00.038) 0:01:23.398 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:22:52 -0400 (0:00:00.305) 0:01:23.703 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:22:52 -0400 (0:00:00.306) 0:01:24.010 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:22:53 -0400 (0:00:00.307) 0:01:24.318 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:22:54 -0400 (0:00:01.377) 0:01:25.696 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:22:54 -0400 (0:00:00.027) 0:01:25.724 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:22:54 -0400 (0:00:00.024) 0:01:25.748 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:22:54 -0400 (0:00:00.025) 0:01:25.774 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:22:54 -0400 (0:00:00.019) 0:01:25.794 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:10/server installed.", "Installed: postgresql-10.23-2.module_el8+572+929c87ac.x86_64", "Installed: postgresql-server-10.23-2.module_el8+572+929c87ac.x86_64" ] } lsrpackages: @postgresql:10/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:23:00 -0400 (0:00:06.363) 0:01:32.158 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.626777", "end": "2026-05-16 15:23:01.787029", "rc": 0, "start": "2026-05-16 15:23:01.160252" } 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:23:01 -0400 (0:00:00.968) 0:01:33.127 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:23:01 -0400 (0:00:00.022) 0:01:33.149 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:23:01 -0400 (0:00:00.019) 0:01:33.168 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:23:01 -0400 (0:00:00.019) 0:01:33.188 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target network.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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 }", "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 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:23:02 -0400 (0:00:01.048) 0:01:34.237 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:23:02 -0400 (0:00:00.028) 0:01:34.265 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:23:02 -0400 (0:00:00.022) 0:01:34.288 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.022) 0:01:34.310 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.018) 0:01:34.328 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.024) 0:01:34.353 ********** included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.031) 0:01:34.384 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.020) 0:01:34.404 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.021) 0:01:34.425 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.019) 0:01:34.445 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.018) 0:01:34.464 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.019) 0:01:34.483 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.045) 0:01:34.529 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.018) 0:01:34.548 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.017) 0:01:34.566 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.017) 0:01:34.584 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.025) 0:01:34.609 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.328) 0:01:34.937 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:23:03 -0400 (0:00:00.323) 0:01:35.261 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1778959384.0085247-13192-182711996991193/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:23:04 -0400 (0:00:00.645) 0:01:35.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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:23:04 -0400 (0:00:00.023) 0:01:35.931 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:23:04 -0400 (0:00:00.020) 0:01:35.951 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:23:04 -0400 (0:00:00.317) 0:01:36.268 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 16 May 2026 15:23:05 -0400 (0:00:00.025) 0:01:36.293 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:23:05 -0400 (0:00:00.004) 0:01:36.298 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-16 15:23:02 EDT", "ActiveEnterTimestampMonotonic": "389902455", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:23:02 EDT", "AssertTimestampMonotonic": "389855049", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-05-16 15:23:02 EDT", "ConditionTimestampMonotonic": "389855048", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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": "41393", "ExecMainStartTimestamp": "Sat 2026-05-16 15:23:02 EDT", "ExecMainStartTimestampMonotonic": "389864024", "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 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:23:02 EDT] ; stop_time=[n/a] ; pid=41393 ; 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:02 EDT] ; stop_time=[Sat 2026-05-16 15:23:02 EDT] ; pid=41390 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-05-16 15:23:02 EDT", "InactiveExitTimestampMonotonic": "389855918", "InvocationID": "2813e0983c9a4020a4c07d18d606a5f1", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41393", "MemoryAccounting": "yes", "MemoryCurrent": "16703488", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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:02 EDT", "StateChangeTimestampMonotonic": "389902455", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "8", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-05-16 15:23:02 EDT", "WatchdogTimestampMonotonic": "389902453", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:23:05 -0400 (0:00:00.919) 0:01:37.217 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007439", "end": "2026-05-16 15:23:06.203799", "rc": 0, "start": "2026-05-16 15:23:06.196360" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:23:06 -0400 (0:00:00.322) 0:01:37.540 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007728", "end": "2026-05-16 15:23:06.519855", "rc": 0, "start": "2026-05-16 15:23:06.512127" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:23:06 -0400 (0:00:00.318) 0:01:37.858 ********** ASYNC OK on managed-node2: jid=j588200183684.42600 ok: [managed-node2] => { "ansible_job_id": "j588200183684.42600", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.009909", "end": "2026-05-16 15:23:07.053595", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j588200183684.42600", "start": "2026-05-16 15:23:07.043686", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:23:22 -0400 (0:00:15.953) 0:01:53.811 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009156", "end": "2026-05-16 15:23:22.813421", "rc": 0, "start": "2026-05-16 15:23:22.804265" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:23:22 -0400 (0:00:00.342) 0:01:54.154 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:23:22 -0400 (0:00:00.032) 0:01:54.187 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009391", "end": "2026-05-16 15:23:23.189591", "rc": 0, "start": "2026-05-16 15:23:23.180200" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:23:23 -0400 (0:00:00.344) 0:01:54.532 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:23:23 -0400 (0:00:00.032) 0:01:54.564 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.005969", "end": "2026-05-16 15:23:23.547830", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:23:23.541861" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:23:23 -0400 (0:00:00.325) 0:01:54.889 ********** included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 16 May 2026 15:23:23 -0400 (0:00:00.032) 0:01:54.922 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:23:23 -0400 (0:00:00.004) 0:01:54.927 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:10/server removed.", "Removed: postgresql-10.23-2.module_el8+572+929c87ac.x86_64", "Removed: postgresql-server-10.23-2.module_el8+572+929c87ac.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:23:28 -0400 (0:00:04.629) 0:01:59.556 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:23:28 -0400 (0:00:00.019) 0:01:59.576 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:23:28 -0400 (0:00:00.360) 0:01:59.936 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:23:29 -0400 (0:00:01.228) 0:02:01.164 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007140", "end": "2026-05-16 15:23:30.146004", "rc": 0, "start": "2026-05-16 15:23:30.138864" } STDOUT: -- Logs begin at Sat 2026-05-16 15:16:33 EDT, end at Sat 2026-05-16 15:23:30 EDT. -- May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:05.710 EDT [10345] LOG: redirecting log output to logging collector process May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:05.710 EDT [10345] HINT: Future log output will appear in directory "log". May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 10346 (postmaster) with signal SIGKILL. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:20:13.334 EDT [12608] LOG: redirecting log output to logging collector process May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:20:13.334 EDT [12608] HINT: Future log output will appear in directory "log". May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 12609 (postmaster) with signal SIGKILL. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:47 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[19230]: 2026-05-16 15:20:48.006 EDT [19230] LOG: redirecting log output to logging collector process May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[19230]: 2026-05-16 15:20:48.006 EDT [19230] HINT: Future log output will appear in directory "log". May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 19231 (postmaster) with signal SIGKILL. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[20771]: 2026-05-16 15:20:53.408 EDT [20771] LOG: redirecting log output to logging collector process May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[20771]: 2026-05-16 15:20:53.408 EDT [20771] HINT: Future log output will appear in directory "log". May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 20772 (postmaster) with signal SIGKILL. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25146]: 2026-05-16 15:21:17.073 EDT [25146] LOG: redirecting log output to logging collector process May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25146]: 2026-05-16 15:21:17.073 EDT [25146] HINT: Future log output will appear in directory "log". May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25147 (postmaster) with signal SIGKILL. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25886]: 2026-05-16 15:21:20.488 EDT [25886] LOG: redirecting log output to logging collector process May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25886]: 2026-05-16 15:21:20.488 EDT [25886] HINT: Future log output will appear in directory "log". May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25887 (postmaster) with signal SIGKILL. May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30127]: 2026-05-16 15:21:43.131 EDT [30127] LOG: redirecting log output to logging collector process May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30127]: 2026-05-16 15:21:43.131 EDT [30127] HINT: Future log output will appear in directory "log". May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30129 (postmaster) with signal SIGKILL. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30935]: 2026-05-16 15:21:46.457 EDT [30935] LOG: redirecting log output to logging collector process May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30935]: 2026-05-16 15:21:46.457 EDT [30935] HINT: Future log output will appear in directory "log". May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30937 (postmaster) with signal SIGKILL. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.481 EDT [35775] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.481 EDT [35775] LOG: listening on IPv6 address "::1", port 5432 May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.481 EDT [35775] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.483 EDT [35775] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.487 EDT [35775] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.498 EDT [35775] LOG: redirecting log output to logging collector process May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.498 EDT [35775] HINT: Future log output will appear in directory "log". May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 35776 (postmaster) with signal SIGKILL. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.402 EDT [36583] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.403 EDT [36583] LOG: listening on IPv6 address "::1", port 5432 May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.403 EDT [36583] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.405 EDT [36583] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.409 EDT [36583] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.437 EDT [36583] LOG: redirecting log output to logging collector process May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.437 EDT [36583] HINT: Future log output will appear in directory "log". May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 36584 (postmaster) with signal SIGKILL. May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.859 EDT [41393] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.859 EDT [41393] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.862 EDT [41393] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.866 EDT [41393] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.876 EDT [41393] LOG: redirecting log output to logging collector process May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.876 EDT [41393] HINT: Future log output will appear in directory "log". May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 41394 (postmaster) with signal SIGKILL. May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.825 EDT [42201] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.825 EDT [42201] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.826 EDT [42201] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.830 EDT [42201] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.858 EDT [42201] LOG: redirecting log output to logging collector process May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.858 EDT [42201] HINT: Future log output will appear in directory "log". May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:27 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:27 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 42202 (postmaster) with signal SIGKILL. May 16 15:23:27 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:27 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:23:30 -0400 (0:00:00.321) 0:02:01.486 ********** included: /tmp/collections-CcY/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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 16 May 2026 15:23:30 -0400 (0:00:00.030) 0:02:01.516 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:23:30 -0400 (0:00:00.001) 0:02:01.517 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:23:30 -0400 (0:00:00.015) 0:02:01.533 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:23:30 -0400 (0:00:00.041) 0:02:01.574 ********** included: /tmp/collections-CcY/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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:23:30 -0400 (0:00:00.023) 0:02:01.598 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.748) 0:02:02.347 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.310) 0:02:02.657 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.017) 0:02:02.675 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.017) 0:02:02.693 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.017) 0:02:02.710 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.017) 0:02:02.728 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.017) 0:02:02.745 ********** 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_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.040) 0:02:02.786 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:23:31 -0400 (0:00:00.309) 0:02:03.096 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:23:32 -0400 (0:00:00.308) 0:02:03.404 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:23:32 -0400 (0:00:00.313) 0:02:03.718 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:23:33 -0400 (0:00:01.411) 0:02:05.129 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:23:33 -0400 (0:00:00.028) 0:02:05.158 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:23:33 -0400 (0:00:00.085) 0:02:05.243 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:23:33 -0400 (0:00:00.025) 0:02:05.268 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:23:33 -0400 (0:00:00.020) 0:02:05.289 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server installed.", "Installed: postgresql-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Installed: postgresql-server-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Installed: postgresql-private-libs-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64" ] } lsrpackages: @postgresql:15/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:23:40 -0400 (0:00:06.653) 0:02:11.942 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.646514", "end": "2026-05-16 15:23:41.589596", "rc": 0, "start": "2026-05-16 15:23:40.943082" } 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:23:41 -0400 (0:00:00.988) 0:02:12.930 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:23:41 -0400 (0:00:00.020) 0:02:12.951 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:23:41 -0400 (0:00:00.018) 0:02:12.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 : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:23:41 -0400 (0:00:00.018) 0:02:12.988 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target network.target sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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 }", "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 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:23:42 -0400 (0:00:01.024) 0:02:14.012 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.022) 0:02:14.035 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.022) 0:02:14.058 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.023) 0:02:14.081 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.017) 0:02:14.098 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.021) 0:02:14.120 ********** included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.030) 0:02:14.151 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.019) 0:02:14.170 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.018) 0:02:14.189 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.019) 0:02:14.208 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.020) 0:02:14.229 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.018) 0:02:14.247 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.019) 0:02:14.266 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:23:42 -0400 (0:00:00.018) 0:02:14.285 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:23:43 -0400 (0:00:00.018) 0:02:14.304 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:23:43 -0400 (0:00:00.017) 0:02:14.321 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:23:43 -0400 (0:00:00.021) 0:02:14.343 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:23:43 -0400 (0:00:00.326) 0:02:14.669 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:23:43 -0400 (0:00:00.332) 0:02:15.002 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1778959423.7480035-13604-122651172283071/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:23:44 -0400 (0:00:00.651) 0:02:15.653 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:23:44 -0400 (0:00:00.022) 0:02:15.675 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:23:44 -0400 (0:00:00.020) 0:02:15.696 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:23:44 -0400 (0:00:00.326) 0:02:16.023 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 16 May 2026 15:23:44 -0400 (0:00:00.019) 0:02:16.042 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:23:44 -0400 (0:00:00.004) 0:02:16.047 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-16 15:23:42 EDT", "ActiveEnterTimestampMonotonic": "429675838", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice systemd-journald.socket network.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:23:42 EDT", "AssertTimestampMonotonic": "429627397", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-05-16 15:23:42 EDT", "ConditionTimestampMonotonic": "429627396", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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": "47051", "ExecMainStartTimestamp": "Sat 2026-05-16 15:23:42 EDT", "ExecMainStartTimestampMonotonic": "429635712", "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 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:23:42 EDT] ; stop_time=[n/a] ; pid=47051 ; 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:42 EDT] ; stop_time=[Sat 2026-05-16 15:23:42 EDT] ; pid=47048 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-05-16 15:23:42 EDT", "InactiveExitTimestampMonotonic": "429628197", "InvocationID": "8fc9e401309f493b9081f2b6183071d3", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47051", "MemoryAccounting": "yes", "MemoryCurrent": "18399232", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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:42 EDT", "StateChangeTimestampMonotonic": "429675838", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-05-16 15:23:42 EDT", "WatchdogTimestampMonotonic": "429675836", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:23:45 -0400 (0:00:00.918) 0:02:16.966 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007523", "end": "2026-05-16 15:23:45.953515", "rc": 0, "start": "2026-05-16 15:23:45.945992" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:23:46 -0400 (0:00:00.326) 0:02:17.292 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007217", "end": "2026-05-16 15:23:46.276435", "rc": 0, "start": "2026-05-16 15:23:46.269218" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:23:46 -0400 (0:00:00.320) 0:02:17.612 ********** ASYNC OK on managed-node2: jid=j110137661156.48256 ok: [managed-node2] => { "ansible_job_id": "j110137661156.48256", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012060", "end": "2026-05-16 15:23:46.813417", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j110137661156.48256", "start": "2026-05-16 15:23:46.801357", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:24:02 -0400 (0:00:15.976) 0:02:33.589 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009214", "end": "2026-05-16 15:24:02.599423", "rc": 0, "start": "2026-05-16 15:24:02.590209" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:24:02 -0400 (0:00:00.354) 0:02:33.943 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:24:02 -0400 (0:00:00.034) 0:02:33.978 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008578", "end": "2026-05-16 15:24:02.982617", "rc": 0, "start": "2026-05-16 15:24:02.974039" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:24:03 -0400 (0:00:00.343) 0:02:34.321 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:24:03 -0400 (0:00:00.035) 0:02:34.356 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008054", "end": "2026-05-16 15:24:03.345438", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:24:03.337384" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:24:03 -0400 (0:00:00.366) 0:02:34.723 ********** included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 16 May 2026 15:24:03 -0400 (0:00:00.034) 0:02:34.758 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:24:03 -0400 (0:00:00.005) 0:02:34.763 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:15/server removed.", "Removed: postgresql-server-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Removed: postgresql-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64", "Removed: postgresql-private-libs-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:24:08 -0400 (0:00:04.633) 0:02:39.396 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:24:08 -0400 (0:00:00.018) 0:02:39.415 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:24:08 -0400 (0:00:00.360) 0:02:39.776 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:24:09 -0400 (0:00:01.223) 0:02:41.000 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007690", "end": "2026-05-16 15:24:09.982456", "rc": 0, "start": "2026-05-16 15:24:09.974766" } STDOUT: -- Logs begin at Sat 2026-05-16 15:16:33 EDT, end at Sat 2026-05-16 15:24:09 EDT. -- May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:05.710 EDT [10345] LOG: redirecting log output to logging collector process May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:05.710 EDT [10345] HINT: Future log output will appear in directory "log". May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 10346 (postmaster) with signal SIGKILL. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:20:13.334 EDT [12608] LOG: redirecting log output to logging collector process May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:20:13.334 EDT [12608] HINT: Future log output will appear in directory "log". May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 12609 (postmaster) with signal SIGKILL. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:47 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[19230]: 2026-05-16 15:20:48.006 EDT [19230] LOG: redirecting log output to logging collector process May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[19230]: 2026-05-16 15:20:48.006 EDT [19230] HINT: Future log output will appear in directory "log". May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 19231 (postmaster) with signal SIGKILL. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[20771]: 2026-05-16 15:20:53.408 EDT [20771] LOG: redirecting log output to logging collector process May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[20771]: 2026-05-16 15:20:53.408 EDT [20771] HINT: Future log output will appear in directory "log". May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 20772 (postmaster) with signal SIGKILL. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25146]: 2026-05-16 15:21:17.073 EDT [25146] LOG: redirecting log output to logging collector process May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25146]: 2026-05-16 15:21:17.073 EDT [25146] HINT: Future log output will appear in directory "log". May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25147 (postmaster) with signal SIGKILL. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25886]: 2026-05-16 15:21:20.488 EDT [25886] LOG: redirecting log output to logging collector process May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25886]: 2026-05-16 15:21:20.488 EDT [25886] HINT: Future log output will appear in directory "log". May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25887 (postmaster) with signal SIGKILL. May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30127]: 2026-05-16 15:21:43.131 EDT [30127] LOG: redirecting log output to logging collector process May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30127]: 2026-05-16 15:21:43.131 EDT [30127] HINT: Future log output will appear in directory "log". May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30129 (postmaster) with signal SIGKILL. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30935]: 2026-05-16 15:21:46.457 EDT [30935] LOG: redirecting log output to logging collector process May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30935]: 2026-05-16 15:21:46.457 EDT [30935] HINT: Future log output will appear in directory "log". May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30937 (postmaster) with signal SIGKILL. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.481 EDT [35775] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.481 EDT [35775] LOG: listening on IPv6 address "::1", port 5432 May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.481 EDT [35775] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.483 EDT [35775] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.487 EDT [35775] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.498 EDT [35775] LOG: redirecting log output to logging collector process May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.498 EDT [35775] HINT: Future log output will appear in directory "log". May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 35776 (postmaster) with signal SIGKILL. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.402 EDT [36583] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.403 EDT [36583] LOG: listening on IPv6 address "::1", port 5432 May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.403 EDT [36583] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.405 EDT [36583] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.409 EDT [36583] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.437 EDT [36583] LOG: redirecting log output to logging collector process May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.437 EDT [36583] HINT: Future log output will appear in directory "log". May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 36584 (postmaster) with signal SIGKILL. May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.859 EDT [41393] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.859 EDT [41393] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.862 EDT [41393] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.866 EDT [41393] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.876 EDT [41393] LOG: redirecting log output to logging collector process May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.876 EDT [41393] HINT: Future log output will appear in directory "log". May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 41394 (postmaster) with signal SIGKILL. May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.825 EDT [42201] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.825 EDT [42201] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.826 EDT [42201] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.830 EDT [42201] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.858 EDT [42201] LOG: redirecting log output to logging collector process May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.858 EDT [42201] HINT: Future log output will appear in directory "log". May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:27 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:27 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 42202 (postmaster) with signal SIGKILL. May 16 15:23:27 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:27 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:42 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:42 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[47051]: 2026-05-16 15:23:42.642 EDT [47051] LOG: redirecting log output to logging collector process May 16 15:23:42 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[47051]: 2026-05-16 15:23:42.642 EDT [47051] HINT: Future log output will appear in directory "log". May 16 15:23:42 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 47052 (postmaster) with signal SIGKILL. May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[47858]: 2026-05-16 15:23:45.596 EDT [47858] LOG: redirecting log output to logging collector process May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[47858]: 2026-05-16 15:23:45.596 EDT [47858] HINT: Future log output will appear in directory "log". May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:24:07 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:24:07 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 47859 (postmaster) with signal SIGKILL. May 16 15:24:07 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:24:07 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 16 May 2026 15:24:10 -0400 (0:00:00.320) 0:02:41.321 ********** included: /tmp/collections-CcY/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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 16 May 2026 15:24:10 -0400 (0:00:00.030) 0:02:41.351 ********** META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 16 May 2026 15:24:10 -0400 (0:00:00.001) 0:02:41.352 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 16 May 2026 15:24:10 -0400 (0:00:00.015) 0:02:41.368 ********** TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 16 May 2026 15:24:10 -0400 (0:00:00.043) 0:02:41.411 ********** included: /tmp/collections-CcY/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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 16 May 2026 15:24:10 -0400 (0:00:00.024) 0:02:41.436 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 16 May 2026 15:24:10 -0400 (0:00:00.748) 0:02:42.185 ********** ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 16 May 2026 15:24:11 -0400 (0:00:00.307) 0:02:42.492 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 16 May 2026 15:24:11 -0400 (0:00:00.017) 0:02:42.509 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 16 May 2026 15:24:11 -0400 (0:00:00.016) 0:02:42.526 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 16 May 2026 15:24:11 -0400 (0:00:00.016) 0:02:42.542 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 16 May 2026 15:24:11 -0400 (0:00:00.016) 0:02:42.559 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 16 May 2026 15:24:11 -0400 (0:00:00.015) 0:02:42.575 ********** 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_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/vars/CentOS_8.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_8.yml" } TASK [fedora.linux_system_roles.postgresql : Check postgresql.conf] ************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 16 May 2026 15:24:11 -0400 (0:00:00.037) 0:02:42.613 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 16 May 2026 15:24:11 -0400 (0:00:00.306) 0:02:42.919 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 16 May 2026 15:24:11 -0400 (0:00:00.305) 0:02:43.225 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 16 May 2026 15:24:12 -0400 (0:00:00.306) 0:02:43.532 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 16 May 2026 15:24:13 -0400 (0:00:01.374) 0:02:44.906 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 16 May 2026 15:24:13 -0400 (0:00:00.028) 0:02:44.934 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 16 May 2026 15:24:13 -0400 (0:00:00.023) 0:02:44.958 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 16 May 2026 15:24:13 -0400 (0:00:00.025) 0:02:44.983 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 16 May 2026 15:24:13 -0400 (0:00:00.020) 0:02:45.004 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server installed.", "Installed: postgresql-private-libs-16.1-1.module_el8+806+566c6023.x86_64", "Installed: postgresql-16.1-1.module_el8+806+566c6023.x86_64", "Installed: postgresql-server-16.1-1.module_el8+806+566c6023.x86_64" ] } lsrpackages: @postgresql:16/server TASK [fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup)] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 16 May 2026 15:24:20 -0400 (0:00:06.912) 0:02:51.917 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.648130", "end": "2026-05-16 15:24:21.563786", "rc": 0, "start": "2026-05-16 15:24:20.915656" } 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 16 May 2026 15:24:21 -0400 (0:00:00.986) 0:02:52.903 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 16 May 2026 15:24:21 -0400 (0:00:00.021) 0:02:52.925 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 16 May 2026 15:24:21 -0400 (0:00:00.017) 0:02:52.942 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 16 May 2026 15:24:21 -0400 (0:00:00.018) 0:02:52.961 ********** changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target sysinit.target systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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 }", "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 }", "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 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "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": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 16 May 2026 15:24:22 -0400 (0:00:01.011) 0:02:53.973 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.022) 0:02:53.996 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.021) 0:02:54.017 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.020) 0:02:54.037 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.016) 0:02:54.054 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.023) 0:02:54.077 ********** included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.028) 0:02:54.106 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.018) 0:02:54.124 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.018) 0:02:54.143 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.017) 0:02:54.161 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.017) 0:02:54.178 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.017) 0:02:54.196 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.046) 0:02:54.243 ********** skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.019) 0:02:54.262 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 16 May 2026 15:24:22 -0400 (0:00:00.017) 0:02:54.280 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 16 May 2026 15:24:23 -0400 (0:00:00.017) 0:02:54.297 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 16 May 2026 15:24:23 -0400 (0:00:00.023) 0:02:54.321 ********** ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 16 May 2026 15:24:23 -0400 (0:00:00.323) 0:02:54.644 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 16 May 2026 15:24:23 -0400 (0:00:00.321) 0:02:54.966 ********** changed: [managed-node2] => { "changed": true, "checksum": "15e33b3455fb7c5143e3ac9e2ae5ffc9cadbfa88", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "34119af9a9e88c9e0fe9b3de8eb29e95", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1778959463.7112443-14017-218292881590417/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 16 May 2026 15:24:24 -0400 (0:00:00.652) 0:02:55.619 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 16 May 2026 15:24:24 -0400 (0:00:00.024) 0:02:55.643 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 16 May 2026 15:24:24 -0400 (0:00:00.022) 0:02:55.665 ********** ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 16 May 2026 15:24:24 -0400 (0:00:00.321) 0:02:55.987 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 16 May 2026 15:24:24 -0400 (0:00:00.020) 0:02:56.008 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 16 May 2026 15:24:24 -0400 (0:00:00.005) 0:02:56.013 ********** changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-05-16 15:24:22 EDT", "ActiveEnterTimestampMonotonic": "469639513", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice network-online.target sysinit.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-05-16 15:24:22 EDT", "AssertTimestampMonotonic": "469590870", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "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", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Sat 2026-05-16 15:24:22 EDT", "ConditionTimestampMonotonic": "469590869", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/postgresql.service", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "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": "52702", "ExecMainStartTimestamp": "Sat 2026-05-16 15:24:22 EDT", "ExecMainStartTimestampMonotonic": "469599730", "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 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[Sat 2026-05-16 15:24:22 EDT] ; stop_time=[n/a] ; pid=52702 ; 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:24:22 EDT] ; stop_time=[Sat 2026-05-16 15:24:22 EDT] ; pid=52699 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "26", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Sat 2026-05-16 15:24:22 EDT", "InactiveExitTimestampMonotonic": "469591605", "InvocationID": "e2d6efcf42964c939e5ddda3bf3e55b4", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "14003", "LimitNPROCSoft": "14003", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "14003", "LimitSIGPENDINGSoft": "14003", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52702", "MemoryAccounting": "yes", "MemoryCurrent": "18665472", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "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:24:22 EDT", "StateChangeTimestampMonotonic": "469639513", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "7", "TasksMax": "22405", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "26", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "postgres", "UtmpMode": "init", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Sat 2026-05-16 15:24:22 EDT", "WatchdogTimestampMonotonic": "469639511", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 16 May 2026 15:24:25 -0400 (0:00:00.916) 0:02:56.929 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.006541", "end": "2026-05-16 15:24:25.911441", "rc": 0, "start": "2026-05-16 15:24:25.904900" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 16 May 2026 15:24:25 -0400 (0:00:00.319) 0:02:57.249 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008153", "end": "2026-05-16 15:24:26.230093", "rc": 0, "start": "2026-05-16 15:24:26.221940" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 16 May 2026 15:24:26 -0400 (0:00:00.320) 0:02:57.569 ********** ASYNC OK on managed-node2: jid=j670942236444.53907 ok: [managed-node2] => { "ansible_job_id": "j670942236444.53907", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011401", "end": "2026-05-16 15:24:26.771832", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j670942236444.53907", "start": "2026-05-16 15:24:26.760431", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 16 May 2026 15:24:42 -0400 (0:00:15.960) 0:03:13.530 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008525", "end": "2026-05-16 15:24:42.527140", "rc": 0, "start": "2026-05-16 15:24:42.518615" } STDOUT: shared_buffers ---------------- 884MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 16 May 2026 15:24:42 -0400 (0:00:00.335) 0:03:13.865 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 16 May 2026 15:24:42 -0400 (0:00:00.033) 0:03:13.899 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008966", "end": "2026-05-16 15:24:42.902152", "rc": 0, "start": "2026-05-16 15:24:42.893186" } STDOUT: effective_cache_size ---------------------- 1769MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 16 May 2026 15:24:42 -0400 (0:00:00.344) 0:03:14.243 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 16 May 2026 15:24:42 -0400 (0:00:00.033) 0:03:14.276 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008606", "end": "2026-05-16 15:24:43.262960", "failed_when_result": false, "rc": 0, "start": "2026-05-16 15:24:43.254354" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 16 May 2026 15:24:43 -0400 (0:00:00.329) 0:03:14.606 ********** included: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 16 May 2026 15:24:43 -0400 (0:00:00.033) 0:03:14.639 ********** META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 16 May 2026 15:24:43 -0400 (0:00:00.004) 0:03:14.644 ********** changed: [managed-node2] => { "changed": true, "rc": 0, "results": [ "Module postgresql:16/server removed.", "Removed: postgresql-server-16.1-1.module_el8+806+566c6023.x86_64", "Removed: postgresql-16.1-1.module_el8+806+566c6023.x86_64", "Removed: postgresql-private-libs-16.1-1.module_el8+806+566c6023.x86_64" ] } TASK [Stop and disable postgresql service] ************************************* task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 16 May 2026 15:24:47 -0400 (0:00:04.635) 0:03:19.279 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 16 May 2026 15:24:48 -0400 (0:00:00.019) 0:03:19.299 ********** changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 16 May 2026 15:24:48 -0400 (0:00:00.366) 0:03:19.665 ********** 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-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 16 May 2026 15:24:49 -0400 (0:00:01.228) 0:03:20.893 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007183", "end": "2026-05-16 15:24:49.877062", "rc": 0, "start": "2026-05-16 15:24:49.869879" } STDOUT: -- Logs begin at Sat 2026-05-16 15:16:33 EDT, end at Sat 2026-05-16 15:24:49 EDT. -- May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:05.710 EDT [10345] LOG: redirecting log output to logging collector process May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[10345]: 2026-05-16 15:20:05.710 EDT [10345] HINT: Future log output will appear in directory "log". May 16 15:20:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 10346 (postmaster) with signal SIGKILL. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:20:13.334 EDT [12608] LOG: redirecting log output to logging collector process May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[12608]: 2026-05-16 15:20:13.334 EDT [12608] HINT: Future log output will appear in directory "log". May 16 15:20:13 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 12609 (postmaster) with signal SIGKILL. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:47 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[19230]: 2026-05-16 15:20:48.006 EDT [19230] LOG: redirecting log output to logging collector process May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[19230]: 2026-05-16 15:20:48.006 EDT [19230] HINT: Future log output will appear in directory "log". May 16 15:20:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 19231 (postmaster) with signal SIGKILL. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[20771]: 2026-05-16 15:20:53.408 EDT [20771] LOG: redirecting log output to logging collector process May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[20771]: 2026-05-16 15:20:53.408 EDT [20771] HINT: Future log output will appear in directory "log". May 16 15:20:53 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 20772 (postmaster) with signal SIGKILL. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:20:58 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25146]: 2026-05-16 15:21:17.073 EDT [25146] LOG: redirecting log output to logging collector process May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25146]: 2026-05-16 15:21:17.073 EDT [25146] HINT: Future log output will appear in directory "log". May 16 15:21:17 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25147 (postmaster) with signal SIGKILL. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25886]: 2026-05-16 15:21:20.488 EDT [25886] LOG: redirecting log output to logging collector process May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[25886]: 2026-05-16 15:21:20.488 EDT [25886] HINT: Future log output will appear in directory "log". May 16 15:21:20 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 25887 (postmaster) with signal SIGKILL. May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:24 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30127]: 2026-05-16 15:21:43.131 EDT [30127] LOG: redirecting log output to logging collector process May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30127]: 2026-05-16 15:21:43.131 EDT [30127] HINT: Future log output will appear in directory "log". May 16 15:21:43 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30129 (postmaster) with signal SIGKILL. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30935]: 2026-05-16 15:21:46.457 EDT [30935] LOG: redirecting log output to logging collector process May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[30935]: 2026-05-16 15:21:46.457 EDT [30935] HINT: Future log output will appear in directory "log". May 16 15:21:46 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 30937 (postmaster) with signal SIGKILL. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:08 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.481 EDT [35775] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.481 EDT [35775] LOG: listening on IPv6 address "::1", port 5432 May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.481 EDT [35775] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.483 EDT [35775] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.487 EDT [35775] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.498 EDT [35775] LOG: redirecting log output to logging collector process May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[35775]: 2026-05-16 15:22:23.498 EDT [35775] HINT: Future log output will appear in directory "log". May 16 15:22:23 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 35776 (postmaster) with signal SIGKILL. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.402 EDT [36583] LOG: starting PostgreSQL 12.15 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 8.5.0 20210514 (Red Hat 8.5.0-20), 64-bit May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.403 EDT [36583] LOG: listening on IPv6 address "::1", port 5432 May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.403 EDT [36583] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.405 EDT [36583] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.409 EDT [36583] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.437 EDT [36583] LOG: redirecting log output to logging collector process May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[36583]: 2026-05-16 15:22:26.437 EDT [36583] HINT: Future log output will appear in directory "log". May 16 15:22:26 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 36584 (postmaster) with signal SIGKILL. May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:22:48 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.859 EDT [41393] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.859 EDT [41393] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.862 EDT [41393] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.866 EDT [41393] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.876 EDT [41393] LOG: redirecting log output to logging collector process May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[41393]: 2026-05-16 15:23:02.876 EDT [41393] HINT: Future log output will appear in directory "log". May 16 15:23:02 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 41394 (postmaster) with signal SIGKILL. May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.825 EDT [42201] LOG: listening on IPv6 address "::1", port 5432 May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.825 EDT [42201] LOG: listening on IPv4 address "127.0.0.1", port 5432 May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.826 EDT [42201] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.830 EDT [42201] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.858 EDT [42201] LOG: redirecting log output to logging collector process May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[42201]: 2026-05-16 15:23:05.858 EDT [42201] HINT: Future log output will appear in directory "log". May 16 15:23:05 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:27 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:27 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 42202 (postmaster) with signal SIGKILL. May 16 15:23:27 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:27 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:42 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:42 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[47051]: 2026-05-16 15:23:42.642 EDT [47051] LOG: redirecting log output to logging collector process May 16 15:23:42 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[47051]: 2026-05-16 15:23:42.642 EDT [47051] HINT: Future log output will appear in directory "log". May 16 15:23:42 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 47052 (postmaster) with signal SIGKILL. May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[47858]: 2026-05-16 15:23:45.596 EDT [47858] LOG: redirecting log output to logging collector process May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postmaster[47858]: 2026-05-16 15:23:45.596 EDT [47858] HINT: Future log output will appear in directory "log". May 16 15:23:45 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:24:07 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:24:07 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 47859 (postmaster) with signal SIGKILL. May 16 15:24:07 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:24:07 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:24:22 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:24:22 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postgres[52702]: 2026-05-16 15:24:22.606 EDT [52702] LOG: redirecting log output to logging collector process May 16 15:24:22 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postgres[52702]: 2026-05-16 15:24:22.606 EDT [52702] HINT: Future log output will appear in directory "log". May 16 15:24:22 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:24:25 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:24:25 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 52703 (postgres) with signal SIGKILL. May 16 15:24:25 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:24:25 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. May 16 15:24:25 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Starting PostgreSQL database server... May 16 15:24:25 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postgres[53509]: 2026-05-16 15:24:25.562 EDT [53509] LOG: redirecting log output to logging collector process May 16 15:24:25 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com postgres[53509]: 2026-05-16 15:24:25.562 EDT [53509] HINT: Future log output will appear in directory "log". May 16 15:24:25 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Started PostgreSQL database server. May 16 15:24:47 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopping PostgreSQL database server... May 16 15:24:47 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Killing process 53510 (postgres) with signal SIGKILL. May 16 15:24:47 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: postgresql.service: Succeeded. May 16 15:24:47 ip-10-31-8-46.testing-farm.us-east-1.aws.redhat.com systemd[1]: Stopped PostgreSQL database server. PLAY RECAP ********************************************************************* managed-node2 : ok=166 changed=45 unreachable=0 failed=0 skipped=156 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 16 May 2026 15:24:49 -0400 (0:00:00.317) 0:03:21.210 ********** =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.17s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 15.98s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 15.96s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 15.96s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 15.95s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.91s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.65s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.50s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.36s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.14s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.65s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.65s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.64s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.63s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.63s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.65s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.41s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.41s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.38s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.37s /tmp/collections-CcY/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8