ansible-playbook [core 2.16.19] 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-uCR 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-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 01 August 2026 15:24:32 -0400 (0:00:00.016) 0:00:00.016 ******* ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 01 August 2026 15:24:33 -0400 (0:00:00.991) 0:00:01.007 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 01 August 2026 15:24:33 -0400 (0:00:00.005) 0:00:01.013 ******* included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 01 August 2026 15:24:33 -0400 (0:00:00.037) 0:00:01.051 ******* included: /tmp/collections-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 01 August 2026 15:24:33 -0400 (0:00:00.038) 0:00:01.090 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 01 August 2026 15:24:33 -0400 (0:00:00.000) 0:00:01.091 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 01 August 2026 15:24:33 -0400 (0:00:00.016) 0:00:01.107 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 01 August 2026 15:24:33 -0400 (0:00:00.077) 0:00:01.185 ******* included: /tmp/collections-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 01 August 2026 15:24:33 -0400 (0:00:00.024) 0:00:01.209 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 01 August 2026 15:24:34 -0400 (0:00:00.728) 0:00:01.937 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 01 August 2026 15:24:34 -0400 (0:00:00.374) 0:00:02.311 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 01 August 2026 15:24:35 -0400 (0:00:00.378) 0:00:02.690 ******* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 01 August 2026 15:24:35 -0400 (0:00:00.025) 0:00:02.716 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.006641", "end": "2026-08-01 15:24:35.651874", "failed_when_result": false, "rc": 0, "start": "2026-08-01 15:24:35.645233" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 01 August 2026 15:24:35 -0400 (0:00:00.386) 0:00:03.103 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 01 August 2026 15:24:35 -0400 (0:00:00.018) 0:00:03.121 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 01 August 2026 15:24:35 -0400 (0:00:00.018) 0:00:03.140 ******* 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-uCR/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-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 01 August 2026 15:24:35 -0400 (0:00:00.035) 0:00:03.175 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 01 August 2026 15:24:36 -0400 (0:00:00.289) 0:00:03.464 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 01 August 2026 15:24:36 -0400 (0:00:00.292) 0:00:03.757 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 01 August 2026 15:24:36 -0400 (0:00:00.289) 0:00:04.046 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 01 August 2026 15:24:38 -0400 (0:00:01.600) 0:00:05.646 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 01 August 2026 15:24:38 -0400 (0:00:00.029) 0:00:05.675 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 01 August 2026 15:24:38 -0400 (0:00:00.022) 0:00:05.698 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 01 August 2026 15:24:38 -0400 (0:00:00.021) 0:00:05.719 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 01 August 2026 15:24:38 -0400 (0:00:00.017) 0:00:05.737 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 01 August 2026 15:24:43 -0400 (0:00:05.650) 0:00:11.387 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.673430", "end": "2026-08-01 15:24:44.945453", "rc": 0, "start": "2026-08-01 15:24:44.272023" } 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 01 August 2026 15:24:44 -0400 (0:00:01.018) 0:00:12.406 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 01 August 2026 15:24:45 -0400 (0:00:00.018) 0:00:12.424 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 01 August 2026 15:24:45 -0400 (0:00:00.016) 0:00:12.440 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 01 August 2026 15:24:45 -0400 (0:00:00.016) 0:00:12.456 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target basic.target systemd-journald.socket sysinit.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/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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 01 August 2026 15:24:46 -0400 (0:00:01.135) 0:00:13.592 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.019) 0:00:13.612 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.018) 0:00:13.630 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.018) 0:00:13.649 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.015) 0:00:13.665 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.017) 0:00:13.683 ******* included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.031) 0:00:13.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 the default path] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.017) 0:00:13.731 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.016) 0:00:13.748 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.015) 0:00:13.764 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.015) 0:00:13.780 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.017) 0:00:13.797 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.016) 0:00:13.813 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.015) 0:00:13.829 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.014) 0:00:13.843 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.015) 0:00:13.859 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.018) 0:00:13.878 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 01 August 2026 15:24:46 -0400 (0:00:00.425) 0:00:14.303 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 01 August 2026 15:24:47 -0400 (0:00:00.420) 0:00:14.723 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1785612287.3440263-12202-200154349863863/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 01 August 2026 15:24:48 -0400 (0:00:00.755) 0:00:15.479 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 01 August 2026 15:24:48 -0400 (0:00:00.023) 0:00:15.503 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 01 August 2026 15:24:48 -0400 (0:00:00.025) 0:00:15.528 ******* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 01 August 2026 15:24:48 -0400 (0:00:00.308) 0:00:15.837 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 01 August 2026 15:24:48 -0400 (0:00:00.019) 0:00:15.857 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 01 August 2026 15:24:48 -0400 (0:00:00.004) 0:00:15.861 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-01 15:24:46 EDT", "ActiveEnterTimestampMonotonic": "302049077", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target sysinit.target system.slice systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-01 15:24:46 EDT", "AssertTimestampMonotonic": "302003539", "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-08-01 15:24:46 EDT", "ConditionTimestampMonotonic": "302003539", "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": "30194", "ExecMainStartTimestamp": "Sat 2026-08-01 15:24:46 EDT", "ExecMainStartTimestampMonotonic": "302011485", "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-08-01 15:24:46 EDT] ; stop_time=[n/a] ; pid=30194 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-01 15:24:46 EDT] ; stop_time=[Sat 2026-08-01 15:24:46 EDT] ; pid=30191 ; 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-08-01 15:24:46 EDT", "InactiveExitTimestampMonotonic": "302004263", "InvocationID": "30d0f6c60ae24106b4741a2c91639473", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30194", "MemoryAccounting": "yes", "MemoryCurrent": "17747968", "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-08-01 15:24:46 EDT", "StateChangeTimestampMonotonic": "302049077", "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": "22268", "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-08-01 15:24:46 EDT", "WatchdogTimestampMonotonic": "302049076", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 01 August 2026 15:24:49 -0400 (0:00:00.859) 0:00:16.721 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.006342", "end": "2026-08-01 15:24:49.573894", "rc": 0, "start": "2026-08-01 15:24:49.567552" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 01 August 2026 15:24:49 -0400 (0:00:00.308) 0:00:17.030 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007061", "end": "2026-08-01 15:24:49.879788", "rc": 0, "start": "2026-08-01 15:24:49.872727" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 01 August 2026 15:24:49 -0400 (0:00:00.304) 0:00:17.334 ******* ASYNC OK on managed-node2: jid=j970008256870.31401 ok: [managed-node2] => { "ansible_job_id": "j970008256870.31401", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010483", "end": "2026-08-01 15:24:50.487837", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j970008256870.31401", "start": "2026-08-01 15:24:50.477354", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 01 August 2026 15:25:06 -0400 (0:00:16.102) 0:00:33.436 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009421", "end": "2026-08-01 15:25:06.301588", "rc": 0, "start": "2026-08-01 15:25:06.292167" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 01 August 2026 15:25:06 -0400 (0:00:00.323) 0:00:33.760 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 01 August 2026 15:25:06 -0400 (0:00:00.033) 0:00:33.793 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008114", "end": "2026-08-01 15:25:06.656341", "rc": 0, "start": "2026-08-01 15:25:06.648227" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 01 August 2026 15:25:06 -0400 (0:00:00.320) 0:00:34.113 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 01 August 2026 15:25:06 -0400 (0:00:00.030) 0:00:34.144 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008273", "end": "2026-08-01 15:25:06.995454", "failed_when_result": false, "rc": 0, "start": "2026-08-01 15:25:06.987181" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 01 August 2026 15:25:07 -0400 (0:00:00.318) 0:00:34.462 ******* included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 01 August 2026 15:25:07 -0400 (0:00:00.032) 0:00:34.494 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 01 August 2026 15:25:07 -0400 (0:00:00.004) 0:00:34.499 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 01 August 2026 15:25:11 -0400 (0:00:04.345) 0:00:38.844 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 01 August 2026 15:25:11 -0400 (0:00:00.017) 0:00:38.862 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 01 August 2026 15:25:11 -0400 (0:00:00.338) 0:00:39.200 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 01 August 2026 15:25:12 -0400 (0:00:01.151) 0:00:40.352 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.005880", "end": "2026-08-01 15:25:13.194694", "rc": 0, "start": "2026-08-01 15:25:13.188814" } STDOUT: -- Logs begin at Sat 2026-08-01 15:19:44 EDT, end at Sat 2026-08-01 15:25:13 EDT. -- Aug 01 15:23:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:14 managed-node2 postmaster[10409]: 2026-08-01 15:23:14.725 EDT [10409] LOG: redirecting log output to logging collector process Aug 01 15:23:14 managed-node2 postmaster[10409]: 2026-08-01 15:23:14.725 EDT [10409] HINT: Future log output will appear in directory "log". Aug 01 15:23:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:21 managed-node2 systemd[1]: postgresql.service: Killing process 10411 (postmaster) with signal SIGKILL. Aug 01 15:23:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:21 managed-node2 postmaster[12672]: 2026-08-01 15:23:21.783 EDT [12672] LOG: redirecting log output to logging collector process Aug 01 15:23:21 managed-node2 postmaster[12672]: 2026-08-01 15:23:21.783 EDT [12672] HINT: Future log output will appear in directory "log". Aug 01 15:23:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:25 managed-node2 systemd[1]: postgresql.service: Killing process 12674 (postmaster) with signal SIGKILL. Aug 01 15:23:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:54 managed-node2 postmaster[19296]: 2026-08-01 15:23:54.248 EDT [19296] LOG: redirecting log output to logging collector process Aug 01 15:23:54 managed-node2 postmaster[19296]: 2026-08-01 15:23:54.248 EDT [19296] HINT: Future log output will appear in directory "log". Aug 01 15:23:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:59 managed-node2 systemd[1]: postgresql.service: Killing process 19297 (postmaster) with signal SIGKILL. Aug 01 15:23:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:59 managed-node2 postmaster[20836]: 2026-08-01 15:23:59.464 EDT [20836] LOG: redirecting log output to logging collector process Aug 01 15:23:59 managed-node2 postmaster[20836]: 2026-08-01 15:23:59.464 EDT [20836] HINT: Future log output will appear in directory "log". Aug 01 15:23:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:04 managed-node2 systemd[1]: postgresql.service: Killing process 20838 (postmaster) with signal SIGKILL. Aug 01 15:24:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:21 managed-node2 postmaster[25212]: 2026-08-01 15:24:21.962 EDT [25212] LOG: redirecting log output to logging collector process Aug 01 15:24:21 managed-node2 postmaster[25212]: 2026-08-01 15:24:21.962 EDT [25212] HINT: Future log output will appear in directory "log". Aug 01 15:24:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:25 managed-node2 systemd[1]: postgresql.service: Killing process 25213 (postmaster) with signal SIGKILL. Aug 01 15:24:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:25 managed-node2 postmaster[25951]: 2026-08-01 15:24:25.110 EDT [25951] LOG: redirecting log output to logging collector process Aug 01 15:24:25 managed-node2 postmaster[25951]: 2026-08-01 15:24:25.110 EDT [25951] HINT: Future log output will appear in directory "log". Aug 01 15:24:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:28 managed-node2 systemd[1]: postgresql.service: Killing process 25953 (postmaster) with signal SIGKILL. Aug 01 15:24:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:46 managed-node2 postmaster[30194]: 2026-08-01 15:24:46.107 EDT [30194] LOG: redirecting log output to logging collector process Aug 01 15:24:46 managed-node2 postmaster[30194]: 2026-08-01 15:24:46.107 EDT [30194] HINT: Future log output will appear in directory "log". Aug 01 15:24:46 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:49 managed-node2 systemd[1]: postgresql.service: Killing process 30195 (postmaster) with signal SIGKILL. Aug 01 15:24:49 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:49 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:49 managed-node2 postmaster[31001]: 2026-08-01 15:24:49.236 EDT [31001] LOG: redirecting log output to logging collector process Aug 01 15:24:49 managed-node2 postmaster[31001]: 2026-08-01 15:24:49.236 EDT [31001] HINT: Future log output will appear in directory "log". Aug 01 15:24:49 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:10 managed-node2 systemd[1]: postgresql.service: Killing process 31003 (postmaster) with signal SIGKILL. Aug 01 15:25:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.298) 0:00:40.651 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.011) 0:00:40.662 ******* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.022) 0:00:40.685 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.082) 0:00:40.768 ******* included: /tmp/collections-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.027) 0:00:40.795 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.000) 0:00:40.796 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.015) 0:00:40.812 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.039) 0:00:40.851 ******* included: /tmp/collections-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 01 August 2026 15:25:13 -0400 (0:00:00.023) 0:00:40.874 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 01 August 2026 15:25:14 -0400 (0:00:00.734) 0:00:41.608 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 01 August 2026 15:25:14 -0400 (0:00:00.289) 0:00:41.898 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 01 August 2026 15:25:14 -0400 (0:00:00.019) 0:00:41.917 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 01 August 2026 15:25:14 -0400 (0:00:00.015) 0:00:41.933 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 01 August 2026 15:25:14 -0400 (0:00:00.014) 0:00:41.948 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 01 August 2026 15:25:14 -0400 (0:00:00.014) 0:00:41.962 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 01 August 2026 15:25:14 -0400 (0:00:00.014) 0:00:41.977 ******* [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-uCR/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-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 01 August 2026 15:25:14 -0400 (0:00:00.036) 0:00:42.014 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 01 August 2026 15:25:14 -0400 (0:00:00.291) 0:00:42.306 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 01 August 2026 15:25:15 -0400 (0:00:00.289) 0:00:42.595 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 01 August 2026 15:25:15 -0400 (0:00:00.286) 0:00:42.881 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 01 August 2026 15:25:16 -0400 (0:00:01.300) 0:00:44.182 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 01 August 2026 15:25:16 -0400 (0:00:00.026) 0:00:44.209 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 01 August 2026 15:25:16 -0400 (0:00:00.081) 0:00:44.290 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 01 August 2026 15:25:16 -0400 (0:00:00.023) 0:00:44.314 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 01 August 2026 15:25:16 -0400 (0:00:00.019) 0:00:44.333 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 01 August 2026 15:25:22 -0400 (0:00:05.509) 0:00:49.842 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.646675", "end": "2026-08-01 15:25:23.359883", "rc": 0, "start": "2026-08-01 15:25:22.713208" } 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 01 August 2026 15:25:23 -0400 (0:00:00.977) 0:00:50.819 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 01 August 2026 15:25:23 -0400 (0:00:00.018) 0:00:50.838 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 01 August 2026 15:25:23 -0400 (0:00:00.017) 0:00:50.855 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 01 August 2026 15:25:23 -0400 (0:00:00.016) 0:00:50.872 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket sysinit.target system.slice network.target basic.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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.947) 0:00:51.819 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.021) 0:00:51.841 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.019) 0:00:51.861 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.022) 0:00:51.884 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.017) 0:00:51.901 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.020) 0:00:51.922 ******* included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.030) 0:00:51.953 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.022) 0:00:51.976 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.019) 0:00:51.996 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.018) 0:00:52.014 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.020) 0:00:52.034 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.019) 0:00:52.054 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.019) 0:00:52.073 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.019) 0:00:52.093 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.019) 0:00:52.112 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.017) 0:00:52.129 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 01 August 2026 15:25:24 -0400 (0:00:00.021) 0:00:52.151 ******* ok: [managed-node2] => { "changed": false, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/postgresql", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 6, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 01 August 2026 15:25:25 -0400 (0:00:00.310) 0:00:52.461 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 01 August 2026 15:25:25 -0400 (0:00:00.304) 0:00:52.766 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1785612325.3869243-12792-207777453395669/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 01 August 2026 15:25:25 -0400 (0:00:00.605) 0:00:53.372 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 01 August 2026 15:25:25 -0400 (0:00:00.020) 0:00:53.392 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 01 August 2026 15:25:25 -0400 (0:00:00.019) 0:00:53.412 ******* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 01 August 2026 15:25:26 -0400 (0:00:00.303) 0:00:53.716 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 01 August 2026 15:25:26 -0400 (0:00:00.017) 0:00:53.734 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 01 August 2026 15:25:26 -0400 (0:00:00.004) 0:00:53.738 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-01 15:25:24 EDT", "ActiveEnterTimestampMonotonic": "340275212", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target sysinit.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-01 15:25:24 EDT", "AssertTimestampMonotonic": "340233109", "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-08-01 15:25:24 EDT", "ConditionTimestampMonotonic": "340233108", "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": "35813", "ExecMainStartTimestamp": "Sat 2026-08-01 15:25:24 EDT", "ExecMainStartTimestampMonotonic": "340240795", "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-08-01 15:25:24 EDT] ; stop_time=[n/a] ; pid=35813 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-01 15:25:24 EDT] ; stop_time=[Sat 2026-08-01 15:25:24 EDT] ; pid=35810 ; 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-08-01 15:25:24 EDT", "InactiveExitTimestampMonotonic": "340233818", "InvocationID": "bf4082b25a5a428dafff96968130e347", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35813", "MemoryAccounting": "yes", "MemoryCurrent": "16855040", "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-08-01 15:25:24 EDT", "StateChangeTimestampMonotonic": "340275212", "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": "22268", "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-08-01 15:25:24 EDT", "WatchdogTimestampMonotonic": "340275211", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 01 August 2026 15:25:27 -0400 (0:00:00.852) 0:00:54.591 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.006270", "end": "2026-08-01 15:25:27.437722", "rc": 0, "start": "2026-08-01 15:25:27.431452" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 01 August 2026 15:25:27 -0400 (0:00:00.301) 0:00:54.893 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.006926", "end": "2026-08-01 15:25:27.738341", "rc": 0, "start": "2026-08-01 15:25:27.731415" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 01 August 2026 15:25:27 -0400 (0:00:00.300) 0:00:55.193 ******* ASYNC OK on managed-node2: jid=j935158377998.37020 ok: [managed-node2] => { "ansible_job_id": "j935158377998.37020", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.009714", "end": "2026-08-01 15:25:28.241593", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j935158377998.37020", "start": "2026-08-01 15:25:28.231879", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 01 August 2026 15:25:43 -0400 (0:00:15.912) 0:01:11.106 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.007874", "end": "2026-08-01 15:25:43.965788", "rc": 0, "start": "2026-08-01 15:25:43.957914" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 01 August 2026 15:25:44 -0400 (0:00:00.317) 0:01:11.424 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 01 August 2026 15:25:44 -0400 (0:00:00.030) 0:01:11.454 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.007468", "end": "2026-08-01 15:25:44.314333", "rc": 0, "start": "2026-08-01 15:25:44.306865" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 01 August 2026 15:25:44 -0400 (0:00:00.316) 0:01:11.770 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 01 August 2026 15:25:44 -0400 (0:00:00.030) 0:01:11.801 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.005534", "end": "2026-08-01 15:25:44.647871", "failed_when_result": false, "rc": 0, "start": "2026-08-01 15:25:44.642337" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 01 August 2026 15:25:44 -0400 (0:00:00.339) 0:01:12.140 ******* included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 01 August 2026 15:25:44 -0400 (0:00:00.030) 0:01:12.171 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 01 August 2026 15:25:44 -0400 (0:00:00.004) 0:01:12.176 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 01 August 2026 15:25:49 -0400 (0:00:04.319) 0:01:16.495 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 01 August 2026 15:25:49 -0400 (0:00:00.017) 0:01:16.513 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 01 August 2026 15:25:49 -0400 (0:00:00.338) 0:01:16.852 ******* [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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 01 August 2026 15:25:50 -0400 (0:00:01.161) 0:01:18.013 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006152", "end": "2026-08-01 15:25:50.857860", "rc": 0, "start": "2026-08-01 15:25:50.851708" } STDOUT: -- Logs begin at Sat 2026-08-01 15:19:44 EDT, end at Sat 2026-08-01 15:25:50 EDT. -- Aug 01 15:23:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:14 managed-node2 postmaster[10409]: 2026-08-01 15:23:14.725 EDT [10409] LOG: redirecting log output to logging collector process Aug 01 15:23:14 managed-node2 postmaster[10409]: 2026-08-01 15:23:14.725 EDT [10409] HINT: Future log output will appear in directory "log". Aug 01 15:23:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:21 managed-node2 systemd[1]: postgresql.service: Killing process 10411 (postmaster) with signal SIGKILL. Aug 01 15:23:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:21 managed-node2 postmaster[12672]: 2026-08-01 15:23:21.783 EDT [12672] LOG: redirecting log output to logging collector process Aug 01 15:23:21 managed-node2 postmaster[12672]: 2026-08-01 15:23:21.783 EDT [12672] HINT: Future log output will appear in directory "log". Aug 01 15:23:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:25 managed-node2 systemd[1]: postgresql.service: Killing process 12674 (postmaster) with signal SIGKILL. Aug 01 15:23:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:54 managed-node2 postmaster[19296]: 2026-08-01 15:23:54.248 EDT [19296] LOG: redirecting log output to logging collector process Aug 01 15:23:54 managed-node2 postmaster[19296]: 2026-08-01 15:23:54.248 EDT [19296] HINT: Future log output will appear in directory "log". Aug 01 15:23:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:59 managed-node2 systemd[1]: postgresql.service: Killing process 19297 (postmaster) with signal SIGKILL. Aug 01 15:23:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:59 managed-node2 postmaster[20836]: 2026-08-01 15:23:59.464 EDT [20836] LOG: redirecting log output to logging collector process Aug 01 15:23:59 managed-node2 postmaster[20836]: 2026-08-01 15:23:59.464 EDT [20836] HINT: Future log output will appear in directory "log". Aug 01 15:23:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:04 managed-node2 systemd[1]: postgresql.service: Killing process 20838 (postmaster) with signal SIGKILL. Aug 01 15:24:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:21 managed-node2 postmaster[25212]: 2026-08-01 15:24:21.962 EDT [25212] LOG: redirecting log output to logging collector process Aug 01 15:24:21 managed-node2 postmaster[25212]: 2026-08-01 15:24:21.962 EDT [25212] HINT: Future log output will appear in directory "log". Aug 01 15:24:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:25 managed-node2 systemd[1]: postgresql.service: Killing process 25213 (postmaster) with signal SIGKILL. Aug 01 15:24:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:25 managed-node2 postmaster[25951]: 2026-08-01 15:24:25.110 EDT [25951] LOG: redirecting log output to logging collector process Aug 01 15:24:25 managed-node2 postmaster[25951]: 2026-08-01 15:24:25.110 EDT [25951] HINT: Future log output will appear in directory "log". Aug 01 15:24:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:28 managed-node2 systemd[1]: postgresql.service: Killing process 25953 (postmaster) with signal SIGKILL. Aug 01 15:24:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:46 managed-node2 postmaster[30194]: 2026-08-01 15:24:46.107 EDT [30194] LOG: redirecting log output to logging collector process Aug 01 15:24:46 managed-node2 postmaster[30194]: 2026-08-01 15:24:46.107 EDT [30194] HINT: Future log output will appear in directory "log". Aug 01 15:24:46 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:49 managed-node2 systemd[1]: postgresql.service: Killing process 30195 (postmaster) with signal SIGKILL. Aug 01 15:24:49 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:49 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:49 managed-node2 postmaster[31001]: 2026-08-01 15:24:49.236 EDT [31001] LOG: redirecting log output to logging collector process Aug 01 15:24:49 managed-node2 postmaster[31001]: 2026-08-01 15:24:49.236 EDT [31001] HINT: Future log output will appear in directory "log". Aug 01 15:24:49 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:10 managed-node2 systemd[1]: postgresql.service: Killing process 31003 (postmaster) with signal SIGKILL. Aug 01 15:25:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.326 EDT [35813] LOG: listening on IPv6 address "::1", port 5432 Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.326 EDT [35813] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.327 EDT [35813] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.331 EDT [35813] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.340 EDT [35813] LOG: redirecting log output to logging collector process Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.340 EDT [35813] HINT: Future log output will appear in directory "log". Aug 01 15:25:24 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:27 managed-node2 systemd[1]: postgresql.service: Killing process 35814 (postmaster) with signal SIGKILL. Aug 01 15:25:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.081 EDT [36620] LOG: listening on IPv6 address "::1", port 5432 Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.081 EDT [36620] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.083 EDT [36620] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.087 EDT [36620] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.113 EDT [36620] LOG: redirecting log output to logging collector process Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.113 EDT [36620] HINT: Future log output will appear in directory "log". Aug 01 15:25:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:48 managed-node2 systemd[1]: postgresql.service: Killing process 36622 (postmaster) with signal SIGKILL. Aug 01 15:25:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 01 August 2026 15:25:50 -0400 (0:00:00.300) 0:01:18.314 ******* included: /tmp/collections-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 01 August 2026 15:25:50 -0400 (0:00:00.028) 0:01:18.342 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 01 August 2026 15:25:50 -0400 (0:00:00.000) 0:01:18.343 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 01 August 2026 15:25:50 -0400 (0:00:00.015) 0:01:18.358 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 01 August 2026 15:25:50 -0400 (0:00:00.040) 0:01:18.398 ******* included: /tmp/collections-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 01 August 2026 15:25:51 -0400 (0:00:00.023) 0:01:18.421 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 01 August 2026 15:25:51 -0400 (0:00:00.727) 0:01:19.148 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 01 August 2026 15:25:52 -0400 (0:00:00.291) 0:01:19.439 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 01 August 2026 15:25:52 -0400 (0:00:00.016) 0:01:19.456 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 01 August 2026 15:25:52 -0400 (0:00:00.015) 0:01:19.472 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 01 August 2026 15:25:52 -0400 (0:00:00.015) 0:01:19.487 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 01 August 2026 15:25:52 -0400 (0:00:00.015) 0:01:19.502 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 01 August 2026 15:25:52 -0400 (0:00:00.015) 0:01:19.518 ******* 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-uCR/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-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 01 August 2026 15:25:52 -0400 (0:00:00.036) 0:01:19.554 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 01 August 2026 15:25:52 -0400 (0:00:00.289) 0:01:19.843 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 01 August 2026 15:25:52 -0400 (0:00:00.287) 0:01:20.130 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 01 August 2026 15:25:53 -0400 (0:00:00.286) 0:01:20.416 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 01 August 2026 15:25:54 -0400 (0:00:01.274) 0:01:21.691 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 01 August 2026 15:25:54 -0400 (0:00:00.027) 0:01:21.718 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 01 August 2026 15:25:54 -0400 (0:00:00.023) 0:01:21.741 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 01 August 2026 15:25:54 -0400 (0:00:00.023) 0:01:21.765 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 01 August 2026 15:25:54 -0400 (0:00:00.018) 0:01:21.784 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 01 August 2026 15:26:00 -0400 (0:00:06.283) 0:01:28.067 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.668100", "end": "2026-08-01 15:26:01.611071", "rc": 0, "start": "2026-08-01 15:26:00.942971" } 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 01 August 2026 15:26:01 -0400 (0:00:01.002) 0:01:29.070 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 01 August 2026 15:26:01 -0400 (0:00:00.020) 0:01:29.091 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 01 August 2026 15:26:01 -0400 (0:00:00.017) 0:01:29.109 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 01 August 2026 15:26:01 -0400 (0:00:00.017) 0:01:29.126 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target basic.target system.slice systemd-journald.socket 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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.949) 0:01:30.076 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.022) 0:01:30.098 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.019) 0:01:30.118 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.019) 0:01:30.137 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.015) 0:01:30.153 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.020) 0:01:30.174 ******* included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.027) 0:01:30.202 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.018) 0:01:30.220 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.021) 0:01:30.241 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.017) 0:01:30.258 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.017) 0:01:30.275 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.016) 0:01:30.292 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.044) 0:01:30.337 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.018) 0:01:30.356 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.016) 0:01:30.372 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.015) 0:01:30.388 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 01 August 2026 15:26:02 -0400 (0:00:00.021) 0:01:30.410 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 01 August 2026 15:26:03 -0400 (0:00:00.308) 0:01:30.718 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 01 August 2026 15:26:03 -0400 (0:00:00.302) 0:01:31.020 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1785612363.6414719-13198-105261050445874/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 01 August 2026 15:26:04 -0400 (0:00:00.604) 0:01:31.625 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 01 August 2026 15:26:04 -0400 (0:00:00.022) 0:01:31.647 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 01 August 2026 15:26:04 -0400 (0:00:00.019) 0:01:31.667 ******* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 01 August 2026 15:26:04 -0400 (0:00:00.301) 0:01:31.969 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 01 August 2026 15:26:04 -0400 (0:00:00.020) 0:01:31.989 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 01 August 2026 15:26:04 -0400 (0:00:00.004) 0:01:31.994 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-01 15:26:02 EDT", "ActiveEnterTimestampMonotonic": "378533372", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-01 15:26:02 EDT", "AssertTimestampMonotonic": "378487576", "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-08-01 15:26:02 EDT", "ConditionTimestampMonotonic": "378487576", "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": "41470", "ExecMainStartTimestamp": "Sat 2026-08-01 15:26:02 EDT", "ExecMainStartTimestampMonotonic": "378495316", "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-08-01 15:26:02 EDT] ; stop_time=[n/a] ; pid=41470 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-01 15:26:02 EDT] ; stop_time=[Sat 2026-08-01 15:26:02 EDT] ; pid=41467 ; 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-08-01 15:26:02 EDT", "InactiveExitTimestampMonotonic": "378488306", "InvocationID": "e5de2dcf7cd44b1f9559792d9ddd0f45", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41470", "MemoryAccounting": "yes", "MemoryCurrent": "18362368", "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-08-01 15:26:02 EDT", "StateChangeTimestampMonotonic": "378533372", "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": "22268", "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-08-01 15:26:02 EDT", "WatchdogTimestampMonotonic": "378533371", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 01 August 2026 15:26:05 -0400 (0:00:00.850) 0:01:32.845 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.006216", "end": "2026-08-01 15:26:05.692463", "rc": 0, "start": "2026-08-01 15:26:05.686247" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 01 August 2026 15:26:05 -0400 (0:00:00.302) 0:01:33.147 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.006980", "end": "2026-08-01 15:26:05.993410", "rc": 0, "start": "2026-08-01 15:26:05.986430" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 01 August 2026 15:26:06 -0400 (0:00:00.302) 0:01:33.450 ******* ASYNC OK on managed-node2: jid=j336571731563.42675 ok: [managed-node2] => { "ansible_job_id": "j336571731563.42675", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010562", "end": "2026-08-01 15:26:06.498833", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j336571731563.42675", "start": "2026-08-01 15:26:06.488271", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 01 August 2026 15:26:21 -0400 (0:00:15.906) 0:01:49.357 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008043", "end": "2026-08-01 15:26:22.216571", "rc": 0, "start": "2026-08-01 15:26:22.208528" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 01 August 2026 15:26:22 -0400 (0:00:00.315) 0:01:49.673 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 01 August 2026 15:26:22 -0400 (0:00:00.030) 0:01:49.703 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.007641", "end": "2026-08-01 15:26:22.562742", "rc": 0, "start": "2026-08-01 15:26:22.555101" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 01 August 2026 15:26:22 -0400 (0:00:00.317) 0:01:50.020 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 01 August 2026 15:26:22 -0400 (0:00:00.030) 0:01:50.051 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.007586", "end": "2026-08-01 15:26:22.899273", "failed_when_result": false, "rc": 0, "start": "2026-08-01 15:26:22.891687" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 01 August 2026 15:26:22 -0400 (0:00:00.311) 0:01:50.363 ******* included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 01 August 2026 15:26:22 -0400 (0:00:00.032) 0:01:50.396 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 01 August 2026 15:26:22 -0400 (0:00:00.004) 0:01:50.400 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 01 August 2026 15:26:27 -0400 (0:00:04.324) 0:01:54.725 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 01 August 2026 15:26:27 -0400 (0:00:00.017) 0:01:54.742 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 01 August 2026 15:26:27 -0400 (0:00:00.340) 0:01:55.083 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 01 August 2026 15:26:28 -0400 (0:00:01.150) 0:01:56.233 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006149", "end": "2026-08-01 15:26:29.075121", "rc": 0, "start": "2026-08-01 15:26:29.068972" } STDOUT: -- Logs begin at Sat 2026-08-01 15:19:44 EDT, end at Sat 2026-08-01 15:26:29 EDT. -- Aug 01 15:23:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:14 managed-node2 postmaster[10409]: 2026-08-01 15:23:14.725 EDT [10409] LOG: redirecting log output to logging collector process Aug 01 15:23:14 managed-node2 postmaster[10409]: 2026-08-01 15:23:14.725 EDT [10409] HINT: Future log output will appear in directory "log". Aug 01 15:23:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:21 managed-node2 systemd[1]: postgresql.service: Killing process 10411 (postmaster) with signal SIGKILL. Aug 01 15:23:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:21 managed-node2 postmaster[12672]: 2026-08-01 15:23:21.783 EDT [12672] LOG: redirecting log output to logging collector process Aug 01 15:23:21 managed-node2 postmaster[12672]: 2026-08-01 15:23:21.783 EDT [12672] HINT: Future log output will appear in directory "log". Aug 01 15:23:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:25 managed-node2 systemd[1]: postgresql.service: Killing process 12674 (postmaster) with signal SIGKILL. Aug 01 15:23:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:54 managed-node2 postmaster[19296]: 2026-08-01 15:23:54.248 EDT [19296] LOG: redirecting log output to logging collector process Aug 01 15:23:54 managed-node2 postmaster[19296]: 2026-08-01 15:23:54.248 EDT [19296] HINT: Future log output will appear in directory "log". Aug 01 15:23:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:59 managed-node2 systemd[1]: postgresql.service: Killing process 19297 (postmaster) with signal SIGKILL. Aug 01 15:23:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:59 managed-node2 postmaster[20836]: 2026-08-01 15:23:59.464 EDT [20836] LOG: redirecting log output to logging collector process Aug 01 15:23:59 managed-node2 postmaster[20836]: 2026-08-01 15:23:59.464 EDT [20836] HINT: Future log output will appear in directory "log". Aug 01 15:23:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:04 managed-node2 systemd[1]: postgresql.service: Killing process 20838 (postmaster) with signal SIGKILL. Aug 01 15:24:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:21 managed-node2 postmaster[25212]: 2026-08-01 15:24:21.962 EDT [25212] LOG: redirecting log output to logging collector process Aug 01 15:24:21 managed-node2 postmaster[25212]: 2026-08-01 15:24:21.962 EDT [25212] HINT: Future log output will appear in directory "log". Aug 01 15:24:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:25 managed-node2 systemd[1]: postgresql.service: Killing process 25213 (postmaster) with signal SIGKILL. Aug 01 15:24:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:25 managed-node2 postmaster[25951]: 2026-08-01 15:24:25.110 EDT [25951] LOG: redirecting log output to logging collector process Aug 01 15:24:25 managed-node2 postmaster[25951]: 2026-08-01 15:24:25.110 EDT [25951] HINT: Future log output will appear in directory "log". Aug 01 15:24:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:28 managed-node2 systemd[1]: postgresql.service: Killing process 25953 (postmaster) with signal SIGKILL. Aug 01 15:24:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:46 managed-node2 postmaster[30194]: 2026-08-01 15:24:46.107 EDT [30194] LOG: redirecting log output to logging collector process Aug 01 15:24:46 managed-node2 postmaster[30194]: 2026-08-01 15:24:46.107 EDT [30194] HINT: Future log output will appear in directory "log". Aug 01 15:24:46 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:49 managed-node2 systemd[1]: postgresql.service: Killing process 30195 (postmaster) with signal SIGKILL. Aug 01 15:24:49 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:49 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:49 managed-node2 postmaster[31001]: 2026-08-01 15:24:49.236 EDT [31001] LOG: redirecting log output to logging collector process Aug 01 15:24:49 managed-node2 postmaster[31001]: 2026-08-01 15:24:49.236 EDT [31001] HINT: Future log output will appear in directory "log". Aug 01 15:24:49 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:10 managed-node2 systemd[1]: postgresql.service: Killing process 31003 (postmaster) with signal SIGKILL. Aug 01 15:25:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.326 EDT [35813] LOG: listening on IPv6 address "::1", port 5432 Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.326 EDT [35813] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.327 EDT [35813] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.331 EDT [35813] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.340 EDT [35813] LOG: redirecting log output to logging collector process Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.340 EDT [35813] HINT: Future log output will appear in directory "log". Aug 01 15:25:24 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:27 managed-node2 systemd[1]: postgresql.service: Killing process 35814 (postmaster) with signal SIGKILL. Aug 01 15:25:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.081 EDT [36620] LOG: listening on IPv6 address "::1", port 5432 Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.081 EDT [36620] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.083 EDT [36620] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.087 EDT [36620] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.113 EDT [36620] LOG: redirecting log output to logging collector process Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.113 EDT [36620] HINT: Future log output will appear in directory "log". Aug 01 15:25:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:48 managed-node2 systemd[1]: postgresql.service: Killing process 36622 (postmaster) with signal SIGKILL. Aug 01 15:25:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:02 managed-node2 postmaster[41470]: 2026-08-01 15:26:02.591 EDT [41470] LOG: redirecting log output to logging collector process Aug 01 15:26:02 managed-node2 postmaster[41470]: 2026-08-01 15:26:02.591 EDT [41470] HINT: Future log output will appear in directory "log". Aug 01 15:26:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:05 managed-node2 systemd[1]: postgresql.service: Killing process 41471 (postmaster) with signal SIGKILL. Aug 01 15:26:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:26:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:05 managed-node2 postmaster[42276]: 2026-08-01 15:26:05.360 EDT [42276] LOG: redirecting log output to logging collector process Aug 01 15:26:05 managed-node2 postmaster[42276]: 2026-08-01 15:26:05.360 EDT [42276] HINT: Future log output will appear in directory "log". Aug 01 15:26:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:26 managed-node2 systemd[1]: postgresql.service: Killing process 42278 (postmaster) with signal SIGKILL. Aug 01 15:26:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:26:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 01 August 2026 15:26:29 -0400 (0:00:00.298) 0:01:56.531 ******* included: /tmp/collections-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 01 August 2026 15:26:29 -0400 (0:00:00.029) 0:01:56.560 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 01 August 2026 15:26:29 -0400 (0:00:00.001) 0:01:56.562 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 01 August 2026 15:26:29 -0400 (0:00:00.015) 0:01:56.577 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 01 August 2026 15:26:29 -0400 (0:00:00.039) 0:01:56.616 ******* included: /tmp/collections-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 01 August 2026 15:26:29 -0400 (0:00:00.023) 0:01:56.639 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 01 August 2026 15:26:29 -0400 (0:00:00.723) 0:01:57.362 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 01 August 2026 15:26:30 -0400 (0:00:00.290) 0:01:57.653 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 01 August 2026 15:26:30 -0400 (0:00:00.016) 0:01:57.669 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 01 August 2026 15:26:30 -0400 (0:00:00.016) 0:01:57.686 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 01 August 2026 15:26:30 -0400 (0:00:00.015) 0:01:57.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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 01 August 2026 15:26:30 -0400 (0:00:00.015) 0:01:57.716 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 01 August 2026 15:26:30 -0400 (0:00:00.015) 0:01:57.732 ******* 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-uCR/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-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 01 August 2026 15:26:30 -0400 (0:00:00.037) 0:01:57.769 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 01 August 2026 15:26:30 -0400 (0:00:00.290) 0:01:58.059 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 01 August 2026 15:26:30 -0400 (0:00:00.290) 0:01:58.349 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 01 August 2026 15:26:31 -0400 (0:00:00.289) 0:01:58.639 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 01 August 2026 15:26:32 -0400 (0:00:01.308) 0:01:59.948 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.029) 0:01:59.977 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.091) 0:02:00.068 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.025) 0:02:00.094 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 01 August 2026 15:26:32 -0400 (0:00:00.021) 0:02:00.116 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 01 August 2026 15:26:38 -0400 (0:00:05.983) 0:02:06.100 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.682809", "end": "2026-08-01 15:26:39.657035", "rc": 0, "start": "2026-08-01 15:26:38.974226" } 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 01 August 2026 15:26:39 -0400 (0:00:01.017) 0:02:07.117 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 01 August 2026 15:26:39 -0400 (0:00:00.019) 0:02:07.136 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 01 August 2026 15:26:39 -0400 (0:00:00.017) 0:02:07.154 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 01 August 2026 15:26:39 -0400 (0:00:00.017) 0:02:07.171 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target network.target basic.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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.949) 0:02:08.120 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.021) 0:02:08.141 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.020) 0:02:08.161 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.021) 0:02:08.183 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.016) 0:02:08.199 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.019) 0:02:08.219 ******* included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.028) 0:02:08.248 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.017) 0:02:08.265 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.017) 0:02:08.283 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.019) 0:02:08.302 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.021) 0:02:08.324 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.019) 0:02:08.344 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.020) 0:02:08.364 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.019) 0:02:08.383 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 01 August 2026 15:26:40 -0400 (0:00:00.019) 0:02:08.403 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 01 August 2026 15:26:41 -0400 (0:00:00.017) 0:02:08.420 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 01 August 2026 15:26:41 -0400 (0:00:00.020) 0:02:08.441 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 01 August 2026 15:26:41 -0400 (0:00:00.314) 0:02:08.755 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 01 August 2026 15:26:41 -0400 (0:00:00.305) 0:02:09.060 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1785612401.6809788-13604-189155234092954/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 01 August 2026 15:26:42 -0400 (0:00:00.603) 0:02:09.663 ******* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 01 August 2026 15:26:42 -0400 (0:00:00.020) 0:02:09.684 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 01 August 2026 15:26:42 -0400 (0:00:00.020) 0:02:09.704 ******* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 01 August 2026 15:26:42 -0400 (0:00:00.301) 0:02:10.006 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 01 August 2026 15:26:42 -0400 (0:00:00.018) 0:02:10.024 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 01 August 2026 15:26:42 -0400 (0:00:00.004) 0:02:10.029 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-01 15:26:40 EDT", "ActiveEnterTimestampMonotonic": "416575658", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target system.slice network.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-01 15:26:40 EDT", "AssertTimestampMonotonic": "416530274", "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-08-01 15:26:40 EDT", "ConditionTimestampMonotonic": "416530274", "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": "47114", "ExecMainStartTimestamp": "Sat 2026-08-01 15:26:40 EDT", "ExecMainStartTimestampMonotonic": "416538142", "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-08-01 15:26:40 EDT] ; stop_time=[n/a] ; pid=47114 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-01 15:26:40 EDT] ; stop_time=[Sat 2026-08-01 15:26:40 EDT] ; pid=47111 ; 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-08-01 15:26:40 EDT", "InactiveExitTimestampMonotonic": "416530993", "InvocationID": "e86a615b13dc4426a79fe3c296d64a61", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "47114", "MemoryAccounting": "yes", "MemoryCurrent": "17833984", "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-08-01 15:26:40 EDT", "StateChangeTimestampMonotonic": "416575658", "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": "22268", "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-08-01 15:26:40 EDT", "WatchdogTimestampMonotonic": "416575657", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 01 August 2026 15:26:43 -0400 (0:00:00.856) 0:02:10.886 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.006646", "end": "2026-08-01 15:26:43.733264", "rc": 0, "start": "2026-08-01 15:26:43.726618" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 01 August 2026 15:26:43 -0400 (0:00:00.301) 0:02:11.188 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.006894", "end": "2026-08-01 15:26:44.031372", "rc": 0, "start": "2026-08-01 15:26:44.024478" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 01 August 2026 15:26:44 -0400 (0:00:00.298) 0:02:11.486 ******* ASYNC OK on managed-node2: jid=j185072874799.48321 ok: [managed-node2] => { "ansible_job_id": "j185072874799.48321", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.009893", "end": "2026-08-01 15:26:44.535830", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j185072874799.48321", "start": "2026-08-01 15:26:44.525937", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 01 August 2026 15:26:59 -0400 (0:00:15.908) 0:02:27.395 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008739", "end": "2026-08-01 15:27:00.257589", "rc": 0, "start": "2026-08-01 15:27:00.248850" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 01 August 2026 15:27:00 -0400 (0:00:00.321) 0:02:27.716 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 01 August 2026 15:27:00 -0400 (0:00:00.031) 0:02:27.748 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008143", "end": "2026-08-01 15:27:00.608649", "rc": 0, "start": "2026-08-01 15:27:00.600506" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 01 August 2026 15:27:00 -0400 (0:00:00.317) 0:02:28.065 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 01 August 2026 15:27:00 -0400 (0:00:00.031) 0:02:28.097 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.007596", "end": "2026-08-01 15:27:00.945558", "failed_when_result": false, "rc": 0, "start": "2026-08-01 15:27:00.937962" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 01 August 2026 15:27:01 -0400 (0:00:00.337) 0:02:28.435 ******* included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 01 August 2026 15:27:01 -0400 (0:00:00.031) 0:02:28.466 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 01 August 2026 15:27:01 -0400 (0:00:00.004) 0:02:28.471 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 01 August 2026 15:27:05 -0400 (0:00:04.305) 0:02:32.777 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 01 August 2026 15:27:05 -0400 (0:00:00.018) 0:02:32.795 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 01 August 2026 15:27:05 -0400 (0:00:00.339) 0:02:33.134 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 01 August 2026 15:27:06 -0400 (0:00:01.155) 0:02:34.289 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006407", "end": "2026-08-01 15:27:07.133162", "rc": 0, "start": "2026-08-01 15:27:07.126755" } STDOUT: -- Logs begin at Sat 2026-08-01 15:19:44 EDT, end at Sat 2026-08-01 15:27:07 EDT. -- Aug 01 15:23:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:14 managed-node2 postmaster[10409]: 2026-08-01 15:23:14.725 EDT [10409] LOG: redirecting log output to logging collector process Aug 01 15:23:14 managed-node2 postmaster[10409]: 2026-08-01 15:23:14.725 EDT [10409] HINT: Future log output will appear in directory "log". Aug 01 15:23:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:21 managed-node2 systemd[1]: postgresql.service: Killing process 10411 (postmaster) with signal SIGKILL. Aug 01 15:23:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:21 managed-node2 postmaster[12672]: 2026-08-01 15:23:21.783 EDT [12672] LOG: redirecting log output to logging collector process Aug 01 15:23:21 managed-node2 postmaster[12672]: 2026-08-01 15:23:21.783 EDT [12672] HINT: Future log output will appear in directory "log". Aug 01 15:23:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:25 managed-node2 systemd[1]: postgresql.service: Killing process 12674 (postmaster) with signal SIGKILL. Aug 01 15:23:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:54 managed-node2 postmaster[19296]: 2026-08-01 15:23:54.248 EDT [19296] LOG: redirecting log output to logging collector process Aug 01 15:23:54 managed-node2 postmaster[19296]: 2026-08-01 15:23:54.248 EDT [19296] HINT: Future log output will appear in directory "log". Aug 01 15:23:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:59 managed-node2 systemd[1]: postgresql.service: Killing process 19297 (postmaster) with signal SIGKILL. Aug 01 15:23:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:59 managed-node2 postmaster[20836]: 2026-08-01 15:23:59.464 EDT [20836] LOG: redirecting log output to logging collector process Aug 01 15:23:59 managed-node2 postmaster[20836]: 2026-08-01 15:23:59.464 EDT [20836] HINT: Future log output will appear in directory "log". Aug 01 15:23:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:04 managed-node2 systemd[1]: postgresql.service: Killing process 20838 (postmaster) with signal SIGKILL. Aug 01 15:24:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:21 managed-node2 postmaster[25212]: 2026-08-01 15:24:21.962 EDT [25212] LOG: redirecting log output to logging collector process Aug 01 15:24:21 managed-node2 postmaster[25212]: 2026-08-01 15:24:21.962 EDT [25212] HINT: Future log output will appear in directory "log". Aug 01 15:24:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:25 managed-node2 systemd[1]: postgresql.service: Killing process 25213 (postmaster) with signal SIGKILL. Aug 01 15:24:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:25 managed-node2 postmaster[25951]: 2026-08-01 15:24:25.110 EDT [25951] LOG: redirecting log output to logging collector process Aug 01 15:24:25 managed-node2 postmaster[25951]: 2026-08-01 15:24:25.110 EDT [25951] HINT: Future log output will appear in directory "log". Aug 01 15:24:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:28 managed-node2 systemd[1]: postgresql.service: Killing process 25953 (postmaster) with signal SIGKILL. Aug 01 15:24:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:46 managed-node2 postmaster[30194]: 2026-08-01 15:24:46.107 EDT [30194] LOG: redirecting log output to logging collector process Aug 01 15:24:46 managed-node2 postmaster[30194]: 2026-08-01 15:24:46.107 EDT [30194] HINT: Future log output will appear in directory "log". Aug 01 15:24:46 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:49 managed-node2 systemd[1]: postgresql.service: Killing process 30195 (postmaster) with signal SIGKILL. Aug 01 15:24:49 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:49 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:49 managed-node2 postmaster[31001]: 2026-08-01 15:24:49.236 EDT [31001] LOG: redirecting log output to logging collector process Aug 01 15:24:49 managed-node2 postmaster[31001]: 2026-08-01 15:24:49.236 EDT [31001] HINT: Future log output will appear in directory "log". Aug 01 15:24:49 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:10 managed-node2 systemd[1]: postgresql.service: Killing process 31003 (postmaster) with signal SIGKILL. Aug 01 15:25:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.326 EDT [35813] LOG: listening on IPv6 address "::1", port 5432 Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.326 EDT [35813] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.327 EDT [35813] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.331 EDT [35813] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.340 EDT [35813] LOG: redirecting log output to logging collector process Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.340 EDT [35813] HINT: Future log output will appear in directory "log". Aug 01 15:25:24 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:27 managed-node2 systemd[1]: postgresql.service: Killing process 35814 (postmaster) with signal SIGKILL. Aug 01 15:25:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.081 EDT [36620] LOG: listening on IPv6 address "::1", port 5432 Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.081 EDT [36620] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.083 EDT [36620] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.087 EDT [36620] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.113 EDT [36620] LOG: redirecting log output to logging collector process Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.113 EDT [36620] HINT: Future log output will appear in directory "log". Aug 01 15:25:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:48 managed-node2 systemd[1]: postgresql.service: Killing process 36622 (postmaster) with signal SIGKILL. Aug 01 15:25:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:02 managed-node2 postmaster[41470]: 2026-08-01 15:26:02.591 EDT [41470] LOG: redirecting log output to logging collector process Aug 01 15:26:02 managed-node2 postmaster[41470]: 2026-08-01 15:26:02.591 EDT [41470] HINT: Future log output will appear in directory "log". Aug 01 15:26:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:05 managed-node2 systemd[1]: postgresql.service: Killing process 41471 (postmaster) with signal SIGKILL. Aug 01 15:26:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:26:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:05 managed-node2 postmaster[42276]: 2026-08-01 15:26:05.360 EDT [42276] LOG: redirecting log output to logging collector process Aug 01 15:26:05 managed-node2 postmaster[42276]: 2026-08-01 15:26:05.360 EDT [42276] HINT: Future log output will appear in directory "log". Aug 01 15:26:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:26 managed-node2 systemd[1]: postgresql.service: Killing process 42278 (postmaster) with signal SIGKILL. Aug 01 15:26:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:26:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:40 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.624 EDT [47114] 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 Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.625 EDT [47114] LOG: listening on IPv6 address "::1", port 5432 Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.625 EDT [47114] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.627 EDT [47114] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.631 EDT [47114] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.640 EDT [47114] LOG: redirecting log output to logging collector process Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.640 EDT [47114] HINT: Future log output will appear in directory "log". Aug 01 15:26:40 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:43 managed-node2 systemd[1]: postgresql.service: Killing process 47115 (postmaster) with signal SIGKILL. Aug 01 15:26:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:26:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:43 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.374 EDT [47922] 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 Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.375 EDT [47922] LOG: listening on IPv6 address "::1", port 5432 Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.375 EDT [47922] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.376 EDT [47922] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.380 EDT [47922] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.407 EDT [47922] LOG: redirecting log output to logging collector process Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.407 EDT [47922] HINT: Future log output will appear in directory "log". Aug 01 15:26:43 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:27:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:27:04 managed-node2 systemd[1]: postgresql.service: Killing process 47923 (postmaster) with signal SIGKILL. Aug 01 15:27:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:27:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.300) 0:02:34.590 ******* included: /tmp/collections-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.028) 0:02:34.619 ******* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.001) 0:02:34.620 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.015) 0:02:34.635 ******* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.044) 0:02:34.680 ******* included: /tmp/collections-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 01 August 2026 15:27:07 -0400 (0:00:00.023) 0:02:34.704 ******* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.725) 0:02:35.429 ******* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.289) 0:02:35.719 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.016) 0:02:35.736 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.016) 0:02:35.752 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.015) 0:02:35.768 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.015) 0:02:35.784 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.015) 0:02:35.799 ******* 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-uCR/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-uCR/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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.036) 0:02:35.836 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 01 August 2026 15:27:08 -0400 (0:00:00.291) 0:02:36.128 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 01 August 2026 15:27:09 -0400 (0:00:00.288) 0:02:36.416 ******* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 01 August 2026 15:27:09 -0400 (0:00:00.286) 0:02:36.703 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 01 August 2026 15:27:10 -0400 (0:00:01.273) 0:02:37.977 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 01 August 2026 15:27:10 -0400 (0:00:00.027) 0:02:38.004 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 01 August 2026 15:27:10 -0400 (0:00:00.023) 0:02:38.027 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 01 August 2026 15:27:10 -0400 (0:00:00.024) 0:02:38.052 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 01 August 2026 15:27:10 -0400 (0:00:00.019) 0:02:38.071 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 01 August 2026 15:27:16 -0400 (0:00:06.260) 0:02:44.332 ******* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.668717", "end": "2026-08-01 15:27:17.874566", "rc": 0, "start": "2026-08-01 15:27:17.205849" } 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 01 August 2026 15:27:17 -0400 (0:00:01.000) 0:02:45.333 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 01 August 2026 15:27:17 -0400 (0:00:00.021) 0:02:45.354 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 01 August 2026 15:27:17 -0400 (0:00:00.018) 0:02:45.373 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 01 August 2026 15:27:17 -0400 (0:00:00.017) 0:02:45.390 ******* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target basic.target sysinit.target system.slice systemd-journald.socket", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "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": "22268", "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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 01 August 2026 15:27:18 -0400 (0:00:00.947) 0:02:46.338 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 01 August 2026 15:27:18 -0400 (0:00:00.022) 0:02:46.360 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 01 August 2026 15:27:18 -0400 (0:00:00.020) 0:02:46.380 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 01 August 2026 15:27:18 -0400 (0:00:00.019) 0:02:46.400 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.016) 0:02:46.416 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.020) 0:02:46.437 ******* included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.028) 0:02:46.465 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.017) 0:02:46.483 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.018) 0:02:46.501 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.017) 0:02:46.519 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.017) 0:02:46.537 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.017) 0:02:46.554 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.047) 0:02:46.602 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.019) 0:02:46.622 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.017) 0:02:46.639 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.016) 0:02:46.655 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.022) 0:02:46.678 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.310) 0:02:46.989 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 01 August 2026 15:27:19 -0400 (0:00:00.304) 0:02:47.294 ******* changed: [managed-node2] => { "changed": true, "checksum": "c7e56b3aadc66ba4a335f042724cefb2eeb3579b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "4d7eb3c10fc09e6932b233c2f859aa15", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1785612439.9150903-14010-269056320609321/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 01 August 2026 15:27:20 -0400 (0:00:00.606) 0:02:47.900 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 01 August 2026 15:27:20 -0400 (0:00:00.022) 0:02:47.923 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 01 August 2026 15:27:20 -0400 (0:00:00.020) 0:02:47.944 ******* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 01 August 2026 15:27:20 -0400 (0:00:00.301) 0:02:48.245 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 01 August 2026 15:27:20 -0400 (0:00:00.020) 0:02:48.266 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 01 August 2026 15:27:20 -0400 (0:00:00.004) 0:02:48.270 ******* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-08-01 15:27:18 EDT", "ActiveEnterTimestampMonotonic": "454794578", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket basic.target network-online.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-08-01 15:27:18 EDT", "AssertTimestampMonotonic": "454748468", "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-08-01 15:27:18 EDT", "ConditionTimestampMonotonic": "454748468", "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": "52767", "ExecMainStartTimestamp": "Sat 2026-08-01 15:27:18 EDT", "ExecMainStartTimestampMonotonic": "454756242", "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-08-01 15:27:18 EDT] ; stop_time=[n/a] ; pid=52767 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[Sat 2026-08-01 15:27:18 EDT] ; stop_time=[Sat 2026-08-01 15:27:18 EDT] ; pid=52764 ; 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-08-01 15:27:18 EDT", "InactiveExitTimestampMonotonic": "454749174", "InvocationID": "5e360702ae884945b59ef16ff1bb641f", "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": "13917", "LimitNPROCSoft": "13917", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13917", "LimitSIGPENDINGSoft": "13917", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52767", "MemoryAccounting": "yes", "MemoryCurrent": "18657280", "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-08-01 15:27:18 EDT", "StateChangeTimestampMonotonic": "454794578", "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": "22268", "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-08-01 15:27:18 EDT", "WatchdogTimestampMonotonic": "454794577", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 01 August 2026 15:27:21 -0400 (0:00:00.854) 0:02:49.125 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.006442", "end": "2026-08-01 15:27:21.972445", "rc": 0, "start": "2026-08-01 15:27:21.966003" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 01 August 2026 15:27:22 -0400 (0:00:00.303) 0:02:49.428 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.006740", "end": "2026-08-01 15:27:22.272356", "rc": 0, "start": "2026-08-01 15:27:22.265616" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 01 August 2026 15:27:22 -0400 (0:00:00.301) 0:02:49.729 ******* ASYNC OK on managed-node2: jid=j620569213692.53972 ok: [managed-node2] => { "ansible_job_id": "j620569213692.53972", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.010141", "end": "2026-08-01 15:27:22.778953", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j620569213692.53972", "start": "2026-08-01 15:27:22.768812", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 01 August 2026 15:27:38 -0400 (0:00:15.907) 0:03:05.637 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.008165", "end": "2026-08-01 15:27:38.497918", "rc": 0, "start": "2026-08-01 15:27:38.489753" } STDOUT: shared_buffers ---------------- 879MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 01 August 2026 15:27:38 -0400 (0:00:00.317) 0:03:05.954 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 01 August 2026 15:27:38 -0400 (0:00:00.031) 0:03:05.986 ******* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.007743", "end": "2026-08-01 15:27:38.845375", "rc": 0, "start": "2026-08-01 15:27:38.837632" } STDOUT: effective_cache_size ---------------------- 1758MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 01 August 2026 15:27:38 -0400 (0:00:00.317) 0:03:06.303 ******* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 01 August 2026 15:27:38 -0400 (0:00:00.031) 0:03:06.335 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.007625", "end": "2026-08-01 15:27:39.182682", "failed_when_result": false, "rc": 0, "start": "2026-08-01 15:27:39.175057" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 01 August 2026 15:27:39 -0400 (0:00:00.308) 0:03:06.643 ******* included: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 01 August 2026 15:27:39 -0400 (0:00:00.032) 0:03:06.676 ******* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 01 August 2026 15:27:39 -0400 (0:00:00.004) 0:03:06.681 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 01 August 2026 15:27:43 -0400 (0:00:04.316) 0:03:10.997 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 01 August 2026 15:27:43 -0400 (0:00:00.017) 0:03:11.015 ******* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 01 August 2026 15:27:43 -0400 (0:00:00.341) 0:03:11.356 ******* 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-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 01 August 2026 15:27:45 -0400 (0:00:01.150) 0:03:12.506 ******* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.006474", "end": "2026-08-01 15:27:45.350417", "rc": 0, "start": "2026-08-01 15:27:45.343943" } STDOUT: -- Logs begin at Sat 2026-08-01 15:19:44 EDT, end at Sat 2026-08-01 15:27:45 EDT. -- Aug 01 15:23:14 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:14 managed-node2 postmaster[10409]: 2026-08-01 15:23:14.725 EDT [10409] LOG: redirecting log output to logging collector process Aug 01 15:23:14 managed-node2 postmaster[10409]: 2026-08-01 15:23:14.725 EDT [10409] HINT: Future log output will appear in directory "log". Aug 01 15:23:14 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:21 managed-node2 systemd[1]: postgresql.service: Killing process 10411 (postmaster) with signal SIGKILL. Aug 01 15:23:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:21 managed-node2 postmaster[12672]: 2026-08-01 15:23:21.783 EDT [12672] LOG: redirecting log output to logging collector process Aug 01 15:23:21 managed-node2 postmaster[12672]: 2026-08-01 15:23:21.783 EDT [12672] HINT: Future log output will appear in directory "log". Aug 01 15:23:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:25 managed-node2 systemd[1]: postgresql.service: Killing process 12674 (postmaster) with signal SIGKILL. Aug 01 15:23:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:54 managed-node2 postmaster[19296]: 2026-08-01 15:23:54.248 EDT [19296] LOG: redirecting log output to logging collector process Aug 01 15:23:54 managed-node2 postmaster[19296]: 2026-08-01 15:23:54.248 EDT [19296] HINT: Future log output will appear in directory "log". Aug 01 15:23:54 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:23:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:23:59 managed-node2 systemd[1]: postgresql.service: Killing process 19297 (postmaster) with signal SIGKILL. Aug 01 15:23:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:23:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:23:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:23:59 managed-node2 postmaster[20836]: 2026-08-01 15:23:59.464 EDT [20836] LOG: redirecting log output to logging collector process Aug 01 15:23:59 managed-node2 postmaster[20836]: 2026-08-01 15:23:59.464 EDT [20836] HINT: Future log output will appear in directory "log". Aug 01 15:23:59 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:04 managed-node2 systemd[1]: postgresql.service: Killing process 20838 (postmaster) with signal SIGKILL. Aug 01 15:24:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:21 managed-node2 postmaster[25212]: 2026-08-01 15:24:21.962 EDT [25212] LOG: redirecting log output to logging collector process Aug 01 15:24:21 managed-node2 postmaster[25212]: 2026-08-01 15:24:21.962 EDT [25212] HINT: Future log output will appear in directory "log". Aug 01 15:24:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:25 managed-node2 systemd[1]: postgresql.service: Killing process 25213 (postmaster) with signal SIGKILL. Aug 01 15:24:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:25 managed-node2 postmaster[25951]: 2026-08-01 15:24:25.110 EDT [25951] LOG: redirecting log output to logging collector process Aug 01 15:24:25 managed-node2 postmaster[25951]: 2026-08-01 15:24:25.110 EDT [25951] HINT: Future log output will appear in directory "log". Aug 01 15:24:25 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:28 managed-node2 systemd[1]: postgresql.service: Killing process 25953 (postmaster) with signal SIGKILL. Aug 01 15:24:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:46 managed-node2 postmaster[30194]: 2026-08-01 15:24:46.107 EDT [30194] LOG: redirecting log output to logging collector process Aug 01 15:24:46 managed-node2 postmaster[30194]: 2026-08-01 15:24:46.107 EDT [30194] HINT: Future log output will appear in directory "log". Aug 01 15:24:46 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:24:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:24:49 managed-node2 systemd[1]: postgresql.service: Killing process 30195 (postmaster) with signal SIGKILL. Aug 01 15:24:49 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:24:49 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:24:49 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:24:49 managed-node2 postmaster[31001]: 2026-08-01 15:24:49.236 EDT [31001] LOG: redirecting log output to logging collector process Aug 01 15:24:49 managed-node2 postmaster[31001]: 2026-08-01 15:24:49.236 EDT [31001] HINT: Future log output will appear in directory "log". Aug 01 15:24:49 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:10 managed-node2 systemd[1]: postgresql.service: Killing process 31003 (postmaster) with signal SIGKILL. Aug 01 15:25:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:24 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.326 EDT [35813] LOG: listening on IPv6 address "::1", port 5432 Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.326 EDT [35813] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.327 EDT [35813] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.331 EDT [35813] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.340 EDT [35813] LOG: redirecting log output to logging collector process Aug 01 15:25:24 managed-node2 postmaster[35813]: 2026-08-01 15:25:24.340 EDT [35813] HINT: Future log output will appear in directory "log". Aug 01 15:25:24 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:27 managed-node2 systemd[1]: postgresql.service: Killing process 35814 (postmaster) with signal SIGKILL. Aug 01 15:25:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:25:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.081 EDT [36620] LOG: listening on IPv6 address "::1", port 5432 Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.081 EDT [36620] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.083 EDT [36620] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.087 EDT [36620] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.113 EDT [36620] LOG: redirecting log output to logging collector process Aug 01 15:25:27 managed-node2 postmaster[36620]: 2026-08-01 15:25:27.113 EDT [36620] HINT: Future log output will appear in directory "log". Aug 01 15:25:27 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:25:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:25:48 managed-node2 systemd[1]: postgresql.service: Killing process 36622 (postmaster) with signal SIGKILL. Aug 01 15:25:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:25:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:02 managed-node2 postmaster[41470]: 2026-08-01 15:26:02.591 EDT [41470] LOG: redirecting log output to logging collector process Aug 01 15:26:02 managed-node2 postmaster[41470]: 2026-08-01 15:26:02.591 EDT [41470] HINT: Future log output will appear in directory "log". Aug 01 15:26:02 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:05 managed-node2 systemd[1]: postgresql.service: Killing process 41471 (postmaster) with signal SIGKILL. Aug 01 15:26:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:26:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:05 managed-node2 postmaster[42276]: 2026-08-01 15:26:05.360 EDT [42276] LOG: redirecting log output to logging collector process Aug 01 15:26:05 managed-node2 postmaster[42276]: 2026-08-01 15:26:05.360 EDT [42276] HINT: Future log output will appear in directory "log". Aug 01 15:26:05 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:26 managed-node2 systemd[1]: postgresql.service: Killing process 42278 (postmaster) with signal SIGKILL. Aug 01 15:26:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:26:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:40 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.624 EDT [47114] 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 Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.625 EDT [47114] LOG: listening on IPv6 address "::1", port 5432 Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.625 EDT [47114] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.627 EDT [47114] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.631 EDT [47114] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.640 EDT [47114] LOG: redirecting log output to logging collector process Aug 01 15:26:40 managed-node2 postmaster[47114]: 2026-08-01 15:26:40.640 EDT [47114] HINT: Future log output will appear in directory "log". Aug 01 15:26:40 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:26:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:26:43 managed-node2 systemd[1]: postgresql.service: Killing process 47115 (postmaster) with signal SIGKILL. Aug 01 15:26:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:26:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:26:43 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.374 EDT [47922] 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 Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.375 EDT [47922] LOG: listening on IPv6 address "::1", port 5432 Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.375 EDT [47922] LOG: listening on IPv4 address "127.0.0.1", port 5432 Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.376 EDT [47922] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.380 EDT [47922] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.407 EDT [47922] LOG: redirecting log output to logging collector process Aug 01 15:26:43 managed-node2 postmaster[47922]: 2026-08-01 15:26:43.407 EDT [47922] HINT: Future log output will appear in directory "log". Aug 01 15:26:43 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:27:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:27:04 managed-node2 systemd[1]: postgresql.service: Killing process 47923 (postmaster) with signal SIGKILL. Aug 01 15:27:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:27:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:27:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:27:18 managed-node2 postgres[52767]: 2026-08-01 15:27:18.852 EDT [52767] LOG: redirecting log output to logging collector process Aug 01 15:27:18 managed-node2 postgres[52767]: 2026-08-01 15:27:18.852 EDT [52767] HINT: Future log output will appear in directory "log". Aug 01 15:27:18 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:27:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:27:21 managed-node2 systemd[1]: postgresql.service: Killing process 52768 (postgres) with signal SIGKILL. Aug 01 15:27:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:27:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Aug 01 15:27:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Aug 01 15:27:21 managed-node2 postgres[53573]: 2026-08-01 15:27:21.640 EDT [53573] LOG: redirecting log output to logging collector process Aug 01 15:27:21 managed-node2 postgres[53573]: 2026-08-01 15:27:21.640 EDT [53573] HINT: Future log output will appear in directory "log". Aug 01 15:27:21 managed-node2 systemd[1]: Started PostgreSQL database server. Aug 01 15:27:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Aug 01 15:27:42 managed-node2 systemd[1]: postgresql.service: Killing process 53575 (postgres) with signal SIGKILL. Aug 01 15:27:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Aug 01 15:27:42 managed-node2 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 01 August 2026 15:27:45 -0400 (0:00:00.295) 0:03:12.802 ******* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.10s /tmp/collections-uCR/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.91s /tmp/collections-uCR/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.91s /tmp/collections-uCR/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.91s /tmp/collections-uCR/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.91s /tmp/collections-uCR/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.28s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.26s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.98s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.65s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.51s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.35s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.32s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.32s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.32s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.31s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.60s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.31s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.30s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.27s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.27s /tmp/collections-uCR/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8