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-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 11 July 2026 15:21:04 -0400 (0:00:00.030) 0:00:00.030 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 11 July 2026 15:21:05 -0400 (0:00:00.983) 0:00:01.013 ********* included: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 11 July 2026 15:21:05 -0400 (0:00:00.022) 0:00:01.036 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 11 July 2026 15:21:05 -0400 (0:00:00.027) 0:00:01.064 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 11 July 2026 15:21:05 -0400 (0:00:00.013) 0:00:01.077 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 11 July 2026 15:21:05 -0400 (0:00:00.177) 0:00:01.254 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 11 July 2026 15:21:05 -0400 (0:00:00.042) 0:00:01.297 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 11 July 2026 15:21:06 -0400 (0:00:00.713) 0:00:02.010 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 11 July 2026 15:21:06 -0400 (0:00:00.434) 0:00:02.444 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 11 July 2026 15:21:07 -0400 (0:00:00.454) 0:00:02.899 ********* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 11 July 2026 15:21:07 -0400 (0:00:00.025) 0:00:02.924 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007816", "end": "2026-07-11 15:21:07.511054", "failed_when_result": false, "rc": 0, "start": "2026-07-11 15:21:07.503238" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 11 July 2026 15:21:07 -0400 (0:00:00.454) 0:00:03.379 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 11 July 2026 15:21:07 -0400 (0:00:00.021) 0:00:03.400 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 11 July 2026 15:21:07 -0400 (0:00:00.026) 0:00:03.427 ********* 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-S8v/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-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 11 July 2026 15:21:07 -0400 (0:00:00.048) 0:00:03.475 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 11 July 2026 15:21:07 -0400 (0:00:00.322) 0:00:03.798 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 11 July 2026 15:21:08 -0400 (0:00:00.331) 0:00:04.129 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 11 July 2026 15:21:08 -0400 (0:00:00.333) 0:00:04.463 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 11 July 2026 15:21:10 -0400 (0:00:01.602) 0:00:06.065 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 11 July 2026 15:21:10 -0400 (0:00:00.054) 0:00:06.120 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 11 July 2026 15:21:10 -0400 (0:00:00.043) 0:00:06.163 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 11 July 2026 15:21:10 -0400 (0:00:00.041) 0:00:06.204 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 11 July 2026 15:21:10 -0400 (0:00:00.031) 0:00:06.235 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 11 July 2026 15:21:16 -0400 (0:00:05.958) 0:00:12.194 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.726008", "end": "2026-07-11 15:21:17.427322", "rc": 0, "start": "2026-07-11 15:21:16.701314" } 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 11 July 2026 15:21:17 -0400 (0:00:01.105) 0:00: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 (with postgresql-setup)] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 11 July 2026 15:21:17 -0400 (0:00:00.027) 0:00:13.327 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 11 July 2026 15:21:17 -0400 (0:00:00.024) 0:00:13.352 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 11 July 2026 15:21:17 -0400 (0:00:00.023) 0:00:13.375 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket system.slice sysinit.target network.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 11 July 2026 15:21:18 -0400 (0:00:01.213) 0:00:14.589 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 11 July 2026 15:21:18 -0400 (0:00:00.022) 0:00:14.611 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 11 July 2026 15:21:18 -0400 (0:00:00.021) 0:00:14.633 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 11 July 2026 15:21:18 -0400 (0:00:00.022) 0:00:14.656 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 11 July 2026 15:21:18 -0400 (0:00:00.021) 0:00:14.677 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 11 July 2026 15:21:18 -0400 (0:00:00.021) 0:00:14.699 ********* included: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 11 July 2026 15:21:18 -0400 (0:00:00.044) 0:00:14.744 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 11 July 2026 15:21:18 -0400 (0:00:00.021) 0:00:14.766 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 11 July 2026 15:21:18 -0400 (0:00:00.021) 0:00:14.787 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 11 July 2026 15:21:18 -0400 (0:00:00.023) 0:00:14.811 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 11 July 2026 15:21:19 -0400 (0:00:00.022) 0:00:14.833 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 11 July 2026 15:21:19 -0400 (0:00:00.022) 0:00:14.855 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 11 July 2026 15:21:19 -0400 (0:00:00.021) 0:00:14.877 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 11 July 2026 15:21:19 -0400 (0:00:00.023) 0:00:14.900 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 11 July 2026 15:21:19 -0400 (0:00:00.021) 0:00:14.922 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 11 July 2026 15:21:19 -0400 (0:00:00.022) 0:00:14.945 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 11 July 2026 15:21:19 -0400 (0:00:00.022) 0:00:14.968 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 11 July 2026 15:21:19 -0400 (0:00:00.472) 0:00:15.440 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 11 July 2026 15:21:20 -0400 (0:00:00.424) 0:00:15.865 ********* 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-1783797680.0867662-12881-253969413591142/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 11 July 2026 15:21:20 -0400 (0:00:00.773) 0:00:16.639 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 11 July 2026 15:21:20 -0400 (0:00:00.024) 0:00:16.663 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 11 July 2026 15:21:20 -0400 (0:00:00.024) 0:00:16.687 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 11 July 2026 15:21:21 -0400 (0:00:00.339) 0:00:17.027 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 11 July 2026 15:21:21 -0400 (0:00:00.012) 0:00:17.040 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-11 15:21:18 EDT", "ActiveEnterTimestampMonotonic": "363679302", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target sysinit.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-11 15:21:18 EDT", "AssertTimestampMonotonic": "363628813", "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-07-11 15:21:18 EDT", "ConditionTimestampMonotonic": "363628813", "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-07-11 15:21:18 EDT", "ExecMainStartTimestampMonotonic": "363638388", "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-07-11 15:21: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-07-11 15:21:18 EDT] ; stop_time=[Sat 2026-07-11 15:21: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-07-11 15:21:18 EDT", "InactiveExitTimestampMonotonic": "363629846", "InvocationID": "494c9670d59841b78cbd4e13229349b1", "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": "17846272", "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-07-11 15:21:18 EDT", "StateChangeTimestampMonotonic": "363679302", "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-07-11 15:21:18 EDT", "WatchdogTimestampMonotonic": "363679300", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 11 July 2026 15:21:22 -0400 (0:00:00.927) 0:00:17.967 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007798", "end": "2026-07-11 15:21:22.445458", "rc": 0, "start": "2026-07-11 15:21:22.437660" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 11 July 2026 15:21:22 -0400 (0:00:00.350) 0:00:18.317 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008326", "end": "2026-07-11 15:21:22.787225", "rc": 0, "start": "2026-07-11 15:21:22.778899" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 11 July 2026 15:21:22 -0400 (0:00:00.342) 0:00:18.660 ********* ok: [managed-node2] => { "ansible_job_id": "577724509293.31381", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012130", "end": "2026-07-11 15:21:23.471124", "finished": 1, "rc": 0, "start": "2026-07-11 15:21:23.458994" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 11 July 2026 15:21:38 -0400 (0:00:15.968) 0:00:34.628 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009552", "end": "2026-07-11 15:21:39.119894", "rc": 0, "start": "2026-07-11 15:21:39.110342" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 11 July 2026 15:21:39 -0400 (0:00:00.364) 0:00:34.993 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 11 July 2026 15:21:39 -0400 (0:00:00.041) 0:00:35.034 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009900", "end": "2026-07-11 15:21:39.521724", "rc": 0, "start": "2026-07-11 15:21:39.511824" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 11 July 2026 15:21:39 -0400 (0:00:00.359) 0:00:35.394 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 11 July 2026 15:21:39 -0400 (0:00:00.042) 0:00:35.436 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009073", "end": "2026-07-11 15:21:39.908371", "failed_when_result": false, "rc": 0, "start": "2026-07-11 15:21:39.899298" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 11 July 2026 15:21:39 -0400 (0:00:00.356) 0:00:35.793 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 11 July 2026 15:21:40 -0400 (0:00:00.045) 0:00:35.839 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 11 July 2026 15:21:44 -0400 (0:00:04.698) 0:00:40.538 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 11 July 2026 15:21:44 -0400 (0:00:00.024) 0:00:40.562 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 11 July 2026 15:21:45 -0400 (0:00:00.387) 0:00:40.950 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 11 July 2026 15:21:46 -0400 (0:00:01.310) 0:00:42.260 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007095", "end": "2026-07-11 15:21:46.724776", "rc": 0, "start": "2026-07-11 15:21:46.717681" } STDOUT: -- Logs begin at Sat 2026-07-11 15:15:16 EDT, end at Sat 2026-07-11 15:21:46 EDT. -- Jul 11 15:19:37 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:37 managed-node2 postmaster[10424]: 2026-07-11 15:19:37.920 EDT [10424] LOG: redirecting log output to logging collector process Jul 11 15:19:37 managed-node2 postmaster[10424]: 2026-07-11 15:19:37.920 EDT [10424] HINT: Future log output will appear in directory "log". Jul 11 15:19:37 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:46 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Jul 11 15:19:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:46 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:46 managed-node2 postmaster[12687]: 2026-07-11 15:19:46.108 EDT [12687] LOG: redirecting log output to logging collector process Jul 11 15:19:46 managed-node2 postmaster[12687]: 2026-07-11 15:19:46.108 EDT [12687] HINT: Future log output will appear in directory "log". Jul 11 15:19:46 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:50 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Jul 11 15:19:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:22 managed-node2 postmaster[19296]: 2026-07-11 15:20:22.070 EDT [19296] LOG: redirecting log output to logging collector process Jul 11 15:20:22 managed-node2 postmaster[19296]: 2026-07-11 15:20:22.070 EDT [19296] HINT: Future log output will appear in directory "log". Jul 11 15:20:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:27 managed-node2 systemd[1]: postgresql.service: Killing process 19297 (postmaster) with signal SIGKILL. Jul 11 15:20:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:27 managed-node2 postmaster[20836]: 2026-07-11 15:20:27.660 EDT [20836] LOG: redirecting log output to logging collector process Jul 11 15:20:27 managed-node2 postmaster[20836]: 2026-07-11 15:20:27.660 EDT [20836] HINT: Future log output will appear in directory "log". Jul 11 15:20:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:32 managed-node2 systemd[1]: postgresql.service: Killing process 20838 (postmaster) with signal SIGKILL. Jul 11 15:20:32 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:51 managed-node2 postmaster[25202]: 2026-07-11 15:20:51.691 EDT [25202] LOG: redirecting log output to logging collector process Jul 11 15:20:51 managed-node2 postmaster[25202]: 2026-07-11 15:20:51.691 EDT [25202] HINT: Future log output will appear in directory "log". Jul 11 15:20:51 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:54 managed-node2 systemd[1]: postgresql.service: Killing process 25203 (postmaster) with signal SIGKILL. Jul 11 15:20:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:54 managed-node2 postmaster[25941]: 2026-07-11 15:20:54.874 EDT [25941] LOG: redirecting log output to logging collector process Jul 11 15:20:54 managed-node2 postmaster[25941]: 2026-07-11 15:20:54.874 EDT [25941] HINT: Future log output will appear in directory "log". Jul 11 15:20:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:58 managed-node2 systemd[1]: postgresql.service: Killing process 25943 (postmaster) with signal SIGKILL. Jul 11 15:20:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:18 managed-node2 postmaster[30174]: 2026-07-11 15:21:18.689 EDT [30174] LOG: redirecting log output to logging collector process Jul 11 15:21:18 managed-node2 postmaster[30174]: 2026-07-11 15:21:18.689 EDT [30174] HINT: Future log output will appear in directory "log". Jul 11 15:21:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:22 managed-node2 systemd[1]: postgresql.service: Killing process 30175 (postmaster) with signal SIGKILL. Jul 11 15:21:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:22 managed-node2 postmaster[30981]: 2026-07-11 15:21:22.065 EDT [30981] LOG: redirecting log output to logging collector process Jul 11 15:21:22 managed-node2 postmaster[30981]: 2026-07-11 15:21:22.065 EDT [30981] HINT: Future log output will appear in directory "log". Jul 11 15:21:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:43 managed-node2 systemd[1]: postgresql.service: Killing process 30983 (postmaster) with signal SIGKILL. Jul 11 15:21:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21: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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 11 July 2026 15:21:46 -0400 (0:00:00.347) 0:00:42.608 ********* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 11 July 2026 15:21:46 -0400 (0:00:00.034) 0:00:42.643 ********* skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 included: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 11 July 2026 15:21:46 -0400 (0:00:00.164) 0:00:42.808 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 11 July 2026 15:21:47 -0400 (0:00:00.042) 0:00:42.851 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 11 July 2026 15:21:47 -0400 (0:00:00.013) 0:00:42.864 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 11 July 2026 15:21:47 -0400 (0:00:00.030) 0:00:42.894 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 11 July 2026 15:21:47 -0400 (0:00:00.032) 0:00:42.927 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 11 July 2026 15:21:47 -0400 (0:00:00.663) 0:00:43.590 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 11 July 2026 15:21:48 -0400 (0:00:00.321) 0:00:43.912 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 11 July 2026 15:21:48 -0400 (0:00:00.014) 0:00:43.927 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 11 July 2026 15:21:48 -0400 (0:00:00.014) 0:00:43.941 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 11 July 2026 15:21:48 -0400 (0:00:00.014) 0:00:43.956 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 11 July 2026 15:21:48 -0400 (0:00:00.014) 0:00:43.970 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 11 July 2026 15:21:48 -0400 (0:00:00.013) 0:00:43.983 ********* [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-S8v/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-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 11 July 2026 15:21:48 -0400 (0:00:00.045) 0:00:44.029 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 11 July 2026 15:21:48 -0400 (0:00:00.324) 0:00:44.353 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 11 July 2026 15:21:48 -0400 (0:00:00.320) 0:00:44.674 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 11 July 2026 15:21:49 -0400 (0:00:00.323) 0:00:44.997 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 11 July 2026 15:21:50 -0400 (0:00:01.384) 0:00:46.382 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 11 July 2026 15:21:50 -0400 (0:00:00.044) 0:00:46.427 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 11 July 2026 15:21:50 -0400 (0:00:00.042) 0:00:46.470 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 11 July 2026 15:21:50 -0400 (0:00:00.073) 0:00:46.543 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 11 July 2026 15:21:50 -0400 (0:00:00.031) 0:00:46.575 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 11 July 2026 15:21:57 -0400 (0:00:06.278) 0:00:52.854 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.698064", "end": "2026-07-11 15:21:58.032541", "rc": 0, "start": "2026-07-11 15:21:57.334477" } 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 11 July 2026 15:21:58 -0400 (0:00:01.051) 0:00:53.905 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 11 July 2026 15:21:58 -0400 (0:00:00.027) 0:00:53.933 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 11 July 2026 15:21:58 -0400 (0:00:00.024) 0:00:53.957 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 11 July 2026 15:21:58 -0400 (0:00:00.024) 0:00:53.982 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target system.slice systemd-journald.socket network.target basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 11 July 2026 15:21:59 -0400 (0:00:01.021) 0:00:55.003 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.024) 0:00:55.028 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.022) 0:00:55.050 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.022) 0:00:55.072 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.021) 0:00:55.094 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.023) 0:00:55.117 ********* included: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.043) 0:00:55.161 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.021) 0:00:55.182 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.022) 0:00:55.205 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.022) 0:00:55.227 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.021) 0:00:55.249 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.021) 0:00:55.271 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.045) 0:00:55.316 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.023) 0:00:55.340 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.022) 0:00:55.362 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.021) 0:00:55.384 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.023) 0:00:55.407 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 11 July 2026 15:21:59 -0400 (0:00:00.347) 0:00:55.755 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 11 July 2026 15:22:00 -0400 (0:00:00.344) 0:00:56.100 ********* 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-1783797720.3221889-13355-274575412352983/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 11 July 2026 15:22:00 -0400 (0:00:00.696) 0:00:56.796 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 11 July 2026 15:22:01 -0400 (0:00:00.025) 0:00:56.822 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 11 July 2026 15:22:01 -0400 (0:00:00.023) 0:00:56.845 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 11 July 2026 15:22:01 -0400 (0:00:00.339) 0:00:57.184 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 11 July 2026 15:22:01 -0400 (0:00:00.012) 0:00:57.196 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-11 15:21:59 EDT", "ActiveEnterTimestampMonotonic": "404091492", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice sysinit.target basic.target systemd-journald.socket network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-11 15:21:59 EDT", "AssertTimestampMonotonic": "404042681", "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-07-11 15:21:59 EDT", "ConditionTimestampMonotonic": "404042680", "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-07-11 15:21:59 EDT", "ExecMainStartTimestampMonotonic": "404052515", "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-07-11 15:21: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-07-11 15:21:59 EDT] ; stop_time=[Sat 2026-07-11 15:21: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-07-11 15:21:59 EDT", "InactiveExitTimestampMonotonic": "404043720", "InvocationID": "8d24ccb5ad0c407bb37a36e54eb4de06", "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": "16896000", "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-07-11 15:21:59 EDT", "StateChangeTimestampMonotonic": "404091492", "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-07-11 15:21:59 EDT", "WatchdogTimestampMonotonic": "404091490", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 11 July 2026 15:22:02 -0400 (0:00:00.927) 0:00:58.124 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007830", "end": "2026-07-11 15:22:02.598546", "rc": 0, "start": "2026-07-11 15:22:02.590716" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 11 July 2026 15:22:02 -0400 (0:00:00.345) 0:00:58.469 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008043", "end": "2026-07-11 15:22:02.933625", "rc": 0, "start": "2026-07-11 15:22:02.925582" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 11 July 2026 15:22:03 -0400 (0:00:00.359) 0:00:58.828 ********* ok: [managed-node2] => { "ansible_job_id": "520807829431.36895", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011426", "end": "2026-07-11 15:22:03.534064", "finished": 1, "rc": 0, "start": "2026-07-11 15:22:03.522638" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 11 July 2026 15:22:18 -0400 (0:00:15.755) 0:01:14.584 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009287", "end": "2026-07-11 15:22:19.068682", "rc": 0, "start": "2026-07-11 15:22:19.059395" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 11 July 2026 15:22:19 -0400 (0:00:00.356) 0:01:14.941 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 11 July 2026 15:22:19 -0400 (0:00:00.044) 0:01:14.985 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.008951", "end": "2026-07-11 15:22:19.471542", "rc": 0, "start": "2026-07-11 15:22:19.462591" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 11 July 2026 15:22:19 -0400 (0:00:00.358) 0:01:15.344 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 11 July 2026 15:22:19 -0400 (0:00:00.042) 0:01:15.386 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006680", "end": "2026-07-11 15:22:19.854007", "failed_when_result": false, "rc": 0, "start": "2026-07-11 15:22:19.847327" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 11 July 2026 15:22:19 -0400 (0:00:00.341) 0:01:15.728 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 11 July 2026 15:22:19 -0400 (0:00:00.045) 0:01:15.773 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 11 July 2026 15:22:24 -0400 (0:00:04.616) 0:01:20.390 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 11 July 2026 15:22:24 -0400 (0:00:00.024) 0:01:20.414 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 11 July 2026 15:22:24 -0400 (0:00:00.376) 0:01:20.791 ********* [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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 11 July 2026 15:22:26 -0400 (0:00:01.295) 0:01:22.086 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007184", "end": "2026-07-11 15:22:26.551557", "rc": 0, "start": "2026-07-11 15:22:26.544373" } STDOUT: -- Logs begin at Sat 2026-07-11 15:15:16 EDT, end at Sat 2026-07-11 15:22:26 EDT. -- Jul 11 15:19:37 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:37 managed-node2 postmaster[10424]: 2026-07-11 15:19:37.920 EDT [10424] LOG: redirecting log output to logging collector process Jul 11 15:19:37 managed-node2 postmaster[10424]: 2026-07-11 15:19:37.920 EDT [10424] HINT: Future log output will appear in directory "log". Jul 11 15:19:37 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:46 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Jul 11 15:19:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:46 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:46 managed-node2 postmaster[12687]: 2026-07-11 15:19:46.108 EDT [12687] LOG: redirecting log output to logging collector process Jul 11 15:19:46 managed-node2 postmaster[12687]: 2026-07-11 15:19:46.108 EDT [12687] HINT: Future log output will appear in directory "log". Jul 11 15:19:46 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:50 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Jul 11 15:19:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:22 managed-node2 postmaster[19296]: 2026-07-11 15:20:22.070 EDT [19296] LOG: redirecting log output to logging collector process Jul 11 15:20:22 managed-node2 postmaster[19296]: 2026-07-11 15:20:22.070 EDT [19296] HINT: Future log output will appear in directory "log". Jul 11 15:20:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:27 managed-node2 systemd[1]: postgresql.service: Killing process 19297 (postmaster) with signal SIGKILL. Jul 11 15:20:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:27 managed-node2 postmaster[20836]: 2026-07-11 15:20:27.660 EDT [20836] LOG: redirecting log output to logging collector process Jul 11 15:20:27 managed-node2 postmaster[20836]: 2026-07-11 15:20:27.660 EDT [20836] HINT: Future log output will appear in directory "log". Jul 11 15:20:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:32 managed-node2 systemd[1]: postgresql.service: Killing process 20838 (postmaster) with signal SIGKILL. Jul 11 15:20:32 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:51 managed-node2 postmaster[25202]: 2026-07-11 15:20:51.691 EDT [25202] LOG: redirecting log output to logging collector process Jul 11 15:20:51 managed-node2 postmaster[25202]: 2026-07-11 15:20:51.691 EDT [25202] HINT: Future log output will appear in directory "log". Jul 11 15:20:51 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:54 managed-node2 systemd[1]: postgresql.service: Killing process 25203 (postmaster) with signal SIGKILL. Jul 11 15:20:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:54 managed-node2 postmaster[25941]: 2026-07-11 15:20:54.874 EDT [25941] LOG: redirecting log output to logging collector process Jul 11 15:20:54 managed-node2 postmaster[25941]: 2026-07-11 15:20:54.874 EDT [25941] HINT: Future log output will appear in directory "log". Jul 11 15:20:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:58 managed-node2 systemd[1]: postgresql.service: Killing process 25943 (postmaster) with signal SIGKILL. Jul 11 15:20:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:18 managed-node2 postmaster[30174]: 2026-07-11 15:21:18.689 EDT [30174] LOG: redirecting log output to logging collector process Jul 11 15:21:18 managed-node2 postmaster[30174]: 2026-07-11 15:21:18.689 EDT [30174] HINT: Future log output will appear in directory "log". Jul 11 15:21:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:22 managed-node2 systemd[1]: postgresql.service: Killing process 30175 (postmaster) with signal SIGKILL. Jul 11 15:21:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:22 managed-node2 postmaster[30981]: 2026-07-11 15:21:22.065 EDT [30981] LOG: redirecting log output to logging collector process Jul 11 15:21:22 managed-node2 postmaster[30981]: 2026-07-11 15:21:22.065 EDT [30981] HINT: Future log output will appear in directory "log". Jul 11 15:21:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:43 managed-node2 systemd[1]: postgresql.service: Killing process 30983 (postmaster) with signal SIGKILL. Jul 11 15:21:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.092 EDT [35688] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.092 EDT [35688] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.094 EDT [35688] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.098 EDT [35688] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.108 EDT [35688] LOG: redirecting log output to logging collector process Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.108 EDT [35688] HINT: Future log output will appear in directory "log". Jul 11 15:21:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:02 managed-node2 systemd[1]: postgresql.service: Killing process 35689 (postmaster) with signal SIGKILL. Jul 11 15:22:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.196 EDT [36495] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.196 EDT [36495] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.198 EDT [36495] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.201 EDT [36495] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.230 EDT [36495] LOG: redirecting log output to logging collector process Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.230 EDT [36495] HINT: Future log output will appear in directory "log". Jul 11 15:22:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:23 managed-node2 systemd[1]: postgresql.service: Killing process 36497 (postmaster) with signal SIGKILL. Jul 11 15:22:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 11 July 2026 15:22:26 -0400 (0:00:00.336) 0:01:22.423 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 11 July 2026 15:22:26 -0400 (0:00:00.044) 0:01:22.467 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 11 July 2026 15:22:26 -0400 (0:00:00.013) 0:01:22.481 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 11 July 2026 15:22:26 -0400 (0:00:00.030) 0:01:22.512 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 11 July 2026 15:22:26 -0400 (0:00:00.032) 0:01:22.544 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 11 July 2026 15:22:27 -0400 (0:00:00.658) 0:01:23.202 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 11 July 2026 15:22:27 -0400 (0:00:00.319) 0:01:23.522 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 11 July 2026 15:22:27 -0400 (0:00:00.015) 0:01:23.538 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 11 July 2026 15:22:27 -0400 (0:00:00.014) 0:01:23.552 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 11 July 2026 15:22:27 -0400 (0:00:00.014) 0:01:23.567 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 11 July 2026 15:22:27 -0400 (0:00:00.013) 0:01:23.580 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 11 July 2026 15:22:27 -0400 (0:00:00.014) 0:01:23.594 ********* [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-S8v/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-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 11 July 2026 15:22:27 -0400 (0:00:00.045) 0:01:23.640 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 11 July 2026 15:22:28 -0400 (0:00:00.325) 0:01:23.965 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 11 July 2026 15:22:28 -0400 (0:00:00.329) 0:01:24.295 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 11 July 2026 15:22:28 -0400 (0:00:00.330) 0:01:24.625 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 11 July 2026 15:22:30 -0400 (0:00:01.430) 0:01:26.056 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 11 July 2026 15:22:30 -0400 (0:00:00.072) 0:01:26.129 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 11 July 2026 15:22:30 -0400 (0:00:00.041) 0:01:26.170 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 11 July 2026 15:22:30 -0400 (0:00:00.041) 0:01:26.212 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 11 July 2026 15:22:30 -0400 (0:00:00.055) 0:01:26.267 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 11 July 2026 15:22:36 -0400 (0:00:05.910) 0:01:32.177 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.741710", "end": "2026-07-11 15:22:37.423634", "rc": 0, "start": "2026-07-11 15:22:36.681924" } 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 11 July 2026 15:22:37 -0400 (0:00:01.121) 0:01:33.299 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 11 July 2026 15:22:37 -0400 (0:00:00.028) 0:01:33.327 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 11 July 2026 15:22:37 -0400 (0:00:00.025) 0:01:33.352 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 11 July 2026 15:22:37 -0400 (0:00:00.024) 0:01:33.377 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target systemd-journald.socket system.slice basic.target sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 11 July 2026 15:22:38 -0400 (0:00:01.020) 0:01:34.398 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.024) 0:01:34.422 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.024) 0:01:34.447 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.023) 0:01:34.470 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.022) 0:01:34.493 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.022) 0:01:34.516 ********* included: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.045) 0:01:34.561 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.024) 0:01:34.585 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.025) 0:01:34.611 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.023) 0:01:34.635 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.024) 0:01:34.659 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.023) 0:01:34.683 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.025) 0:01:34.708 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.048) 0:01:34.757 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.024) 0:01:34.781 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 11 July 2026 15:22:38 -0400 (0:00:00.023) 0:01:34.805 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 11 July 2026 15:22:39 -0400 (0:00:00.022) 0:01:34.828 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 11 July 2026 15:22:39 -0400 (0:00:00.348) 0:01:35.176 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 11 July 2026 15:22:39 -0400 (0:00:00.348) 0:01:35.525 ********* 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-1783797759.7482111-13822-209457556777445/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 11 July 2026 15:22:40 -0400 (0:00:00.698) 0:01:36.223 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 11 July 2026 15:22:40 -0400 (0:00:00.023) 0:01:36.247 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 11 July 2026 15:22:40 -0400 (0:00:00.022) 0:01:36.270 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 11 July 2026 15:22:40 -0400 (0:00:00.341) 0:01:36.611 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 11 July 2026 15:22:40 -0400 (0:00:00.013) 0:01:36.625 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-11 15:22:38 EDT", "ActiveEnterTimestampMonotonic": "443484950", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target network.target systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-11 15:22:38 EDT", "AssertTimestampMonotonic": "443434577", "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-07-11 15:22:38 EDT", "ConditionTimestampMonotonic": "443434577", "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": "41229", "ExecMainStartTimestamp": "Sat 2026-07-11 15:22:38 EDT", "ExecMainStartTimestampMonotonic": "443444299", "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-07-11 15:22:38 EDT] ; stop_time=[n/a] ; pid=41229 ; 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-07-11 15:22:38 EDT] ; stop_time=[Sat 2026-07-11 15:22:38 EDT] ; pid=41227 ; 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-07-11 15:22:38 EDT", "InactiveExitTimestampMonotonic": "443435620", "InvocationID": "45b2d0823dfe4e27846c608dd102fd65", "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": "41229", "MemoryAccounting": "yes", "MemoryCurrent": "17866752", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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-07-11 15:22:38 EDT", "StateChangeTimestampMonotonic": "443484950", "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-07-11 15:22:38 EDT", "WatchdogTimestampMonotonic": "443484948", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 11 July 2026 15:22:41 -0400 (0:00:00.932) 0:01:37.557 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008195", "end": "2026-07-11 15:22:42.030046", "rc": 0, "start": "2026-07-11 15:22:42.021851" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 11 July 2026 15:22:42 -0400 (0:00:00.346) 0:01:37.903 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008081", "end": "2026-07-11 15:22:42.371431", "rc": 0, "start": "2026-07-11 15:22:42.363350" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 11 July 2026 15:22:42 -0400 (0:00:00.340) 0:01:38.243 ********* ok: [managed-node2] => { "ansible_job_id": "447868945852.42437", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011813", "end": "2026-07-11 15:22:42.942265", "finished": 1, "rc": 0, "start": "2026-07-11 15:22:42.930452" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 11 July 2026 15:22:58 -0400 (0:00:15.742) 0:01:53.985 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009419", "end": "2026-07-11 15:22:58.474137", "rc": 0, "start": "2026-07-11 15:22:58.464718" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 11 July 2026 15:22:58 -0400 (0:00:00.362) 0:01:54.348 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 11 July 2026 15:22:58 -0400 (0:00:00.042) 0:01:54.390 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009408", "end": "2026-07-11 15:22:58.878232", "rc": 0, "start": "2026-07-11 15:22:58.868824" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 11 July 2026 15:22:58 -0400 (0:00:00.361) 0:01:54.751 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 11 July 2026 15:22:58 -0400 (0:00:00.043) 0:01:54.795 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009184", "end": "2026-07-11 15:22:59.272932", "failed_when_result": false, "rc": 0, "start": "2026-07-11 15:22:59.263748" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 11 July 2026 15:22:59 -0400 (0:00:00.354) 0:01:55.150 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 11 July 2026 15:22:59 -0400 (0:00:00.046) 0:01:55.196 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 11 July 2026 15:23:04 -0400 (0:00:04.643) 0:01:59.839 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 11 July 2026 15:23:04 -0400 (0:00:00.024) 0:01:59.864 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 11 July 2026 15:23:04 -0400 (0:00:00.379) 0:02:00.244 ********* [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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 11 July 2026 15:23:05 -0400 (0:00:01.289) 0:02:01.533 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007465", "end": "2026-07-11 15:23:05.997684", "rc": 0, "start": "2026-07-11 15:23:05.990219" } STDOUT: -- Logs begin at Sat 2026-07-11 15:15:16 EDT, end at Sat 2026-07-11 15:23:05 EDT. -- Jul 11 15:19:37 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:37 managed-node2 postmaster[10424]: 2026-07-11 15:19:37.920 EDT [10424] LOG: redirecting log output to logging collector process Jul 11 15:19:37 managed-node2 postmaster[10424]: 2026-07-11 15:19:37.920 EDT [10424] HINT: Future log output will appear in directory "log". Jul 11 15:19:37 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:46 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Jul 11 15:19:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:46 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:46 managed-node2 postmaster[12687]: 2026-07-11 15:19:46.108 EDT [12687] LOG: redirecting log output to logging collector process Jul 11 15:19:46 managed-node2 postmaster[12687]: 2026-07-11 15:19:46.108 EDT [12687] HINT: Future log output will appear in directory "log". Jul 11 15:19:46 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:50 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Jul 11 15:19:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:22 managed-node2 postmaster[19296]: 2026-07-11 15:20:22.070 EDT [19296] LOG: redirecting log output to logging collector process Jul 11 15:20:22 managed-node2 postmaster[19296]: 2026-07-11 15:20:22.070 EDT [19296] HINT: Future log output will appear in directory "log". Jul 11 15:20:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:27 managed-node2 systemd[1]: postgresql.service: Killing process 19297 (postmaster) with signal SIGKILL. Jul 11 15:20:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:27 managed-node2 postmaster[20836]: 2026-07-11 15:20:27.660 EDT [20836] LOG: redirecting log output to logging collector process Jul 11 15:20:27 managed-node2 postmaster[20836]: 2026-07-11 15:20:27.660 EDT [20836] HINT: Future log output will appear in directory "log". Jul 11 15:20:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:32 managed-node2 systemd[1]: postgresql.service: Killing process 20838 (postmaster) with signal SIGKILL. Jul 11 15:20:32 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:51 managed-node2 postmaster[25202]: 2026-07-11 15:20:51.691 EDT [25202] LOG: redirecting log output to logging collector process Jul 11 15:20:51 managed-node2 postmaster[25202]: 2026-07-11 15:20:51.691 EDT [25202] HINT: Future log output will appear in directory "log". Jul 11 15:20:51 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:54 managed-node2 systemd[1]: postgresql.service: Killing process 25203 (postmaster) with signal SIGKILL. Jul 11 15:20:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:54 managed-node2 postmaster[25941]: 2026-07-11 15:20:54.874 EDT [25941] LOG: redirecting log output to logging collector process Jul 11 15:20:54 managed-node2 postmaster[25941]: 2026-07-11 15:20:54.874 EDT [25941] HINT: Future log output will appear in directory "log". Jul 11 15:20:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:58 managed-node2 systemd[1]: postgresql.service: Killing process 25943 (postmaster) with signal SIGKILL. Jul 11 15:20:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:18 managed-node2 postmaster[30174]: 2026-07-11 15:21:18.689 EDT [30174] LOG: redirecting log output to logging collector process Jul 11 15:21:18 managed-node2 postmaster[30174]: 2026-07-11 15:21:18.689 EDT [30174] HINT: Future log output will appear in directory "log". Jul 11 15:21:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:22 managed-node2 systemd[1]: postgresql.service: Killing process 30175 (postmaster) with signal SIGKILL. Jul 11 15:21:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:22 managed-node2 postmaster[30981]: 2026-07-11 15:21:22.065 EDT [30981] LOG: redirecting log output to logging collector process Jul 11 15:21:22 managed-node2 postmaster[30981]: 2026-07-11 15:21:22.065 EDT [30981] HINT: Future log output will appear in directory "log". Jul 11 15:21:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:43 managed-node2 systemd[1]: postgresql.service: Killing process 30983 (postmaster) with signal SIGKILL. Jul 11 15:21:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.092 EDT [35688] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.092 EDT [35688] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.094 EDT [35688] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.098 EDT [35688] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.108 EDT [35688] LOG: redirecting log output to logging collector process Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.108 EDT [35688] HINT: Future log output will appear in directory "log". Jul 11 15:21:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:02 managed-node2 systemd[1]: postgresql.service: Killing process 35689 (postmaster) with signal SIGKILL. Jul 11 15:22:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.196 EDT [36495] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.196 EDT [36495] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.198 EDT [36495] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.201 EDT [36495] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.230 EDT [36495] LOG: redirecting log output to logging collector process Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.230 EDT [36495] HINT: Future log output will appear in directory "log". Jul 11 15:22:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:23 managed-node2 systemd[1]: postgresql.service: Killing process 36497 (postmaster) with signal SIGKILL. Jul 11 15:22:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.485 EDT [41229] 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 Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.485 EDT [41229] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.485 EDT [41229] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.487 EDT [41229] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.491 EDT [41229] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.502 EDT [41229] LOG: redirecting log output to logging collector process Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.502 EDT [41229] HINT: Future log output will appear in directory "log". Jul 11 15:22:38 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:41 managed-node2 systemd[1]: postgresql.service: Killing process 41231 (postmaster) with signal SIGKILL. Jul 11 15:22:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.627 EDT [42037] 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 Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.627 EDT [42037] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.627 EDT [42037] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.629 EDT [42037] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.633 EDT [42037] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.662 EDT [42037] LOG: redirecting log output to logging collector process Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.662 EDT [42037] HINT: Future log output will appear in directory "log". Jul 11 15:22:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:23:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:23:03 managed-node2 systemd[1]: postgresql.service: Killing process 42039 (postmaster) with signal SIGKILL. Jul 11 15:23:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:23:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 11 July 2026 15:23:06 -0400 (0:00:00.350) 0:02:01.884 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 11 July 2026 15:23:06 -0400 (0:00:00.044) 0:02:01.928 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 11 July 2026 15:23:06 -0400 (0:00:00.013) 0:02:01.942 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 11 July 2026 15:23:06 -0400 (0:00:00.031) 0:02:01.973 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 11 July 2026 15:23:06 -0400 (0:00:00.032) 0:02:02.006 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 11 July 2026 15:23:06 -0400 (0:00:00.662) 0:02:02.668 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 11 July 2026 15:23:07 -0400 (0:00:00.320) 0:02:02.989 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 11 July 2026 15:23:07 -0400 (0:00:00.015) 0:02:03.004 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 11 July 2026 15:23:07 -0400 (0:00:00.014) 0:02:03.019 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 11 July 2026 15:23:07 -0400 (0:00:00.014) 0:02:03.033 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 11 July 2026 15:23:07 -0400 (0:00:00.013) 0:02:03.046 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 11 July 2026 15:23:07 -0400 (0:00:00.014) 0:02:03.061 ********* [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-S8v/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-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 11 July 2026 15:23:07 -0400 (0:00:00.045) 0:02:03.106 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 11 July 2026 15:23:07 -0400 (0:00:00.320) 0:02:03.427 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 11 July 2026 15:23:07 -0400 (0:00:00.321) 0:02:03.749 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 11 July 2026 15:23:08 -0400 (0:00:00.319) 0:02:04.068 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 11 July 2026 15:23:09 -0400 (0:00:01.382) 0:02:05.451 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 11 July 2026 15:23:09 -0400 (0:00:00.045) 0:02:05.496 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 11 July 2026 15:23:09 -0400 (0:00:00.043) 0:02:05.540 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 11 July 2026 15:23:09 -0400 (0:00:00.041) 0:02:05.581 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 11 July 2026 15:23:09 -0400 (0:00:00.030) 0:02:05.612 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 11 July 2026 15:23:15 -0400 (0:00:06.101) 0:02:11.714 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.690537", "end": "2026-07-11 15:23:16.887958", "rc": 0, "start": "2026-07-11 15:23:16.197421" } 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 11 July 2026 15:23:16 -0400 (0:00:01.047) 0:02:12.761 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 11 July 2026 15:23:16 -0400 (0:00:00.028) 0:02:12.789 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 11 July 2026 15:23:16 -0400 (0:00:00.025) 0:02:12.815 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 11 July 2026 15:23:17 -0400 (0:00:00.024) 0:02:12.839 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target sysinit.target system.slice network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "sysinit.target system.slice", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 11 July 2026 15:23:18 -0400 (0:00:01.020) 0:02:13.860 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.024) 0:02:13.884 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.022) 0:02:13.906 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.023) 0:02:13.929 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.021) 0:02:13.951 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.021) 0:02:13.973 ********* included: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.045) 0:02:14.019 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.022) 0:02:14.041 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.022) 0:02:14.063 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.023) 0:02:14.086 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.022) 0:02:14.108 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.022) 0:02:14.131 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.022) 0:02:14.153 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.023) 0:02:14.176 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.022) 0:02:14.198 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.021) 0:02:14.220 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.021) 0:02:14.242 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 11 July 2026 15:23:18 -0400 (0:00:00.340) 0:02:14.583 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 11 July 2026 15:23:19 -0400 (0:00:00.339) 0:02:14.923 ********* 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-1783797799.1450832-14289-224350650840591/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 11 July 2026 15:23:19 -0400 (0:00:00.692) 0:02:15.615 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 11 July 2026 15:23:19 -0400 (0:00:00.024) 0:02:15.640 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 11 July 2026 15:23:19 -0400 (0:00:00.022) 0:02:15.663 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 11 July 2026 15:23:20 -0400 (0:00:00.336) 0:02:15.999 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 11 July 2026 15:23:20 -0400 (0:00:00.012) 0:02:16.011 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-11 15:23:17 EDT", "ActiveEnterTimestampMonotonic": "482948638", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target basic.target system.slice sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-11 15:23:17 EDT", "AssertTimestampMonotonic": "482898537", "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-07-11 15:23:17 EDT", "ConditionTimestampMonotonic": "482898537", "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": "46783", "ExecMainStartTimestamp": "Sat 2026-07-11 15:23:17 EDT", "ExecMainStartTimestampMonotonic": "482908197", "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-07-11 15:23:17 EDT] ; stop_time=[n/a] ; pid=46783 ; 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-07-11 15:23:17 EDT] ; stop_time=[Sat 2026-07-11 15:23:17 EDT] ; pid=46780 ; 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-07-11 15:23:17 EDT", "InactiveExitTimestampMonotonic": "482899502", "InvocationID": "6a819f7a7e4948cf8f51e5c82993680c", "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": "46783", "MemoryAccounting": "yes", "MemoryCurrent": "18444288", "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-07-11 15:23:17 EDT", "StateChangeTimestampMonotonic": "482948638", "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-07-11 15:23:17 EDT", "WatchdogTimestampMonotonic": "482948636", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 11 July 2026 15:23:21 -0400 (0:00:00.918) 0:02:16.930 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007828", "end": "2026-07-11 15:23:21.398763", "rc": 0, "start": "2026-07-11 15:23:21.390935" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 11 July 2026 15:23:21 -0400 (0:00:00.339) 0:02:17.269 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008182", "end": "2026-07-11 15:23:21.733702", "rc": 0, "start": "2026-07-11 15:23:21.725520" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 11 July 2026 15:23:21 -0400 (0:00:00.334) 0:02:17.603 ********* ok: [managed-node2] => { "ansible_job_id": "809138590980.47988", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012193", "end": "2026-07-11 15:23:22.301697", "finished": 1, "rc": 0, "start": "2026-07-11 15:23:22.289504" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 11 July 2026 15:23:37 -0400 (0:00:15.744) 0:02:33.348 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009500", "end": "2026-07-11 15:23:37.833737", "rc": 0, "start": "2026-07-11 15:23:37.824237" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 11 July 2026 15:23:37 -0400 (0:00:00.357) 0:02:33.706 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 11 July 2026 15:23:37 -0400 (0:00:00.041) 0:02:33.747 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009111", "end": "2026-07-11 15:23:38.231662", "rc": 0, "start": "2026-07-11 15:23:38.222551" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 11 July 2026 15:23:38 -0400 (0:00:00.354) 0:02:34.102 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 11 July 2026 15:23:38 -0400 (0:00:00.040) 0:02:34.143 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009080", "end": "2026-07-11 15:23:38.620942", "failed_when_result": false, "rc": 0, "start": "2026-07-11 15:23:38.611862" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 11 July 2026 15:23:38 -0400 (0:00:00.355) 0:02:34.498 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 11 July 2026 15:23:38 -0400 (0:00:00.050) 0:02:34.549 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 11 July 2026 15:23:43 -0400 (0:00:04.630) 0:02:39.179 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 11 July 2026 15:23:43 -0400 (0:00:00.023) 0:02:39.203 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 11 July 2026 15:23:43 -0400 (0:00:00.380) 0:02:39.584 ********* [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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 11 July 2026 15:23:45 -0400 (0:00:01.308) 0:02:40.893 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007856", "end": "2026-07-11 15:23:45.363769", "rc": 0, "start": "2026-07-11 15:23:45.355913" } STDOUT: -- Logs begin at Sat 2026-07-11 15:15:16 EDT, end at Sat 2026-07-11 15:23:45 EDT. -- Jul 11 15:19:37 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:37 managed-node2 postmaster[10424]: 2026-07-11 15:19:37.920 EDT [10424] LOG: redirecting log output to logging collector process Jul 11 15:19:37 managed-node2 postmaster[10424]: 2026-07-11 15:19:37.920 EDT [10424] HINT: Future log output will appear in directory "log". Jul 11 15:19:37 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:46 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Jul 11 15:19:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:46 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:46 managed-node2 postmaster[12687]: 2026-07-11 15:19:46.108 EDT [12687] LOG: redirecting log output to logging collector process Jul 11 15:19:46 managed-node2 postmaster[12687]: 2026-07-11 15:19:46.108 EDT [12687] HINT: Future log output will appear in directory "log". Jul 11 15:19:46 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:50 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Jul 11 15:19:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:22 managed-node2 postmaster[19296]: 2026-07-11 15:20:22.070 EDT [19296] LOG: redirecting log output to logging collector process Jul 11 15:20:22 managed-node2 postmaster[19296]: 2026-07-11 15:20:22.070 EDT [19296] HINT: Future log output will appear in directory "log". Jul 11 15:20:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:27 managed-node2 systemd[1]: postgresql.service: Killing process 19297 (postmaster) with signal SIGKILL. Jul 11 15:20:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:27 managed-node2 postmaster[20836]: 2026-07-11 15:20:27.660 EDT [20836] LOG: redirecting log output to logging collector process Jul 11 15:20:27 managed-node2 postmaster[20836]: 2026-07-11 15:20:27.660 EDT [20836] HINT: Future log output will appear in directory "log". Jul 11 15:20:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:32 managed-node2 systemd[1]: postgresql.service: Killing process 20838 (postmaster) with signal SIGKILL. Jul 11 15:20:32 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:51 managed-node2 postmaster[25202]: 2026-07-11 15:20:51.691 EDT [25202] LOG: redirecting log output to logging collector process Jul 11 15:20:51 managed-node2 postmaster[25202]: 2026-07-11 15:20:51.691 EDT [25202] HINT: Future log output will appear in directory "log". Jul 11 15:20:51 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:54 managed-node2 systemd[1]: postgresql.service: Killing process 25203 (postmaster) with signal SIGKILL. Jul 11 15:20:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:54 managed-node2 postmaster[25941]: 2026-07-11 15:20:54.874 EDT [25941] LOG: redirecting log output to logging collector process Jul 11 15:20:54 managed-node2 postmaster[25941]: 2026-07-11 15:20:54.874 EDT [25941] HINT: Future log output will appear in directory "log". Jul 11 15:20:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:58 managed-node2 systemd[1]: postgresql.service: Killing process 25943 (postmaster) with signal SIGKILL. Jul 11 15:20:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:18 managed-node2 postmaster[30174]: 2026-07-11 15:21:18.689 EDT [30174] LOG: redirecting log output to logging collector process Jul 11 15:21:18 managed-node2 postmaster[30174]: 2026-07-11 15:21:18.689 EDT [30174] HINT: Future log output will appear in directory "log". Jul 11 15:21:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:22 managed-node2 systemd[1]: postgresql.service: Killing process 30175 (postmaster) with signal SIGKILL. Jul 11 15:21:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:22 managed-node2 postmaster[30981]: 2026-07-11 15:21:22.065 EDT [30981] LOG: redirecting log output to logging collector process Jul 11 15:21:22 managed-node2 postmaster[30981]: 2026-07-11 15:21:22.065 EDT [30981] HINT: Future log output will appear in directory "log". Jul 11 15:21:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:43 managed-node2 systemd[1]: postgresql.service: Killing process 30983 (postmaster) with signal SIGKILL. Jul 11 15:21:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.092 EDT [35688] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.092 EDT [35688] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.094 EDT [35688] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.098 EDT [35688] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.108 EDT [35688] LOG: redirecting log output to logging collector process Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.108 EDT [35688] HINT: Future log output will appear in directory "log". Jul 11 15:21:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:02 managed-node2 systemd[1]: postgresql.service: Killing process 35689 (postmaster) with signal SIGKILL. Jul 11 15:22:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.196 EDT [36495] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.196 EDT [36495] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.198 EDT [36495] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.201 EDT [36495] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.230 EDT [36495] LOG: redirecting log output to logging collector process Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.230 EDT [36495] HINT: Future log output will appear in directory "log". Jul 11 15:22:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:23 managed-node2 systemd[1]: postgresql.service: Killing process 36497 (postmaster) with signal SIGKILL. Jul 11 15:22:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.485 EDT [41229] 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 Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.485 EDT [41229] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.485 EDT [41229] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.487 EDT [41229] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.491 EDT [41229] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.502 EDT [41229] LOG: redirecting log output to logging collector process Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.502 EDT [41229] HINT: Future log output will appear in directory "log". Jul 11 15:22:38 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:41 managed-node2 systemd[1]: postgresql.service: Killing process 41231 (postmaster) with signal SIGKILL. Jul 11 15:22:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.627 EDT [42037] 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 Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.627 EDT [42037] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.627 EDT [42037] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.629 EDT [42037] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.633 EDT [42037] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.662 EDT [42037] LOG: redirecting log output to logging collector process Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.662 EDT [42037] HINT: Future log output will appear in directory "log". Jul 11 15:22:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:23:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:23:03 managed-node2 systemd[1]: postgresql.service: Killing process 42039 (postmaster) with signal SIGKILL. Jul 11 15:23:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:23:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:23:17 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:23:17 managed-node2 postmaster[46783]: 2026-07-11 15:23:17.959 EDT [46783] LOG: redirecting log output to logging collector process Jul 11 15:23:17 managed-node2 postmaster[46783]: 2026-07-11 15:23:17.959 EDT [46783] HINT: Future log output will appear in directory "log". Jul 11 15:23:17 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:23:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:23:20 managed-node2 systemd[1]: postgresql.service: Killing process 46784 (postmaster) with signal SIGKILL. Jul 11 15:23:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:23:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:23:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:23:21 managed-node2 postmaster[47589]: 2026-07-11 15:23:21.029 EDT [47589] LOG: redirecting log output to logging collector process Jul 11 15:23:21 managed-node2 postmaster[47589]: 2026-07-11 15:23:21.029 EDT [47589] HINT: Future log output will appear in directory "log". Jul 11 15:23:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:23:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:23:42 managed-node2 systemd[1]: postgresql.service: Killing process 47591 (postmaster) with signal SIGKILL. Jul 11 15:23:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:23:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 11 July 2026 15:23:45 -0400 (0:00:00.344) 0:02:41.237 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 11 July 2026 15:23:45 -0400 (0:00:00.043) 0:02:41.281 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 11 July 2026 15:23:45 -0400 (0:00:00.013) 0:02:41.294 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 11 July 2026 15:23:45 -0400 (0:00:00.030) 0:02:41.325 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 11 July 2026 15:23:45 -0400 (0:00:00.033) 0:02:41.358 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 11 July 2026 15:23:46 -0400 (0:00:00.668) 0:02:42.026 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 11 July 2026 15:23:46 -0400 (0:00:00.320) 0:02:42.347 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 11 July 2026 15:23:46 -0400 (0:00:00.015) 0:02:42.362 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 11 July 2026 15:23:46 -0400 (0:00:00.015) 0:02:42.378 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 11 July 2026 15:23:46 -0400 (0:00:00.013) 0:02:42.392 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 11 July 2026 15:23:46 -0400 (0:00:00.014) 0:02:42.406 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 11 July 2026 15:23:46 -0400 (0:00:00.013) 0:02:42.419 ********* [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-S8v/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-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 11 July 2026 15:23:46 -0400 (0:00:00.045) 0:02:42.465 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 11 July 2026 15:23:46 -0400 (0:00:00.321) 0:02:42.786 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 11 July 2026 15:23:47 -0400 (0:00:00.328) 0:02:43.115 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 11 July 2026 15:23:47 -0400 (0:00:00.323) 0:02:43.438 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 11 July 2026 15:23:49 -0400 (0:00:01.386) 0:02:44.824 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 11 July 2026 15:23:49 -0400 (0:00:00.045) 0:02:44.869 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 11 July 2026 15:23:49 -0400 (0:00:00.041) 0:02:44.911 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 11 July 2026 15:23:49 -0400 (0:00:00.043) 0:02:44.955 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 11 July 2026 15:23:49 -0400 (0:00:00.031) 0:02:44.986 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 11 July 2026 15:23:55 -0400 (0:00:06.262) 0:02:51.249 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.691107", "end": "2026-07-11 15:23:56.429196", "rc": 0, "start": "2026-07-11 15:23:55.738089" } 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 11 July 2026 15:23:56 -0400 (0:00:01.054) 0:02:52.304 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 11 July 2026 15:23:56 -0400 (0:00:00.027) 0:02:52.331 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 11 July 2026 15:23:56 -0400 (0:00:00.024) 0:02:52.356 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 11 July 2026 15:23:56 -0400 (0:00:00.024) 0:02:52.380 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "basic.target network-online.target systemd-journald.socket sysinit.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 11 July 2026 15:23:57 -0400 (0:00:01.022) 0:02:53.403 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.023) 0:02:53.427 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.022) 0:02:53.450 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.022) 0:02:53.472 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.022) 0:02:53.494 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.022) 0:02:53.516 ********* included: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.044) 0:02:53.561 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.022) 0:02:53.583 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.022) 0:02:53.606 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.022) 0:02:53.628 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.022) 0:02:53.650 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.025) 0:02:53.675 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.023) 0:02:53.699 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.022) 0:02:53.721 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.021) 0:02:53.743 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.021) 0:02:53.765 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 11 July 2026 15:23:57 -0400 (0:00:00.023) 0:02:53.788 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 11 July 2026 15:23:58 -0400 (0:00:00.340) 0:02:54.129 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 11 July 2026 15:23:58 -0400 (0:00:00.340) 0:02:54.470 ********* 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-1783797838.6912663-14756-212214918184573/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 11 July 2026 15:23:59 -0400 (0:00:00.695) 0:02:55.165 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 11 July 2026 15:23:59 -0400 (0:00:00.022) 0:02:55.188 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 11 July 2026 15:23:59 -0400 (0:00:00.022) 0:02:55.210 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 11 July 2026 15:23:59 -0400 (0:00:00.345) 0:02:55.556 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 11 July 2026 15:23:59 -0400 (0:00:00.013) 0:02:55.569 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-11 15:23:57 EDT", "ActiveEnterTimestampMonotonic": "522491476", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network-online.target sysinit.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-11 15:23:57 EDT", "AssertTimestampMonotonic": "522440359", "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-07-11 15:23:57 EDT", "ConditionTimestampMonotonic": "522440359", "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-07-11 15:23:57 EDT", "ExecMainStartTimestampMonotonic": "522449892", "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-07-11 15:23: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-07-11 15:23:57 EDT] ; stop_time=[Sat 2026-07-11 15:23:57 EDT] ; pid=52327 ; 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-07-11 15:23:57 EDT", "InactiveExitTimestampMonotonic": "522441350", "InvocationID": "4697261d44dc4a60b2a0faa61535cc2f", "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": "18644992", "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-07-11 15:23:57 EDT", "StateChangeTimestampMonotonic": "522491476", "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-07-11 15:23:57 EDT", "WatchdogTimestampMonotonic": "522491474", "WatchdogUSec": "0" } } META: ran handlers TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 11 July 2026 15:24:00 -0400 (0:00:00.963) 0:02:56.532 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008158", "end": "2026-07-11 15:24:01.005882", "rc": 0, "start": "2026-07-11 15:24:00.997724" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 11 July 2026 15:24:01 -0400 (0:00:00.344) 0:02:56.876 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008146", "end": "2026-07-11 15:24:01.344143", "rc": 0, "start": "2026-07-11 15:24:01.335997" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 11 July 2026 15:24:01 -0400 (0:00:00.338) 0:02:57.215 ********* ok: [managed-node2] => { "ansible_job_id": "858644674498.53535", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012165", "end": "2026-07-11 15:24:01.915043", "finished": 1, "rc": 0, "start": "2026-07-11 15:24:01.902878" } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 11 July 2026 15:24:17 -0400 (0:00:15.738) 0:03:12.953 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009682", "end": "2026-07-11 15:24:17.441830", "rc": 0, "start": "2026-07-11 15:24:17.432148" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 11 July 2026 15:24:17 -0400 (0:00:00.360) 0:03:13.314 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 11 July 2026 15:24:17 -0400 (0:00:00.041) 0:03:13.355 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009362", "end": "2026-07-11 15:24:17.842393", "rc": 0, "start": "2026-07-11 15:24:17.833031" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 11 July 2026 15:24:17 -0400 (0:00:00.358) 0:03:13.714 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 11 July 2026 15:24:17 -0400 (0:00:00.041) 0:03:13.756 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009189", "end": "2026-07-11 15:24:18.234038", "failed_when_result": false, "rc": 0, "start": "2026-07-11 15:24:18.224849" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 11 July 2026 15:24:18 -0400 (0:00:00.353) 0:03:14.110 ********* included: /tmp/collections-S8v/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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 11 July 2026 15:24:18 -0400 (0:00:00.067) 0:03:14.177 ********* 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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 11 July 2026 15:24:23 -0400 (0:00:04.649) 0:03:18.827 ********* skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 11 July 2026 15:24:23 -0400 (0:00:00.027) 0:03:18.854 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 11 July 2026 15:24:23 -0400 (0:00:00.377) 0:03:19.232 ********* [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-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 11 July 2026 15:24:24 -0400 (0:00:01.289) 0:03:20.521 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007720", "end": "2026-07-11 15:24:24.985549", "rc": 0, "start": "2026-07-11 15:24:24.977829" } STDOUT: -- Logs begin at Sat 2026-07-11 15:15:16 EDT, end at Sat 2026-07-11 15:24:24 EDT. -- Jul 11 15:19:37 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:37 managed-node2 postmaster[10424]: 2026-07-11 15:19:37.920 EDT [10424] LOG: redirecting log output to logging collector process Jul 11 15:19:37 managed-node2 postmaster[10424]: 2026-07-11 15:19:37.920 EDT [10424] HINT: Future log output will appear in directory "log". Jul 11 15:19:37 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:46 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:46 managed-node2 systemd[1]: postgresql.service: Killing process 10425 (postmaster) with signal SIGKILL. Jul 11 15:19:46 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:46 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:19:46 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:19:46 managed-node2 postmaster[12687]: 2026-07-11 15:19:46.108 EDT [12687] LOG: redirecting log output to logging collector process Jul 11 15:19:46 managed-node2 postmaster[12687]: 2026-07-11 15:19:46.108 EDT [12687] HINT: Future log output will appear in directory "log". Jul 11 15:19:46 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:19:49 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:19:50 managed-node2 systemd[1]: postgresql.service: Killing process 12688 (postmaster) with signal SIGKILL. Jul 11 15:19:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:19:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:22 managed-node2 postmaster[19296]: 2026-07-11 15:20:22.070 EDT [19296] LOG: redirecting log output to logging collector process Jul 11 15:20:22 managed-node2 postmaster[19296]: 2026-07-11 15:20:22.070 EDT [19296] HINT: Future log output will appear in directory "log". Jul 11 15:20:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:27 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:27 managed-node2 systemd[1]: postgresql.service: Killing process 19297 (postmaster) with signal SIGKILL. Jul 11 15:20:27 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:27 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:27 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:27 managed-node2 postmaster[20836]: 2026-07-11 15:20:27.660 EDT [20836] LOG: redirecting log output to logging collector process Jul 11 15:20:27 managed-node2 postmaster[20836]: 2026-07-11 15:20:27.660 EDT [20836] HINT: Future log output will appear in directory "log". Jul 11 15:20:27 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:32 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:32 managed-node2 systemd[1]: postgresql.service: Killing process 20838 (postmaster) with signal SIGKILL. Jul 11 15:20:32 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:32 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:51 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:51 managed-node2 postmaster[25202]: 2026-07-11 15:20:51.691 EDT [25202] LOG: redirecting log output to logging collector process Jul 11 15:20:51 managed-node2 postmaster[25202]: 2026-07-11 15:20:51.691 EDT [25202] HINT: Future log output will appear in directory "log". Jul 11 15:20:51 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:54 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:54 managed-node2 systemd[1]: postgresql.service: Killing process 25203 (postmaster) with signal SIGKILL. Jul 11 15:20:54 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:54 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:20:54 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:20:54 managed-node2 postmaster[25941]: 2026-07-11 15:20:54.874 EDT [25941] LOG: redirecting log output to logging collector process Jul 11 15:20:54 managed-node2 postmaster[25941]: 2026-07-11 15:20:54.874 EDT [25941] HINT: Future log output will appear in directory "log". Jul 11 15:20:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:20:58 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:20:58 managed-node2 systemd[1]: postgresql.service: Killing process 25943 (postmaster) with signal SIGKILL. Jul 11 15:20:58 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:20:58 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:18 managed-node2 postmaster[30174]: 2026-07-11 15:21:18.689 EDT [30174] LOG: redirecting log output to logging collector process Jul 11 15:21:18 managed-node2 postmaster[30174]: 2026-07-11 15:21:18.689 EDT [30174] HINT: Future log output will appear in directory "log". Jul 11 15:21:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:22 managed-node2 systemd[1]: postgresql.service: Killing process 30175 (postmaster) with signal SIGKILL. Jul 11 15:21:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:22 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:22 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:22 managed-node2 postmaster[30981]: 2026-07-11 15:21:22.065 EDT [30981] LOG: redirecting log output to logging collector process Jul 11 15:21:22 managed-node2 postmaster[30981]: 2026-07-11 15:21:22.065 EDT [30981] HINT: Future log output will appear in directory "log". Jul 11 15:21:22 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:21:43 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:21:43 managed-node2 systemd[1]: postgresql.service: Killing process 30983 (postmaster) with signal SIGKILL. Jul 11 15:21:43 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:21:43 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:21:59 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.092 EDT [35688] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.092 EDT [35688] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.094 EDT [35688] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.098 EDT [35688] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.108 EDT [35688] LOG: redirecting log output to logging collector process Jul 11 15:21:59 managed-node2 postmaster[35688]: 2026-07-11 15:21:59.108 EDT [35688] HINT: Future log output will appear in directory "log". Jul 11 15:21:59 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:02 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:02 managed-node2 systemd[1]: postgresql.service: Killing process 35689 (postmaster) with signal SIGKILL. Jul 11 15:22:02 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:02 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:02 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.196 EDT [36495] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.196 EDT [36495] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.198 EDT [36495] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.201 EDT [36495] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.230 EDT [36495] LOG: redirecting log output to logging collector process Jul 11 15:22:02 managed-node2 postmaster[36495]: 2026-07-11 15:22:02.230 EDT [36495] HINT: Future log output will appear in directory "log". Jul 11 15:22:02 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:23 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:23 managed-node2 systemd[1]: postgresql.service: Killing process 36497 (postmaster) with signal SIGKILL. Jul 11 15:22:23 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:23 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:38 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.485 EDT [41229] 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 Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.485 EDT [41229] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.485 EDT [41229] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.487 EDT [41229] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.491 EDT [41229] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.502 EDT [41229] LOG: redirecting log output to logging collector process Jul 11 15:22:38 managed-node2 postmaster[41229]: 2026-07-11 15:22:38.502 EDT [41229] HINT: Future log output will appear in directory "log". Jul 11 15:22:38 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:22:41 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:22:41 managed-node2 systemd[1]: postgresql.service: Killing process 41231 (postmaster) with signal SIGKILL. Jul 11 15:22:41 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:22:41 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:22:41 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.627 EDT [42037] 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 Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.627 EDT [42037] LOG: listening on IPv6 address "::1", port 5432 Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.627 EDT [42037] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.629 EDT [42037] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.633 EDT [42037] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.662 EDT [42037] LOG: redirecting log output to logging collector process Jul 11 15:22:41 managed-node2 postmaster[42037]: 2026-07-11 15:22:41.662 EDT [42037] HINT: Future log output will appear in directory "log". Jul 11 15:22:41 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:23:03 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:23:03 managed-node2 systemd[1]: postgresql.service: Killing process 42039 (postmaster) with signal SIGKILL. Jul 11 15:23:03 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:23:03 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:23:17 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:23:17 managed-node2 postmaster[46783]: 2026-07-11 15:23:17.959 EDT [46783] LOG: redirecting log output to logging collector process Jul 11 15:23:17 managed-node2 postmaster[46783]: 2026-07-11 15:23:17.959 EDT [46783] HINT: Future log output will appear in directory "log". Jul 11 15:23:17 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:23:20 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:23:20 managed-node2 systemd[1]: postgresql.service: Killing process 46784 (postmaster) with signal SIGKILL. Jul 11 15:23:20 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:23:20 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:23:20 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:23:21 managed-node2 postmaster[47589]: 2026-07-11 15:23:21.029 EDT [47589] LOG: redirecting log output to logging collector process Jul 11 15:23:21 managed-node2 postmaster[47589]: 2026-07-11 15:23:21.029 EDT [47589] HINT: Future log output will appear in directory "log". Jul 11 15:23:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:23:42 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:23:42 managed-node2 systemd[1]: postgresql.service: Killing process 47591 (postmaster) with signal SIGKILL. Jul 11 15:23:42 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:23:42 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:23:57 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:23:57 managed-node2 postgres[52330]: 2026-07-11 15:23:57.501 EDT [52330] LOG: redirecting log output to logging collector process Jul 11 15:23:57 managed-node2 postgres[52330]: 2026-07-11 15:23:57.501 EDT [52330] HINT: Future log output will appear in directory "log". Jul 11 15:23:57 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:24:00 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:24:00 managed-node2 systemd[1]: postgresql.service: Killing process 52331 (postgres) with signal SIGKILL. Jul 11 15:24:00 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:24:00 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 11 15:24:00 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 11 15:24:00 managed-node2 postgres[53136]: 2026-07-11 15:24:00.630 EDT [53136] LOG: redirecting log output to logging collector process Jul 11 15:24:00 managed-node2 postgres[53136]: 2026-07-11 15:24:00.630 EDT [53136] HINT: Future log output will appear in directory "log". Jul 11 15:24:00 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 11 15:24:22 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 11 15:24:22 managed-node2 systemd[1]: postgresql.service: Killing process 53138 (postgres) with signal SIGKILL. Jul 11 15:24:22 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 11 15:24: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 11 July 2026 15:24:25 -0400 (0:00:00.327) 0:03:20.849 ********* =============================================================================== fedora.linux_system_roles.postgresql : Ensure required packages are installed -- 30.51s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Test - database is accessible for super user using Unix socket --------- 15.97s /tmp/collections-S8v/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-S8v/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.74s /tmp/collections-S8v/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.74s /tmp/collections-S8v/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.74s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Gather the package facts --------- 7.19s /tmp/collections-S8v/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.38s /tmp/collections-S8v/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.30s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Uninstall postgresql ---------------------------------------------------- 4.70s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Restart postgresql --------------- 4.67s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Uninstall postgresql ---------------------------------------------------- 4.65s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.64s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.63s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.62s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf --- 3.56s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 fedora.linux_system_roles.postgresql : Create postgresql directory in /etc --- 1.85s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 fedora.linux_system_roles.postgresql : Link generated conf file with server one --- 1.80s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 fedora.linux_system_roles.postgresql : Record role success fingerprint --- 1.70s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Remove config files ----------------------------------------------------- 1.31s /tmp/collections-S8v/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32