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-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 27 June 2026 15:45:03 -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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 27 June 2026 15:45:04 -0400 (0:00:01.025) 0:00:01.043 ********* included: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 27 June 2026 15:45:04 -0400 (0:00:00.029) 0:00:01.072 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 27 June 2026 15:45:04 -0400 (0:00:00.038) 0:00:01.111 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 27 June 2026 15:45:04 -0400 (0:00:00.019) 0:00:01.131 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.162) 0:00:01.293 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.032) 0:00:01.325 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 27 June 2026 15:45:05 -0400 (0:00:00.686) 0:00:02.012 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 27 June 2026 15:45:06 -0400 (0:00:00.448) 0:00:02.461 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 27 June 2026 15:45:06 -0400 (0:00:00.442) 0:00:02.903 ********* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 27 June 2026 15:45:06 -0400 (0:00:00.021) 0:00:02.925 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.008031", "end": "2026-06-27 15:45:07.116895", "failed_when_result": false, "rc": 0, "start": "2026-06-27 15:45:07.108864" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 27 June 2026 15:45:07 -0400 (0:00:00.445) 0:00:03.370 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 27 June 2026 15:45:07 -0400 (0:00:00.020) 0:00:03.391 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 27 June 2026 15:45:07 -0400 (0:00:00.019) 0:00:03.410 ********* 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-YI6/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-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 27 June 2026 15:45:07 -0400 (0:00:00.039) 0:00:03.450 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 27 June 2026 15:45:07 -0400 (0:00:00.353) 0:00:03.803 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 27 June 2026 15:45:07 -0400 (0:00:00.354) 0:00:04.158 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 27 June 2026 15:45:08 -0400 (0:00:00.362) 0:00:04.521 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 27 June 2026 15:45:09 -0400 (0:00:01.675) 0:00:06.197 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 27 June 2026 15:45:10 -0400 (0:00:00.038) 0:00:06.235 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 27 June 2026 15:45:10 -0400 (0:00:00.030) 0:00:06.266 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 27 June 2026 15:45:10 -0400 (0:00:00.030) 0:00:06.296 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 27 June 2026 15:45:10 -0400 (0:00:00.027) 0:00:06.324 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 27 June 2026 15:45:16 -0400 (0:00:05.974) 0:00:12.298 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.695989", "end": "2026-06-27 15:45:17.135461", "rc": 0, "start": "2026-06-27 15:45:16.439472" } 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 27 June 2026 15:45:17 -0400 (0:00:01.093) 0:00:13.392 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 27 June 2026 15:45:17 -0400 (0:00:00.021) 0:00:13.413 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 27 June 2026 15:45:17 -0400 (0:00:00.020) 0:00:13.433 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 27 June 2026 15:45:17 -0400 (0:00:00.019) 0:00:13.453 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target basic.target systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 27 June 2026 15:45:18 -0400 (0:00:01.222) 0:00:14.675 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.018) 0:00:14.694 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.018) 0:00:14.713 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.018) 0:00:14.731 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.018) 0:00:14.750 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.019) 0:00:14.769 ********* included: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.031) 0:00:14.801 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.019) 0:00:14.820 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.018) 0:00:14.838 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.018) 0:00:14.857 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.018) 0:00:14.875 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.041) 0:00:14.917 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.018) 0:00:14.935 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.018) 0:00:14.954 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.017) 0:00:14.971 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.019) 0:00:14.990 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 27 June 2026 15:45:18 -0400 (0:00:00.018) 0:00:15.009 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 27 June 2026 15:45:19 -0400 (0:00:00.437) 0:00:15.446 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 27 June 2026 15:45:19 -0400 (0:00:00.438) 0:00:15.884 ********* 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-1782589519.7231562-12873-62544234546788/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 27 June 2026 15:45:20 -0400 (0:00:00.826) 0:00:16.711 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 27 June 2026 15:45:20 -0400 (0:00:00.018) 0:00:16.730 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 27 June 2026 15:45:20 -0400 (0:00:00.018) 0:00:16.748 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 27 June 2026 15:45:20 -0400 (0:00:00.349) 0:00:17.098 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 27 June 2026 15:45:20 -0400 (0:00:00.012) 0:00:17.110 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-27 15:45:18 EDT", "ActiveEnterTimestampMonotonic": "349378425", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target network.target system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-27 15:45:18 EDT", "AssertTimestampMonotonic": "349328140", "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-27 15:45:18 EDT", "ConditionTimestampMonotonic": "349328140", "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": "30174", "ExecMainStartTimestamp": "Sat 2026-06-27 15:45:18 EDT", "ExecMainStartTimestampMonotonic": "349337271", "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-27 15:45:18 EDT] ; stop_time=[n/a] ; pid=30174 ; 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-27 15:45:18 EDT] ; stop_time=[Sat 2026-06-27 15:45:18 EDT] ; pid=30171 ; 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-27 15:45:18 EDT", "InactiveExitTimestampMonotonic": "349329060", "InvocationID": "02c4e16fd73147f1bb97417a741fd1af", "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": "30174", "MemoryAccounting": "yes", "MemoryCurrent": "17870848", "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-27 15:45:18 EDT", "StateChangeTimestampMonotonic": "349378425", "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-27 15:45:18 EDT", "WatchdogTimestampMonotonic": "349378423", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 27 June 2026 15:45:21 -0400 (0:00:00.942) 0:00:18.053 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007791", "end": "2026-06-27 15:45:22.158632", "rc": 0, "start": "2026-06-27 15:45:22.150841" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 27 June 2026 15:45:22 -0400 (0:00:00.361) 0:00:18.414 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008168", "end": "2026-06-27 15:45:22.514004", "rc": 0, "start": "2026-06-27 15:45:22.505836" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 27 June 2026 15:45:22 -0400 (0:00:00.353) 0:00:18.767 ********* ok: [managed-node2] => { "ansible_job_id": "162310059506.31381", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011832", "end": "2026-06-27 15:45:23.170345", "finished": 1, "rc": 0, "start": "2026-06-27 15:45:23.158513" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 27 June 2026 15:45:38 -0400 (0:00:15.949) 0:00:34.717 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010109", "end": "2026-06-27 15:45:38.839815", "rc": 0, "start": "2026-06-27 15:45:38.829706" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 27 June 2026 15:45:38 -0400 (0:00:00.380) 0:00:35.097 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 27 June 2026 15:45:38 -0400 (0:00:00.031) 0:00:35.129 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009953", "end": "2026-06-27 15:45:39.256619", "rc": 0, "start": "2026-06-27 15:45:39.246666" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 27 June 2026 15:45:39 -0400 (0:00:00.386) 0:00:35.515 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 27 June 2026 15:45:39 -0400 (0:00:00.030) 0:00:35.546 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008951", "end": "2026-06-27 15:45:39.649197", "failed_when_result": false, "rc": 0, "start": "2026-06-27 15:45:39.640246" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 27 June 2026 15:45:39 -0400 (0:00:00.367) 0:00:35.914 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 27 June 2026 15:45:39 -0400 (0:00:00.033) 0:00:35.947 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 27 June 2026 15:45:44 -0400 (0:00:04.694) 0:00:40.641 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 27 June 2026 15:45:44 -0400 (0:00:00.018) 0:00:40.660 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 27 June 2026 15:45:44 -0400 (0:00:00.400) 0:00:41.060 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 27 June 2026 15:45:46 -0400 (0:00:01.372) 0:00:42.433 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007018", "end": "2026-06-27 15:45:46.521988", "rc": 0, "start": "2026-06-27 15:45:46.514970" } STDOUT: -- Logs begin at Sat 2026-06-27 15:39:29 EDT, end at Sat 2026-06-27 15:45:46 EDT. -- Jun 27 15:43:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:36 managed-node2 postmaster[10422]: 2026-06-27 15:43:36.100 EDT [10422] LOG: redirecting log output to logging collector process Jun 27 15:43:36 managed-node2 postmaster[10422]: 2026-06-27 15:43:36.100 EDT [10422] HINT: Future log output will appear in directory "log". Jun 27 15:43:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:44 managed-node2 systemd[1]: postgresql.service: Killing process 10423 (postmaster) with signal SIGKILL. Jun 27 15:43:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:44 managed-node2 postmaster[12685]: 2026-06-27 15:43:44.236 EDT [12685] LOG: redirecting log output to logging collector process Jun 27 15:43:44 managed-node2 postmaster[12685]: 2026-06-27 15:43:44.236 EDT [12685] HINT: Future log output will appear in directory "log". Jun 27 15:43:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:48 managed-node2 systemd[1]: postgresql.service: Killing process 12686 (postmaster) with signal SIGKILL. Jun 27 15:43:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:20 managed-node2 postmaster[19295]: 2026-06-27 15:44:20.503 EDT [19295] LOG: redirecting log output to logging collector process Jun 27 15:44:20 managed-node2 postmaster[19295]: 2026-06-27 15:44:20.503 EDT [19295] HINT: Future log output will appear in directory "log". Jun 27 15:44:20 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 19296 (postmaster) with signal SIGKILL. Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:26 managed-node2 postmaster[20835]: 2026-06-27 15:44:26.251 EDT [20835] LOG: redirecting log output to logging collector process Jun 27 15:44:26 managed-node2 postmaster[20835]: 2026-06-27 15:44:26.251 EDT [20835] HINT: Future log output will appear in directory "log". Jun 27 15:44:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:31 managed-node2 systemd[1]: postgresql.service: Killing process 20837 (postmaster) with signal SIGKILL. Jun 27 15:44:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:51 managed-node2 postmaster[25201]: 2026-06-27 15:44:51.265 EDT [25201] LOG: redirecting log output to logging collector process Jun 27 15:44:51 managed-node2 postmaster[25201]: 2026-06-27 15:44:51.265 EDT [25201] HINT: Future log output will appear in directory "log". Jun 27 15:44:51 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:54 managed-node2 systemd[1]: postgresql.service: Killing process 25202 (postmaster) with signal SIGKILL. Jun 27 15:44:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:54 managed-node2 postmaster[25941]: 2026-06-27 15:44:54.507 EDT [25941] LOG: redirecting log output to logging collector process Jun 27 15:44:54 managed-node2 postmaster[25941]: 2026-06-27 15:44:54.507 EDT [25941] HINT: Future log output will appear in directory "log". Jun 27 15:44:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:58 managed-node2 systemd[1]: postgresql.service: Killing process 25942 (postmaster) with signal SIGKILL. Jun 27 15:44:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:18 managed-node2 postmaster[30174]: 2026-06-27 15:45:18.392 EDT [30174] LOG: redirecting log output to logging collector process Jun 27 15:45:18 managed-node2 postmaster[30174]: 2026-06-27 15:45:18.392 EDT [30174] HINT: Future log output will appear in directory "log". Jun 27 15:45:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:21 managed-node2 systemd[1]: postgresql.service: Killing process 30175 (postmaster) with signal SIGKILL. Jun 27 15:45:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:21 managed-node2 postmaster[30981]: 2026-06-27 15:45:21.769 EDT [30981] LOG: redirecting log output to logging collector process Jun 27 15:45:21 managed-node2 postmaster[30981]: 2026-06-27 15:45:21.769 EDT [30981] HINT: Future log output will appear in directory "log". Jun 27 15:45:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:43 managed-node2 systemd[1]: postgresql.service: Killing process 30983 (postmaster) with signal SIGKILL. Jun 27 15:45:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:43 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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.352) 0:00:42.785 ********* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.029) 0:00:42.814 ********* skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.087) 0:00:42.902 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.031) 0:00:42.933 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.012) 0:00:42.945 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.024) 0:00:42.969 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 27 June 2026 15:45:46 -0400 (0:00:00.024) 0:00:42.993 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 27 June 2026 15:45:47 -0400 (0:00:00.673) 0:00:43.668 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 27 June 2026 15:45:47 -0400 (0:00:00.343) 0:00:44.011 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 27 June 2026 15:45:47 -0400 (0:00:00.013) 0:00:44.025 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 27 June 2026 15:45:47 -0400 (0:00:00.013) 0:00:44.038 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 27 June 2026 15:45:47 -0400 (0:00:00.012) 0:00:44.051 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 27 June 2026 15:45:47 -0400 (0:00:00.013) 0:00:44.064 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 27 June 2026 15:45:47 -0400 (0:00:00.012) 0:00:44.076 ********* [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-YI6/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-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 27 June 2026 15:45:47 -0400 (0:00:00.037) 0:00:44.114 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 27 June 2026 15:45:48 -0400 (0:00:00.343) 0:00:44.458 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 27 June 2026 15:45:48 -0400 (0:00:00.339) 0:00:44.798 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 27 June 2026 15:45:48 -0400 (0:00:00.341) 0:00:45.139 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 27 June 2026 15:45:50 -0400 (0:00:01.422) 0:00:46.561 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 27 June 2026 15:45:50 -0400 (0:00:00.032) 0:00:46.593 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 27 June 2026 15:45:50 -0400 (0:00:00.030) 0:00:46.623 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 27 June 2026 15:45:50 -0400 (0:00:00.028) 0:00:46.652 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 27 June 2026 15:45:50 -0400 (0:00:00.023) 0:00:46.675 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 27 June 2026 15:45:57 -0400 (0:00:06.532) 0:00:53.207 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.668553", "end": "2026-06-27 15:45:58.002450", "rc": 0, "start": "2026-06-27 15:45:57.333897" } 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 27 June 2026 15:45:58 -0400 (0:00:01.051) 0:00:54.259 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 27 June 2026 15:45:58 -0400 (0:00:00.021) 0:00:54.280 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 27 June 2026 15:45:58 -0400 (0:00:00.019) 0:00:54.299 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 27 June 2026 15:45:58 -0400 (0:00:00.019) 0:00:54.318 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target network.target systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 27 June 2026 15:45:59 -0400 (0:00:01.033) 0:00:55.351 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.019) 0:00:55.371 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.018) 0:00:55.389 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.018) 0:00:55.408 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.018) 0:00:55.427 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.019) 0:00:55.446 ********* included: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.031) 0:00:55.477 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.019) 0:00:55.496 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.043) 0:00:55.540 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.019) 0:00:55.559 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.018) 0:00:55.578 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.018) 0:00:55.596 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.019) 0:00:55.616 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.018) 0:00:55.634 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.018) 0:00:55.653 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.018) 0:00:55.672 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.019) 0:00:55.691 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 27 June 2026 15:45:59 -0400 (0:00:00.361) 0:00:56.052 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 27 June 2026 15:46:00 -0400 (0:00:00.361) 0:00:56.414 ********* 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-1782589560.2526364-13347-61058769393075/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 27 June 2026 15:46:00 -0400 (0:00:00.721) 0:00:57.136 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 27 June 2026 15:46:00 -0400 (0:00:00.018) 0:00:57.155 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 27 June 2026 15:46:00 -0400 (0:00:00.019) 0:00:57.174 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 27 June 2026 15:46:01 -0400 (0:00:00.357) 0:00:57.532 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 27 June 2026 15:46:01 -0400 (0:00:00.011) 0:00:57.544 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-27 15:45:59 EDT", "ActiveEnterTimestampMonotonic": "390053740", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-27 15:45:59 EDT", "AssertTimestampMonotonic": "390006422", "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-27 15:45:59 EDT", "ConditionTimestampMonotonic": "390006422", "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": "35688", "ExecMainStartTimestamp": "Sat 2026-06-27 15:45:59 EDT", "ExecMainStartTimestampMonotonic": "390016281", "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-27 15:45:59 EDT] ; stop_time=[n/a] ; pid=35688 ; 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-27 15:45:59 EDT] ; stop_time=[Sat 2026-06-27 15:45:59 EDT] ; pid=35685 ; 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-27 15:45:59 EDT", "InactiveExitTimestampMonotonic": "390007452", "InvocationID": "c132ada91dad448093e3ee87a270d956", "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": "35688", "MemoryAccounting": "yes", "MemoryCurrent": "16863232", "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-27 15:45:59 EDT", "StateChangeTimestampMonotonic": "390053740", "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-27 15:45:59 EDT", "WatchdogTimestampMonotonic": "390053738", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 27 June 2026 15:46:02 -0400 (0:00:00.934) 0:00:58.478 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008389", "end": "2026-06-27 15:46:02.583078", "rc": 0, "start": "2026-06-27 15:46:02.574689" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 27 June 2026 15:46:02 -0400 (0:00:00.362) 0:00:58.840 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008233", "end": "2026-06-27 15:46:02.934259", "rc": 0, "start": "2026-06-27 15:46:02.926026" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 27 June 2026 15:46:02 -0400 (0:00:00.348) 0:00:59.189 ********* ok: [managed-node2] => { "ansible_job_id": "932061193742.36895", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011316", "end": "2026-06-27 15:46:03.517551", "finished": 1, "rc": 0, "start": "2026-06-27 15:46:03.506235" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 27 June 2026 15:46:18 -0400 (0:00:15.760) 0:01:14.950 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009557", "end": "2026-06-27 15:46:19.064166", "rc": 0, "start": "2026-06-27 15:46:19.054609" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 27 June 2026 15:46:19 -0400 (0:00:00.370) 0:01:15.320 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 27 June 2026 15:46:19 -0400 (0:00:00.031) 0:01:15.351 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009581", "end": "2026-06-27 15:46:19.466818", "rc": 0, "start": "2026-06-27 15:46:19.457237" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 27 June 2026 15:46:19 -0400 (0:00:00.372) 0:01:15.724 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 27 June 2026 15:46:19 -0400 (0:00:00.032) 0:01:15.756 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006783", "end": "2026-06-27 15:46:19.855641", "failed_when_result": false, "rc": 0, "start": "2026-06-27 15:46:19.848858" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 27 June 2026 15:46:19 -0400 (0:00:00.358) 0:01:16.115 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 27 June 2026 15:46:19 -0400 (0:00:00.032) 0:01:16.148 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 27 June 2026 15:46:24 -0400 (0:00:04.626) 0:01:20.774 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.019) 0:01:20.793 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 27 June 2026 15:46:24 -0400 (0:00:00.384) 0:01:21.177 ********* [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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 27 June 2026 15:46:26 -0400 (0:00:01.346) 0:01:22.524 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007309", "end": "2026-06-27 15:46:26.616217", "rc": 0, "start": "2026-06-27 15:46:26.608908" } STDOUT: -- Logs begin at Sat 2026-06-27 15:39:29 EDT, end at Sat 2026-06-27 15:46:26 EDT. -- Jun 27 15:43:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:36 managed-node2 postmaster[10422]: 2026-06-27 15:43:36.100 EDT [10422] LOG: redirecting log output to logging collector process Jun 27 15:43:36 managed-node2 postmaster[10422]: 2026-06-27 15:43:36.100 EDT [10422] HINT: Future log output will appear in directory "log". Jun 27 15:43:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:44 managed-node2 systemd[1]: postgresql.service: Killing process 10423 (postmaster) with signal SIGKILL. Jun 27 15:43:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:44 managed-node2 postmaster[12685]: 2026-06-27 15:43:44.236 EDT [12685] LOG: redirecting log output to logging collector process Jun 27 15:43:44 managed-node2 postmaster[12685]: 2026-06-27 15:43:44.236 EDT [12685] HINT: Future log output will appear in directory "log". Jun 27 15:43:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:48 managed-node2 systemd[1]: postgresql.service: Killing process 12686 (postmaster) with signal SIGKILL. Jun 27 15:43:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:20 managed-node2 postmaster[19295]: 2026-06-27 15:44:20.503 EDT [19295] LOG: redirecting log output to logging collector process Jun 27 15:44:20 managed-node2 postmaster[19295]: 2026-06-27 15:44:20.503 EDT [19295] HINT: Future log output will appear in directory "log". Jun 27 15:44:20 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 19296 (postmaster) with signal SIGKILL. Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:26 managed-node2 postmaster[20835]: 2026-06-27 15:44:26.251 EDT [20835] LOG: redirecting log output to logging collector process Jun 27 15:44:26 managed-node2 postmaster[20835]: 2026-06-27 15:44:26.251 EDT [20835] HINT: Future log output will appear in directory "log". Jun 27 15:44:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:31 managed-node2 systemd[1]: postgresql.service: Killing process 20837 (postmaster) with signal SIGKILL. Jun 27 15:44:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:51 managed-node2 postmaster[25201]: 2026-06-27 15:44:51.265 EDT [25201] LOG: redirecting log output to logging collector process Jun 27 15:44:51 managed-node2 postmaster[25201]: 2026-06-27 15:44:51.265 EDT [25201] HINT: Future log output will appear in directory "log". Jun 27 15:44:51 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:54 managed-node2 systemd[1]: postgresql.service: Killing process 25202 (postmaster) with signal SIGKILL. Jun 27 15:44:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:54 managed-node2 postmaster[25941]: 2026-06-27 15:44:54.507 EDT [25941] LOG: redirecting log output to logging collector process Jun 27 15:44:54 managed-node2 postmaster[25941]: 2026-06-27 15:44:54.507 EDT [25941] HINT: Future log output will appear in directory "log". Jun 27 15:44:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:58 managed-node2 systemd[1]: postgresql.service: Killing process 25942 (postmaster) with signal SIGKILL. Jun 27 15:44:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:18 managed-node2 postmaster[30174]: 2026-06-27 15:45:18.392 EDT [30174] LOG: redirecting log output to logging collector process Jun 27 15:45:18 managed-node2 postmaster[30174]: 2026-06-27 15:45:18.392 EDT [30174] HINT: Future log output will appear in directory "log". Jun 27 15:45:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:21 managed-node2 systemd[1]: postgresql.service: Killing process 30175 (postmaster) with signal SIGKILL. Jun 27 15:45:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:21 managed-node2 postmaster[30981]: 2026-06-27 15:45:21.769 EDT [30981] LOG: redirecting log output to logging collector process Jun 27 15:45:21 managed-node2 postmaster[30981]: 2026-06-27 15:45:21.769 EDT [30981] HINT: Future log output will appear in directory "log". Jun 27 15:45:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:43 managed-node2 systemd[1]: postgresql.service: Killing process 30983 (postmaster) with signal SIGKILL. Jun 27 15:45:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.059 EDT [35688] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.059 EDT [35688] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.061 EDT [35688] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.065 EDT [35688] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.075 EDT [35688] LOG: redirecting log output to logging collector process Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.075 EDT [35688] HINT: Future log output will appear in directory "log". Jun 27 15:45:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:02 managed-node2 systemd[1]: postgresql.service: Killing process 35689 (postmaster) with signal SIGKILL. Jun 27 15:46:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.169 EDT [36496] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.169 EDT [36496] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.170 EDT [36496] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.174 EDT [36496] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.202 EDT [36496] LOG: redirecting log output to logging collector process Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.202 EDT [36496] HINT: Future log output will appear in directory "log". Jun 27 15:46:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:23 managed-node2 systemd[1]: postgresql.service: Killing process 36497 (postmaster) with signal SIGKILL. Jun 27 15:46:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 27 June 2026 15:46:26 -0400 (0:00:00.348) 0:01:22.872 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 27 June 2026 15:46:26 -0400 (0:00:00.031) 0:01:22.904 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 27 June 2026 15:46:26 -0400 (0:00:00.012) 0:01:22.916 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 27 June 2026 15:46:26 -0400 (0:00:00.023) 0:01:22.940 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 27 June 2026 15:46:26 -0400 (0:00:00.023) 0:01:22.964 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 27 June 2026 15:46:27 -0400 (0:00:00.678) 0:01:23.642 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 27 June 2026 15:46:27 -0400 (0:00:00.338) 0:01:23.981 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 27 June 2026 15:46:27 -0400 (0:00:00.013) 0:01:23.994 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 27 June 2026 15:46:27 -0400 (0:00:00.013) 0:01:24.008 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 27 June 2026 15:46:27 -0400 (0:00:00.012) 0:01:24.020 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 27 June 2026 15:46:27 -0400 (0:00:00.013) 0:01:24.033 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 27 June 2026 15:46:27 -0400 (0:00:00.012) 0:01:24.046 ********* [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-YI6/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-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 27 June 2026 15:46:27 -0400 (0:00:00.038) 0:01:24.085 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 27 June 2026 15:46:28 -0400 (0:00:00.339) 0:01:24.425 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 27 June 2026 15:46:28 -0400 (0:00:00.333) 0:01:24.758 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 27 June 2026 15:46:28 -0400 (0:00:00.337) 0:01:25.096 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 27 June 2026 15:46:30 -0400 (0:00:01.409) 0:01:26.505 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 27 June 2026 15:46:30 -0400 (0:00:00.032) 0:01:26.538 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 27 June 2026 15:46:30 -0400 (0:00:00.030) 0:01:26.568 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 27 June 2026 15:46:30 -0400 (0:00:00.085) 0:01:26.654 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 27 June 2026 15:46:30 -0400 (0:00:00.025) 0:01:26.679 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 27 June 2026 15:46:36 -0400 (0:00:06.068) 0:01:32.748 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.777482", "end": "2026-06-27 15:46:37.636887", "rc": 0, "start": "2026-06-27 15:46:36.859405" } 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 27 June 2026 15:46:37 -0400 (0:00:01.146) 0:01:33.894 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 27 June 2026 15:46:37 -0400 (0:00:00.021) 0:01:33.915 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 27 June 2026 15:46:37 -0400 (0:00:00.019) 0:01:33.935 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 27 June 2026 15:46:37 -0400 (0:00:00.019) 0:01:33.954 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target basic.target system.slice systemd-journald.socket 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 27 June 2026 15:46:38 -0400 (0:00:01.032) 0:01:34.987 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 27 June 2026 15:46:38 -0400 (0:00:00.018) 0:01:35.006 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 27 June 2026 15:46:38 -0400 (0:00:00.018) 0:01:35.025 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 27 June 2026 15:46:38 -0400 (0:00:00.018) 0:01:35.043 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 27 June 2026 15:46:38 -0400 (0:00:00.018) 0:01:35.061 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 27 June 2026 15:46:38 -0400 (0:00:00.018) 0:01:35.080 ********* included: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 27 June 2026 15:46:38 -0400 (0:00:00.030) 0:01:35.110 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 27 June 2026 15:46:38 -0400 (0:00:00.018) 0:01:35.129 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 27 June 2026 15:46:38 -0400 (0:00:00.019) 0:01:35.148 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 27 June 2026 15:46:38 -0400 (0:00:00.018) 0:01:35.167 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 27 June 2026 15:46:38 -0400 (0:00:00.020) 0:01:35.187 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 27 June 2026 15:46:39 -0400 (0:00:00.020) 0:01:35.208 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 27 June 2026 15:46:39 -0400 (0:00:00.019) 0:01:35.227 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 27 June 2026 15:46:39 -0400 (0:00:00.042) 0:01:35.269 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 27 June 2026 15:46:39 -0400 (0:00:00.018) 0:01:35.288 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 27 June 2026 15:46:39 -0400 (0:00:00.018) 0:01:35.306 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 27 June 2026 15:46:39 -0400 (0:00:00.017) 0:01:35.324 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 27 June 2026 15:46:39 -0400 (0:00:00.353) 0:01:35.677 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 27 June 2026 15:46:39 -0400 (0:00:00.350) 0:01:36.028 ********* 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-1782589599.8663588-13814-256708816243647/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 27 June 2026 15:46:40 -0400 (0:00:00.711) 0:01:36.740 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 27 June 2026 15:46:40 -0400 (0:00:00.019) 0:01:36.759 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 27 June 2026 15:46:40 -0400 (0:00:00.019) 0:01:36.778 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 27 June 2026 15:46:40 -0400 (0:00:00.351) 0:01:37.130 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 27 June 2026 15:46:40 -0400 (0:00:00.012) 0:01:37.142 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-27 15:46:38 EDT", "ActiveEnterTimestampMonotonic": "429688909", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-27 15:46:38 EDT", "AssertTimestampMonotonic": "429638901", "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-27 15:46:38 EDT", "ConditionTimestampMonotonic": "429638901", "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": "41231", "ExecMainStartTimestamp": "Sat 2026-06-27 15:46:38 EDT", "ExecMainStartTimestampMonotonic": "429648720", "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-27 15:46:38 EDT] ; stop_time=[n/a] ; pid=41231 ; 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-27 15:46:38 EDT] ; stop_time=[Sat 2026-06-27 15:46:38 EDT] ; pid=41228 ; 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-27 15:46:38 EDT", "InactiveExitTimestampMonotonic": "429639905", "InvocationID": "41d49638acdd4c17b4ac8e37bedcd4e5", "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": "41231", "MemoryAccounting": "yes", "MemoryCurrent": "17817600", "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-27 15:46:38 EDT", "StateChangeTimestampMonotonic": "429688909", "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-27 15:46:38 EDT", "WatchdogTimestampMonotonic": "429688907", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 27 June 2026 15:46:41 -0400 (0:00:00.935) 0:01:38.078 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007995", "end": "2026-06-27 15:46:42.175390", "rc": 0, "start": "2026-06-27 15:46:42.167395" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 27 June 2026 15:46:42 -0400 (0:00:00.353) 0:01:38.431 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008041", "end": "2026-06-27 15:46:42.526262", "rc": 0, "start": "2026-06-27 15:46:42.518221" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 27 June 2026 15:46:42 -0400 (0:00:00.349) 0:01:38.781 ********* ok: [managed-node2] => { "ansible_job_id": "40926948702.42438", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011590", "end": "2026-06-27 15:46:43.104230", "finished": 1, "rc": 0, "start": "2026-06-27 15:46:43.092640" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 27 June 2026 15:46:58 -0400 (0:00:15.753) 0:01:54.534 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009864", "end": "2026-06-27 15:46:58.646628", "rc": 0, "start": "2026-06-27 15:46:58.636764" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 27 June 2026 15:46:58 -0400 (0:00:00.372) 0:01:54.906 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 27 June 2026 15:46:58 -0400 (0:00:00.031) 0:01:54.938 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009153", "end": "2026-06-27 15:46:59.050350", "rc": 0, "start": "2026-06-27 15:46:59.041197" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 27 June 2026 15:46:59 -0400 (0:00:00.369) 0:01:55.307 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 27 June 2026 15:46:59 -0400 (0:00:00.038) 0:01:55.345 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008914", "end": "2026-06-27 15:46:59.446478", "failed_when_result": false, "rc": 0, "start": "2026-06-27 15:46:59.437564" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 27 June 2026 15:46:59 -0400 (0:00:00.361) 0:01:55.707 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 27 June 2026 15:46:59 -0400 (0:00:00.033) 0:01:55.740 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 27 June 2026 15:47:04 -0400 (0:00:04.623) 0:02:00.363 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.022) 0:02:00.386 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 27 June 2026 15:47:04 -0400 (0:00:00.385) 0:02:00.771 ********* [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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 27 June 2026 15:47:05 -0400 (0:00:01.340) 0:02:02.112 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007313", "end": "2026-06-27 15:47:06.200242", "rc": 0, "start": "2026-06-27 15:47:06.192929" } STDOUT: -- Logs begin at Sat 2026-06-27 15:39:29 EDT, end at Sat 2026-06-27 15:47:06 EDT. -- Jun 27 15:43:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:36 managed-node2 postmaster[10422]: 2026-06-27 15:43:36.100 EDT [10422] LOG: redirecting log output to logging collector process Jun 27 15:43:36 managed-node2 postmaster[10422]: 2026-06-27 15:43:36.100 EDT [10422] HINT: Future log output will appear in directory "log". Jun 27 15:43:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:44 managed-node2 systemd[1]: postgresql.service: Killing process 10423 (postmaster) with signal SIGKILL. Jun 27 15:43:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:44 managed-node2 postmaster[12685]: 2026-06-27 15:43:44.236 EDT [12685] LOG: redirecting log output to logging collector process Jun 27 15:43:44 managed-node2 postmaster[12685]: 2026-06-27 15:43:44.236 EDT [12685] HINT: Future log output will appear in directory "log". Jun 27 15:43:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:48 managed-node2 systemd[1]: postgresql.service: Killing process 12686 (postmaster) with signal SIGKILL. Jun 27 15:43:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:20 managed-node2 postmaster[19295]: 2026-06-27 15:44:20.503 EDT [19295] LOG: redirecting log output to logging collector process Jun 27 15:44:20 managed-node2 postmaster[19295]: 2026-06-27 15:44:20.503 EDT [19295] HINT: Future log output will appear in directory "log". Jun 27 15:44:20 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 19296 (postmaster) with signal SIGKILL. Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:26 managed-node2 postmaster[20835]: 2026-06-27 15:44:26.251 EDT [20835] LOG: redirecting log output to logging collector process Jun 27 15:44:26 managed-node2 postmaster[20835]: 2026-06-27 15:44:26.251 EDT [20835] HINT: Future log output will appear in directory "log". Jun 27 15:44:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:31 managed-node2 systemd[1]: postgresql.service: Killing process 20837 (postmaster) with signal SIGKILL. Jun 27 15:44:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:51 managed-node2 postmaster[25201]: 2026-06-27 15:44:51.265 EDT [25201] LOG: redirecting log output to logging collector process Jun 27 15:44:51 managed-node2 postmaster[25201]: 2026-06-27 15:44:51.265 EDT [25201] HINT: Future log output will appear in directory "log". Jun 27 15:44:51 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:54 managed-node2 systemd[1]: postgresql.service: Killing process 25202 (postmaster) with signal SIGKILL. Jun 27 15:44:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:54 managed-node2 postmaster[25941]: 2026-06-27 15:44:54.507 EDT [25941] LOG: redirecting log output to logging collector process Jun 27 15:44:54 managed-node2 postmaster[25941]: 2026-06-27 15:44:54.507 EDT [25941] HINT: Future log output will appear in directory "log". Jun 27 15:44:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:58 managed-node2 systemd[1]: postgresql.service: Killing process 25942 (postmaster) with signal SIGKILL. Jun 27 15:44:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:18 managed-node2 postmaster[30174]: 2026-06-27 15:45:18.392 EDT [30174] LOG: redirecting log output to logging collector process Jun 27 15:45:18 managed-node2 postmaster[30174]: 2026-06-27 15:45:18.392 EDT [30174] HINT: Future log output will appear in directory "log". Jun 27 15:45:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:21 managed-node2 systemd[1]: postgresql.service: Killing process 30175 (postmaster) with signal SIGKILL. Jun 27 15:45:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:21 managed-node2 postmaster[30981]: 2026-06-27 15:45:21.769 EDT [30981] LOG: redirecting log output to logging collector process Jun 27 15:45:21 managed-node2 postmaster[30981]: 2026-06-27 15:45:21.769 EDT [30981] HINT: Future log output will appear in directory "log". Jun 27 15:45:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:43 managed-node2 systemd[1]: postgresql.service: Killing process 30983 (postmaster) with signal SIGKILL. Jun 27 15:45:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.059 EDT [35688] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.059 EDT [35688] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.061 EDT [35688] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.065 EDT [35688] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.075 EDT [35688] LOG: redirecting log output to logging collector process Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.075 EDT [35688] HINT: Future log output will appear in directory "log". Jun 27 15:45:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:02 managed-node2 systemd[1]: postgresql.service: Killing process 35689 (postmaster) with signal SIGKILL. Jun 27 15:46:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.169 EDT [36496] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.169 EDT [36496] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.170 EDT [36496] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.174 EDT [36496] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.202 EDT [36496] LOG: redirecting log output to logging collector process Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.202 EDT [36496] HINT: Future log output will appear in directory "log". Jun 27 15:46:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:23 managed-node2 systemd[1]: postgresql.service: Killing process 36497 (postmaster) with signal SIGKILL. Jun 27 15:46:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.694 EDT [41231] 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 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.695 EDT [41231] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.695 EDT [41231] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.696 EDT [41231] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.700 EDT [41231] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.710 EDT [41231] LOG: redirecting log output to logging collector process Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.710 EDT [41231] HINT: Future log output will appear in directory "log". Jun 27 15:46:38 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:41 managed-node2 systemd[1]: postgresql.service: Killing process 41232 (postmaster) with signal SIGKILL. Jun 27 15:46:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.768 EDT [42038] 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 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.768 EDT [42038] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.768 EDT [42038] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.770 EDT [42038] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.774 EDT [42038] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.802 EDT [42038] LOG: redirecting log output to logging collector process Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.802 EDT [42038] HINT: Future log output will appear in directory "log". Jun 27 15:46:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:47:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:47:03 managed-node2 systemd[1]: postgresql.service: Killing process 42040 (postmaster) with signal SIGKILL. Jun 27 15:47:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:47:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 27 June 2026 15:47:06 -0400 (0:00:00.341) 0:02:02.454 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 27 June 2026 15:47:06 -0400 (0:00:00.031) 0:02:02.486 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 27 June 2026 15:47:06 -0400 (0:00:00.012) 0:02:02.498 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 27 June 2026 15:47:06 -0400 (0:00:00.023) 0:02:02.522 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 27 June 2026 15:47:06 -0400 (0:00:00.023) 0:02:02.545 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 27 June 2026 15:47:07 -0400 (0:00:00.682) 0:02:03.228 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 27 June 2026 15:47:07 -0400 (0:00:00.338) 0:02:03.567 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 27 June 2026 15:47:07 -0400 (0:00:00.014) 0:02:03.581 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 27 June 2026 15:47:07 -0400 (0:00:00.013) 0:02:03.594 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 27 June 2026 15:47:07 -0400 (0:00:00.012) 0:02:03.607 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 27 June 2026 15:47:07 -0400 (0:00:00.013) 0:02:03.620 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 27 June 2026 15:47:07 -0400 (0:00:00.012) 0:02:03.632 ********* [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-YI6/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-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 27 June 2026 15:47:07 -0400 (0:00:00.038) 0:02:03.671 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 27 June 2026 15:47:07 -0400 (0:00:00.337) 0:02:04.008 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 27 June 2026 15:47:08 -0400 (0:00:00.330) 0:02:04.339 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 27 June 2026 15:47:08 -0400 (0:00:00.332) 0:02:04.672 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 27 June 2026 15:47:09 -0400 (0:00:01.374) 0:02:06.047 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 27 June 2026 15:47:09 -0400 (0:00:00.031) 0:02:06.078 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 27 June 2026 15:47:09 -0400 (0:00:00.028) 0:02:06.106 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 27 June 2026 15:47:09 -0400 (0:00:00.028) 0:02:06.134 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 27 June 2026 15:47:09 -0400 (0:00:00.024) 0:02:06.159 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 27 June 2026 15:47:15 -0400 (0:00:05.997) 0:02:12.156 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.727458", "end": "2026-06-27 15:47:17.020400", "rc": 0, "start": "2026-06-27 15:47:16.292942" } 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 27 June 2026 15:47:17 -0400 (0:00:01.123) 0:02:13.279 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 27 June 2026 15:47:17 -0400 (0:00:00.021) 0:02:13.300 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 27 June 2026 15:47:17 -0400 (0:00:00.019) 0:02:13.320 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 27 June 2026 15:47:17 -0400 (0:00:00.019) 0:02:13.339 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice network.target systemd-journald.socket sysinit.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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 27 June 2026 15:47:18 -0400 (0:00:01.047) 0:02:14.386 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.018) 0:02:14.405 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.017) 0:02:14.423 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.017) 0:02:14.441 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.019) 0:02:14.460 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.017) 0:02:14.477 ********* included: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.034) 0:02:14.512 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.018) 0:02:14.531 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.017) 0:02:14.548 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.017) 0:02:14.566 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.017) 0:02:14.584 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.018) 0:02:14.602 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.017) 0:02:14.620 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.017) 0:02:14.637 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.017) 0:02:14.654 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.018) 0:02:14.672 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.017) 0:02:14.690 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 27 June 2026 15:47:18 -0400 (0:00:00.352) 0:02:15.042 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 27 June 2026 15:47:19 -0400 (0:00:00.352) 0:02:15.395 ********* 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-1782589639.231741-14281-205100030571254/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 27 June 2026 15:47:19 -0400 (0:00:00.708) 0:02:16.103 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 27 June 2026 15:47:19 -0400 (0:00:00.019) 0:02:16.122 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 27 June 2026 15:47:19 -0400 (0:00:00.018) 0:02:16.141 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 27 June 2026 15:47:20 -0400 (0:00:00.348) 0:02:16.489 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 27 June 2026 15:47:20 -0400 (0:00:00.012) 0:02:16.502 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-27 15:47:18 EDT", "ActiveEnterTimestampMonotonic": "469088680", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket sysinit.target basic.target system.slice network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-27 15:47:18 EDT", "AssertTimestampMonotonic": "469037796", "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-27 15:47:18 EDT", "ConditionTimestampMonotonic": "469037796", "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": "46784", "ExecMainStartTimestamp": "Sat 2026-06-27 15:47:18 EDT", "ExecMainStartTimestampMonotonic": "469047718", "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-27 15:47:18 EDT] ; stop_time=[n/a] ; pid=46784 ; 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-27 15:47:18 EDT] ; stop_time=[Sat 2026-06-27 15:47:18 EDT] ; pid=46781 ; 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-27 15:47:18 EDT", "InactiveExitTimestampMonotonic": "469038751", "InvocationID": "255f41447fac479fa57bc159595a1d0b", "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": "46784", "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": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestamp": "Sat 2026-06-27 15:47:18 EDT", "StateChangeTimestampMonotonic": "469088680", "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-27 15:47:18 EDT", "WatchdogTimestampMonotonic": "469088678", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 27 June 2026 15:47:21 -0400 (0:00:00.938) 0:02:17.441 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008415", "end": "2026-06-27 15:47:21.541789", "rc": 0, "start": "2026-06-27 15:47:21.533374" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 27 June 2026 15:47:21 -0400 (0:00:00.357) 0:02:17.798 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008397", "end": "2026-06-27 15:47:21.899397", "rc": 0, "start": "2026-06-27 15:47:21.891000" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 27 June 2026 15:47:21 -0400 (0:00:00.358) 0:02:18.157 ********* ok: [managed-node2] => { "ansible_job_id": "330838024181.47989", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012148", "end": "2026-06-27 15:47:22.500662", "finished": 1, "rc": 0, "start": "2026-06-27 15:47:22.488514" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 27 June 2026 15:47:37 -0400 (0:00:15.788) 0:02:33.946 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009739", "end": "2026-06-27 15:47:38.063646", "rc": 0, "start": "2026-06-27 15:47:38.053907" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 27 June 2026 15:47:38 -0400 (0:00:00.374) 0:02:34.320 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 27 June 2026 15:47:38 -0400 (0:00:00.031) 0:02:34.352 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009475", "end": "2026-06-27 15:47:38.465716", "rc": 0, "start": "2026-06-27 15:47:38.456241" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 27 June 2026 15:47:38 -0400 (0:00:00.370) 0:02:34.722 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 27 June 2026 15:47:38 -0400 (0:00:00.031) 0:02:34.754 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008920", "end": "2026-06-27 15:47:38.852528", "failed_when_result": false, "rc": 0, "start": "2026-06-27 15:47:38.843608" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 27 June 2026 15:47:38 -0400 (0:00:00.358) 0:02:35.113 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 27 June 2026 15:47:38 -0400 (0:00:00.032) 0:02:35.145 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 27 June 2026 15:47:43 -0400 (0:00:04.671) 0:02:39.817 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 27 June 2026 15:47:43 -0400 (0:00:00.018) 0:02:39.835 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 27 June 2026 15:47:44 -0400 (0:00:00.392) 0:02:40.228 ********* [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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 27 June 2026 15:47:45 -0400 (0:00:01.392) 0:02:41.620 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007567", "end": "2026-06-27 15:47:45.720838", "rc": 0, "start": "2026-06-27 15:47:45.713271" } STDOUT: -- Logs begin at Sat 2026-06-27 15:39:29 EDT, end at Sat 2026-06-27 15:47:45 EDT. -- Jun 27 15:43:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:36 managed-node2 postmaster[10422]: 2026-06-27 15:43:36.100 EDT [10422] LOG: redirecting log output to logging collector process Jun 27 15:43:36 managed-node2 postmaster[10422]: 2026-06-27 15:43:36.100 EDT [10422] HINT: Future log output will appear in directory "log". Jun 27 15:43:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:44 managed-node2 systemd[1]: postgresql.service: Killing process 10423 (postmaster) with signal SIGKILL. Jun 27 15:43:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:44 managed-node2 postmaster[12685]: 2026-06-27 15:43:44.236 EDT [12685] LOG: redirecting log output to logging collector process Jun 27 15:43:44 managed-node2 postmaster[12685]: 2026-06-27 15:43:44.236 EDT [12685] HINT: Future log output will appear in directory "log". Jun 27 15:43:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:48 managed-node2 systemd[1]: postgresql.service: Killing process 12686 (postmaster) with signal SIGKILL. Jun 27 15:43:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:20 managed-node2 postmaster[19295]: 2026-06-27 15:44:20.503 EDT [19295] LOG: redirecting log output to logging collector process Jun 27 15:44:20 managed-node2 postmaster[19295]: 2026-06-27 15:44:20.503 EDT [19295] HINT: Future log output will appear in directory "log". Jun 27 15:44:20 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 19296 (postmaster) with signal SIGKILL. Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:26 managed-node2 postmaster[20835]: 2026-06-27 15:44:26.251 EDT [20835] LOG: redirecting log output to logging collector process Jun 27 15:44:26 managed-node2 postmaster[20835]: 2026-06-27 15:44:26.251 EDT [20835] HINT: Future log output will appear in directory "log". Jun 27 15:44:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:31 managed-node2 systemd[1]: postgresql.service: Killing process 20837 (postmaster) with signal SIGKILL. Jun 27 15:44:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:51 managed-node2 postmaster[25201]: 2026-06-27 15:44:51.265 EDT [25201] LOG: redirecting log output to logging collector process Jun 27 15:44:51 managed-node2 postmaster[25201]: 2026-06-27 15:44:51.265 EDT [25201] HINT: Future log output will appear in directory "log". Jun 27 15:44:51 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:54 managed-node2 systemd[1]: postgresql.service: Killing process 25202 (postmaster) with signal SIGKILL. Jun 27 15:44:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:54 managed-node2 postmaster[25941]: 2026-06-27 15:44:54.507 EDT [25941] LOG: redirecting log output to logging collector process Jun 27 15:44:54 managed-node2 postmaster[25941]: 2026-06-27 15:44:54.507 EDT [25941] HINT: Future log output will appear in directory "log". Jun 27 15:44:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:58 managed-node2 systemd[1]: postgresql.service: Killing process 25942 (postmaster) with signal SIGKILL. Jun 27 15:44:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:18 managed-node2 postmaster[30174]: 2026-06-27 15:45:18.392 EDT [30174] LOG: redirecting log output to logging collector process Jun 27 15:45:18 managed-node2 postmaster[30174]: 2026-06-27 15:45:18.392 EDT [30174] HINT: Future log output will appear in directory "log". Jun 27 15:45:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:21 managed-node2 systemd[1]: postgresql.service: Killing process 30175 (postmaster) with signal SIGKILL. Jun 27 15:45:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:21 managed-node2 postmaster[30981]: 2026-06-27 15:45:21.769 EDT [30981] LOG: redirecting log output to logging collector process Jun 27 15:45:21 managed-node2 postmaster[30981]: 2026-06-27 15:45:21.769 EDT [30981] HINT: Future log output will appear in directory "log". Jun 27 15:45:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:43 managed-node2 systemd[1]: postgresql.service: Killing process 30983 (postmaster) with signal SIGKILL. Jun 27 15:45:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.059 EDT [35688] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.059 EDT [35688] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.061 EDT [35688] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.065 EDT [35688] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.075 EDT [35688] LOG: redirecting log output to logging collector process Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.075 EDT [35688] HINT: Future log output will appear in directory "log". Jun 27 15:45:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:02 managed-node2 systemd[1]: postgresql.service: Killing process 35689 (postmaster) with signal SIGKILL. Jun 27 15:46:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.169 EDT [36496] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.169 EDT [36496] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.170 EDT [36496] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.174 EDT [36496] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.202 EDT [36496] LOG: redirecting log output to logging collector process Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.202 EDT [36496] HINT: Future log output will appear in directory "log". Jun 27 15:46:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:23 managed-node2 systemd[1]: postgresql.service: Killing process 36497 (postmaster) with signal SIGKILL. Jun 27 15:46:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.694 EDT [41231] 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 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.695 EDT [41231] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.695 EDT [41231] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.696 EDT [41231] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.700 EDT [41231] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.710 EDT [41231] LOG: redirecting log output to logging collector process Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.710 EDT [41231] HINT: Future log output will appear in directory "log". Jun 27 15:46:38 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:41 managed-node2 systemd[1]: postgresql.service: Killing process 41232 (postmaster) with signal SIGKILL. Jun 27 15:46:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.768 EDT [42038] 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 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.768 EDT [42038] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.768 EDT [42038] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.770 EDT [42038] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.774 EDT [42038] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.802 EDT [42038] LOG: redirecting log output to logging collector process Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.802 EDT [42038] HINT: Future log output will appear in directory "log". Jun 27 15:46:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:47:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:47:03 managed-node2 systemd[1]: postgresql.service: Killing process 42040 (postmaster) with signal SIGKILL. Jun 27 15:47:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:47:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:47:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:47:18 managed-node2 postmaster[46784]: 2026-06-27 15:47:18.103 EDT [46784] LOG: redirecting log output to logging collector process Jun 27 15:47:18 managed-node2 postmaster[46784]: 2026-06-27 15:47:18.103 EDT [46784] HINT: Future log output will appear in directory "log". Jun 27 15:47:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:47:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:47:21 managed-node2 systemd[1]: postgresql.service: Killing process 46785 (postmaster) with signal SIGKILL. Jun 27 15:47:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:47:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:47:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:47:21 managed-node2 postmaster[47590]: 2026-06-27 15:47:21.156 EDT [47590] LOG: redirecting log output to logging collector process Jun 27 15:47:21 managed-node2 postmaster[47590]: 2026-06-27 15:47:21.156 EDT [47590] HINT: Future log output will appear in directory "log". Jun 27 15:47:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:47:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:47:42 managed-node2 systemd[1]: postgresql.service: Killing process 47592 (postmaster) with signal SIGKILL. Jun 27 15:47:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:47:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 27 June 2026 15:47:45 -0400 (0:00:00.358) 0:02:41.978 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 27 June 2026 15:47:45 -0400 (0:00:00.032) 0:02:42.010 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 27 June 2026 15:47:45 -0400 (0:00:00.013) 0:02:42.024 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 27 June 2026 15:47:45 -0400 (0:00:00.026) 0:02:42.050 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 27 June 2026 15:47:45 -0400 (0:00:00.046) 0:02:42.097 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 27 June 2026 15:47:46 -0400 (0:00:00.674) 0:02:42.771 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 27 June 2026 15:47:46 -0400 (0:00:00.336) 0:02:43.107 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 27 June 2026 15:47:46 -0400 (0:00:00.013) 0:02:43.121 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 27 June 2026 15:47:46 -0400 (0:00:00.013) 0:02:43.134 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 27 June 2026 15:47:46 -0400 (0:00:00.013) 0:02:43.148 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 27 June 2026 15:47:46 -0400 (0:00:00.012) 0:02:43.160 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 27 June 2026 15:47:46 -0400 (0:00:00.012) 0:02:43.173 ********* [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-YI6/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-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 27 June 2026 15:47:47 -0400 (0:00:00.037) 0:02:43.210 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 27 June 2026 15:47:47 -0400 (0:00:00.334) 0:02:43.544 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 27 June 2026 15:47:47 -0400 (0:00:00.338) 0:02:43.882 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 27 June 2026 15:47:48 -0400 (0:00:00.338) 0:02:44.221 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 27 June 2026 15:47:49 -0400 (0:00:01.372) 0:02:45.594 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 27 June 2026 15:47:49 -0400 (0:00:00.032) 0:02:45.627 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 27 June 2026 15:47:49 -0400 (0:00:00.028) 0:02:45.655 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 27 June 2026 15:47:49 -0400 (0:00:00.028) 0:02:45.683 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 27 June 2026 15:47:49 -0400 (0:00:00.023) 0:02:45.707 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 27 June 2026 15:47:55 -0400 (0:00:06.387) 0:02:52.094 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.722064", "end": "2026-06-27 15:47:56.952004", "rc": 0, "start": "2026-06-27 15:47:56.229940" } 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 27 June 2026 15:47:57 -0400 (0:00:01.114) 0:02:53.209 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 27 June 2026 15:47:57 -0400 (0:00:00.021) 0:02:53.230 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 27 June 2026 15:47:57 -0400 (0:00:00.019) 0:02:53.250 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 27 June 2026 15:47:57 -0400 (0:00:00.018) 0:02:53.269 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target systemd-journald.socket sysinit.target network-online.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 27 June 2026 15:47:58 -0400 (0:00:01.032) 0:02:54.301 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.018) 0:02:54.320 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.017) 0:02:54.337 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.017) 0:02:54.354 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.016) 0:02:54.371 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.017) 0:02:54.389 ********* included: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.029) 0:02:54.418 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.017) 0:02:54.436 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.018) 0:02:54.455 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.017) 0:02:54.472 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.017) 0:02:54.490 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.017) 0:02:54.508 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.039) 0:02:54.548 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.018) 0:02:54.567 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.017) 0:02:54.584 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.016) 0:02:54.601 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.017) 0:02:54.619 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 27 June 2026 15:47:58 -0400 (0:00:00.350) 0:02:54.969 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 27 June 2026 15:47:59 -0400 (0:00:00.351) 0:02:55.320 ********* 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-1782589679.1581154-14751-23133697292385/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 27 June 2026 15:47:59 -0400 (0:00:00.711) 0:02:56.032 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 27 June 2026 15:47:59 -0400 (0:00:00.019) 0:02:56.051 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 27 June 2026 15:47:59 -0400 (0:00:00.019) 0:02:56.071 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 27 June 2026 15:48:00 -0400 (0:00:00.350) 0:02:56.421 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 27 June 2026 15:48:00 -0400 (0:00:00.012) 0:02:56.433 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-06-27 15:47:58 EDT", "ActiveEnterTimestampMonotonic": "509002672", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target system.slice systemd-journald.socket network-online.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-06-27 15:47:57 EDT", "AssertTimestampMonotonic": "508951241", "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-27 15:47:57 EDT", "ConditionTimestampMonotonic": "508951240", "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": "52330", "ExecMainStartTimestamp": "Sat 2026-06-27 15:47:57 EDT", "ExecMainStartTimestampMonotonic": "508960910", "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-27 15:47:57 EDT] ; stop_time=[n/a] ; pid=52330 ; 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-27 15:47:57 EDT] ; stop_time=[Sat 2026-06-27 15:47:57 EDT] ; pid=52328 ; 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-27 15:47:57 EDT", "InactiveExitTimestampMonotonic": "508952226", "InvocationID": "bd4e159e5b7e466692c6619fb4859cde", "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": "52330", "MemoryAccounting": "yes", "MemoryCurrent": "18669568", "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-27 15:47:58 EDT", "StateChangeTimestampMonotonic": "509002672", "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-27 15:47:58 EDT", "WatchdogTimestampMonotonic": "509002670", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 27 June 2026 15:48:01 -0400 (0:00:00.941) 0:02:57.375 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007869", "end": "2026-06-27 15:48:01.476301", "rc": 0, "start": "2026-06-27 15:48:01.468432" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 27 June 2026 15:48:01 -0400 (0:00:00.357) 0:02:57.732 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008207", "end": "2026-06-27 15:48:01.834943", "rc": 0, "start": "2026-06-27 15:48:01.826736" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 27 June 2026 15:48:01 -0400 (0:00:00.359) 0:02:58.091 ********* ok: [managed-node2] => { "ansible_job_id": "590469594871.53536", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012347", "end": "2026-06-27 15:48:02.424929", "finished": 1, "rc": 0, "start": "2026-06-27 15:48:02.412582" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 27 June 2026 15:48:17 -0400 (0:00:15.760) 0:03:13.851 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009504", "end": "2026-06-27 15:48:17.963904", "rc": 0, "start": "2026-06-27 15:48:17.954400" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 27 June 2026 15:48:18 -0400 (0:00:00.370) 0:03:14.221 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 27 June 2026 15:48:18 -0400 (0:00:00.031) 0:03:14.252 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009555", "end": "2026-06-27 15:48:18.361043", "rc": 0, "start": "2026-06-27 15:48:18.351488" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 27 June 2026 15:48:18 -0400 (0:00:00.366) 0:03:14.618 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 27 June 2026 15:48:18 -0400 (0:00:00.031) 0:03:14.649 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.008871", "end": "2026-06-27 15:48:18.745966", "failed_when_result": false, "rc": 0, "start": "2026-06-27 15:48:18.737095" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 27 June 2026 15:48:18 -0400 (0:00:00.354) 0:03:15.004 ********* included: /tmp/collections-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 27 June 2026 15:48:18 -0400 (0:00:00.032) 0:03:15.036 ********* 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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 27 June 2026 15:48:23 -0400 (0:00:04.636) 0:03:19.672 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 27 June 2026 15:48:23 -0400 (0:00:00.018) 0:03:19.691 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 27 June 2026 15:48:23 -0400 (0:00:00.385) 0:03:20.076 ********* [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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 27 June 2026 15:48:25 -0400 (0:00:01.338) 0:03:21.415 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007672", "end": "2026-06-27 15:48:25.504740", "rc": 0, "start": "2026-06-27 15:48:25.497068" } STDOUT: -- Logs begin at Sat 2026-06-27 15:39:29 EDT, end at Sat 2026-06-27 15:48:25 EDT. -- Jun 27 15:43:36 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:36 managed-node2 postmaster[10422]: 2026-06-27 15:43:36.100 EDT [10422] LOG: redirecting log output to logging collector process Jun 27 15:43:36 managed-node2 postmaster[10422]: 2026-06-27 15:43:36.100 EDT [10422] HINT: Future log output will appear in directory "log". Jun 27 15:43:36 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:44 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:44 managed-node2 systemd[1]: postgresql.service: Killing process 10423 (postmaster) with signal SIGKILL. Jun 27 15:43:44 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:44 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:43:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:43:44 managed-node2 postmaster[12685]: 2026-06-27 15:43:44.236 EDT [12685] LOG: redirecting log output to logging collector process Jun 27 15:43:44 managed-node2 postmaster[12685]: 2026-06-27 15:43:44.236 EDT [12685] HINT: Future log output will appear in directory "log". Jun 27 15:43:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:43:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:43:48 managed-node2 systemd[1]: postgresql.service: Killing process 12686 (postmaster) with signal SIGKILL. Jun 27 15:43:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:43:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:20 managed-node2 postmaster[19295]: 2026-06-27 15:44:20.503 EDT [19295] LOG: redirecting log output to logging collector process Jun 27 15:44:20 managed-node2 postmaster[19295]: 2026-06-27 15:44:20.503 EDT [19295] HINT: Future log output will appear in directory "log". Jun 27 15:44:20 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Killing process 19296 (postmaster) with signal SIGKILL. Jun 27 15:44:26 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:26 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:26 managed-node2 postmaster[20835]: 2026-06-27 15:44:26.251 EDT [20835] LOG: redirecting log output to logging collector process Jun 27 15:44:26 managed-node2 postmaster[20835]: 2026-06-27 15:44:26.251 EDT [20835] HINT: Future log output will appear in directory "log". Jun 27 15:44:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:31 managed-node2 systemd[1]: postgresql.service: Killing process 20837 (postmaster) with signal SIGKILL. Jun 27 15:44:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:51 managed-node2 postmaster[25201]: 2026-06-27 15:44:51.265 EDT [25201] LOG: redirecting log output to logging collector process Jun 27 15:44:51 managed-node2 postmaster[25201]: 2026-06-27 15:44:51.265 EDT [25201] HINT: Future log output will appear in directory "log". Jun 27 15:44:51 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:54 managed-node2 systemd[1]: postgresql.service: Killing process 25202 (postmaster) with signal SIGKILL. Jun 27 15:44:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:44:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:44:54 managed-node2 postmaster[25941]: 2026-06-27 15:44:54.507 EDT [25941] LOG: redirecting log output to logging collector process Jun 27 15:44:54 managed-node2 postmaster[25941]: 2026-06-27 15:44:54.507 EDT [25941] HINT: Future log output will appear in directory "log". Jun 27 15:44:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:44:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:44:58 managed-node2 systemd[1]: postgresql.service: Killing process 25942 (postmaster) with signal SIGKILL. Jun 27 15:44:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:44:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:18 managed-node2 postmaster[30174]: 2026-06-27 15:45:18.392 EDT [30174] LOG: redirecting log output to logging collector process Jun 27 15:45:18 managed-node2 postmaster[30174]: 2026-06-27 15:45:18.392 EDT [30174] HINT: Future log output will appear in directory "log". Jun 27 15:45:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:21 managed-node2 systemd[1]: postgresql.service: Killing process 30175 (postmaster) with signal SIGKILL. Jun 27 15:45:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:21 managed-node2 postmaster[30981]: 2026-06-27 15:45:21.769 EDT [30981] LOG: redirecting log output to logging collector process Jun 27 15:45:21 managed-node2 postmaster[30981]: 2026-06-27 15:45:21.769 EDT [30981] HINT: Future log output will appear in directory "log". Jun 27 15:45:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:45:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:45:43 managed-node2 systemd[1]: postgresql.service: Killing process 30983 (postmaster) with signal SIGKILL. Jun 27 15:45:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:45:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:45:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.059 EDT [35688] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.059 EDT [35688] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.061 EDT [35688] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.065 EDT [35688] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.075 EDT [35688] LOG: redirecting log output to logging collector process Jun 27 15:45:59 managed-node2 postmaster[35688]: 2026-06-27 15:45:59.075 EDT [35688] HINT: Future log output will appear in directory "log". Jun 27 15:45:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:02 managed-node2 systemd[1]: postgresql.service: Killing process 35689 (postmaster) with signal SIGKILL. Jun 27 15:46:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.169 EDT [36496] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.169 EDT [36496] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.170 EDT [36496] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.174 EDT [36496] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.202 EDT [36496] LOG: redirecting log output to logging collector process Jun 27 15:46:02 managed-node2 postmaster[36496]: 2026-06-27 15:46:02.202 EDT [36496] HINT: Future log output will appear in directory "log". Jun 27 15:46:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:23 managed-node2 systemd[1]: postgresql.service: Killing process 36497 (postmaster) with signal SIGKILL. Jun 27 15:46:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.694 EDT [41231] 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 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.695 EDT [41231] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.695 EDT [41231] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.696 EDT [41231] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.700 EDT [41231] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.710 EDT [41231] LOG: redirecting log output to logging collector process Jun 27 15:46:38 managed-node2 postmaster[41231]: 2026-06-27 15:46:38.710 EDT [41231] HINT: Future log output will appear in directory "log". Jun 27 15:46:38 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:46:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:46:41 managed-node2 systemd[1]: postgresql.service: Killing process 41232 (postmaster) with signal SIGKILL. Jun 27 15:46:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:46:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:46:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.768 EDT [42038] 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 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.768 EDT [42038] LOG: listening on IPv6 address "::1", port 5432 Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.768 EDT [42038] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.770 EDT [42038] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.774 EDT [42038] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.802 EDT [42038] LOG: redirecting log output to logging collector process Jun 27 15:46:41 managed-node2 postmaster[42038]: 2026-06-27 15:46:41.802 EDT [42038] HINT: Future log output will appear in directory "log". Jun 27 15:46:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:47:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:47:03 managed-node2 systemd[1]: postgresql.service: Killing process 42040 (postmaster) with signal SIGKILL. Jun 27 15:47:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:47:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:47:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:47:18 managed-node2 postmaster[46784]: 2026-06-27 15:47:18.103 EDT [46784] LOG: redirecting log output to logging collector process Jun 27 15:47:18 managed-node2 postmaster[46784]: 2026-06-27 15:47:18.103 EDT [46784] HINT: Future log output will appear in directory "log". Jun 27 15:47:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:47:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:47:21 managed-node2 systemd[1]: postgresql.service: Killing process 46785 (postmaster) with signal SIGKILL. Jun 27 15:47:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:47:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:47:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:47:21 managed-node2 postmaster[47590]: 2026-06-27 15:47:21.156 EDT [47590] LOG: redirecting log output to logging collector process Jun 27 15:47:21 managed-node2 postmaster[47590]: 2026-06-27 15:47:21.156 EDT [47590] HINT: Future log output will appear in directory "log". Jun 27 15:47:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:47:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:47:42 managed-node2 systemd[1]: postgresql.service: Killing process 47592 (postmaster) with signal SIGKILL. Jun 27 15:47:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:47:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:47:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:47:58 managed-node2 postgres[52330]: 2026-06-27 15:47:58.017 EDT [52330] LOG: redirecting log output to logging collector process Jun 27 15:47:58 managed-node2 postgres[52330]: 2026-06-27 15:47:58.017 EDT [52330] HINT: Future log output will appear in directory "log". Jun 27 15:47:58 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:48:01 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:48:01 managed-node2 systemd[1]: postgresql.service: Killing process 52332 (postgres) with signal SIGKILL. Jun 27 15:48:01 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:48:01 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jun 27 15:48:01 managed-node2 systemd[1]: Starting PostgreSQL database server... Jun 27 15:48:01 managed-node2 postgres[53137]: 2026-06-27 15:48:01.091 EDT [53137] LOG: redirecting log output to logging collector process Jun 27 15:48:01 managed-node2 postgres[53137]: 2026-06-27 15:48:01.091 EDT [53137] HINT: Future log output will appear in directory "log". Jun 27 15:48:01 managed-node2 systemd[1]: Started PostgreSQL database server. Jun 27 15:48:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jun 27 15:48:22 managed-node2 systemd[1]: postgresql.service: Killing process 53139 (postgres) with signal SIGKILL. Jun 27 15:48:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Jun 27 15:48:22 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 27 June 2026 15:48:25 -0400 (0:00:00.340) 0:03:21.756 ********* =============================================================================== fedora.linux_system_roles.postgresql : Ensure required packages are installed -- 30.96s /tmp/collections-YI6/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-YI6/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.79s /tmp/collections-YI6/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-YI6/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-YI6/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-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Gather the package facts --------- 7.25s /tmp/collections-YI6/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.53s /tmp/collections-YI6/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.37s /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Uninstall postgresql ---------------------------------------------------- 4.69s /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Restart postgresql --------------- 4.69s /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Uninstall postgresql ---------------------------------------------------- 4.67s /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.64s /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.63s /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.62s /tmp/collections-YI6/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.68s /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 fedora.linux_system_roles.postgresql : Create postgresql directory in /etc --- 1.86s /tmp/collections-YI6/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.85s /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 fedora.linux_system_roles.postgresql : Record role success fingerprint --- 1.76s /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Remove config files ----------------------------------------------------- 1.39s /tmp/collections-YI6/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32