ansible-playbook [core 2.16.19] config file = None configured module search path = ['/root/.ansible/plugins/modules', '/usr/share/ansible/plugins/modules'] ansible python module location = /usr/local/lib/python3.12/site-packages/ansible ansible collection location = /tmp/collections-3FH executable location = /usr/local/bin/ansible-playbook python version = 3.12.1 (main, Feb 21 2024, 14:18:26) [GCC 8.5.0 20210514 (Red Hat 8.5.0-21)] (/usr/bin/python3.12) jinja version = 3.1.6 libyaml = True No config file found; using defaults running playbook inside collection fedora.linux_system_roles Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'jsonl', as we already have a stdout callback. Skipping callback 'default', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. PLAYBOOK: tests_versions.yml *************************************************** 1 plays in /tmp/collections-3FH/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-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:3 Saturday 25 July 2026 15:23:30 -0400 (0:00:00.028) 0:00:00.028 ********* ok: [managed-node2] TASK [Skip test if distro does not support multiple versions] ****************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:6 Saturday 25 July 2026 15:23:31 -0400 (0:00:01.066) 0:00:01.095 ********* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Install and cleanup default version] ************************************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:10 Saturday 25 July 2026 15:23:31 -0400 (0:00:00.005) 0:00:01.100 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 25 July 2026 15:23:31 -0400 (0:00:00.034) 0:00:01.135 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 25 July 2026 15:23:31 -0400 (0:00:00.042) 0:00:01.178 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 25 July 2026 15:23:31 -0400 (0:00:00.001) 0:00:01.179 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 25 July 2026 15:23:31 -0400 (0:00:00.022) 0:00:01.201 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 25 July 2026 15:23:31 -0400 (0:00:00.089) 0:00:01.291 ********* included: /tmp/collections-3FH/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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 25 July 2026 15:23:31 -0400 (0:00:00.032) 0:00:01.323 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 25 July 2026 15:23:32 -0400 (0:00:00.785) 0:00:02.108 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 25 July 2026 15:23:32 -0400 (0:00:00.417) 0:00:02.526 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 25 July 2026 15:23:33 -0400 (0:00:00.421) 0:00:02.948 ********* ok: [managed-node2] => { "ansible_facts": { "__postgresql_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 25 July 2026 15:23:33 -0400 (0:00:00.029) 0:00:02.977 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-system-running" ], "delta": "0:00:00.007967", "end": "2026-07-25 15:23:33.468898", "failed_when_result": false, "rc": 0, "start": "2026-07-25 15:23:33.460931" } STDOUT: running TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 25 July 2026 15:23:33 -0400 (0:00:00.466) 0:00:03.443 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "\"No such file or directory\" in __is_system_running.msg | d(\"\")", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 25 July 2026 15:23:33 -0400 (0:00:00.020) 0:00:03.464 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 25 July 2026 15:23:33 -0400 (0:00:00.026) 0:00:03.490 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-3FH/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-3FH/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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 25 July 2026 15:23:33 -0400 (0:00:00.049) 0:00:03.539 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 25 July 2026 15:23:33 -0400 (0:00:00.335) 0:00:03.875 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 25 July 2026 15:23:34 -0400 (0:00:00.337) 0:00:04.213 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 25 July 2026 15:23:34 -0400 (0:00:00.336) 0:00:04.550 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 25 July 2026 15:23:36 -0400 (0:00:01.650) 0:00:06.201 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 25 July 2026 15:23:36 -0400 (0:00:00.030) 0:00:06.231 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 25 July 2026 15:23:36 -0400 (0:00:00.023) 0:00:06.255 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 25 July 2026 15:23:36 -0400 (0:00:00.022) 0:00:06.278 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 25 July 2026 15:23:36 -0400 (0:00:00.019) 0:00:06.297 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 25 July 2026 15:23:42 -0400 (0:00:06.272) 0:00:12.570 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.729281", "end": "2026-07-25 15:23:43.676339", "rc": 0, "start": "2026-07-25 15:23:42.947058" } 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 25 July 2026 15:23:43 -0400 (0:00:01.079) 0:00:13.649 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 25 July 2026 15:23:43 -0400 (0:00:00.019) 0:00:13.669 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 25 July 2026 15:23:43 -0400 (0:00:00.017) 0:00:13.686 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 25 July 2026 15:23:43 -0400 (0:00:00.017) 0:00:13.704 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket network.target sysinit.target basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "system.slice sysinit.target", "Restart": "no", "RestartUSec": "100ms", "RestrictNamespaces": "no", "RestrictRealtime": "no", "RestrictSUIDSGID": "no", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "RuntimeDirectoryPreserve": "no", "RuntimeMaxUSec": "infinity", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardInputData": "", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitIntervalUSec": "10s", "StartupBlockIOWeight": "[not set]", "StartupCPUShares": "[not set]", "StartupCPUWeight": "[not set]", "StartupIOWeight": "[not set]", "StateChangeTimestampMonotonic": "0", "StateDirectoryMode": "0755", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SuccessAction": "none", "SyslogFacility": "3", "SyslogLevel": "6", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "yes", "TasksCurrent": "[not set]", "TasksMax": "22088", "TimeoutStartUSec": "infinity", "TimeoutStopUSec": "infinity", "TimerSlackNSec": "50000", "Transient": "no", "Type": "notify", "UID": "[not set]", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "User": "postgres", "UtmpMode": "init", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.postgresql : Fail on non-booted hosts] ********* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 25 July 2026 15:23:45 -0400 (0:00:01.274) 0:00:14.979 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.020) 0:00:15.000 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.020) 0:00:15.020 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.019) 0:00:15.040 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.017) 0:00:15.057 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.019) 0:00:15.076 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.028) 0:00:15.105 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.018) 0:00:15.123 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.017) 0:00:15.141 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.016) 0:00:15.158 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.016) 0:00:15.175 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.017) 0:00:15.192 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.016) 0:00:15.209 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.016) 0:00:15.226 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.015) 0:00:15.241 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.016) 0:00:15.258 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.019) 0:00:15.277 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 25 July 2026 15:23:45 -0400 (0:00:00.461) 0:00:15.739 ********* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 25 July 2026 15:23:46 -0400 (0:00:00.455) 0:00:16.195 ********* 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-1785007426.3114297-12464-142709694804552/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 25 July 2026 15:23:47 -0400 (0:00:00.820) 0:00:17.016 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 25 July 2026 15:23:47 -0400 (0:00:00.021) 0:00:17.038 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 25 July 2026 15:23:47 -0400 (0:00:00.021) 0:00:17.059 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 25 July 2026 15:23:47 -0400 (0:00:00.335) 0:00:17.394 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 25 July 2026 15:23:47 -0400 (0:00:00.018) 0:00:17.413 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 25 July 2026 15:23:47 -0400 (0:00:00.004) 0:00:17.418 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-25 15:23:44 EDT", "ActiveEnterTimestampMonotonic": "311962103", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "sysinit.target basic.target systemd-journald.socket network.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-25 15:23:44 EDT", "AssertTimestampMonotonic": "311912902", "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-25 15:23:44 EDT", "ConditionTimestampMonotonic": "311912901", "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": "30205", "ExecMainStartTimestamp": "Sat 2026-07-25 15:23:44 EDT", "ExecMainStartTimestampMonotonic": "311922629", "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-25 15:23:44 EDT] ; stop_time=[n/a] ; pid=30205 ; 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-25 15:23:44 EDT] ; stop_time=[Sat 2026-07-25 15:23:44 EDT] ; pid=30202 ; 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-25 15:23:44 EDT", "InactiveExitTimestampMonotonic": "311913916", "InvocationID": "7118956a0d7e4c5f8dd82e7b431b4e1c", "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": "30205", "MemoryAccounting": "yes", "MemoryCurrent": "17833984", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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-25 15:23:44 EDT", "StateChangeTimestampMonotonic": "311962103", "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-25 15:23:44 EDT", "WatchdogTimestampMonotonic": "311962100", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 25 July 2026 15:23:48 -0400 (0:00:00.941) 0:00:18.359 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008079", "end": "2026-07-25 15:23:48.726287", "rc": 0, "start": "2026-07-25 15:23:48.718208" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 25 July 2026 15:23:48 -0400 (0:00:00.339) 0:00:18.698 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008268", "end": "2026-07-25 15:23:49.065911", "rc": 0, "start": "2026-07-25 15:23:49.057643" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 25 July 2026 15:23:49 -0400 (0:00:00.338) 0:00:19.037 ********* ASYNC OK on managed-node2: jid=j710855689075.31412 ok: [managed-node2] => { "ansible_job_id": "j710855689075.31412", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012189", "end": "2026-07-25 15:23:49.722957", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j710855689075.31412", "start": "2026-07-25 15:23:49.710768", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 25 July 2026 15:24:05 -0400 (0:00:16.198) 0:00:35.235 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009709", "end": "2026-07-25 15:24:05.625731", "rc": 0, "start": "2026-07-25 15:24:05.616022" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 25 July 2026 15:24:05 -0400 (0:00:00.363) 0:00:35.599 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 25 July 2026 15:24:05 -0400 (0:00:00.035) 0:00:35.634 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009954", "end": "2026-07-25 15:24:06.019662", "rc": 0, "start": "2026-07-25 15:24:06.009708" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 25 July 2026 15:24:06 -0400 (0:00:00.357) 0:00:35.991 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 25 July 2026 15:24:06 -0400 (0:00:00.031) 0:00:36.023 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009147", "end": "2026-07-25 15:24:06.390471", "failed_when_result": false, "rc": 0, "start": "2026-07-25 15:24:06.381324" } STDOUT: postgres (PostgreSQL) 13.7 TASK [Clean up] **************************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 25 July 2026 15:24:06 -0400 (0:00:00.349) 0:00:36.372 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 25 July 2026 15:24:06 -0400 (0:00:00.032) 0:00:36.405 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 25 July 2026 15:24:06 -0400 (0:00:00.004) 0:00:36.409 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 25 July 2026 15:24:11 -0400 (0:00:04.724) 0:00:41.134 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 25 July 2026 15:24:11 -0400 (0:00:00.018) 0:00:41.152 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 25 July 2026 15:24:11 -0400 (0:00:00.370) 0:00:41.522 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 25 July 2026 15:24:12 -0400 (0:00:01.275) 0:00:42.797 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007346", "end": "2026-07-25 15:24:13.159425", "rc": 0, "start": "2026-07-25 15:24:13.152079" } STDOUT: -- Logs begin at Sat 2026-07-25 15:18:33 EDT, end at Sat 2026-07-25 15:24:13 EDT. -- Jul 25 15:22:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:04 managed-node2 postmaster[10421]: 2026-07-25 15:22:04.826 EDT [10421] LOG: redirecting log output to logging collector process Jul 25 15:22:04 managed-node2 postmaster[10421]: 2026-07-25 15:22:04.826 EDT [10421] HINT: Future log output will appear in directory "log". Jul 25 15:22:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:12 managed-node2 postmaster[12684]: 2026-07-25 15:22:12.594 EDT [12684] LOG: redirecting log output to logging collector process Jul 25 15:22:12 managed-node2 postmaster[12684]: 2026-07-25 15:22:12.594 EDT [12684] HINT: Future log output will appear in directory "log". Jul 25 15:22:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:16 managed-node2 systemd[1]: postgresql.service: Killing process 12685 (postmaster) with signal SIGKILL. Jul 25 15:22:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:48 managed-node2 postmaster[19307]: 2026-07-25 15:22:48.577 EDT [19307] LOG: redirecting log output to logging collector process Jul 25 15:22:48 managed-node2 postmaster[19307]: 2026-07-25 15:22:48.577 EDT [19307] HINT: Future log output will appear in directory "log". Jul 25 15:22:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:53 managed-node2 systemd[1]: postgresql.service: Killing process 19308 (postmaster) with signal SIGKILL. Jul 25 15:22:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:54 managed-node2 postmaster[20848]: 2026-07-25 15:22:54.045 EDT [20848] LOG: redirecting log output to logging collector process Jul 25 15:22:54 managed-node2 postmaster[20848]: 2026-07-25 15:22:54.045 EDT [20848] HINT: Future log output will appear in directory "log". Jul 25 15:22:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:59 managed-node2 systemd[1]: postgresql.service: Killing process 20849 (postmaster) with signal SIGKILL. Jul 25 15:22:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:18 managed-node2 postmaster[25223]: 2026-07-25 15:23:18.518 EDT [25223] LOG: redirecting log output to logging collector process Jul 25 15:23:18 managed-node2 postmaster[25223]: 2026-07-25 15:23:18.518 EDT [25223] HINT: Future log output will appear in directory "log". Jul 25 15:23:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:21 managed-node2 systemd[1]: postgresql.service: Killing process 25224 (postmaster) with signal SIGKILL. Jul 25 15:23:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:21 managed-node2 postmaster[25962]: 2026-07-25 15:23:21.876 EDT [25962] LOG: redirecting log output to logging collector process Jul 25 15:23:21 managed-node2 postmaster[25962]: 2026-07-25 15:23:21.876 EDT [25962] HINT: Future log output will appear in directory "log". Jul 25 15:23:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:25 managed-node2 systemd[1]: postgresql.service: Killing process 25964 (postmaster) with signal SIGKILL. Jul 25 15:23:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:44 managed-node2 postmaster[30205]: 2026-07-25 15:23:44.978 EDT [30205] LOG: redirecting log output to logging collector process Jul 25 15:23:44 managed-node2 postmaster[30205]: 2026-07-25 15:23:44.978 EDT [30205] HINT: Future log output will appear in directory "log". Jul 25 15:23:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:48 managed-node2 systemd[1]: postgresql.service: Killing process 30206 (postmaster) with signal SIGKILL. Jul 25 15:23:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:48 managed-node2 postmaster[31013]: 2026-07-25 15:23:48.358 EDT [31013] LOG: redirecting log output to logging collector process Jul 25 15:23:48 managed-node2 postmaster[31013]: 2026-07-25 15:23:48.358 EDT [31013] HINT: Future log output will appear in directory "log". Jul 25 15:23:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:10 managed-node2 systemd[1]: postgresql.service: Killing process 31014 (postmaster) with signal SIGKILL. Jul 25 15:24:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Skip remaining tests if ostree - cannot uninstall/reinstall] ************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:15 Saturday 25 July 2026 15:24:13 -0400 (0:00:00.335) 0:00:43.133 ********* META: end_host conditional evaluated to False, continuing execution for managed-node2 skipping: [managed-node2] => { "skip_reason": "end_host conditional evaluated to False, continuing execution for managed-node2" } MSG: end_host conditional evaluated to false, continuing execution for managed-node2 TASK [Save default postgresql_version] ***************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:19 Saturday 25 July 2026 15:24:13 -0400 (0:00:00.011) 0:00:43.145 ********* ok: [managed-node2] => { "ansible_facts": { "__default_version": "13" }, "changed": false } TASK [Install and cleanup the other supported versions] ************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tests_versions.yml:23 Saturday 25 July 2026 15:24:13 -0400 (0:00:00.023) 0:00:43.168 ********* skipping: [managed-node2] => (item=13) => { "ansible_loop_var": "item", "changed": false, "false_condition": "item != __default_version", "item": "13", "skip_reason": "Conditional result was False" } included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=12) included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=15) included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=10) included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml for managed-node2 => (item=16) TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 25 July 2026 15:24:13 -0400 (0:00:00.085) 0:00:43.254 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 25 July 2026 15:24:13 -0400 (0:00:00.028) 0:00:43.282 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 25 July 2026 15:24:13 -0400 (0:00:00.000) 0:00:43.283 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 25 July 2026 15:24:13 -0400 (0:00:00.015) 0:00:43.299 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 25 July 2026 15:24:13 -0400 (0:00:00.039) 0:00:43.338 ********* included: /tmp/collections-3FH/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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 25 July 2026 15:24:13 -0400 (0:00:00.023) 0:00:43.362 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 25 July 2026 15:24:14 -0400 (0:00:00.774) 0:00:44.137 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 25 July 2026 15:24:14 -0400 (0:00:00.327) 0:00:44.465 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 25 July 2026 15:24:14 -0400 (0:00:00.017) 0:00:44.482 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 25 July 2026 15:24:14 -0400 (0:00:00.016) 0:00:44.499 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 25 July 2026 15:24:14 -0400 (0:00:00.015) 0:00:44.515 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 25 July 2026 15:24:14 -0400 (0:00:00.016) 0:00:44.531 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 25 July 2026 15:24:14 -0400 (0:00:00.016) 0:00:44.547 ********* [WARNING]: TASK: fedora.linux_system_roles.postgresql : Set platform/version specific variables: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-3FH/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-3FH/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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 25 July 2026 15:24:14 -0400 (0:00:00.039) 0:00:44.587 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 25 July 2026 15:24:14 -0400 (0:00:00.326) 0:00:44.913 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 25 July 2026 15:24:15 -0400 (0:00:00.326) 0:00:45.239 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 25 July 2026 15:24:15 -0400 (0:00:00.325) 0:00:45.564 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 25 July 2026 15:24:17 -0400 (0:00:01.415) 0:00:46.980 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 25 July 2026 15:24:17 -0400 (0:00:00.027) 0:00:47.008 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 25 July 2026 15:24:17 -0400 (0:00:00.085) 0:00:47.093 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 25 July 2026 15:24:17 -0400 (0:00:00.025) 0:00:47.119 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 25 July 2026 15:24:17 -0400 (0:00:00.020) 0:00:47.140 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 25 July 2026 15:24:23 -0400 (0:00:06.551) 0:00:53.691 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.738709", "end": "2026-07-25 15:24:24.805444", "rc": 0, "start": "2026-07-25 15:24:24.066735" } 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 25 July 2026 15:24:24 -0400 (0:00:01.087) 0:00:54.779 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 25 July 2026 15:24:24 -0400 (0:00:00.020) 0:00:54.799 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 25 July 2026 15:24:24 -0400 (0:00:00.018) 0:00:54.817 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 25 July 2026 15:24:24 -0400 (0:00:00.022) 0:00:54.840 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice sysinit.target 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 25 July 2026 15:24:25 -0400 (0:00:01.048) 0:00:55.888 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 25 July 2026 15:24:25 -0400 (0:00:00.023) 0:00:55.912 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.021) 0:00:55.933 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.022) 0:00:55.956 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.017) 0:00:55.973 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.020) 0:00:55.994 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.030) 0:00:56.025 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.019) 0:00:56.044 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.017) 0:00:56.062 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.017) 0:00:56.080 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.020) 0:00:56.101 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.018) 0:00:56.119 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.018) 0:00:56.138 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.018) 0:00:56.156 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.017) 0:00:56.173 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.015) 0:00:56.189 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.019) 0:00:56.209 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.337) 0:00:56.547 ********* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 25 July 2026 15:24:26 -0400 (0:00:00.340) 0:00:56.888 ********* changed: [managed-node2] => { "changed": true, "checksum": "ff6c9a880bfc300b855e138983a07dc781ad4a1b", "dest": "/etc/postgresql/system-roles-internal.conf", "gid": 26, "group": "postgres", "md5sum": "87a256fa2d0c4961ddc59ca8b51d7cf7", "mode": "0600", "owner": "postgres", "secontext": "system_u:object_r:postgresql_etc_t:s0", "size": 102, "src": "/root/.ansible/tmp/ansible-tmp-1785007467.0040865-12881-86922087604995/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 25 July 2026 15:24:27 -0400 (0:00:00.671) 0:00:57.559 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 25 July 2026 15:24:27 -0400 (0:00:00.021) 0:00:57.581 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 25 July 2026 15:24:27 -0400 (0:00:00.020) 0:00:57.601 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 25 July 2026 15:24:28 -0400 (0:00:00.334) 0:00:57.936 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 25 July 2026 15:24:28 -0400 (0:00:00.018) 0:00:57.955 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 25 July 2026 15:24:28 -0400 (0:00:00.005) 0:00:57.960 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-25 15:24:25 EDT", "ActiveEnterTimestampMonotonic": "352869035", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket system.slice basic.target sysinit.target network.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-25 15:24:25 EDT", "AssertTimestampMonotonic": "352818499", "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-25 15:24:25 EDT", "ConditionTimestampMonotonic": "352818499", "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": "35853", "ExecMainStartTimestamp": "Sat 2026-07-25 15:24:25 EDT", "ExecMainStartTimestampMonotonic": "352828151", "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-25 15:24:25 EDT] ; stop_time=[n/a] ; pid=35853 ; 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-25 15:24:25 EDT] ; stop_time=[Sat 2026-07-25 15:24:25 EDT] ; pid=35850 ; 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-25 15:24:25 EDT", "InactiveExitTimestampMonotonic": "352819489", "InvocationID": "638e5dff7c6042e3affe7ca5febd5b32", "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": "35853", "MemoryAccounting": "yes", "MemoryCurrent": "17797120", "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-25 15:24:25 EDT", "StateChangeTimestampMonotonic": "352869035", "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-25 15:24:25 EDT", "WatchdogTimestampMonotonic": "352869032", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 25 July 2026 15:24:28 -0400 (0:00:00.952) 0:00:58.913 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008248", "end": "2026-07-25 15:24:29.279086", "rc": 0, "start": "2026-07-25 15:24:29.270838" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 25 July 2026 15:24:29 -0400 (0:00:00.337) 0:00:59.250 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008331", "end": "2026-07-25 15:24:29.614627", "rc": 0, "start": "2026-07-25 15:24:29.606296" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 25 July 2026 15:24:29 -0400 (0:00:00.335) 0:00:59.586 ********* ASYNC OK on managed-node2: jid=j349981978757.37060 ok: [managed-node2] => { "ansible_job_id": "j349981978757.37060", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011613", "end": "2026-07-25 15:24:30.174348", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j349981978757.37060", "start": "2026-07-25 15:24:30.162735", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 25 July 2026 15:24:45 -0400 (0:00:16.005) 0:01:15.592 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009862", "end": "2026-07-25 15:24:45.978616", "rc": 0, "start": "2026-07-25 15:24:45.968754" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 25 July 2026 15:24:46 -0400 (0:00:00.362) 0:01:15.954 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 25 July 2026 15:24:46 -0400 (0:00:00.036) 0:01:15.991 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009281", "end": "2026-07-25 15:24:46.370793", "rc": 0, "start": "2026-07-25 15:24:46.361512" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 25 July 2026 15:24:46 -0400 (0:00:00.352) 0:01:16.343 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 25 July 2026 15:24:46 -0400 (0:00:00.032) 0:01:16.375 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009020", "end": "2026-07-25 15:24:46.741474", "failed_when_result": false, "rc": 0, "start": "2026-07-25 15:24:46.732454" } STDOUT: postgres (PostgreSQL) 12.15 TASK [Clean up] **************************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 25 July 2026 15:24:46 -0400 (0:00:00.371) 0:01:16.746 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 25 July 2026 15:24:46 -0400 (0:00:00.032) 0:01:16.779 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 25 July 2026 15:24:46 -0400 (0:00:00.004) 0:01:16.783 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 25 July 2026 15:24:51 -0400 (0:00:04.734) 0:01:21.518 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 25 July 2026 15:24:51 -0400 (0:00:00.018) 0:01:21.537 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 25 July 2026 15:24:51 -0400 (0:00:00.380) 0:01:21.917 ********* [WARNING]: TASK: Remove config files: The loop variable 'item' is already in use. You should set the `loop_var` value in the `loop_control` option for the task to something else to avoid variable collisions and unexpected behavior. ok: [managed-node2] => (item=/var/lib/pgsql/data/postgresql.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/postgresql.conf", "path": "/var/lib/pgsql/data/postgresql.conf", "state": "absent" } ok: [managed-node2] => (item=/var/lib/pgsql/data/pg_hba.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/var/lib/pgsql/data/pg_hba.conf", "path": "/var/lib/pgsql/data/pg_hba.conf", "state": "absent" } ok: [managed-node2] => (item=/etc/postgresql/system-roles.conf) => { "ansible_loop_var": "item", "changed": false, "item": "/etc/postgresql/system-roles.conf", "path": "/etc/postgresql/system-roles.conf", "state": "absent" } changed: [managed-node2] => (item=/etc/postgresql/system-roles-internal.conf) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/postgresql/system-roles-internal.conf", "path": "/etc/postgresql/system-roles-internal.conf", "state": "absent" } TASK [Dump logs] *************************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 25 July 2026 15:24:53 -0400 (0:00:01.292) 0:01:23.210 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007358", "end": "2026-07-25 15:24:53.573118", "rc": 0, "start": "2026-07-25 15:24:53.565760" } STDOUT: -- Logs begin at Sat 2026-07-25 15:18:33 EDT, end at Sat 2026-07-25 15:24:53 EDT. -- Jul 25 15:22:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:04 managed-node2 postmaster[10421]: 2026-07-25 15:22:04.826 EDT [10421] LOG: redirecting log output to logging collector process Jul 25 15:22:04 managed-node2 postmaster[10421]: 2026-07-25 15:22:04.826 EDT [10421] HINT: Future log output will appear in directory "log". Jul 25 15:22:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:12 managed-node2 postmaster[12684]: 2026-07-25 15:22:12.594 EDT [12684] LOG: redirecting log output to logging collector process Jul 25 15:22:12 managed-node2 postmaster[12684]: 2026-07-25 15:22:12.594 EDT [12684] HINT: Future log output will appear in directory "log". Jul 25 15:22:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:16 managed-node2 systemd[1]: postgresql.service: Killing process 12685 (postmaster) with signal SIGKILL. Jul 25 15:22:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:48 managed-node2 postmaster[19307]: 2026-07-25 15:22:48.577 EDT [19307] LOG: redirecting log output to logging collector process Jul 25 15:22:48 managed-node2 postmaster[19307]: 2026-07-25 15:22:48.577 EDT [19307] HINT: Future log output will appear in directory "log". Jul 25 15:22:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:53 managed-node2 systemd[1]: postgresql.service: Killing process 19308 (postmaster) with signal SIGKILL. Jul 25 15:22:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:54 managed-node2 postmaster[20848]: 2026-07-25 15:22:54.045 EDT [20848] LOG: redirecting log output to logging collector process Jul 25 15:22:54 managed-node2 postmaster[20848]: 2026-07-25 15:22:54.045 EDT [20848] HINT: Future log output will appear in directory "log". Jul 25 15:22:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:59 managed-node2 systemd[1]: postgresql.service: Killing process 20849 (postmaster) with signal SIGKILL. Jul 25 15:22:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:18 managed-node2 postmaster[25223]: 2026-07-25 15:23:18.518 EDT [25223] LOG: redirecting log output to logging collector process Jul 25 15:23:18 managed-node2 postmaster[25223]: 2026-07-25 15:23:18.518 EDT [25223] HINT: Future log output will appear in directory "log". Jul 25 15:23:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:21 managed-node2 systemd[1]: postgresql.service: Killing process 25224 (postmaster) with signal SIGKILL. Jul 25 15:23:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:21 managed-node2 postmaster[25962]: 2026-07-25 15:23:21.876 EDT [25962] LOG: redirecting log output to logging collector process Jul 25 15:23:21 managed-node2 postmaster[25962]: 2026-07-25 15:23:21.876 EDT [25962] HINT: Future log output will appear in directory "log". Jul 25 15:23:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:25 managed-node2 systemd[1]: postgresql.service: Killing process 25964 (postmaster) with signal SIGKILL. Jul 25 15:23:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:44 managed-node2 postmaster[30205]: 2026-07-25 15:23:44.978 EDT [30205] LOG: redirecting log output to logging collector process Jul 25 15:23:44 managed-node2 postmaster[30205]: 2026-07-25 15:23:44.978 EDT [30205] HINT: Future log output will appear in directory "log". Jul 25 15:23:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:48 managed-node2 systemd[1]: postgresql.service: Killing process 30206 (postmaster) with signal SIGKILL. Jul 25 15:23:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:48 managed-node2 postmaster[31013]: 2026-07-25 15:23:48.358 EDT [31013] LOG: redirecting log output to logging collector process Jul 25 15:23:48 managed-node2 postmaster[31013]: 2026-07-25 15:23:48.358 EDT [31013] HINT: Future log output will appear in directory "log". Jul 25 15:23:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:10 managed-node2 systemd[1]: postgresql.service: Killing process 31014 (postmaster) with signal SIGKILL. Jul 25 15:24:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.874 EDT [35853] 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 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.875 EDT [35853] LOG: listening on IPv6 address "::1", port 5432 Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.875 EDT [35853] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.877 EDT [35853] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.881 EDT [35853] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.891 EDT [35853] LOG: redirecting log output to logging collector process Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.891 EDT [35853] HINT: Future log output will appear in directory "log". Jul 25 15:24:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:28 managed-node2 systemd[1]: postgresql.service: Killing process 35854 (postmaster) with signal SIGKILL. Jul 25 15:24:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:28 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.884 EDT [36660] 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 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.885 EDT [36660] LOG: listening on IPv6 address "::1", port 5432 Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.885 EDT [36660] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.887 EDT [36660] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.890 EDT [36660] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.919 EDT [36660] LOG: redirecting log output to logging collector process Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.919 EDT [36660] HINT: Future log output will appear in directory "log". Jul 25 15:24:28 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:50 managed-node2 systemd[1]: postgresql.service: Killing process 36662 (postmaster) with signal SIGKILL. Jul 25 15:24:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 25 July 2026 15:24:53 -0400 (0:00:00.336) 0:01:23.546 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 25 July 2026 15:24:53 -0400 (0:00:00.029) 0:01:23.576 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 25 July 2026 15:24:53 -0400 (0:00:00.001) 0:01:23.577 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 25 July 2026 15:24:53 -0400 (0:00:00.015) 0:01:23.592 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 25 July 2026 15:24:53 -0400 (0:00:00.041) 0:01:23.634 ********* included: /tmp/collections-3FH/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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 25 July 2026 15:24:53 -0400 (0:00:00.024) 0:01:23.658 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 25 July 2026 15:24:54 -0400 (0:00:00.774) 0:01:24.433 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 25 July 2026 15:24:54 -0400 (0:00:00.321) 0:01:24.754 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 25 July 2026 15:24:54 -0400 (0:00:00.017) 0:01:24.771 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 25 July 2026 15:24:54 -0400 (0:00:00.016) 0:01:24.788 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 25 July 2026 15:24:54 -0400 (0:00:00.015) 0:01:24.804 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 25 July 2026 15:24:54 -0400 (0:00:00.017) 0:01:24.821 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 25 July 2026 15:24:54 -0400 (0:00:00.017) 0:01:24.839 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-3FH/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-3FH/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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 25 July 2026 15:24:54 -0400 (0:00:00.040) 0:01:24.879 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 25 July 2026 15:24:55 -0400 (0:00:00.327) 0:01:25.206 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 25 July 2026 15:24:55 -0400 (0:00:00.322) 0:01:25.529 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 25 July 2026 15:24:55 -0400 (0:00:00.321) 0:01:25.851 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 25 July 2026 15:24:57 -0400 (0:00:01.385) 0:01:27.236 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 25 July 2026 15:24:57 -0400 (0:00:00.029) 0:01:27.265 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 25 July 2026 15:24:57 -0400 (0:00:00.025) 0:01:27.291 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 25 July 2026 15:24:57 -0400 (0:00:00.027) 0:01:27.318 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 25 July 2026 15:24:57 -0400 (0:00:00.021) 0:01:27.339 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 25 July 2026 15:25:04 -0400 (0:00:06.718) 0:01:34.058 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.742080", "end": "2026-07-25 15:25:05.184337", "rc": 0, "start": "2026-07-25 15:25:04.442257" } 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 25 July 2026 15:25:05 -0400 (0:00:01.101) 0:01:35.159 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 25 July 2026 15:25:05 -0400 (0:00:00.022) 0:01:35.182 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 25 July 2026 15:25:05 -0400 (0:00:00.019) 0:01:35.201 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 25 July 2026 15:25:05 -0400 (0:00:00.019) 0:01:35.220 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "sysinit.target network.target systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "13805", "LimitNPROCSoft": "13805", "LimitRSS": "infinity", "LimitRSSSoft": "infinity", "LimitRTPRIO": "0", "LimitRTPRIOSoft": "0", "LimitRTTIME": "infinity", "LimitRTTIMESoft": "infinity", "LimitSIGPENDING": "13805", "LimitSIGPENDINGSoft": "13805", "LimitSTACK": "infinity", "LimitSTACKSoft": "8388608", "LoadState": "loaded", "LockPersonality": "no", "LogLevelMax": "-1", "LogRateLimitBurst": "0", "LogRateLimitIntervalUSec": "0", "LogsDirectoryMode": "0755", "MainPID": "0", "MemoryAccounting": "yes", "MemoryCurrent": "[not set]", "MemoryDenyWriteExecute": "no", "MemoryHigh": "infinity", "MemoryLimit": "infinity", "MemoryLow": "0", "MemoryMax": "infinity", "MemoryMin": "0", "MemorySwapMax": "infinity", "MountAPIVFS": "no", "MountFlags": "", "NFileDescriptorStore": "0", "NRestarts": "0", "NUMAMask": "", "NUMAPolicy": "n/a", "Names": "postgresql.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "main", "OOMScoreAdjust": "-1000", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "Perpetual": "no", "PrivateDevices": "no", "PrivateMounts": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "PrivateUsers": "no", "ProtectControlGroups": "no", "ProtectHome": "no", "ProtectKernelModules": "no", "ProtectKernelTunables": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "RemoveIPC": "no", "Requires": "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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 25 July 2026 15:25:06 -0400 (0:00:01.064) 0:01:36.285 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.023) 0:01:36.309 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.021) 0:01:36.331 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.021) 0:01:36.352 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.016) 0:01:36.369 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.021) 0:01:36.391 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.028) 0:01:36.420 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.017) 0:01:36.438 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.019) 0:01:36.457 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.018) 0:01:36.475 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.017) 0:01:36.493 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.017) 0:01:36.511 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.046) 0:01:36.557 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.019) 0:01:36.577 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.017) 0:01:36.594 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.016) 0:01:36.611 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 25 July 2026 15:25:06 -0400 (0:00:00.023) 0:01:36.634 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 25 July 2026 15:25:07 -0400 (0:00:00.356) 0:01:36.990 ********* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 25 July 2026 15:25:07 -0400 (0:00:00.346) 0:01:37.337 ********* 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-1785007507.4545517-13293-120800424488417/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 25 July 2026 15:25:08 -0400 (0:00:00.680) 0:01:38.018 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 25 July 2026 15:25:08 -0400 (0:00:00.024) 0:01:38.042 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 25 July 2026 15:25:08 -0400 (0:00:00.021) 0:01:38.063 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 25 July 2026 15:25:08 -0400 (0:00:00.336) 0:01:38.400 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 25 July 2026 15:25:08 -0400 (0:00:00.020) 0:01:38.421 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 25 July 2026 15:25:08 -0400 (0:00:00.004) 0:01:38.426 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-25 15:25:06 EDT", "ActiveEnterTimestampMonotonic": "393266954", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target sysinit.target system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-25 15:25:06 EDT", "AssertTimestampMonotonic": "393215871", "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-25 15:25:06 EDT", "ConditionTimestampMonotonic": "393215871", "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": "41511", "ExecMainStartTimestamp": "Sat 2026-07-25 15:25:06 EDT", "ExecMainStartTimestampMonotonic": "393225951", "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-25 15:25:06 EDT] ; stop_time=[n/a] ; pid=41511 ; 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-25 15:25:06 EDT] ; stop_time=[Sat 2026-07-25 15:25:06 EDT] ; pid=41508 ; 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-25 15:25:06 EDT", "InactiveExitTimestampMonotonic": "393216879", "InvocationID": "cb9d2efca6b14091833195b2a7bc0c33", "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": "41511", "MemoryAccounting": "yes", "MemoryCurrent": "18489344", "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-25 15:25:06 EDT", "StateChangeTimestampMonotonic": "393266954", "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-25 15:25:06 EDT", "WatchdogTimestampMonotonic": "393266951", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 25 July 2026 15:25:09 -0400 (0:00:00.946) 0:01:39.372 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.007929", "end": "2026-07-25 15:25:09.738986", "rc": 0, "start": "2026-07-25 15:25:09.731057" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 25 July 2026 15:25:09 -0400 (0:00:00.338) 0:01:39.711 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008276", "end": "2026-07-25 15:25:10.074715", "rc": 0, "start": "2026-07-25 15:25:10.066439" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 25 July 2026 15:25:10 -0400 (0:00:00.337) 0:01:40.048 ********* ASYNC OK on managed-node2: jid=j20300588743.42716 ok: [managed-node2] => { "ansible_job_id": "j20300588743.42716", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012237", "end": "2026-07-25 15:25:10.641558", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j20300588743.42716", "start": "2026-07-25 15:25:10.629321", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 25 July 2026 15:25:26 -0400 (0:00:16.007) 0:01:56.055 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.009682", "end": "2026-07-25 15:25:26.439370", "rc": 0, "start": "2026-07-25 15:25:26.429688" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 25 July 2026 15:25:26 -0400 (0:00:00.357) 0:01:56.412 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 25 July 2026 15:25:26 -0400 (0:00:00.032) 0:01:56.445 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009463", "end": "2026-07-25 15:25:26.826617", "rc": 0, "start": "2026-07-25 15:25:26.817154" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 25 July 2026 15:25:26 -0400 (0:00:00.355) 0:01:56.801 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 25 July 2026 15:25:26 -0400 (0:00:00.032) 0:01:56.834 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009301", "end": "2026-07-25 15:25:27.201870", "failed_when_result": false, "rc": 0, "start": "2026-07-25 15:25:27.192569" } STDOUT: postgres (PostgreSQL) 15.0 TASK [Clean up] **************************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 25 July 2026 15:25:27 -0400 (0:00:00.345) 0:01:57.180 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 25 July 2026 15:25:27 -0400 (0:00:00.033) 0:01:57.213 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 25 July 2026 15:25:27 -0400 (0:00:00.004) 0:01:57.218 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 25 July 2026 15:25:32 -0400 (0:00:04.704) 0:02:01.923 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 25 July 2026 15:25:32 -0400 (0:00:00.019) 0:02:01.942 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 25 July 2026 15:25:32 -0400 (0:00:00.381) 0:02:02.324 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 25 July 2026 15:25:33 -0400 (0:00:01.279) 0:02:03.603 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007635", "end": "2026-07-25 15:25:33.967637", "rc": 0, "start": "2026-07-25 15:25:33.960002" } STDOUT: -- Logs begin at Sat 2026-07-25 15:18:33 EDT, end at Sat 2026-07-25 15:25:33 EDT. -- Jul 25 15:22:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:04 managed-node2 postmaster[10421]: 2026-07-25 15:22:04.826 EDT [10421] LOG: redirecting log output to logging collector process Jul 25 15:22:04 managed-node2 postmaster[10421]: 2026-07-25 15:22:04.826 EDT [10421] HINT: Future log output will appear in directory "log". Jul 25 15:22:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:12 managed-node2 postmaster[12684]: 2026-07-25 15:22:12.594 EDT [12684] LOG: redirecting log output to logging collector process Jul 25 15:22:12 managed-node2 postmaster[12684]: 2026-07-25 15:22:12.594 EDT [12684] HINT: Future log output will appear in directory "log". Jul 25 15:22:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:16 managed-node2 systemd[1]: postgresql.service: Killing process 12685 (postmaster) with signal SIGKILL. Jul 25 15:22:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:48 managed-node2 postmaster[19307]: 2026-07-25 15:22:48.577 EDT [19307] LOG: redirecting log output to logging collector process Jul 25 15:22:48 managed-node2 postmaster[19307]: 2026-07-25 15:22:48.577 EDT [19307] HINT: Future log output will appear in directory "log". Jul 25 15:22:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:53 managed-node2 systemd[1]: postgresql.service: Killing process 19308 (postmaster) with signal SIGKILL. Jul 25 15:22:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:54 managed-node2 postmaster[20848]: 2026-07-25 15:22:54.045 EDT [20848] LOG: redirecting log output to logging collector process Jul 25 15:22:54 managed-node2 postmaster[20848]: 2026-07-25 15:22:54.045 EDT [20848] HINT: Future log output will appear in directory "log". Jul 25 15:22:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:59 managed-node2 systemd[1]: postgresql.service: Killing process 20849 (postmaster) with signal SIGKILL. Jul 25 15:22:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:18 managed-node2 postmaster[25223]: 2026-07-25 15:23:18.518 EDT [25223] LOG: redirecting log output to logging collector process Jul 25 15:23:18 managed-node2 postmaster[25223]: 2026-07-25 15:23:18.518 EDT [25223] HINT: Future log output will appear in directory "log". Jul 25 15:23:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:21 managed-node2 systemd[1]: postgresql.service: Killing process 25224 (postmaster) with signal SIGKILL. Jul 25 15:23:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:21 managed-node2 postmaster[25962]: 2026-07-25 15:23:21.876 EDT [25962] LOG: redirecting log output to logging collector process Jul 25 15:23:21 managed-node2 postmaster[25962]: 2026-07-25 15:23:21.876 EDT [25962] HINT: Future log output will appear in directory "log". Jul 25 15:23:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:25 managed-node2 systemd[1]: postgresql.service: Killing process 25964 (postmaster) with signal SIGKILL. Jul 25 15:23:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:44 managed-node2 postmaster[30205]: 2026-07-25 15:23:44.978 EDT [30205] LOG: redirecting log output to logging collector process Jul 25 15:23:44 managed-node2 postmaster[30205]: 2026-07-25 15:23:44.978 EDT [30205] HINT: Future log output will appear in directory "log". Jul 25 15:23:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:48 managed-node2 systemd[1]: postgresql.service: Killing process 30206 (postmaster) with signal SIGKILL. Jul 25 15:23:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:48 managed-node2 postmaster[31013]: 2026-07-25 15:23:48.358 EDT [31013] LOG: redirecting log output to logging collector process Jul 25 15:23:48 managed-node2 postmaster[31013]: 2026-07-25 15:23:48.358 EDT [31013] HINT: Future log output will appear in directory "log". Jul 25 15:23:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:10 managed-node2 systemd[1]: postgresql.service: Killing process 31014 (postmaster) with signal SIGKILL. Jul 25 15:24:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.874 EDT [35853] 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 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.875 EDT [35853] LOG: listening on IPv6 address "::1", port 5432 Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.875 EDT [35853] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.877 EDT [35853] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.881 EDT [35853] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.891 EDT [35853] LOG: redirecting log output to logging collector process Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.891 EDT [35853] HINT: Future log output will appear in directory "log". Jul 25 15:24:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:28 managed-node2 systemd[1]: postgresql.service: Killing process 35854 (postmaster) with signal SIGKILL. Jul 25 15:24:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:28 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.884 EDT [36660] 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 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.885 EDT [36660] LOG: listening on IPv6 address "::1", port 5432 Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.885 EDT [36660] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.887 EDT [36660] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.890 EDT [36660] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.919 EDT [36660] LOG: redirecting log output to logging collector process Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.919 EDT [36660] HINT: Future log output will appear in directory "log". Jul 25 15:24:28 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:50 managed-node2 systemd[1]: postgresql.service: Killing process 36662 (postmaster) with signal SIGKILL. Jul 25 15:24:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:25:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:25:06 managed-node2 postmaster[41511]: 2026-07-25 15:25:06.283 EDT [41511] LOG: redirecting log output to logging collector process Jul 25 15:25:06 managed-node2 postmaster[41511]: 2026-07-25 15:25:06.283 EDT [41511] HINT: Future log output will appear in directory "log". Jul 25 15:25:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:25:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:25:09 managed-node2 systemd[1]: postgresql.service: Killing process 41512 (postmaster) with signal SIGKILL. Jul 25 15:25:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:25:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:25:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:25:09 managed-node2 postmaster[42318]: 2026-07-25 15:25:09.368 EDT [42318] LOG: redirecting log output to logging collector process Jul 25 15:25:09 managed-node2 postmaster[42318]: 2026-07-25 15:25:09.368 EDT [42318] HINT: Future log output will appear in directory "log". Jul 25 15:25:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:25:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:25:31 managed-node2 systemd[1]: postgresql.service: Killing process 42319 (postmaster) with signal SIGKILL. Jul 25 15:25:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:25:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 25 July 2026 15:25:34 -0400 (0:00:00.338) 0:02:03.941 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 25 July 2026 15:25:34 -0400 (0:00:00.030) 0:02:03.972 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 25 July 2026 15:25:34 -0400 (0:00:00.001) 0:02:03.973 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 25 July 2026 15:25:34 -0400 (0:00:00.016) 0:02:03.989 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 25 July 2026 15:25:34 -0400 (0:00:00.040) 0:02:04.030 ********* included: /tmp/collections-3FH/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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 25 July 2026 15:25:34 -0400 (0:00:00.024) 0:02:04.054 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 25 July 2026 15:25:34 -0400 (0:00:00.784) 0:02:04.839 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.320) 0:02:05.160 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.017) 0:02:05.177 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.017) 0:02:05.195 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.016) 0:02:05.211 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.016) 0:02:05.228 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.016) 0:02:05.245 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-3FH/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-3FH/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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.039) 0:02:05.284 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 25 July 2026 15:25:35 -0400 (0:00:00.332) 0:02:05.617 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 25 July 2026 15:25:36 -0400 (0:00:00.323) 0:02:05.940 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 25 July 2026 15:25:36 -0400 (0:00:00.323) 0:02:06.263 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 25 July 2026 15:25:37 -0400 (0:00:01.423) 0:02:07.687 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 25 July 2026 15:25:37 -0400 (0:00:00.029) 0:02:07.716 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 25 July 2026 15:25:37 -0400 (0:00:00.088) 0:02:07.805 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 25 July 2026 15:25:37 -0400 (0:00:00.025) 0:02:07.830 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 25 July 2026 15:25:37 -0400 (0:00:00.020) 0:02:07.850 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 25 July 2026 15:25:43 -0400 (0:00:05.923) 0:02:13.773 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.710422", "end": "2026-07-25 15:25:44.873428", "rc": 0, "start": "2026-07-25 15:25:44.163006" } 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 25 July 2026 15:25:44 -0400 (0:00:01.073) 0:02:14.847 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 25 July 2026 15:25:44 -0400 (0:00:00.020) 0:02:14.868 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 25 July 2026 15:25:44 -0400 (0:00:00.018) 0:02:14.886 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 25 July 2026 15:25:44 -0400 (0:00:00.017) 0:02:14.904 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "system.slice basic.target network.target systemd-journald.socket sysinit.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postmaster ; argv[]=/usr/bin/postmaster -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 25 July 2026 15:25:46 -0400 (0:00:01.049) 0:02:15.954 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.021) 0:02:15.976 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.021) 0:02:15.997 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.022) 0:02:16.020 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.016) 0:02:16.037 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.020) 0:02:16.057 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.030) 0:02:16.088 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.018) 0:02:16.106 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.018) 0:02:16.124 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.017) 0:02:16.142 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.020) 0:02:16.162 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.018) 0:02:16.181 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.018) 0:02:16.199 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.018) 0:02:16.218 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.018) 0:02:16.236 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.016) 0:02:16.253 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.020) 0:02:16.273 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 25 July 2026 15:25:46 -0400 (0:00:00.343) 0:02:16.617 ********* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 25 July 2026 15:25:47 -0400 (0:00:00.342) 0:02:16.959 ********* 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-1785007547.0767887-13702-3639162030834/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 25 July 2026 15:25:47 -0400 (0:00:00.684) 0:02:17.644 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 25 July 2026 15:25:47 -0400 (0:00:00.022) 0:02:17.666 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 25 July 2026 15:25:47 -0400 (0:00:00.021) 0:02:17.687 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 25 July 2026 15:25:48 -0400 (0:00:00.340) 0:02:18.028 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 25 July 2026 15:25:48 -0400 (0:00:00.018) 0:02:18.047 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 25 July 2026 15:25:48 -0400 (0:00:00.005) 0:02:18.052 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-25 15:25:45 EDT", "ActiveEnterTimestampMonotonic": "432935781", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target sysinit.target systemd-journald.socket system.slice basic.target", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-25 15:25:45 EDT", "AssertTimestampMonotonic": "432888558", "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-25 15:25:45 EDT", "ConditionTimestampMonotonic": "432888558", "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": "47127", "ExecMainStartTimestamp": "Sat 2026-07-25 15:25:45 EDT", "ExecMainStartTimestampMonotonic": "432898573", "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-25 15:25:45 EDT] ; stop_time=[n/a] ; pid=47127 ; 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-25 15:25:45 EDT] ; stop_time=[Sat 2026-07-25 15:25:45 EDT] ; pid=47124 ; 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-25 15:25:45 EDT", "InactiveExitTimestampMonotonic": "432889549", "InvocationID": "43cd0ae71e0d4675916c52feada934b5", "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": "47127", "MemoryAccounting": "yes", "MemoryCurrent": "16801792", "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-25 15:25:45 EDT", "StateChangeTimestampMonotonic": "432935781", "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-25 15:25:45 EDT", "WatchdogTimestampMonotonic": "432935779", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 25 July 2026 15:25:49 -0400 (0:00:00.944) 0:02:18.997 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008198", "end": "2026-07-25 15:25:49.367619", "rc": 0, "start": "2026-07-25 15:25:49.359421" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 25 July 2026 15:25:49 -0400 (0:00:00.344) 0:02:19.341 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008396", "end": "2026-07-25 15:25:49.707145", "rc": 0, "start": "2026-07-25 15:25:49.698749" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 25 July 2026 15:25:49 -0400 (0:00:00.339) 0:02:19.680 ********* ASYNC OK on managed-node2: jid=j515820294700.48334 ok: [managed-node2] => { "ansible_job_id": "j515820294700.48334", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.011781", "end": "2026-07-25 15:25:50.275637", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j515820294700.48334", "start": "2026-07-25 15:25:50.263856", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 25 July 2026 15:26:05 -0400 (0:00:16.018) 0:02:35.698 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010018", "end": "2026-07-25 15:26:06.080676", "rc": 0, "start": "2026-07-25 15:26:06.070658" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 25 July 2026 15:26:06 -0400 (0:00:00.356) 0:02:36.055 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 25 July 2026 15:26:06 -0400 (0:00:00.032) 0:02:36.088 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009268", "end": "2026-07-25 15:26:06.472865", "rc": 0, "start": "2026-07-25 15:26:06.463597" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 25 July 2026 15:26:06 -0400 (0:00:00.358) 0:02:36.446 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 25 July 2026 15:26:06 -0400 (0:00:00.032) 0:02:36.479 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.006821", "end": "2026-07-25 15:26:06.846296", "failed_when_result": false, "rc": 0, "start": "2026-07-25 15:26:06.839475" } STDOUT: postgres (PostgreSQL) 10.23 TASK [Clean up] **************************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 25 July 2026 15:26:06 -0400 (0:00:00.373) 0:02:36.852 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 25 July 2026 15:26:06 -0400 (0:00:00.032) 0:02:36.884 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 25 July 2026 15:26:06 -0400 (0:00:00.004) 0:02:36.889 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 25 July 2026 15:26:11 -0400 (0:00:04.725) 0:02:41.614 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 25 July 2026 15:26:11 -0400 (0:00:00.018) 0:02:41.633 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 25 July 2026 15:26:12 -0400 (0:00:00.377) 0:02:42.010 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 25 July 2026 15:26:13 -0400 (0:00:01.297) 0:02:43.308 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007948", "end": "2026-07-25 15:26:13.673206", "rc": 0, "start": "2026-07-25 15:26:13.665258" } STDOUT: -- Logs begin at Sat 2026-07-25 15:18:33 EDT, end at Sat 2026-07-25 15:26:13 EDT. -- Jul 25 15:22:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:04 managed-node2 postmaster[10421]: 2026-07-25 15:22:04.826 EDT [10421] LOG: redirecting log output to logging collector process Jul 25 15:22:04 managed-node2 postmaster[10421]: 2026-07-25 15:22:04.826 EDT [10421] HINT: Future log output will appear in directory "log". Jul 25 15:22:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:12 managed-node2 postmaster[12684]: 2026-07-25 15:22:12.594 EDT [12684] LOG: redirecting log output to logging collector process Jul 25 15:22:12 managed-node2 postmaster[12684]: 2026-07-25 15:22:12.594 EDT [12684] HINT: Future log output will appear in directory "log". Jul 25 15:22:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:16 managed-node2 systemd[1]: postgresql.service: Killing process 12685 (postmaster) with signal SIGKILL. Jul 25 15:22:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:48 managed-node2 postmaster[19307]: 2026-07-25 15:22:48.577 EDT [19307] LOG: redirecting log output to logging collector process Jul 25 15:22:48 managed-node2 postmaster[19307]: 2026-07-25 15:22:48.577 EDT [19307] HINT: Future log output will appear in directory "log". Jul 25 15:22:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:53 managed-node2 systemd[1]: postgresql.service: Killing process 19308 (postmaster) with signal SIGKILL. Jul 25 15:22:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:54 managed-node2 postmaster[20848]: 2026-07-25 15:22:54.045 EDT [20848] LOG: redirecting log output to logging collector process Jul 25 15:22:54 managed-node2 postmaster[20848]: 2026-07-25 15:22:54.045 EDT [20848] HINT: Future log output will appear in directory "log". Jul 25 15:22:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:59 managed-node2 systemd[1]: postgresql.service: Killing process 20849 (postmaster) with signal SIGKILL. Jul 25 15:22:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:18 managed-node2 postmaster[25223]: 2026-07-25 15:23:18.518 EDT [25223] LOG: redirecting log output to logging collector process Jul 25 15:23:18 managed-node2 postmaster[25223]: 2026-07-25 15:23:18.518 EDT [25223] HINT: Future log output will appear in directory "log". Jul 25 15:23:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:21 managed-node2 systemd[1]: postgresql.service: Killing process 25224 (postmaster) with signal SIGKILL. Jul 25 15:23:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:21 managed-node2 postmaster[25962]: 2026-07-25 15:23:21.876 EDT [25962] LOG: redirecting log output to logging collector process Jul 25 15:23:21 managed-node2 postmaster[25962]: 2026-07-25 15:23:21.876 EDT [25962] HINT: Future log output will appear in directory "log". Jul 25 15:23:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:25 managed-node2 systemd[1]: postgresql.service: Killing process 25964 (postmaster) with signal SIGKILL. Jul 25 15:23:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:44 managed-node2 postmaster[30205]: 2026-07-25 15:23:44.978 EDT [30205] LOG: redirecting log output to logging collector process Jul 25 15:23:44 managed-node2 postmaster[30205]: 2026-07-25 15:23:44.978 EDT [30205] HINT: Future log output will appear in directory "log". Jul 25 15:23:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:48 managed-node2 systemd[1]: postgresql.service: Killing process 30206 (postmaster) with signal SIGKILL. Jul 25 15:23:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:48 managed-node2 postmaster[31013]: 2026-07-25 15:23:48.358 EDT [31013] LOG: redirecting log output to logging collector process Jul 25 15:23:48 managed-node2 postmaster[31013]: 2026-07-25 15:23:48.358 EDT [31013] HINT: Future log output will appear in directory "log". Jul 25 15:23:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:10 managed-node2 systemd[1]: postgresql.service: Killing process 31014 (postmaster) with signal SIGKILL. Jul 25 15:24:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.874 EDT [35853] 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 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.875 EDT [35853] LOG: listening on IPv6 address "::1", port 5432 Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.875 EDT [35853] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.877 EDT [35853] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.881 EDT [35853] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.891 EDT [35853] LOG: redirecting log output to logging collector process Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.891 EDT [35853] HINT: Future log output will appear in directory "log". Jul 25 15:24:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:28 managed-node2 systemd[1]: postgresql.service: Killing process 35854 (postmaster) with signal SIGKILL. Jul 25 15:24:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:28 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.884 EDT [36660] 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 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.885 EDT [36660] LOG: listening on IPv6 address "::1", port 5432 Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.885 EDT [36660] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.887 EDT [36660] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.890 EDT [36660] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.919 EDT [36660] LOG: redirecting log output to logging collector process Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.919 EDT [36660] HINT: Future log output will appear in directory "log". Jul 25 15:24:28 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:50 managed-node2 systemd[1]: postgresql.service: Killing process 36662 (postmaster) with signal SIGKILL. Jul 25 15:24:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:25:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:25:06 managed-node2 postmaster[41511]: 2026-07-25 15:25:06.283 EDT [41511] LOG: redirecting log output to logging collector process Jul 25 15:25:06 managed-node2 postmaster[41511]: 2026-07-25 15:25:06.283 EDT [41511] HINT: Future log output will appear in directory "log". Jul 25 15:25:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:25:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:25:09 managed-node2 systemd[1]: postgresql.service: Killing process 41512 (postmaster) with signal SIGKILL. Jul 25 15:25:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:25:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:25:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:25:09 managed-node2 postmaster[42318]: 2026-07-25 15:25:09.368 EDT [42318] LOG: redirecting log output to logging collector process Jul 25 15:25:09 managed-node2 postmaster[42318]: 2026-07-25 15:25:09.368 EDT [42318] HINT: Future log output will appear in directory "log". Jul 25 15:25:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:25:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:25:31 managed-node2 systemd[1]: postgresql.service: Killing process 42319 (postmaster) with signal SIGKILL. Jul 25 15:25:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:25:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:25:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:25:45 managed-node2 postmaster[47127]: 2026-07-25 15:25:45.943 EDT [47127] LOG: listening on IPv6 address "::1", port 5432 Jul 25 15:25:45 managed-node2 postmaster[47127]: 2026-07-25 15:25:45.943 EDT [47127] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 25 15:25:45 managed-node2 postmaster[47127]: 2026-07-25 15:25:45.945 EDT [47127] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 25 15:25:45 managed-node2 postmaster[47127]: 2026-07-25 15:25:45.948 EDT [47127] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 25 15:25:45 managed-node2 postmaster[47127]: 2026-07-25 15:25:45.958 EDT [47127] LOG: redirecting log output to logging collector process Jul 25 15:25:45 managed-node2 postmaster[47127]: 2026-07-25 15:25:45.958 EDT [47127] HINT: Future log output will appear in directory "log". Jul 25 15:25:45 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:25:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:25:48 managed-node2 systemd[1]: postgresql.service: Killing process 47128 (postmaster) with signal SIGKILL. Jul 25 15:25:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:25:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:25:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:25:48 managed-node2 postmaster[47935]: 2026-07-25 15:25:48.967 EDT [47935] LOG: listening on IPv6 address "::1", port 5432 Jul 25 15:25:48 managed-node2 postmaster[47935]: 2026-07-25 15:25:48.967 EDT [47935] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 25 15:25:48 managed-node2 postmaster[47935]: 2026-07-25 15:25:48.969 EDT [47935] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 25 15:25:48 managed-node2 postmaster[47935]: 2026-07-25 15:25:48.973 EDT [47935] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 25 15:25:49 managed-node2 postmaster[47935]: 2026-07-25 15:25:49.001 EDT [47935] LOG: redirecting log output to logging collector process Jul 25 15:25:49 managed-node2 postmaster[47935]: 2026-07-25 15:25:49.001 EDT [47935] HINT: Future log output will appear in directory "log". Jul 25 15:25:49 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:26:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:26:10 managed-node2 systemd[1]: postgresql.service: Killing process 47936 (postmaster) with signal SIGKILL. Jul 25 15:26:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:26:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. TASK [Run postgresql role] ***************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:5 Saturday 25 July 2026 15:26:13 -0400 (0:00:00.339) 0:02:43.647 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml for managed-node2 TASK [Clear facts] ************************************************************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:9 Saturday 25 July 2026 15:26:13 -0400 (0:00:00.029) 0:02:43.677 ********* META: facts cleared TASK [Run the role] ************************************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:23 Saturday 25 July 2026 15:26:13 -0400 (0:00:00.001) 0:02:43.678 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__sr_failed_when is defined", "skip_reason": "Conditional result was False" } TASK [Run the role normally] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/run_role_with_clear_facts.yml:33 Saturday 25 July 2026 15:26:13 -0400 (0:00:00.016) 0:02:43.695 ********* TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:5 Saturday 25 July 2026 15:26:13 -0400 (0:00:00.042) 0:02:43.737 ********* included: /tmp/collections-3FH/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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:2 Saturday 25 July 2026 15:26:13 -0400 (0:00:00.024) 0:02:43.762 ********* ok: [managed-node2] TASK [fedora.linux_system_roles.postgresql : Record role begin fingerprint] **** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:7 Saturday 25 July 2026 15:26:14 -0400 (0:00:00.779) 0:02:44.542 ********* ok: [managed-node2] => { "changed": false } TASK [fedora.linux_system_roles.postgresql : Check if system is ostree] ******** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:16 Saturday 25 July 2026 15:26:14 -0400 (0:00:00.333) 0:02:44.875 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate system is ostree] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:21 Saturday 25 July 2026 15:26:14 -0400 (0:00:00.017) 0:02:44.893 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run systemctl] ******************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:28 Saturday 25 July 2026 15:26:14 -0400 (0:00:00.017) 0:02:44.910 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Require installed systemd] ******** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:36 Saturday 25 July 2026 15:26:15 -0400 (0:00:00.016) 0:02:44.926 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set flag to indicate that systemd runtime operations are available] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:41 Saturday 25 July 2026 15:26:15 -0400 (0:00:00.016) 0:02:44.942 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_booted is not defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set platform/version specific variables] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:46 Saturday 25 July 2026 15:26:15 -0400 (0:00:00.016) 0:02:44.959 ********* skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "false_condition": "__vars_file is file", "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_8.yml) => { "ansible_facts": { "__postgresql_packages": [ "@postgresql:{{ postgresql_version }}/server" ] }, "ansible_included_var_files": [ "/tmp/collections-3FH/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-3FH/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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:61 Saturday 25 July 2026 15:26:15 -0400 (0:00:00.038) 0:02:44.997 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS crt file] *************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:66 Saturday 25 July 2026 15:26:15 -0400 (0:00:00.326) 0:02:45.324 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Check TLS private key file] ******* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/set_vars.yml:71 Saturday 25 July 2026 15:26:15 -0400 (0:00:00.321) 0:02:45.646 ********* ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.postgresql : Gather the package facts] ********* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 Saturday 25 July 2026 15:26:16 -0400 (0:00:00.321) 0:02:45.967 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:12 Saturday 25 July 2026 15:26:17 -0400 (0:00:01.396) 0:02:47.363 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_version | string not in __postgresql_versions_el8", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL9)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:20 Saturday 25 July 2026 15:26:17 -0400 (0:00:00.028) 0:02:47.392 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"9\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check if requested version is supported in system (RHEL10)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:28 Saturday 25 July 2026 15:26:17 -0400 (0:00:00.024) 0:02:47.416 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "ansible_facts[\"distribution_major_version\"] == \"10\"", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Check requested and installed version of Postgresql] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:38 Saturday 25 July 2026 15:26:17 -0400 (0:00:00.025) 0:02:47.441 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "'postgresql' in ansible_facts.packages", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure required packages are installed] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Saturday 25 July 2026 15:26:17 -0400 (0:00:00.020) 0:02:47.462 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:58 Saturday 25 July 2026 15:26:24 -0400 (0:00:06.780) 0:02:54.242 ********* changed: [managed-node2] => { "changed": true, "cmd": [ "postgresql-setup", "--initdb" ], "delta": "0:00:00.721028", "end": "2026-07-25 15:26:25.348310", "rc": 0, "start": "2026-07-25 15:26:24.627282" } 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:67 Saturday 25 July 2026 15:26:25 -0400 (0:00:01.078) 0:02:55.321 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_has_setup_cmd | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (with postgresql-setup)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:81 Saturday 25 July 2026 15:26:25 -0400 (0:00:00.021) 0:02:55.343 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Init DB on non-booted systems (without postgresql-setup)] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:98 Saturday 25 July 2026 15:26:25 -0400 (0:00:00.018) 0:02:55.361 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Enable and start existing instance of postgresql server] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:109 Saturday 25 July 2026 15:26:25 -0400 (0:00:00.017) 0:02:55.379 ********* changed: [managed-node2] => { "changed": true, "enabled": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network-online.target basic.target sysinit.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "[not set]", "CPUAccounting": "no", "CPUAffinity": "", "CPUAffinityFromNUMA": "no", "CPUQuotaPerSecUSec": "infinity", "CPUQuotaPeriodUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "[not set]", "CPUUsageNSec": "[not set]", "CPUWeight": "[not set]", "CacheDirectoryMode": "0755", "CanFreeze": "yes", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "cap_chown cap_dac_override cap_dac_read_search cap_fowner cap_fsetid cap_kill cap_setgid cap_setuid cap_setpcap cap_linux_immutable cap_net_bind_service cap_net_broadcast cap_net_admin cap_net_raw cap_ipc_lock cap_ipc_owner cap_sys_module cap_sys_rawio cap_sys_chroot cap_sys_ptrace cap_sys_pacct cap_sys_admin cap_sys_boot cap_sys_nice cap_sys_resource cap_sys_time cap_sys_tty_config cap_mknod cap_lease cap_audit_write cap_audit_control cap_setfcap cap_mac_override cap_mac_admin cap_syslog cap_wake_alarm cap_block_suspend cap_audit_read cap_perfmon cap_bpf", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "ConfigurationDirectoryMode": "0755", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "DefaultMemoryLow": "0", "DefaultMemoryMin": "0", "Delegate": "no", "Description": "PostgreSQL database server", "DevicePolicy": "auto", "DynamicUser": "no", "EffectiveCPUs": "", "EffectiveMemoryNodes": "", "Environment": "PG_OOM_ADJUST_FILE=/proc/self/oom_score_adj PG_OOM_ADJUST_VALUE=0 PGDATA=/var/lib/pgsql/data", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/bin/postgres ; argv[]=/usr/bin/postgres -D ${PGDATA} ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStartPre": "{ path=/usr/libexec/postgresql-check-db-dir ; argv[]=/usr/libexec/postgresql-check-db-dir postgresql ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/postgresql.service", "FreezerState": "running", "GID": "[not set]", "Group": "postgres", "GuessMainPID": "yes", "IOAccounting": "no", "IOSchedulingClass": "0", "IOSchedulingPriority": "0", "IOWeight": "[not set]", "IPAccounting": "no", "IPEgressBytes": "18446744073709551615", "IPEgressPackets": "18446744073709551615", "IPIngressBytes": "18446744073709551615", "IPIngressPackets": "18446744073709551615", "Id": "postgresql.service", "IgnoreOnIsolate": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobRunningTimeoutUSec": "infinity", "JobTimeoutAction": "none", "JobTimeoutUSec": "infinity", "KeyringMode": "private", "KillMode": "mixed", "KillSignal": "2", "LimitAS": "infinity", "LimitASSoft": "infinity", "LimitCORE": "infinity", "LimitCORESoft": "0", "LimitCPU": "infinity", "LimitCPUSoft": "infinity", "LimitDATA": "infinity", "LimitDATASoft": "infinity", "LimitFSIZE": "infinity", "LimitFSIZESoft": "infinity", "LimitLOCKS": "infinity", "LimitLOCKSSoft": "infinity", "LimitMEMLOCK": "65536", "LimitMEMLOCKSoft": "65536", "LimitMSGQUEUE": "819200", "LimitMSGQUEUESoft": "819200", "LimitNICE": "0", "LimitNICESoft": "0", "LimitNOFILE": "262144", "LimitNOFILESoft": "1024", "LimitNPROC": "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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:118 Saturday 25 July 2026 15:26:26 -0400 (0:00:01.052) 0:02:56.432 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Set password for super user] ****** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:123 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.023) 0:02:56.455 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:135 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.021) 0:02:56.476 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_password is not none", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Fail input_file on non-booted hosts] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:143 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.021) 0:02:56.497 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __postgresql_is_booted | bool", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Run provided SQL script] ********** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:150 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.016) 0:02:56.514 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_input_file is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Manage certificates] ************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:154 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.022) 0:02:56.537 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml for managed-node2 TASK [Generate certificates] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:8 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.029) 0:02:56.566 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:14 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.018) 0:02:56.585 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key directory is traversable by postgres] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:24 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.019) 0:02:56.605 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Ensure private key is readable by postgres] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:33 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.018) 0:02:56.623 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from the default path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:44 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.018) 0:02:56.641 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:54 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.018) 0:02:56.660 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate from custom path] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:62 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.050) 0:02:56.710 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_certificates | length > 0", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install certificate file] ********* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:79 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.019) 0:02:56.730 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Install postgresql server private key] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/certificate.yml:86 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.016) 0:02:56.747 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_cert.stat.exists", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Configure pg_hba.conf] ************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:157 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.016) 0:02:56.763 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_pg_hba_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Create postgresql directory in /etc] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:169 Saturday 25 July 2026 15:26:26 -0400 (0:00:00.021) 0:02:56.785 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:175 Saturday 25 July 2026 15:26:27 -0400 (0:00:00.337) 0:02:57.123 ********* Notification for handler Restart postgresql has been saved. changed: [managed-node2] => { "backup": "", "changed": true } MSG: line added TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles-internal.conf] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:182 Saturday 25 July 2026 15:26:27 -0400 (0:00:00.341) 0:02:57.464 ********* 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-1785007587.5804803-14114-43794624104858/source", "state": "file", "uid": 26 } TASK [fedora.linux_system_roles.postgresql : Generate postgresql system-roles.conf] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:195 Saturday 25 July 2026 15:26:28 -0400 (0:00:00.681) 0:02:58.145 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Link generated conf file with server one] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:205 Saturday 25 July 2026 15:26:28 -0400 (0:00:00.023) 0:02:58.169 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "postgresql_server_conf is defined", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.postgresql : Record role success fingerprint] *** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:211 Saturday 25 July 2026 15:26:28 -0400 (0:00:00.021) 0:02:58.191 ********* ok: [managed-node2] => { "changed": false } TASK [Run postgresql role to set vars only] ************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:11 Saturday 25 July 2026 15:26:28 -0400 (0:00:00.333) 0:02:58.524 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "not __run_role | d(true) | bool", "skip_reason": "Conditional result was False" } TASK [Flush handlers] ********************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:18 Saturday 25 July 2026 15:26:28 -0400 (0:00:00.020) 0:02:58.545 ********* NOTIFIED HANDLER fedora.linux_system_roles.postgresql : Restart postgresql for managed-node2 META: triggered running handlers for managed-node2 RUNNING HANDLER [fedora.linux_system_roles.postgresql : Restart postgresql] **** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/handlers/main.yml:3 Saturday 25 July 2026 15:26:28 -0400 (0:00:00.004) 0:02:58.550 ********* changed: [managed-node2] => { "changed": true, "name": "postgresql", "state": "started", "status": { "ActiveEnterTimestamp": "Sat 2026-07-25 15:26:26 EDT", "ActiveEnterTimestampMonotonic": "473413939", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network-online.target basic.target sysinit.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AllowedCPUs": "", "AllowedMemoryNodes": "", "AmbientCapabilities": "", "AssertResult": "yes", "AssertTimestamp": "Sat 2026-07-25 15:26:26 EDT", "AssertTimestampMonotonic": "473363472", "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-25 15:26:26 EDT", "ConditionTimestampMonotonic": "473363472", "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": "52779", "ExecMainStartTimestamp": "Sat 2026-07-25 15:26:26 EDT", "ExecMainStartTimestampMonotonic": "473373143", "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-25 15:26:26 EDT] ; stop_time=[n/a] ; pid=52779 ; 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-25 15:26:26 EDT] ; stop_time=[Sat 2026-07-25 15:26:26 EDT] ; pid=52777 ; 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-25 15:26:26 EDT", "InactiveExitTimestampMonotonic": "473364588", "InvocationID": "f6e0f84a382f436b8fa8d88468999e80", "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": "52779", "MemoryAccounting": "yes", "MemoryCurrent": "18649088", "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-25 15:26:26 EDT", "StateChangeTimestampMonotonic": "473413939", "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-25 15:26:26 EDT", "WatchdogTimestampMonotonic": "473413937", "WatchdogUSec": "0" } } TASK [Test - postgresql-server running] **************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:21 Saturday 25 July 2026 15:26:29 -0400 (0:00:00.937) 0:02:59.487 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "postgresql" ], "delta": "0:00:00.008022", "end": "2026-07-25 15:26:29.850861", "rc": 0, "start": "2026-07-25 15:26:29.842839" } STDOUT: active TASK [Test - postgresql-server is enabled] ************************************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:27 Saturday 25 July 2026 15:26:29 -0400 (0:00:00.335) 0:02:59.822 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "postgresql" ], "delta": "0:00:00.008332", "end": "2026-07-25 15:26:30.186368", "rc": 0, "start": "2026-07-25 15:26:30.178036" } STDOUT: enabled TASK [Test - database is accessible for super user using Unix socket] ********** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Saturday 25 July 2026 15:26:30 -0400 (0:00:00.338) 0:03:00.161 ********* ASYNC OK on managed-node2: jid=j574461924961.53985 ok: [managed-node2] => { "ansible_job_id": "j574461924961.53985", "changed": false, "cmd": "set -euo pipefail\necho '\\q' | psql\n", "delta": "0:00:00.012461", "end": "2026-07-25 15:26:30.757448", "finished": 1, "rc": 0, "results_file": "/var/lib/pgsql/.ansible_async/j574461924961.53985", "start": "2026-07-25 15:26:30.744987", "started": 1 } TASK [Check - server tuning is used - shared buffers] ************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:44 Saturday 25 July 2026 15:26:46 -0400 (0:00:16.017) 0:03:16.178 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW shared_buffers;\" | psql\n", "delta": "0:00:00.010076", "end": "2026-07-25 15:26:46.559892", "rc": 0, "start": "2026-07-25 15:26:46.549816" } STDOUT: shared_buffers ---------------- 872MB (1 row) TASK [Test - server tuning is used - shared buffers] *************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:56 Saturday 25 July 2026 15:26:46 -0400 (0:00:00.357) 0:03:16.536 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check - server tuning is used - effective cache size] ******************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:67 Saturday 25 July 2026 15:26:46 -0400 (0:00:00.032) 0:03:16.568 ********* ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\necho \"SHOW effective_cache_size;\" | psql\n", "delta": "0:00:00.009502", "end": "2026-07-25 15:26:46.952833", "rc": 0, "start": "2026-07-25 15:26:46.943331" } STDOUT: effective_cache_size ---------------------- 1744MB (1 row) TASK [Test - server tuning is used - effective cache size] ********************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:79 Saturday 25 July 2026 15:26:47 -0400 (0:00:00.359) 0:03:16.928 ********* ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Check postgresql version matches postgresql_version] ********************* task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:90 Saturday 25 July 2026 15:26:47 -0400 (0:00:00.032) 0:03:16.960 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "postgres", "--version" ], "delta": "0:00:00.009142", "end": "2026-07-25 15:26:47.326441", "failed_when_result": false, "rc": 0, "start": "2026-07-25 15:26:47.317299" } STDOUT: postgres (PostgreSQL) 16.1 TASK [Clean up] **************************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:98 Saturday 25 July 2026 15:26:47 -0400 (0:00:00.344) 0:03:17.304 ********* included: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml for managed-node2 TASK [Run handlers] ************************************************************ task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:3 Saturday 25 July 2026 15:26:47 -0400 (0:00:00.033) 0:03:17.338 ********* META: triggered running handlers for managed-node2 TASK [Uninstall postgresql] **************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Saturday 25 July 2026 15:26:47 -0400 (0:00:00.004) 0:03:17.343 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:20 Saturday 25 July 2026 15:26:52 -0400 (0:00:04.718) 0:03:22.062 ********* skipping: [managed-node2] => { "changed": false, "false_condition": "__postgresql_is_ostree | d(false)", "skip_reason": "Conditional result was False" } TASK [Remove data directory] *************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:27 Saturday 25 July 2026 15:26:52 -0400 (0:00:00.019) 0:03:22.081 ********* changed: [managed-node2] => { "changed": true, "path": "/var/lib/pgsql/data", "state": "absent" } TASK [Remove config files] ***************************************************** task path: /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:32 Saturday 25 July 2026 15:26:52 -0400 (0:00:00.375) 0:03:22.457 ********* 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-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:42 Saturday 25 July 2026 15:26:53 -0400 (0:00:01.275) 0:03:23.732 ********* ok: [managed-node2] => { "changed": false, "cmd": [ "journalctl", "-u", "postgresql" ], "delta": "0:00:00.007828", "end": "2026-07-25 15:26:54.094926", "rc": 0, "start": "2026-07-25 15:26:54.087098" } STDOUT: -- Logs begin at Sat 2026-07-25 15:18:33 EDT, end at Sat 2026-07-25 15:26:54 EDT. -- Jul 25 15:22:04 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:04 managed-node2 postmaster[10421]: 2026-07-25 15:22:04.826 EDT [10421] LOG: redirecting log output to logging collector process Jul 25 15:22:04 managed-node2 postmaster[10421]: 2026-07-25 15:22:04.826 EDT [10421] HINT: Future log output will appear in directory "log". Jul 25 15:22:04 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:12 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:12 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:12 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:12 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:12 managed-node2 postmaster[12684]: 2026-07-25 15:22:12.594 EDT [12684] LOG: redirecting log output to logging collector process Jul 25 15:22:12 managed-node2 postmaster[12684]: 2026-07-25 15:22:12.594 EDT [12684] HINT: Future log output will appear in directory "log". Jul 25 15:22:12 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:16 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:16 managed-node2 systemd[1]: postgresql.service: Killing process 12685 (postmaster) with signal SIGKILL. Jul 25 15:22:16 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:16 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:48 managed-node2 postmaster[19307]: 2026-07-25 15:22:48.577 EDT [19307] LOG: redirecting log output to logging collector process Jul 25 15:22:48 managed-node2 postmaster[19307]: 2026-07-25 15:22:48.577 EDT [19307] HINT: Future log output will appear in directory "log". Jul 25 15:22:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:53 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:53 managed-node2 systemd[1]: postgresql.service: Killing process 19308 (postmaster) with signal SIGKILL. Jul 25 15:22:53 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:53 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:22:53 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:22:54 managed-node2 postmaster[20848]: 2026-07-25 15:22:54.045 EDT [20848] LOG: redirecting log output to logging collector process Jul 25 15:22:54 managed-node2 postmaster[20848]: 2026-07-25 15:22:54.045 EDT [20848] HINT: Future log output will appear in directory "log". Jul 25 15:22:54 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:22:59 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:22:59 managed-node2 systemd[1]: postgresql.service: Killing process 20849 (postmaster) with signal SIGKILL. Jul 25 15:22:59 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:22:59 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:18 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:18 managed-node2 postmaster[25223]: 2026-07-25 15:23:18.518 EDT [25223] LOG: redirecting log output to logging collector process Jul 25 15:23:18 managed-node2 postmaster[25223]: 2026-07-25 15:23:18.518 EDT [25223] HINT: Future log output will appear in directory "log". Jul 25 15:23:18 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:21 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:21 managed-node2 systemd[1]: postgresql.service: Killing process 25224 (postmaster) with signal SIGKILL. Jul 25 15:23:21 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:21 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:21 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:21 managed-node2 postmaster[25962]: 2026-07-25 15:23:21.876 EDT [25962] LOG: redirecting log output to logging collector process Jul 25 15:23:21 managed-node2 postmaster[25962]: 2026-07-25 15:23:21.876 EDT [25962] HINT: Future log output will appear in directory "log". Jul 25 15:23:21 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:25 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:25 managed-node2 systemd[1]: postgresql.service: Killing process 25964 (postmaster) with signal SIGKILL. Jul 25 15:23:25 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:25 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:44 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:44 managed-node2 postmaster[30205]: 2026-07-25 15:23:44.978 EDT [30205] LOG: redirecting log output to logging collector process Jul 25 15:23:44 managed-node2 postmaster[30205]: 2026-07-25 15:23:44.978 EDT [30205] HINT: Future log output will appear in directory "log". Jul 25 15:23:44 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:23:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:23:48 managed-node2 systemd[1]: postgresql.service: Killing process 30206 (postmaster) with signal SIGKILL. Jul 25 15:23:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:23:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:23:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:23:48 managed-node2 postmaster[31013]: 2026-07-25 15:23:48.358 EDT [31013] LOG: redirecting log output to logging collector process Jul 25 15:23:48 managed-node2 postmaster[31013]: 2026-07-25 15:23:48.358 EDT [31013] HINT: Future log output will appear in directory "log". Jul 25 15:23:48 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:10 managed-node2 systemd[1]: postgresql.service: Killing process 31014 (postmaster) with signal SIGKILL. Jul 25 15:24:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:25 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.874 EDT [35853] 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 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.875 EDT [35853] LOG: listening on IPv6 address "::1", port 5432 Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.875 EDT [35853] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.877 EDT [35853] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.881 EDT [35853] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.891 EDT [35853] LOG: redirecting log output to logging collector process Jul 25 15:24:25 managed-node2 postmaster[35853]: 2026-07-25 15:24:25.891 EDT [35853] HINT: Future log output will appear in directory "log". Jul 25 15:24:25 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:28 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:28 managed-node2 systemd[1]: postgresql.service: Killing process 35854 (postmaster) with signal SIGKILL. Jul 25 15:24:28 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:28 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:24:28 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.884 EDT [36660] 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 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.885 EDT [36660] LOG: listening on IPv6 address "::1", port 5432 Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.885 EDT [36660] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.887 EDT [36660] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.890 EDT [36660] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.919 EDT [36660] LOG: redirecting log output to logging collector process Jul 25 15:24:28 managed-node2 postmaster[36660]: 2026-07-25 15:24:28.919 EDT [36660] HINT: Future log output will appear in directory "log". Jul 25 15:24:28 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:24:50 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:24:50 managed-node2 systemd[1]: postgresql.service: Killing process 36662 (postmaster) with signal SIGKILL. Jul 25 15:24:50 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:24:50 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:25:06 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:25:06 managed-node2 postmaster[41511]: 2026-07-25 15:25:06.283 EDT [41511] LOG: redirecting log output to logging collector process Jul 25 15:25:06 managed-node2 postmaster[41511]: 2026-07-25 15:25:06.283 EDT [41511] HINT: Future log output will appear in directory "log". Jul 25 15:25:06 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:25:09 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:25:09 managed-node2 systemd[1]: postgresql.service: Killing process 41512 (postmaster) with signal SIGKILL. Jul 25 15:25:09 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:25:09 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:25:09 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:25:09 managed-node2 postmaster[42318]: 2026-07-25 15:25:09.368 EDT [42318] LOG: redirecting log output to logging collector process Jul 25 15:25:09 managed-node2 postmaster[42318]: 2026-07-25 15:25:09.368 EDT [42318] HINT: Future log output will appear in directory "log". Jul 25 15:25:09 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:25:31 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:25:31 managed-node2 systemd[1]: postgresql.service: Killing process 42319 (postmaster) with signal SIGKILL. Jul 25 15:25:31 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:25:31 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:25:45 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:25:45 managed-node2 postmaster[47127]: 2026-07-25 15:25:45.943 EDT [47127] LOG: listening on IPv6 address "::1", port 5432 Jul 25 15:25:45 managed-node2 postmaster[47127]: 2026-07-25 15:25:45.943 EDT [47127] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 25 15:25:45 managed-node2 postmaster[47127]: 2026-07-25 15:25:45.945 EDT [47127] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 25 15:25:45 managed-node2 postmaster[47127]: 2026-07-25 15:25:45.948 EDT [47127] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 25 15:25:45 managed-node2 postmaster[47127]: 2026-07-25 15:25:45.958 EDT [47127] LOG: redirecting log output to logging collector process Jul 25 15:25:45 managed-node2 postmaster[47127]: 2026-07-25 15:25:45.958 EDT [47127] HINT: Future log output will appear in directory "log". Jul 25 15:25:45 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:25:48 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:25:48 managed-node2 systemd[1]: postgresql.service: Killing process 47128 (postmaster) with signal SIGKILL. Jul 25 15:25:48 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:25:48 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:25:48 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:25:48 managed-node2 postmaster[47935]: 2026-07-25 15:25:48.967 EDT [47935] LOG: listening on IPv6 address "::1", port 5432 Jul 25 15:25:48 managed-node2 postmaster[47935]: 2026-07-25 15:25:48.967 EDT [47935] LOG: listening on IPv4 address "127.0.0.1", port 5432 Jul 25 15:25:48 managed-node2 postmaster[47935]: 2026-07-25 15:25:48.969 EDT [47935] LOG: listening on Unix socket "/var/run/postgresql/.s.PGSQL.5432" Jul 25 15:25:48 managed-node2 postmaster[47935]: 2026-07-25 15:25:48.973 EDT [47935] LOG: listening on Unix socket "/tmp/.s.PGSQL.5432" Jul 25 15:25:49 managed-node2 postmaster[47935]: 2026-07-25 15:25:49.001 EDT [47935] LOG: redirecting log output to logging collector process Jul 25 15:25:49 managed-node2 postmaster[47935]: 2026-07-25 15:25:49.001 EDT [47935] HINT: Future log output will appear in directory "log". Jul 25 15:25:49 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:26:10 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:26:10 managed-node2 systemd[1]: postgresql.service: Killing process 47936 (postmaster) with signal SIGKILL. Jul 25 15:26:10 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:26:10 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:26:26 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:26:26 managed-node2 postgres[52779]: 2026-07-25 15:26:26.429 EDT [52779] LOG: redirecting log output to logging collector process Jul 25 15:26:26 managed-node2 postgres[52779]: 2026-07-25 15:26:26.429 EDT [52779] HINT: Future log output will appear in directory "log". Jul 25 15:26:26 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:26:29 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:26:29 managed-node2 systemd[1]: postgresql.service: Killing process 52781 (postgres) with signal SIGKILL. Jul 25 15:26:29 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:26:29 managed-node2 systemd[1]: Stopped PostgreSQL database server. Jul 25 15:26:29 managed-node2 systemd[1]: Starting PostgreSQL database server... Jul 25 15:26:29 managed-node2 postgres[53587]: 2026-07-25 15:26:29.485 EDT [53587] LOG: redirecting log output to logging collector process Jul 25 15:26:29 managed-node2 postgres[53587]: 2026-07-25 15:26:29.485 EDT [53587] HINT: Future log output will appear in directory "log". Jul 25 15:26:29 managed-node2 systemd[1]: Started PostgreSQL database server. Jul 25 15:26:51 managed-node2 systemd[1]: Stopping PostgreSQL database server... Jul 25 15:26:51 managed-node2 systemd[1]: postgresql.service: Killing process 53588 (postgres) with signal SIGKILL. Jul 25 15:26:51 managed-node2 systemd[1]: postgresql.service: Succeeded. Jul 25 15:26:51 managed-node2 systemd[1]: Stopped PostgreSQL database server. PLAY RECAP ********************************************************************* managed-node2 : ok=166 changed=45 unreachable=0 failed=0 skipped=156 rescued=0 ignored=0 SYSTEM ROLES ERRORS BEGIN v1 [] SYSTEM ROLES ERRORS END v1 TASKS RECAP ******************************************************************** Saturday 25 July 2026 15:26:54 -0400 (0:00:00.330) 0:03:24.063 ********* =============================================================================== Test - database is accessible for super user using Unix socket --------- 16.20s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.02s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.02s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.01s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 Test - database is accessible for super user using Unix socket --------- 16.01s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/install_and_check.yml:32 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.78s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.72s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.55s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 6.27s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 fedora.linux_system_roles.postgresql : Ensure required packages are installed --- 5.92s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:49 Uninstall postgresql ---------------------------------------------------- 4.73s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.73s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.72s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.72s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 Uninstall postgresql ---------------------------------------------------- 4.70s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/tests/postgresql/tasks/clean_instance.yml:6 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.65s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.42s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.42s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.40s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8 fedora.linux_system_roles.postgresql : Gather the package facts --------- 1.39s /tmp/collections-3FH/ansible_collections/fedora/linux_system_roles/roles/postgresql/tasks/main.yml:8