ansible-playbook 2.9.27 config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.9/site-packages/ansible executable location = /usr/local/bin/ansible-playbook python version = 3.9.19 (main, May 16 2024, 11:40:09) [GCC 8.5.0 20210514 (Red Hat 8.5.0-22)] No config file found; using defaults [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', 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 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-cHu/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-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 20 June 2026 15:53:46 -0400 (0:00:00.017) 0:00:00.017 ********* ok: [managed-node2] META: ran handlers META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Install and cleanup default version] ************************************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 20 June 2026 15:53:47 -0400 (0:00:01.039) 0:00:01.057 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 20 June 2026 15:53:47 -0400 (0:00:00.024) 0:00:01.081 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 20 June 2026 15:53:47 -0400 (0:00:00.025) 0:00:01.106 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 20 June 2026 15:53:47 -0400 (0:00:00.013) 0:00:01.120 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 20 June 2026 15:53:48 -0400 (0:00:00.117) 0:00:01.237 ********* included: /tmp/collections-cHu/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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 20 June 2026 15:53:48 -0400 (0:00:00.028) 0:00:01.266 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 20 June 2026 15:53:48 -0400 (0:00:00.675) 0:00:01.941 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 20 June 2026 15:53:49 -0400 (0:00:00.426) 0:00:02.368 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 20 June 2026 15:53:49 -0400 (0:00:00.417) 0:00:02.786 ********* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 20 June 2026 15:53:49 -0400 (0:00:00.022) 0:00:02.808 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008039", "end": "2026-06-20 15:53:50.024234", "failed_when_result": false, "rc": 0, "start": "2026-06-20 15:53:50.016195" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.421) 0:00:03.230 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.016) 0:00:03.247 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.018) 0:00:03.265 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "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-cHu/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-cHu/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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.040) 0:00:03.305 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.347) 0:00:03.653 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 20 June 2026 15:53:50 -0400 (0:00:00.356) 0:00:04.010 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 20 June 2026 15:53:51 -0400 (0:00:00.382) 0:00:04.392 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 20 June 2026 15:53:52 -0400 (0:00:01.638) 0:00:06.031 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 20 June 2026 15:53:52 -0400 (0:00:00.038) 0:00:06.069 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 20 June 2026 15:53:52 -0400 (0:00:00.031) 0:00:06.101 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 20 June 2026 15:53:52 -0400 (0:00:00.030) 0:00:06.131 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 20 June 2026 15:53:53 -0400 (0:00:00.028) 0:00:06.160 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 20 June 2026 15:53:59 -0400 (0:00:06.041) 0:00:12.201 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.724792", "end": "2026-06-20 15:54:00.079431", "rc": 0, "start": "2026-06-20 15:53:59.354639" } 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 20 June 2026 15:54:00 -0400 (0:00:01.097) 0:00:13.298 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 20 June 2026 15:54:00 -0400 (0:00:00.022) 0:00:13.321 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 20 June 2026 15:54:00 -0400 (0:00:00.020) 0:00:13.342 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 20 June 2026 15:54:00 -0400 (0:00:00.020) 0:00:13.362 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target systemd-journald.socket basic.target system.slice network.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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "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": "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]", "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": "22088", "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 20 June 2026 15:54:01 -0400 (0:00:01.251) 0:00:14.614 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.032) 0:00:14.646 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.034) 0:00:14.681 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.029) 0:00:14.711 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.031) 0:00:14.742 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.023) 0:00:14.766 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.033) 0:00:14.799 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.021) 0:00:14.821 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.019) 0:00:14.840 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.018) 0:00:14.859 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.018) 0:00:14.878 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.062) 0:00:14.941 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.023) 0:00:14.965 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.018) 0:00:14.984 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.019) 0:00:15.004 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.021) 0:00:15.025 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 20 June 2026 15:54:01 -0400 (0:00:00.019) 0:00:15.045 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 20 June 2026 15:54:02 -0400 (0:00:00.438) 0:00:15.483 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 20 June 2026 15:54:02 -0400 (0:00:00.426) 0:00:15.910 ********* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1781985242.7909656-12808-171479974239369/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 20 June 2026 15:54:03 -0400 (0:00:00.780) 0:00:16.690 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 20 June 2026 15:54:03 -0400 (0:00:00.018) 0:00:16.709 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 20 June 2026 15:54:03 -0400 (0:00:00.020) 0:00:16.729 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 20 June 2026 15:54:03 -0400 (0:00:00.343) 0:00:17.073 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 20 June 2026 15:54:03 -0400 (0:00:00.012) 0:00:17.085 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-20 15:54:01 EDT", "ActiveEnterTimestampMonotonic": "354088879", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target system.slice systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-20 15:54:01 EDT", "AssertTimestampMonotonic": "354038485", "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-06-20 15:54:01 EDT", "ConditionTimestampMonotonic": "354038485", "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": "30168", "ExecMainStartTimestamp": "Sat 2026-06-20 15:54:01 EDT", "ExecMainStartTimestampMonotonic": "354048690", "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-06-20 15:54:01 EDT] ; stop_time=[n/a] ; pid=30168 ; 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-06-20 15:54:01 EDT] ; stop_time=[Sat 2026-06-20 15:54:01 EDT] ; pid=30165 ; 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-06-20 15:54:01 EDT", "InactiveExitTimestampMonotonic": "354039473", "InvocationID": "7b2f1578f98d45498d8e2c81f1e1a7de", "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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "30168", "MemoryAccounting": "yes", "MemoryCurrent": "17829888", "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-06-20 15:54:01 EDT", "StateChangeTimestampMonotonic": "354088879", "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": "22088", "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-06-20 15:54:01 EDT", "WatchdogTimestampMonotonic": "354088877", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 20 June 2026 15:54:04 -0400 (0:00:00.929) 0:00:18.015 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007970", "end": "2026-06-20 15:54:05.156074", "rc": 0, "start": "2026-06-20 15:54:05.148104" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 20 June 2026 15:54:05 -0400 (0:00:00.351) 0:00:18.366 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008091", "end": "2026-06-20 15:54:05.498702", "rc": 0, "start": "2026-06-20 15:54:05.490611" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 20 June 2026 15:54:05 -0400 (0:00:00.365) 0:00:18.732 ********* ok: [managed-node2] => { "ansible_job_id": "103617948998.31375", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012014", "end": "2026-06-20 15:54:06.171393", "finished": 1, "rc": 0, "start": "2026-06-20 15:54:06.159379" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 20 June 2026 15:54:21 -0400 (0:00:15.948) 0:00:34.680 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009430", "end": "2026-06-20 15:54:21.839172", "rc": 0, "start": "2026-06-20 15:54:21.829742" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 20 June 2026 15:54:21 -0400 (0:00:00.371) 0:00:35.051 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 20 June 2026 15:54:21 -0400 (0:00:00.033) 0:00:35.085 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009242", "end": "2026-06-20 15:54:22.241549", "rc": 0, "start": "2026-06-20 15:54:22.232307" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 20 June 2026 15:54:22 -0400 (0:00:00.367) 0:00:35.452 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 20 June 2026 15:54:22 -0400 (0:00:00.032) 0:00:35.485 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008942", "end": "2026-06-20 15:54:22.624760", "failed_when_result": false, "rc": 0, "start": "2026-06-20 15:54:22.615818" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 20 June 2026 15:54:22 -0400 (0:00:00.358) 0:00:35.844 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 20 June 2026 15:54:22 -0400 (0:00:00.035) 0:00:35.880 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 20 June 2026 15:54:27 -0400 (0:00:04.640) 0:00:40.520 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 20 June 2026 15:54:27 -0400 (0:00:00.019) 0:00:40.539 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 20 June 2026 15:54:27 -0400 (0:00:00.385) 0:00:40.925 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 20 June 2026 15:54:29 -0400 (0:00:01.333) 0:00:42.259 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007023", "end": "2026-06-20 15:54:29.388585", "rc": 0, "start": "2026-06-20 15:54:29.381562" } STDOUT: -- Logs begin at Sat 2026-06-20 15:48:06 EDT, end at Sat 2026-06-20 15:54:29 EDT. -- Jun 20 15:52:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:22 managed-node2 postmaster[10418]: 2026-06-20 15:52:22.166 EDT [10418] LOG: redirecting log output to logging collector process Jun 20 15:52:22 managed-node2 postmaster[10418]: 2026-06-20 15:52:22.166 EDT [10418] HINT: Future log output will appear in directory "log". Jun 20 15:52:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:30 managed-node2 systemd[1]: postgresql.service: Killing process 10419 (postmaster) with signal SIGKILL. Jun 20 15:52:30 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:30 managed-node2 postmaster[12680]: 2026-06-20 15:52:30.070 EDT [12680] LOG: redirecting log output to logging collector process Jun 20 15:52:30 managed-node2 postmaster[12680]: 2026-06-20 15:52:30.070 EDT [12680] HINT: Future log output will appear in directory "log". Jun 20 15:52:30 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:33 managed-node2 systemd[1]: postgresql.service: Killing process 12682 (postmaster) with signal SIGKILL. Jun 20 15:52:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:05 managed-node2 postmaster[19291]: 2026-06-20 15:53:05.709 EDT [19291] LOG: redirecting log output to logging collector process Jun 20 15:53:05 managed-node2 postmaster[19291]: 2026-06-20 15:53:05.709 EDT [19291] HINT: Future log output will appear in directory "log". Jun 20 15:53:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:11 managed-node2 systemd[1]: postgresql.service: Killing process 19292 (postmaster) with signal SIGKILL. Jun 20 15:53:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:11 managed-node2 postmaster[20831]: 2026-06-20 15:53:11.346 EDT [20831] LOG: redirecting log output to logging collector process Jun 20 15:53:11 managed-node2 postmaster[20831]: 2026-06-20 15:53:11.346 EDT [20831] HINT: Future log output will appear in directory "log". Jun 20 15:53:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:16 managed-node2 systemd[1]: postgresql.service: Killing process 20833 (postmaster) with signal SIGKILL. Jun 20 15:53:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:35 managed-node2 postmaster[25196]: 2026-06-20 15:53:35.422 EDT [25196] LOG: redirecting log output to logging collector process Jun 20 15:53:35 managed-node2 postmaster[25196]: 2026-06-20 15:53:35.422 EDT [25196] HINT: Future log output will appear in directory "log". Jun 20 15:53:35 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:38 managed-node2 systemd[1]: postgresql.service: Killing process 25198 (postmaster) with signal SIGKILL. Jun 20 15:53:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:38 managed-node2 postmaster[25936]: 2026-06-20 15:53:38.495 EDT [25936] LOG: redirecting log output to logging collector process Jun 20 15:53:38 managed-node2 postmaster[25936]: 2026-06-20 15:53:38.495 EDT [25936] HINT: Future log output will appear in directory "log". Jun 20 15:53:38 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:42 managed-node2 systemd[1]: postgresql.service: Killing process 25938 (postmaster) with signal SIGKILL. Jun 20 15:53:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:01 managed-node2 postmaster[30168]: 2026-06-20 15:54:01.364 EDT [30168] LOG: redirecting log output to logging collector process Jun 20 15:54:01 managed-node2 postmaster[30168]: 2026-06-20 15:54:01.364 EDT [30168] HINT: Future log output will appear in directory "log". Jun 20 15:54:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:04 managed-node2 systemd[1]: postgresql.service: Killing process 30169 (postmaster) with signal SIGKILL. Jun 20 15:54:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:04 managed-node2 postmaster[30975]: 2026-06-20 15:54:04.776 EDT [30975] LOG: redirecting log output to logging collector process Jun 20 15:54:04 managed-node2 postmaster[30975]: 2026-06-20 15:54:04.776 EDT [30975] HINT: Future log output will appear in directory "log". Jun 20 15:54:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:26 managed-node2 systemd[1]: postgresql.service: Killing process 30977 (postmaster) with signal SIGKILL. Jun 20 15:54:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. META: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 20 June 2026 15:54:29 -0400 (0:00:00.347) 0:00:42.606 ********* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 20 June 2026 15:54:29 -0400 (0:00:00.027) 0:00:42.633 ********* skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 20 June 2026 15:54:29 -0400 (0:00:00.091) 0:00:42.725 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 20 June 2026 15:54:29 -0400 (0:00:00.031) 0:00:42.757 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 20 June 2026 15:54:29 -0400 (0:00:00.013) 0:00:42.770 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 20 June 2026 15:54:29 -0400 (0:00:00.026) 0:00:42.796 ********* included: /tmp/collections-cHu/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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 20 June 2026 15:54:29 -0400 (0:00:00.024) 0:00:42.821 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 20 June 2026 15:54:30 -0400 (0:00:00.667) 0:00:43.489 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 20 June 2026 15:54:30 -0400 (0:00:00.327) 0:00:43.816 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 20 June 2026 15:54:30 -0400 (0:00:00.014) 0:00:43.831 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 20 June 2026 15:54:30 -0400 (0:00:00.014) 0:00:43.845 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 20 June 2026 15:54:30 -0400 (0:00:00.013) 0:00:43.859 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 20 June 2026 15:54:30 -0400 (0:00:00.013) 0:00:43.872 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 20 June 2026 15:54:30 -0400 (0:00:00.013) 0:00:43.885 ********* [WARNING]: 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, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "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-cHu/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-cHu/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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 20 June 2026 15:54:30 -0400 (0:00:00.039) 0:00:43.925 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.329) 0:00:44.255 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.326) 0:00:44.582 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 20 June 2026 15:54:31 -0400 (0:00:00.329) 0:00:44.912 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 20 June 2026 15:54:33 -0400 (0:00:01.428) 0:00:46.341 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 20 June 2026 15:54:33 -0400 (0:00:00.033) 0:00:46.374 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 20 June 2026 15:54:33 -0400 (0:00:00.031) 0:00:46.405 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 20 June 2026 15:54:33 -0400 (0:00:00.030) 0:00:46.435 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 20 June 2026 15:54:33 -0400 (0:00:00.025) 0:00:46.460 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 20 June 2026 15:54:39 -0400 (0:00:06.026) 0:00:52.487 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.702320", "end": "2026-06-20 15:54:40.347449", "rc": 0, "start": "2026-06-20 15:54:39.645129" } 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 20 June 2026 15:54:40 -0400 (0:00:01.071) 0:00:53.558 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 20 June 2026 15:54:40 -0400 (0:00:00.022) 0:00:53.581 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 20 June 2026 15:54:40 -0400 (0:00:00.020) 0:00:53.601 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 20 June 2026 15:54:40 -0400 (0:00:00.019) 0:00:53.621 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target systemd-journald.socket 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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "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": "22088", "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 20 June 2026 15:54:41 -0400 (0:00:01.013) 0:00:54.635 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.019) 0:00:54.654 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.018) 0:00:54.673 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.019) 0:00:54.692 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.019) 0:00:54.711 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.019) 0:00:54.730 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.032) 0:00:54.763 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.019) 0:00:54.782 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.018) 0:00:54.800 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.019) 0:00:54.820 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.043) 0:00:54.864 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.019) 0:00:54.883 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.019) 0:00:54.903 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.019) 0:00:54.922 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.020) 0:00:54.943 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.019) 0:00:54.962 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 20 June 2026 15:54:41 -0400 (0:00:00.018) 0:00:54.980 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 20 June 2026 15:54:42 -0400 (0:00:00.344) 0:00:55.325 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 20 June 2026 15:54:42 -0400 (0:00:00.341) 0:00:55.666 ********* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1781985282.547098-13329-239478499959407/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 20 June 2026 15:54:43 -0400 (0:00:00.700) 0:00:56.367 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 20 June 2026 15:54:43 -0400 (0:00:00.019) 0:00:56.386 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 20 June 2026 15:54:43 -0400 (0:00:00.018) 0:00:56.405 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 20 June 2026 15:54:43 -0400 (0:00:00.344) 0:00:56.749 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 20 June 2026 15:54:43 -0400 (0:00:00.012) 0:00:56.762 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-20 15:54:41 EDT", "ActiveEnterTimestampMonotonic": "394122613", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target network.target basic.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-20 15:54:41 EDT", "AssertTimestampMonotonic": "394075452", "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-06-20 15:54:41 EDT", "ConditionTimestampMonotonic": "394075451", "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": "35682", "ExecMainStartTimestamp": "Sat 2026-06-20 15:54:41 EDT", "ExecMainStartTimestampMonotonic": "394084682", "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-06-20 15:54:41 EDT] ; stop_time=[n/a] ; pid=35682 ; 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-06-20 15:54:41 EDT] ; stop_time=[Sat 2026-06-20 15:54:41 EDT] ; pid=35679 ; 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-06-20 15:54:41 EDT", "InactiveExitTimestampMonotonic": "394076418", "InvocationID": "bfaadc49f34b4eac9182c66124e4cf66", "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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "35682", "MemoryAccounting": "yes", "MemoryCurrent": "16822272", "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-06-20 15:54:41 EDT", "StateChangeTimestampMonotonic": "394122613", "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": "22088", "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-06-20 15:54:41 EDT", "WatchdogTimestampMonotonic": "394122612", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 20 June 2026 15:54:44 -0400 (0:00:00.921) 0:00:57.684 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007607", "end": "2026-06-20 15:54:44.816850", "rc": 0, "start": "2026-06-20 15:54:44.809243" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 20 June 2026 15:54:44 -0400 (0:00:00.342) 0:00:58.026 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007907", "end": "2026-06-20 15:54:45.156036", "rc": 0, "start": "2026-06-20 15:54:45.148129" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 20 June 2026 15:54:45 -0400 (0:00:00.339) 0:00:58.365 ********* ok: [managed-node2] => { "ansible_job_id": "89652820975.36889", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011028", "end": "2026-06-20 15:54:45.727697", "finished": 1, "rc": 0, "start": "2026-06-20 15:54:45.716669" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 20 June 2026 15:55:00 -0400 (0:00:15.753) 0:01:14.119 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009848", "end": "2026-06-20 15:55:01.272129", "rc": 0, "start": "2026-06-20 15:55:01.262281" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 20 June 2026 15:55:01 -0400 (0:00:00.364) 0:01:14.484 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 20 June 2026 15:55:01 -0400 (0:00:00.034) 0:01:14.518 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009545", "end": "2026-06-20 15:55:01.675773", "rc": 0, "start": "2026-06-20 15:55:01.666228" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 20 June 2026 15:55:01 -0400 (0:00:00.369) 0:01:14.887 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 20 June 2026 15:55:01 -0400 (0:00:00.033) 0:01:14.920 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006730", "end": "2026-06-20 15:55:02.060608", "failed_when_result": false, "rc": 0, "start": "2026-06-20 15:55:02.053878" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 20 June 2026 15:55:02 -0400 (0:00:00.354) 0:01:15.275 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 20 June 2026 15:55:02 -0400 (0:00:00.033) 0:01:15.309 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 20 June 2026 15:55:06 -0400 (0:00:04.612) 0:01:19.921 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 20 June 2026 15:55:06 -0400 (0:00:00.019) 0:01:19.940 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 20 June 2026 15:55:07 -0400 (0:00:00.378) 0:01:20.319 ********* [WARNING]: 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-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 20 June 2026 15:55:08 -0400 (0:00:01.354) 0:01:21.673 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007105", "end": "2026-06-20 15:55:08.804153", "rc": 0, "start": "2026-06-20 15:55:08.797048" } STDOUT: -- Logs begin at Sat 2026-06-20 15:48:06 EDT, end at Sat 2026-06-20 15:55:08 EDT. -- Jun 20 15:52:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:22 managed-node2 postmaster[10418]: 2026-06-20 15:52:22.166 EDT [10418] LOG: redirecting log output to logging collector process Jun 20 15:52:22 managed-node2 postmaster[10418]: 2026-06-20 15:52:22.166 EDT [10418] HINT: Future log output will appear in directory "log". Jun 20 15:52:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:30 managed-node2 systemd[1]: postgresql.service: Killing process 10419 (postmaster) with signal SIGKILL. Jun 20 15:52:30 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:30 managed-node2 postmaster[12680]: 2026-06-20 15:52:30.070 EDT [12680] LOG: redirecting log output to logging collector process Jun 20 15:52:30 managed-node2 postmaster[12680]: 2026-06-20 15:52:30.070 EDT [12680] HINT: Future log output will appear in directory "log". Jun 20 15:52:30 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:33 managed-node2 systemd[1]: postgresql.service: Killing process 12682 (postmaster) with signal SIGKILL. Jun 20 15:52:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:05 managed-node2 postmaster[19291]: 2026-06-20 15:53:05.709 EDT [19291] LOG: redirecting log output to logging collector process Jun 20 15:53:05 managed-node2 postmaster[19291]: 2026-06-20 15:53:05.709 EDT [19291] HINT: Future log output will appear in directory "log". Jun 20 15:53:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:11 managed-node2 systemd[1]: postgresql.service: Killing process 19292 (postmaster) with signal SIGKILL. Jun 20 15:53:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:11 managed-node2 postmaster[20831]: 2026-06-20 15:53:11.346 EDT [20831] LOG: redirecting log output to logging collector process Jun 20 15:53:11 managed-node2 postmaster[20831]: 2026-06-20 15:53:11.346 EDT [20831] HINT: Future log output will appear in directory "log". Jun 20 15:53:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:16 managed-node2 systemd[1]: postgresql.service: Killing process 20833 (postmaster) with signal SIGKILL. Jun 20 15:53:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:35 managed-node2 postmaster[25196]: 2026-06-20 15:53:35.422 EDT [25196] LOG: redirecting log output to logging collector process Jun 20 15:53:35 managed-node2 postmaster[25196]: 2026-06-20 15:53:35.422 EDT [25196] HINT: Future log output will appear in directory "log". Jun 20 15:53:35 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:38 managed-node2 systemd[1]: postgresql.service: Killing process 25198 (postmaster) with signal SIGKILL. Jun 20 15:53:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:38 managed-node2 postmaster[25936]: 2026-06-20 15:53:38.495 EDT [25936] LOG: redirecting log output to logging collector process Jun 20 15:53:38 managed-node2 postmaster[25936]: 2026-06-20 15:53:38.495 EDT [25936] HINT: Future log output will appear in directory "log". Jun 20 15:53:38 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:42 managed-node2 systemd[1]: postgresql.service: Killing process 25938 (postmaster) with signal SIGKILL. Jun 20 15:53:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:01 managed-node2 postmaster[30168]: 2026-06-20 15:54:01.364 EDT [30168] LOG: redirecting log output to logging collector process Jun 20 15:54:01 managed-node2 postmaster[30168]: 2026-06-20 15:54:01.364 EDT [30168] HINT: Future log output will appear in directory "log". Jun 20 15:54:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:04 managed-node2 systemd[1]: postgresql.service: Killing process 30169 (postmaster) with signal SIGKILL. Jun 20 15:54:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:04 managed-node2 postmaster[30975]: 2026-06-20 15:54:04.776 EDT [30975] LOG: redirecting log output to logging collector process Jun 20 15:54:04 managed-node2 postmaster[30975]: 2026-06-20 15:54:04.776 EDT [30975] HINT: Future log output will appear in directory "log". Jun 20 15:54:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:26 managed-node2 systemd[1]: postgresql.service: Killing process 30977 (postmaster) with signal SIGKILL. Jun 20 15:54:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.389 EDT [35682] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.389 EDT [35682] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.391 EDT [35682] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.395 EDT [35682] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.405 EDT [35682] LOG: redirecting log output to logging collector process Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.405 EDT [35682] HINT: Future log output will appear in directory "log". Jun 20 15:54:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:44 managed-node2 systemd[1]: postgresql.service: Killing process 35683 (postmaster) with signal SIGKILL. Jun 20 15:54:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.421 EDT [36490] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.421 EDT [36490] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.422 EDT [36490] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.426 EDT [36490] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.454 EDT [36490] LOG: redirecting log output to logging collector process Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.454 EDT [36490] HINT: Future log output will appear in directory "log". Jun 20 15:54:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:05 managed-node2 systemd[1]: postgresql.service: Killing process 36491 (postmaster) with signal SIGKILL. Jun 20 15:55:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 20 June 2026 15:55:08 -0400 (0:00:00.341) 0:01:22.015 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 20 June 2026 15:55:08 -0400 (0:00:00.033) 0:01:22.048 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 20 June 2026 15:55:08 -0400 (0:00:00.013) 0:01:22.062 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 20 June 2026 15:55:08 -0400 (0:00:00.026) 0:01:22.088 ********* included: /tmp/collections-cHu/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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 20 June 2026 15:55:08 -0400 (0:00:00.025) 0:01:22.113 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 20 June 2026 15:55:09 -0400 (0:00:00.660) 0:01:22.774 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 20 June 2026 15:55:09 -0400 (0:00:00.325) 0:01:23.100 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 20 June 2026 15:55:09 -0400 (0:00:00.015) 0:01:23.115 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 20 June 2026 15:55:09 -0400 (0:00:00.015) 0:01:23.130 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 20 June 2026 15:55:09 -0400 (0:00:00.013) 0:01:23.144 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 20 June 2026 15:55:10 -0400 (0:00:00.013) 0:01:23.158 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 20 June 2026 15:55:10 -0400 (0:00:00.013) 0:01:23.172 ********* [WARNING]: 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, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "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-cHu/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-cHu/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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 20 June 2026 15:55:10 -0400 (0:00:00.040) 0:01:23.212 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 20 June 2026 15:55:10 -0400 (0:00:00.327) 0:01:23.539 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 20 June 2026 15:55:10 -0400 (0:00:00.324) 0:01:23.864 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 20 June 2026 15:55:11 -0400 (0:00:00.325) 0:01:24.190 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 20 June 2026 15:55:12 -0400 (0:00:01.390) 0:01:25.580 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.032) 0:01:25.613 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.029) 0:01:25.642 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.087) 0:01:25.729 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 20 June 2026 15:55:12 -0400 (0:00:00.024) 0:01:25.754 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 20 June 2026 15:55:18 -0400 (0:00:05.898) 0:01:31.652 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.734496", "end": "2026-06-20 15:55:19.558526", "rc": 0, "start": "2026-06-20 15:55:18.824030" } 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 20 June 2026 15:55:19 -0400 (0:00:01.117) 0:01:32.770 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 20 June 2026 15:55:19 -0400 (0:00:00.023) 0:01:32.794 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 20 June 2026 15:55:19 -0400 (0:00:00.021) 0:01:32.815 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 20 June 2026 15:55:19 -0400 (0:00:00.023) 0:01:32.839 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice systemd-journald.socket 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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "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": "22088", "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 20 June 2026 15:55:20 -0400 (0:00:01.017) 0:01:33.856 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.019) 0:01:33.876 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.018) 0:01:33.894 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.018) 0:01:33.913 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.020) 0:01:33.933 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.018) 0:01:33.951 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.031) 0:01:33.983 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.018) 0:01:34.001 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.018) 0:01:34.020 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.018) 0:01:34.038 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.019) 0:01:34.058 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.042) 0:01:34.100 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.019) 0:01:34.120 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.019) 0:01:34.139 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 20 June 2026 15:55:20 -0400 (0:00:00.018) 0:01:34.157 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 20 June 2026 15:55:21 -0400 (0:00:00.019) 0:01:34.177 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 20 June 2026 15:55:21 -0400 (0:00:00.019) 0:01:34.197 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 20 June 2026 15:55:21 -0400 (0:00:00.347) 0:01:34.544 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 20 June 2026 15:55:21 -0400 (0:00:00.343) 0:01:34.888 ********* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1781985321.7689345-13796-244999511135522/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 20 June 2026 15:55:22 -0400 (0:00:00.684) 0:01:35.573 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 20 June 2026 15:55:22 -0400 (0:00:00.019) 0:01:35.592 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 20 June 2026 15:55:22 -0400 (0:00:00.018) 0:01:35.611 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 20 June 2026 15:55:22 -0400 (0:00:00.338) 0:01:35.949 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 20 June 2026 15:55:22 -0400 (0:00:00.012) 0:01:35.962 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-20 15:55:20 EDT", "ActiveEnterTimestampMonotonic": "433343446", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target network.target systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-20 15:55:20 EDT", "AssertTimestampMonotonic": "433292931", "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-06-20 15:55:20 EDT", "ConditionTimestampMonotonic": "433292931", "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": "41224", "ExecMainStartTimestamp": "Sat 2026-06-20 15:55:20 EDT", "ExecMainStartTimestampMonotonic": "433302251", "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-06-20 15:55:20 EDT] ; stop_time=[n/a] ; pid=41224 ; 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-06-20 15:55:20 EDT] ; stop_time=[Sat 2026-06-20 15:55:20 EDT] ; pid=41221 ; 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-06-20 15:55:20 EDT", "InactiveExitTimestampMonotonic": "433293870", "InvocationID": "c0e8a5dd9f5048a6b5dfb4a598c2092f", "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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "41224", "MemoryAccounting": "yes", "MemoryCurrent": "17854464", "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-06-20 15:55:20 EDT", "StateChangeTimestampMonotonic": "433343446", "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": "22088", "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-06-20 15:55:20 EDT", "WatchdogTimestampMonotonic": "433343445", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 20 June 2026 15:55:23 -0400 (0:00:00.918) 0:01:36.881 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008033", "end": "2026-06-20 15:55:24.012558", "rc": 0, "start": "2026-06-20 15:55:24.004525" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 20 June 2026 15:55:24 -0400 (0:00:00.341) 0:01:37.222 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.007920", "end": "2026-06-20 15:55:24.352488", "rc": 0, "start": "2026-06-20 15:55:24.344568" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 20 June 2026 15:55:24 -0400 (0:00:00.338) 0:01:37.561 ********* ok: [managed-node2] => { "ansible_job_id": "26777069492.42431", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011434", "end": "2026-06-20 15:55:24.916806", "finished": 1, "rc": 0, "start": "2026-06-20 15:55:24.905372" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 20 June 2026 15:55:40 -0400 (0:00:15.751) 0:01:53.312 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009424", "end": "2026-06-20 15:55:40.460127", "rc": 0, "start": "2026-06-20 15:55:40.450703" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 20 June 2026 15:55:40 -0400 (0:00:00.358) 0:01:53.671 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 20 June 2026 15:55:40 -0400 (0:00:00.032) 0:01:53.703 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009307", "end": "2026-06-20 15:55:40.850419", "rc": 0, "start": "2026-06-20 15:55:40.841112" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 20 June 2026 15:55:40 -0400 (0:00:00.357) 0:01:54.061 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 20 June 2026 15:55:40 -0400 (0:00:00.033) 0:01:54.094 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008809", "end": "2026-06-20 15:55:41.229373", "failed_when_result": false, "rc": 0, "start": "2026-06-20 15:55:41.220564" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 20 June 2026 15:55:41 -0400 (0:00:00.349) 0:01:54.443 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 20 June 2026 15:55:41 -0400 (0:00:00.033) 0:01:54.476 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 20 June 2026 15:55:45 -0400 (0:00:04.606) 0:01:59.083 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 20 June 2026 15:55:45 -0400 (0:00:00.019) 0:01:59.102 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 20 June 2026 15:55:46 -0400 (0:00:00.374) 0:01:59.476 ********* [WARNING]: 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-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 20 June 2026 15:55:47 -0400 (0:00:01.312) 0:02:00.789 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007361", "end": "2026-06-20 15:55:47.916819", "rc": 0, "start": "2026-06-20 15:55:47.909458" } STDOUT: -- Logs begin at Sat 2026-06-20 15:48:06 EDT, end at Sat 2026-06-20 15:55:47 EDT. -- Jun 20 15:52:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:22 managed-node2 postmaster[10418]: 2026-06-20 15:52:22.166 EDT [10418] LOG: redirecting log output to logging collector process Jun 20 15:52:22 managed-node2 postmaster[10418]: 2026-06-20 15:52:22.166 EDT [10418] HINT: Future log output will appear in directory "log". Jun 20 15:52:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:30 managed-node2 systemd[1]: postgresql.service: Killing process 10419 (postmaster) with signal SIGKILL. Jun 20 15:52:30 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:30 managed-node2 postmaster[12680]: 2026-06-20 15:52:30.070 EDT [12680] LOG: redirecting log output to logging collector process Jun 20 15:52:30 managed-node2 postmaster[12680]: 2026-06-20 15:52:30.070 EDT [12680] HINT: Future log output will appear in directory "log". Jun 20 15:52:30 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:33 managed-node2 systemd[1]: postgresql.service: Killing process 12682 (postmaster) with signal SIGKILL. Jun 20 15:52:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:05 managed-node2 postmaster[19291]: 2026-06-20 15:53:05.709 EDT [19291] LOG: redirecting log output to logging collector process Jun 20 15:53:05 managed-node2 postmaster[19291]: 2026-06-20 15:53:05.709 EDT [19291] HINT: Future log output will appear in directory "log". Jun 20 15:53:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:11 managed-node2 systemd[1]: postgresql.service: Killing process 19292 (postmaster) with signal SIGKILL. Jun 20 15:53:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:11 managed-node2 postmaster[20831]: 2026-06-20 15:53:11.346 EDT [20831] LOG: redirecting log output to logging collector process Jun 20 15:53:11 managed-node2 postmaster[20831]: 2026-06-20 15:53:11.346 EDT [20831] HINT: Future log output will appear in directory "log". Jun 20 15:53:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:16 managed-node2 systemd[1]: postgresql.service: Killing process 20833 (postmaster) with signal SIGKILL. Jun 20 15:53:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:35 managed-node2 postmaster[25196]: 2026-06-20 15:53:35.422 EDT [25196] LOG: redirecting log output to logging collector process Jun 20 15:53:35 managed-node2 postmaster[25196]: 2026-06-20 15:53:35.422 EDT [25196] HINT: Future log output will appear in directory "log". Jun 20 15:53:35 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:38 managed-node2 systemd[1]: postgresql.service: Killing process 25198 (postmaster) with signal SIGKILL. Jun 20 15:53:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:38 managed-node2 postmaster[25936]: 2026-06-20 15:53:38.495 EDT [25936] LOG: redirecting log output to logging collector process Jun 20 15:53:38 managed-node2 postmaster[25936]: 2026-06-20 15:53:38.495 EDT [25936] HINT: Future log output will appear in directory "log". Jun 20 15:53:38 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:42 managed-node2 systemd[1]: postgresql.service: Killing process 25938 (postmaster) with signal SIGKILL. Jun 20 15:53:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:01 managed-node2 postmaster[30168]: 2026-06-20 15:54:01.364 EDT [30168] LOG: redirecting log output to logging collector process Jun 20 15:54:01 managed-node2 postmaster[30168]: 2026-06-20 15:54:01.364 EDT [30168] HINT: Future log output will appear in directory "log". Jun 20 15:54:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:04 managed-node2 systemd[1]: postgresql.service: Killing process 30169 (postmaster) with signal SIGKILL. Jun 20 15:54:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:04 managed-node2 postmaster[30975]: 2026-06-20 15:54:04.776 EDT [30975] LOG: redirecting log output to logging collector process Jun 20 15:54:04 managed-node2 postmaster[30975]: 2026-06-20 15:54:04.776 EDT [30975] HINT: Future log output will appear in directory "log". Jun 20 15:54:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:26 managed-node2 systemd[1]: postgresql.service: Killing process 30977 (postmaster) with signal SIGKILL. Jun 20 15:54:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.389 EDT [35682] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.389 EDT [35682] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.391 EDT [35682] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.395 EDT [35682] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.405 EDT [35682] LOG: redirecting log output to logging collector process Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.405 EDT [35682] HINT: Future log output will appear in directory "log". Jun 20 15:54:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:44 managed-node2 systemd[1]: postgresql.service: Killing process 35683 (postmaster) with signal SIGKILL. Jun 20 15:54:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.421 EDT [36490] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.421 EDT [36490] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.422 EDT [36490] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.426 EDT [36490] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.454 EDT [36490] LOG: redirecting log output to logging collector process Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.454 EDT [36490] HINT: Future log output will appear in directory "log". Jun 20 15:54:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:05 managed-node2 systemd[1]: postgresql.service: Killing process 36491 (postmaster) with signal SIGKILL. Jun 20 15:55:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.608 EDT [41224] 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 Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.609 EDT [41224] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.609 EDT [41224] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.611 EDT [41224] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.615 EDT [41224] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.625 EDT [41224] LOG: redirecting log output to logging collector process Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.625 EDT [41224] HINT: Future log output will appear in directory "log". Jun 20 15:55:20 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:23 managed-node2 systemd[1]: postgresql.service: Killing process 41225 (postmaster) with signal SIGKILL. Jun 20 15:55:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.616 EDT [42031] 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 Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.616 EDT [42031] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.616 EDT [42031] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.618 EDT [42031] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.621 EDT [42031] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.650 EDT [42031] LOG: redirecting log output to logging collector process Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.650 EDT [42031] HINT: Future log output will appear in directory "log". Jun 20 15:55:23 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:45 managed-node2 systemd[1]: postgresql.service: Killing process 42033 (postmaster) with signal SIGKILL. Jun 20 15:55:45 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 20 June 2026 15:55:47 -0400 (0:00:00.344) 0:02:01.133 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 20 June 2026 15:55:48 -0400 (0:00:00.032) 0:02:01.166 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 20 June 2026 15:55:48 -0400 (0:00:00.013) 0:02:01.179 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 20 June 2026 15:55:48 -0400 (0:00:00.026) 0:02:01.205 ********* included: /tmp/collections-cHu/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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 20 June 2026 15:55:48 -0400 (0:00:00.025) 0:02:01.231 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 20 June 2026 15:55:48 -0400 (0:00:00.661) 0:02:01.892 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 20 June 2026 15:55:49 -0400 (0:00:00.326) 0:02:02.219 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 20 June 2026 15:55:49 -0400 (0:00:00.014) 0:02:02.233 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 20 June 2026 15:55:49 -0400 (0:00:00.014) 0:02:02.248 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 20 June 2026 15:55:49 -0400 (0:00:00.014) 0:02:02.262 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 20 June 2026 15:55:49 -0400 (0:00:00.014) 0:02:02.277 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 20 June 2026 15:55:49 -0400 (0:00:00.013) 0:02:02.291 ********* [WARNING]: 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, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "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-cHu/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-cHu/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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 20 June 2026 15:55:49 -0400 (0:00:00.041) 0:02:02.333 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 20 June 2026 15:55:49 -0400 (0:00:00.332) 0:02:02.665 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 20 June 2026 15:55:49 -0400 (0:00:00.330) 0:02:02.996 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 20 June 2026 15:55:50 -0400 (0:00:00.331) 0:02:03.327 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 20 June 2026 15:55:51 -0400 (0:00:01.359) 0:02:04.686 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 20 June 2026 15:55:51 -0400 (0:00:00.034) 0:02:04.721 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 20 June 2026 15:55:51 -0400 (0:00:00.029) 0:02:04.750 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 20 June 2026 15:55:51 -0400 (0:00:00.029) 0:02:04.779 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 20 June 2026 15:55:51 -0400 (0:00:00.023) 0:02:04.803 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 20 June 2026 15:55:57 -0400 (0:00:06.055) 0:02:10.859 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.729762", "end": "2026-06-20 15:55:58.746991", "rc": 0, "start": "2026-06-20 15:55:58.017229" } 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 20 June 2026 15:55:58 -0400 (0:00:01.099) 0:02:11.958 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 20 June 2026 15:55:58 -0400 (0:00:00.023) 0:02:11.981 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 20 June 2026 15:55:58 -0400 (0:00:00.020) 0:02:12.001 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 20 June 2026 15:55:58 -0400 (0:00:00.020) 0:02:12.022 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target network.target systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "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": "22088", "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 20 June 2026 15:55:59 -0400 (0:00:01.013) 0:02:13.035 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 20 June 2026 15:55:59 -0400 (0:00:00.019) 0:02:13.055 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 20 June 2026 15:55:59 -0400 (0:00:00.019) 0:02:13.075 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 20 June 2026 15:55:59 -0400 (0:00:00.018) 0:02:13.093 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 20 June 2026 15:55:59 -0400 (0:00:00.018) 0:02:13.112 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 20 June 2026 15:55:59 -0400 (0:00:00.018) 0:02:13.130 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.032) 0:02:13.163 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.021) 0:02:13.184 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.021) 0:02:13.205 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.019) 0:02:13.225 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.018) 0:02:13.244 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.018) 0:02:13.262 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.019) 0:02:13.282 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.043) 0:02:13.326 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.019) 0:02:13.346 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.019) 0:02:13.365 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.019) 0:02:13.384 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.343) 0:02:13.728 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 20 June 2026 15:56:00 -0400 (0:00:00.341) 0:02:14.070 ********* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1781985360.9506483-14263-73138517252616/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 20 June 2026 15:56:01 -0400 (0:00:00.692) 0:02:14.762 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 20 June 2026 15:56:01 -0400 (0:00:00.019) 0:02:14.781 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 20 June 2026 15:56:01 -0400 (0:00:00.019) 0:02:14.800 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 20 June 2026 15:56:01 -0400 (0:00:00.348) 0:02:15.149 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 20 June 2026 15:56:02 -0400 (0:00:00.013) 0:02:15.162 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-20 15:55:59 EDT", "ActiveEnterTimestampMonotonic": "472522535", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target network.target systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-20 15:55:59 EDT", "AssertTimestampMonotonic": "472471133", "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-06-20 15:55:59 EDT", "ConditionTimestampMonotonic": "472471133", "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": "46777", "ExecMainStartTimestamp": "Sat 2026-06-20 15:55:59 EDT", "ExecMainStartTimestampMonotonic": "472480761", "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-06-20 15:55:59 EDT] ; stop_time=[n/a] ; pid=46777 ; 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-06-20 15:55:59 EDT] ; stop_time=[Sat 2026-06-20 15:55:59 EDT] ; pid=46774 ; 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-06-20 15:55:59 EDT", "InactiveExitTimestampMonotonic": "472472135", "InvocationID": "a56663b258fb48778b931117f80f5342", "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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "46777", "MemoryAccounting": "yes", "MemoryCurrent": "18472960", "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-06-20 15:55:59 EDT", "StateChangeTimestampMonotonic": "472522535", "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": "22088", "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-06-20 15:55:59 EDT", "WatchdogTimestampMonotonic": "472522533", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 20 June 2026 15:56:02 -0400 (0:00:00.931) 0:02:16.094 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007778", "end": "2026-06-20 15:56:03.230292", "rc": 0, "start": "2026-06-20 15:56:03.222514" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 20 June 2026 15:56:03 -0400 (0:00:00.346) 0:02:16.440 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008025", "end": "2026-06-20 15:56:03.572077", "rc": 0, "start": "2026-06-20 15:56:03.564052" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 20 June 2026 15:56:03 -0400 (0:00:00.341) 0:02:16.782 ********* ok: [managed-node2] => { "ansible_job_id": "293323168008.47982", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012254", "end": "2026-06-20 15:56:04.153327", "finished": 1, "rc": 0, "start": "2026-06-20 15:56:04.141073" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 20 June 2026 15:56:19 -0400 (0:00:15.746) 0:02:32.529 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009365", "end": "2026-06-20 15:56:19.681654", "rc": 0, "start": "2026-06-20 15:56:19.672289" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 20 June 2026 15:56:19 -0400 (0:00:00.365) 0:02:32.894 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 20 June 2026 15:56:19 -0400 (0:00:00.033) 0:02:32.928 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009358", "end": "2026-06-20 15:56:20.084102", "rc": 0, "start": "2026-06-20 15:56:20.074744" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 20 June 2026 15:56:20 -0400 (0:00:00.366) 0:02:33.294 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 20 June 2026 15:56:20 -0400 (0:00:00.032) 0:02:33.327 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008866", "end": "2026-06-20 15:56:20.460871", "failed_when_result": false, "rc": 0, "start": "2026-06-20 15:56:20.452005" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 20 June 2026 15:56:20 -0400 (0:00:00.349) 0:02:33.676 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 20 June 2026 15:56:20 -0400 (0:00:00.033) 0:02:33.710 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 20 June 2026 15:56:25 -0400 (0:00:04.620) 0:02:38.331 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 20 June 2026 15:56:25 -0400 (0:00:00.019) 0:02:38.350 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 20 June 2026 15:56:25 -0400 (0:00:00.384) 0:02:38.735 ********* [WARNING]: 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-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 20 June 2026 15:56:26 -0400 (0:00:01.329) 0:02:40.064 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007663", "end": "2026-06-20 15:56:27.192029", "rc": 0, "start": "2026-06-20 15:56:27.184366" } STDOUT: -- Logs begin at Sat 2026-06-20 15:48:06 EDT, end at Sat 2026-06-20 15:56:27 EDT. -- Jun 20 15:52:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:22 managed-node2 postmaster[10418]: 2026-06-20 15:52:22.166 EDT [10418] LOG: redirecting log output to logging collector process Jun 20 15:52:22 managed-node2 postmaster[10418]: 2026-06-20 15:52:22.166 EDT [10418] HINT: Future log output will appear in directory "log". Jun 20 15:52:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:30 managed-node2 systemd[1]: postgresql.service: Killing process 10419 (postmaster) with signal SIGKILL. Jun 20 15:52:30 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:30 managed-node2 postmaster[12680]: 2026-06-20 15:52:30.070 EDT [12680] LOG: redirecting log output to logging collector process Jun 20 15:52:30 managed-node2 postmaster[12680]: 2026-06-20 15:52:30.070 EDT [12680] HINT: Future log output will appear in directory "log". Jun 20 15:52:30 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:33 managed-node2 systemd[1]: postgresql.service: Killing process 12682 (postmaster) with signal SIGKILL. Jun 20 15:52:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:05 managed-node2 postmaster[19291]: 2026-06-20 15:53:05.709 EDT [19291] LOG: redirecting log output to logging collector process Jun 20 15:53:05 managed-node2 postmaster[19291]: 2026-06-20 15:53:05.709 EDT [19291] HINT: Future log output will appear in directory "log". Jun 20 15:53:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:11 managed-node2 systemd[1]: postgresql.service: Killing process 19292 (postmaster) with signal SIGKILL. Jun 20 15:53:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:11 managed-node2 postmaster[20831]: 2026-06-20 15:53:11.346 EDT [20831] LOG: redirecting log output to logging collector process Jun 20 15:53:11 managed-node2 postmaster[20831]: 2026-06-20 15:53:11.346 EDT [20831] HINT: Future log output will appear in directory "log". Jun 20 15:53:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:16 managed-node2 systemd[1]: postgresql.service: Killing process 20833 (postmaster) with signal SIGKILL. Jun 20 15:53:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:35 managed-node2 postmaster[25196]: 2026-06-20 15:53:35.422 EDT [25196] LOG: redirecting log output to logging collector process Jun 20 15:53:35 managed-node2 postmaster[25196]: 2026-06-20 15:53:35.422 EDT [25196] HINT: Future log output will appear in directory "log". Jun 20 15:53:35 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:38 managed-node2 systemd[1]: postgresql.service: Killing process 25198 (postmaster) with signal SIGKILL. Jun 20 15:53:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:38 managed-node2 postmaster[25936]: 2026-06-20 15:53:38.495 EDT [25936] LOG: redirecting log output to logging collector process Jun 20 15:53:38 managed-node2 postmaster[25936]: 2026-06-20 15:53:38.495 EDT [25936] HINT: Future log output will appear in directory "log". Jun 20 15:53:38 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:42 managed-node2 systemd[1]: postgresql.service: Killing process 25938 (postmaster) with signal SIGKILL. Jun 20 15:53:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:01 managed-node2 postmaster[30168]: 2026-06-20 15:54:01.364 EDT [30168] LOG: redirecting log output to logging collector process Jun 20 15:54:01 managed-node2 postmaster[30168]: 2026-06-20 15:54:01.364 EDT [30168] HINT: Future log output will appear in directory "log". Jun 20 15:54:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:04 managed-node2 systemd[1]: postgresql.service: Killing process 30169 (postmaster) with signal SIGKILL. Jun 20 15:54:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:04 managed-node2 postmaster[30975]: 2026-06-20 15:54:04.776 EDT [30975] LOG: redirecting log output to logging collector process Jun 20 15:54:04 managed-node2 postmaster[30975]: 2026-06-20 15:54:04.776 EDT [30975] HINT: Future log output will appear in directory "log". Jun 20 15:54:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:26 managed-node2 systemd[1]: postgresql.service: Killing process 30977 (postmaster) with signal SIGKILL. Jun 20 15:54:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.389 EDT [35682] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.389 EDT [35682] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.391 EDT [35682] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.395 EDT [35682] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.405 EDT [35682] LOG: redirecting log output to logging collector process Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.405 EDT [35682] HINT: Future log output will appear in directory "log". Jun 20 15:54:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:44 managed-node2 systemd[1]: postgresql.service: Killing process 35683 (postmaster) with signal SIGKILL. Jun 20 15:54:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.421 EDT [36490] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.421 EDT [36490] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.422 EDT [36490] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.426 EDT [36490] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.454 EDT [36490] LOG: redirecting log output to logging collector process Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.454 EDT [36490] HINT: Future log output will appear in directory "log". Jun 20 15:54:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:05 managed-node2 systemd[1]: postgresql.service: Killing process 36491 (postmaster) with signal SIGKILL. Jun 20 15:55:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.608 EDT [41224] 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 Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.609 EDT [41224] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.609 EDT [41224] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.611 EDT [41224] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.615 EDT [41224] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.625 EDT [41224] LOG: redirecting log output to logging collector process Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.625 EDT [41224] HINT: Future log output will appear in directory "log". Jun 20 15:55:20 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:23 managed-node2 systemd[1]: postgresql.service: Killing process 41225 (postmaster) with signal SIGKILL. Jun 20 15:55:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.616 EDT [42031] 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 Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.616 EDT [42031] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.616 EDT [42031] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.618 EDT [42031] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.621 EDT [42031] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.650 EDT [42031] LOG: redirecting log output to logging collector process Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.650 EDT [42031] HINT: Future log output will appear in directory "log". Jun 20 15:55:23 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:45 managed-node2 systemd[1]: postgresql.service: Killing process 42033 (postmaster) with signal SIGKILL. Jun 20 15:55:45 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:59 managed-node2 postmaster[46777]: 2026-06-20 15:55:59.797 EDT [46777] LOG: redirecting log output to logging collector process Jun 20 15:55:59 managed-node2 postmaster[46777]: 2026-06-20 15:55:59.797 EDT [46777] HINT: Future log output will appear in directory "log". Jun 20 15:55:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:56:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:56:02 managed-node2 systemd[1]: postgresql.service: Killing process 46778 (postmaster) with signal SIGKILL. Jun 20 15:56:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:56:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:56:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:56:02 managed-node2 postmaster[47584]: 2026-06-20 15:56:02.855 EDT [47584] LOG: redirecting log output to logging collector process Jun 20 15:56:02 managed-node2 postmaster[47584]: 2026-06-20 15:56:02.855 EDT [47584] HINT: Future log output will appear in directory "log". Jun 20 15:56:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:56:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:56:24 managed-node2 systemd[1]: postgresql.service: Killing process 47585 (postmaster) with signal SIGKILL. Jun 20 15:56:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:56:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 20 June 2026 15:56:27 -0400 (0:00:00.338) 0:02:40.403 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 20 June 2026 15:56:27 -0400 (0:00:00.032) 0:02:40.436 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 20 June 2026 15:56:27 -0400 (0:00:00.013) 0:02:40.449 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 20 June 2026 15:56:27 -0400 (0:00:00.052) 0:02:40.502 ********* included: /tmp/collections-cHu/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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 20 June 2026 15:56:27 -0400 (0:00:00.026) 0:02:40.529 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 20 June 2026 15:56:28 -0400 (0:00:00.666) 0:02:41.195 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 20 June 2026 15:56:28 -0400 (0:00:00.331) 0:02:41.527 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 20 June 2026 15:56:28 -0400 (0:00:00.014) 0:02:41.541 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 20 June 2026 15:56:28 -0400 (0:00:00.013) 0:02:41.555 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 20 June 2026 15:56:28 -0400 (0:00:00.013) 0:02:41.569 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 20 June 2026 15:56:28 -0400 (0:00:00.013) 0:02:41.582 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 20 June 2026 15:56:28 -0400 (0:00:00.012) 0:02:41.595 ********* [WARNING]: 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, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "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-cHu/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-cHu/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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 20 June 2026 15:56:28 -0400 (0:00:00.040) 0:02:41.635 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 20 June 2026 15:56:28 -0400 (0:00:00.332) 0:02:41.967 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 20 June 2026 15:56:29 -0400 (0:00:00.328) 0:02:42.295 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 20 June 2026 15:56:29 -0400 (0:00:00.333) 0:02:42.629 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 20 June 2026 15:56:30 -0400 (0:00:01.366) 0:02:43.995 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 20 June 2026 15:56:30 -0400 (0:00:00.033) 0:02:44.029 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 20 June 2026 15:56:30 -0400 (0:00:00.028) 0:02:44.057 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 20 June 2026 15:56:30 -0400 (0:00:00.030) 0:02:44.088 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 20 June 2026 15:56:30 -0400 (0:00:00.024) 0:02:44.112 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 20 June 2026 15:56:37 -0400 (0:00:06.277) 0:02:50.390 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.720831", "end": "2026-06-20 15:56:38.286958", "rc": 0, "start": "2026-06-20 15:56:37.566127" } 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 20 June 2026 15:56:38 -0400 (0:00:01.108) 0:02:51.498 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 20 June 2026 15:56:38 -0400 (0:00:00.022) 0:02:51.521 ********* skipping: [managed-node2] => { "changed": false, "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 20 June 2026 15:56:38 -0400 (0:00:00.020) 0:02:51.541 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 20 June 2026 15:56:38 -0400 (0:00:00.019) 0:02:51.561 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target system.slice network-online.target sysinit.target 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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "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": "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]", "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": "22088", "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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 20 June 2026 15:56:39 -0400 (0:00:01.018) 0:02:52.580 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.019) 0:02:52.599 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.018) 0:02:52.617 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.019) 0:02:52.636 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.018) 0:02:52.654 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.018) 0:02:52.672 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.031) 0:02:52.704 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.018) 0:02:52.723 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.018) 0:02:52.741 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.019) 0:02:52.760 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.018) 0:02:52.779 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.018) 0:02:52.797 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.018) 0:02:52.815 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.019) 0:02:52.835 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.018) 0:02:52.853 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.018) 0:02:52.872 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 20 June 2026 15:56:39 -0400 (0:00:00.018) 0:02:52.891 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 20 June 2026 15:56:40 -0400 (0:00:00.348) 0:02:53.239 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 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-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 20 June 2026 15:56:40 -0400 (0:00:00.348) 0:02:53.588 ********* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1781985400.4698086-14730-236697131228367/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 20 June 2026 15:56:41 -0400 (0:00:00.698) 0:02:54.287 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 20 June 2026 15:56:41 -0400 (0:00:00.019) 0:02:54.306 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 20 June 2026 15:56:41 -0400 (0:00:00.019) 0:02:54.326 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 20 June 2026 15:56:41 -0400 (0:00:00.345) 0:02:54.671 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 20 June 2026 15:56:41 -0400 (0:00:00.012) 0:02:54.684 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-20 15:56:39 EDT", "ActiveEnterTimestampMonotonic": "512066122", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target systemd-journald.socket basic.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-20 15:56:39 EDT", "AssertTimestampMonotonic": "512014547", "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-06-20 15:56:39 EDT", "ConditionTimestampMonotonic": "512014546", "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": "52324", "ExecMainStartTimestamp": "Sat 2026-06-20 15:56:39 EDT", "ExecMainStartTimestampMonotonic": "512024456", "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-06-20 15:56:39 EDT] ; stop_time=[n/a] ; pid=52324 ; 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-06-20 15:56:39 EDT] ; stop_time=[Sat 2026-06-20 15:56:39 EDT] ; pid=52321 ; 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-06-20 15:56:39 EDT", "InactiveExitTimestampMonotonic": "512015589", "InvocationID": "1420487d327e432ca9acc58daa9248c1", "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": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "52324", "MemoryAccounting": "yes", "MemoryCurrent": "18710528", "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-06-20 15:56:39 EDT", "StateChangeTimestampMonotonic": "512066122", "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": "22088", "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-06-20 15:56:39 EDT", "WatchdogTimestampMonotonic": "512066120", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 20 June 2026 15:56:42 -0400 (0:00:00.923) 0:02:55.608 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008139", "end": "2026-06-20 15:56:42.745699", "rc": 0, "start": "2026-06-20 15:56:42.737560" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 20 June 2026 15:56:42 -0400 (0:00:00.351) 0:02:55.959 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008341", "end": "2026-06-20 15:56:43.101010", "rc": 0, "start": "2026-06-20 15:56:43.092669" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 20 June 2026 15:56:43 -0400 (0:00:00.353) 0:02:56.313 ********* ok: [managed-node2] => { "ansible_job_id": "215641333798.53529", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012177", "end": "2026-06-20 15:56:43.688842", "finished": 1, "rc": 0, "start": "2026-06-20 15:56:43.676665" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 20 June 2026 15:56:58 -0400 (0:00:15.761) 0:03:12.074 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009374", "end": "2026-06-20 15:56:59.232116", "rc": 0, "start": "2026-06-20 15:56:59.222742" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 20 June 2026 15:56:59 -0400 (0:00:00.367) 0:03:12.442 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 20 June 2026 15:56:59 -0400 (0:00:00.033) 0:03:12.475 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009214", "end": "2026-06-20 15:56:59.626546", "rc": 0, "start": "2026-06-20 15:56:59.617332" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 20 June 2026 15:56:59 -0400 (0:00:00.362) 0:03:12.838 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 20 June 2026 15:56:59 -0400 (0:00:00.032) 0:03:12.871 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009240", "end": "2026-06-20 15:57:00.009051", "failed_when_result": false, "rc": 0, "start": "2026-06-20 15:56:59.999811" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 20 June 2026 15:57:00 -0400 (0:00:00.353) 0:03:13.224 ********* included: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 META: ran handlers TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 20 June 2026 15:57:00 -0400 (0:00:00.033) 0:03:13.258 ********* 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-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 20 June 2026 15:57:04 -0400 (0:00:04.629) 0:03:17.888 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 20 June 2026 15:57:04 -0400 (0:00:00.019) 0:03:17.907 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 20 June 2026 15:57:05 -0400 (0:00:00.389) 0:03:18.297 ********* [WARNING]: 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-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 20 June 2026 15:57:06 -0400 (0:00:01.322) 0:03:19.620 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007843", "end": "2026-06-20 15:57:06.753176", "rc": 0, "start": "2026-06-20 15:57:06.745333" } STDOUT: -- Logs begin at Sat 2026-06-20 15:48:06 EDT, end at Sat 2026-06-20 15:57:06 EDT. -- Jun 20 15:52:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:22 managed-node2 postmaster[10418]: 2026-06-20 15:52:22.166 EDT [10418] LOG: redirecting log output to logging collector process Jun 20 15:52:22 managed-node2 postmaster[10418]: 2026-06-20 15:52:22.166 EDT [10418] HINT: Future log output will appear in directory "log". Jun 20 15:52:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:30 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:30 managed-node2 systemd[1]: postgresql.service: Killing process 10419 (postmaster) with signal SIGKILL. Jun 20 15:52:30 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:30 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:52:30 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:52:30 managed-node2 postmaster[12680]: 2026-06-20 15:52:30.070 EDT [12680] LOG: redirecting log output to logging collector process Jun 20 15:52:30 managed-node2 postmaster[12680]: 2026-06-20 15:52:30.070 EDT [12680] HINT: Future log output will appear in directory "log". Jun 20 15:52:30 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:52:33 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:52:33 managed-node2 systemd[1]: postgresql.service: Killing process 12682 (postmaster) with signal SIGKILL. Jun 20 15:52:33 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:52:33 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:05 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:05 managed-node2 postmaster[19291]: 2026-06-20 15:53:05.709 EDT [19291] LOG: redirecting log output to logging collector process Jun 20 15:53:05 managed-node2 postmaster[19291]: 2026-06-20 15:53:05.709 EDT [19291] HINT: Future log output will appear in directory "log". Jun 20 15:53:05 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:11 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:11 managed-node2 systemd[1]: postgresql.service: Killing process 19292 (postmaster) with signal SIGKILL. Jun 20 15:53:11 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:11 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:11 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:11 managed-node2 postmaster[20831]: 2026-06-20 15:53:11.346 EDT [20831] LOG: redirecting log output to logging collector process Jun 20 15:53:11 managed-node2 postmaster[20831]: 2026-06-20 15:53:11.346 EDT [20831] HINT: Future log output will appear in directory "log". Jun 20 15:53:11 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:16 managed-node2 systemd[1]: postgresql.service: Killing process 20833 (postmaster) with signal SIGKILL. Jun 20 15:53:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:35 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:35 managed-node2 postmaster[25196]: 2026-06-20 15:53:35.422 EDT [25196] LOG: redirecting log output to logging collector process Jun 20 15:53:35 managed-node2 postmaster[25196]: 2026-06-20 15:53:35.422 EDT [25196] HINT: Future log output will appear in directory "log". Jun 20 15:53:35 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:38 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:38 managed-node2 systemd[1]: postgresql.service: Killing process 25198 (postmaster) with signal SIGKILL. Jun 20 15:53:38 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:38 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:53:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:53:38 managed-node2 postmaster[25936]: 2026-06-20 15:53:38.495 EDT [25936] LOG: redirecting log output to logging collector process Jun 20 15:53:38 managed-node2 postmaster[25936]: 2026-06-20 15:53:38.495 EDT [25936] HINT: Future log output will appear in directory "log". Jun 20 15:53:38 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:53:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:53:42 managed-node2 systemd[1]: postgresql.service: Killing process 25938 (postmaster) with signal SIGKILL. Jun 20 15:53:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:53:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:01 managed-node2 postmaster[30168]: 2026-06-20 15:54:01.364 EDT [30168] LOG: redirecting log output to logging collector process Jun 20 15:54:01 managed-node2 postmaster[30168]: 2026-06-20 15:54:01.364 EDT [30168] HINT: Future log output will appear in directory "log". Jun 20 15:54:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:04 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:04 managed-node2 systemd[1]: postgresql.service: Killing process 30169 (postmaster) with signal SIGKILL. Jun 20 15:54:04 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:04 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:04 managed-node2 postmaster[30975]: 2026-06-20 15:54:04.776 EDT [30975] LOG: redirecting log output to logging collector process Jun 20 15:54:04 managed-node2 postmaster[30975]: 2026-06-20 15:54:04.776 EDT [30975] HINT: Future log output will appear in directory "log". Jun 20 15:54:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:26 managed-node2 systemd[1]: postgresql.service: Killing process 30977 (postmaster) with signal SIGKILL. Jun 20 15:54:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.389 EDT [35682] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.389 EDT [35682] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.391 EDT [35682] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.395 EDT [35682] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.405 EDT [35682] LOG: redirecting log output to logging collector process Jun 20 15:54:41 managed-node2 postmaster[35682]: 2026-06-20 15:54:41.405 EDT [35682] HINT: Future log output will appear in directory "log". Jun 20 15:54:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:54:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:54:44 managed-node2 systemd[1]: postgresql.service: Killing process 35683 (postmaster) with signal SIGKILL. Jun 20 15:54:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:54:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:54:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.421 EDT [36490] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.421 EDT [36490] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.422 EDT [36490] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.426 EDT [36490] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.454 EDT [36490] LOG: redirecting log output to logging collector process Jun 20 15:54:44 managed-node2 postmaster[36490]: 2026-06-20 15:54:44.454 EDT [36490] HINT: Future log output will appear in directory "log". Jun 20 15:54:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:05 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:05 managed-node2 systemd[1]: postgresql.service: Killing process 36491 (postmaster) with signal SIGKILL. Jun 20 15:55:05 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:05 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.608 EDT [41224] 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 Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.609 EDT [41224] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.609 EDT [41224] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.611 EDT [41224] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.615 EDT [41224] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.625 EDT [41224] LOG: redirecting log output to logging collector process Jun 20 15:55:20 managed-node2 postmaster[41224]: 2026-06-20 15:55:20.625 EDT [41224] HINT: Future log output will appear in directory "log". Jun 20 15:55:20 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:23 managed-node2 systemd[1]: postgresql.service: Killing process 41225 (postmaster) with signal SIGKILL. Jun 20 15:55:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:23 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.616 EDT [42031] 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 Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.616 EDT [42031] LOG: listening on IPv6 address "::1", port 5432 Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.616 EDT [42031] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.618 EDT [42031] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.621 EDT [42031] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.650 EDT [42031] LOG: redirecting log output to logging collector process Jun 20 15:55:23 managed-node2 postmaster[42031]: 2026-06-20 15:55:23.650 EDT [42031] HINT: Future log output will appear in directory "log". Jun 20 15:55:23 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:55:45 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:55:45 managed-node2 systemd[1]: postgresql.service: Killing process 42033 (postmaster) with signal SIGKILL. Jun 20 15:55:45 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:55:45 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:55:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:55:59 managed-node2 postmaster[46777]: 2026-06-20 15:55:59.797 EDT [46777] LOG: redirecting log output to logging collector process Jun 20 15:55:59 managed-node2 postmaster[46777]: 2026-06-20 15:55:59.797 EDT [46777] HINT: Future log output will appear in directory "log". Jun 20 15:55:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:56:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:56:02 managed-node2 systemd[1]: postgresql.service: Killing process 46778 (postmaster) with signal SIGKILL. Jun 20 15:56:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:56:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:56:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:56:02 managed-node2 postmaster[47584]: 2026-06-20 15:56:02.855 EDT [47584] LOG: redirecting log output to logging collector process Jun 20 15:56:02 managed-node2 postmaster[47584]: 2026-06-20 15:56:02.855 EDT [47584] HINT: Future log output will appear in directory "log". Jun 20 15:56:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:56:24 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:56:24 managed-node2 systemd[1]: postgresql.service: Killing process 47585 (postmaster) with signal SIGKILL. Jun 20 15:56:24 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:56:24 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:56:39 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:56:39 managed-node2 postgres[52324]: 2026-06-20 15:56:39.341 EDT [52324] LOG: redirecting log output to logging collector process Jun 20 15:56:39 managed-node2 postgres[52324]: 2026-06-20 15:56:39.341 EDT [52324] HINT: Future log output will appear in directory "log". Jun 20 15:56:39 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:56:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:56:42 managed-node2 systemd[1]: postgresql.service: Killing process 52325 (postgres) with signal SIGKILL. Jun 20 15:56:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:56:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 20 15:56:42 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 20 15:56:42 managed-node2 postgres[53130]: 2026-06-20 15:56:42.370 EDT [53130] LOG: redirecting log output to logging collector process Jun 20 15:56:42 managed-node2 postgres[53130]: 2026-06-20 15:56:42.370 EDT [53130] HINT: Future log output will appear in directory "log". Jun 20 15:56:42 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 20 15:57:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 20 15:57:03 managed-node2 systemd[1]: postgresql.service: Killing process 53132 (postgres) with signal SIGKILL. Jun 20 15:57:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 20 15:57:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. META: ran handlers META: ran handlers 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 20 June 2026 15:57:06 -0400 (0:00:00.339) 0:03:19.960 ********* =============================================================================== fedora.linux_system_roles.postgresql : Ensure required packages are installed -- 30.30s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Test - database is accessible for super user using Unix socket --------- 15.95s /tmp/collections-cHu/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.76s /tmp/collections-cHu/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.75s /tmp/collections-cHu/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.75s /tmp/collections-cHu/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.75s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Gather the package facts --------- 7.18s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Init DB on booted systems (with postgresql-setup) --- 5.49s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server --- 5.32s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Uninstall postgresql ---------------------------------------------------- 4.64s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.63s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Restart postgresql --------------- 4.63s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Uninstall postgresql ---------------------------------------------------- 4.62s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.61s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.61s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf --- 3.56s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 fedora.linux_system_roles.postgresql : Create postgresql directory in /etc --- 1.82s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 fedora.linux_system_roles.postgresql : Link generated conf file with server one --- 1.80s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 fedora.linux_system_roles.postgresql : Record role success fingerprint --- 1.72s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Remove config files ----------------------------------------------------- 1.35s /tmp/collections-cHu/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32